[PATCH 1/2] dt-bindings: media: i2c: Add Samsung S5KJN5 image sensor

From: Wenmeng Liu

Date: Fri Jul 17 2026 - 00:09:08 EST


Add device tree bindings for the Samsung S5KJN5, a 50 MP GBRG 10-bit RAW
MIPI CSI-2 image sensor controlled over CCI.

Signed-off-by: Wenmeng Liu <wenmeng.liu@xxxxxxxxxxxxxxxx>
---
.../bindings/media/i2c/samsung,s5kjn5.yaml | 109 +++++++++++++++++++++
MAINTAINERS | 7 ++
2 files changed, 116 insertions(+)

diff --git a/Documentation/devicetree/bindings/media/i2c/samsung,s5kjn5.yaml b/Documentation/devicetree/bindings/media/i2c/samsung,s5kjn5.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..7fd9034f32efa93a753f27787b54022655010af8
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/i2c/samsung,s5kjn5.yaml
@@ -0,0 +1,109 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/media/i2c/samsung,s5kjn5.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung S5KJN5 Image Sensor
+
+description:
+ Samsung S5KJN5 is a 50MP GBRG 10-bit RAW MIPI CSI-2 image sensor.
+ The sensor is controlled over I2C. The full resolution pixel array is
+ 8192x6144, data output format is RAW10 transferred over 4-lane MIPI
+ D-PHY interface.
+
+maintainers:
+ - Wenmeng Liu <wenmeng.liu@xxxxxxxxxxxxxxxx>
+
+allOf:
+ - $ref: /schemas/media/video-interface-devices.yaml#
+
+properties:
+ compatible:
+ const: samsung,s5kjn5
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ description: MCLK/XVCLK input clock.
+ maxItems: 1
+
+ reset-gpios:
+ description: Active low GPIO connected to RESET pad of the sensor.
+ maxItems: 1
+
+ vddio-supply:
+ description: Digital I/O voltage supply, 1.2 volts.
+
+ vddd-supply:
+ description: Digital core voltage supply, 1.0 volts.
+
+ vdda-supply:
+ description: Analogue voltage supply, 2.2 volts.
+
+ vdda2-supply:
+ description: Secondary analogue voltage supply, 1.8 volts.
+
+ afvdd-supply:
+ description: Autofocus actuator voltage supply, 2.8 volts.
+
+ port:
+ $ref: /schemas/graph.yaml#/$defs/port-base
+ additionalProperties: false
+
+ properties:
+ endpoint:
+ $ref: /schemas/media/video-interfaces.yaml#
+ unevaluatedProperties: false
+
+ properties:
+ data-lanes:
+ items:
+ - const: 1
+ - const: 2
+ - const: 3
+ - const: 4
+
+ required:
+ - link-frequencies
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - port
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ camera@10 {
+ compatible = "samsung,s5kjn5";
+ reg = <0x10>;
+ clocks = <&camera_mclk 0>;
+ assigned-clocks = <&camera_mclk 0>;
+ assigned-clock-rates = <19200000>;
+ reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
+ vddio-supply = <&vreg_1p2>;
+ vddd-supply = <&vreg_1p0>;
+ vdda-supply = <&vreg_2p2>;
+ vdda2-supply = <&vreg_1p8>;
+ afvdd-supply = <&vreg_2p8>;
+
+ port {
+ endpoint {
+ link-frequencies = /bits/ 64 <1248000000>;
+ data-lanes = <1 2 3 4>;
+ remote-endpoint = <&mipi_csi2_ep>;
+ };
+ };
+ };
+ };
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index 3af0fe95a92fc21c60819b892142380fad2ebd4e..02b564cb8839e7de82d95855f95d6af17139d0f3 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -24190,6 +24190,13 @@ T: git git://linuxtv.org/media_tree.git
F: Documentation/devicetree/bindings/media/i2c/samsung,s5kjn1.yaml
F: drivers/media/i2c/s5kjn1.c

+SAMSUNG S5KJN5 CAMERA DRIVER
+M: Wenmeng Liu <wenmeng.liu@xxxxxxxxxxxxxxxx>
+L: linux-media@xxxxxxxxxxxxxxx
+S: Supported
+T: git git://linuxtv.org/media_tree.git
+F: Documentation/devicetree/bindings/media/i2c/samsung,s5kjn5.yaml
+
SAMSUNG S5P Security SubSystem (SSS) DRIVER
M: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
M: Vladimir Zapolskiy <vz@xxxxxxxxx>

--
2.34.1