[PATCH 2/6] media: dt-bindings: media: i2c: add Samsung S5K5E8
From: Hikmah Gumelar
Date: Mon Nov 23 2026 - 06:08:45 EST
Add Devicetree binding schema for the Samsung S5K5E8 5-megapixel MIPI
CSI-2 CMOS image sensor.
Signed-off-by: Hikmah Gumelar <hikmahgumelar@xxxxxxxxx>
---
.../bindings/media/i2c/samsung,s5k5e8.yaml | 103 ++++++++++++++++++
1 file changed, 103 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/i2c/samsung,s5k5e8.yaml
diff --git a/Documentation/devicetree/bindings/media/i2c/samsung,s5k5e8.yaml b/Documentation/devicetree/bindings/media/i2c/samsung,s5k5e8.yaml
new file mode 100644
index 000000000000..0e440209c3fd
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/i2c/samsung,s5k5e8.yaml
@@ -0,0 +1,103 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org
+$schema: http://devicetree.org
+
+title: Samsung S5K5E8 1/5-inch 5Mp CMOS Image Sensor
+
+maintainers:
+ - Hikmah Gumelar <hikmahgumelar@xxxxxxxxx>
+
+description:
+ Samsung S5K5E8 is a 1/5-inch 5-megapixel CMOS active-pixel digital image
+ sensor with a 2-lane MIPI CSI-2 interface and I2C control bus.
+
+allOf:
+ - $ref: /schemas/media/video-interface-devices.yaml#
+
+properties:
+ compatible:
+ const: samsung,s5k5e8
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ maxItems: 1
+
+ reset-gpios:
+ description: Active-low reset GPIO.
+ maxItems: 1
+
+ avdd-supply:
+ description: Analog power supply (2.8V).
+
+ dvdd-supply:
+ description: Digital core power supply (1.2V).
+
+ dovdd-supply:
+ description: Digital I/O power supply (1.8V).
+
+ 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: 0
+ - const: 1
+
+ link-frequencies: true
+
+ required:
+ - data-lanes
+ - link-frequencies
+
+ required:
+ - endpoint
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - avdd-supply
+ - dvdd-supply
+ - dovdd-supply
+ - port
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ camera-sensor@2d {
+ compatible = "samsung,s5k5e8";
+ reg = <0x2d>;
+ clocks = <&camss_mclk1>;
+ reset-gpios = <&tlmm 129 GPIO_ACTIVE_LOW>;
+ avdd-supply = <&pm8953_l22>;
+ dvdd-supply = <&pm8953_l23>;
+ dovdd-supply = <&pm8953_l6>;
+
+ port {
+ endpoint {
+ data-lanes = <0 1>;
+ remote-endpoint = <&csiphy2_ep>;
+ link-frequencies = /bits/ 64 <418000000>;
+ };
+ };
+ };
+ };
+...
--
2.47.3