Devicetree
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: media: i2c: Add Samsung S5K5E8YX image sensor
@ 2026-11-21  9:19 Tuan Kiet Huynh
  2026-11-21  9:19 ` [PATCH 2/2] media: i2c: Add Samsung S5K5E8YX camera sensor driver Tuan Kiet Huynh
  2026-11-21 12:07 ` [PATCH v2 0/2] " Tuan Kiet Huynh
  0 siblings, 2 replies; 6+ messages in thread
From: Tuan Kiet Huynh @ 2026-11-21  9:19 UTC (permalink / raw)
  To: linux-media, devicetree
  Cc: sakari.ailus, mchehab, robh, krzk+dt, conor+dt,
	Andrii Cherniavskyi, Tuan Kiet Huynh

From: Andrii Cherniavskyi <chernyav.a@gmail.com>

Add Device Tree bindings for the Samsung S5K5E8YX 5MP RAW10 CMOS image
sensor, including optional standby-gpios and MIPI CSI-2 endpoint
properties.

Signed-off-by: Andrii Cherniavskyi <chernyav.a@gmail.com>
Co-developed-by: Tuan Kiet Huynh <huynhtuankiet33@gmail.com>
Signed-off-by: Tuan Kiet Huynh <huynhtuankiet33@gmail.com>
---
 .../bindings/media/i2c/samsung,s5k5e8yx.yaml  | 102 ++++++++++++++++++
 1 file changed, 102 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/i2c/samsung,s5k5e8yx.yaml

diff --git a/Documentation/devicetree/bindings/media/i2c/samsung,s5k5e8yx.yaml b/Documentation/devicetree/bindings/media/i2c/samsung,s5k5e8yx.yaml
new file mode 100644
index 000000000..a70becba5
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/i2c/samsung,s5k5e8yx.yaml
@@ -0,0 +1,102 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/media/i2c/samsung,s5k5e8yx.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung S5K5E8YX Image Sensor
+
+description:
+  Samsung S5K5E8YX image sensor is a 5MP CMOS image sensor.
+  The sensor is controlled over a serial camera control bus protocol,
+  the widest supported output image frame size is 2608x1960 at 30 frames
+  per second, data output format is RAW10 transferred over 2-lane
+  MIPI D-PHY interface.
+
+maintainers:
+  - Andrii Cherniavskyi <chernyav.a@gmail.com>
+
+allOf:
+  - $ref: /schemas/media/video-interface-devices.yaml#
+
+properties:
+  compatible:
+    const: samsung,s5k5e8yx
+
+  reg:
+    maxItems: 1
+
+  clocks:
+    description: MCLK supply clock.
+    maxItems: 1
+
+  reset-gpios:
+    description: Active low GPIO connected to RESET pad of the sensor.
+    maxItems: 1
+
+  standby-gpios:
+    description: Active low GPIO connected to STANDBY/XSHUTDN pad of the sensor.
+    maxItems: 1
+
+  vdda-supply:
+    description: Analogue voltage supply, 2.8 volts.
+
+  vddd-supply:
+    description: Digital core voltage supply, 1.2 volts.
+
+  vddio-supply:
+    description: Digital I/O voltage supply, 1.8 or 2.8 volts.
+
+  port:
+    $ref: /schemas/graph.yaml#/$defs/port-base
+    additionalProperties: false
+
+    properties:
+      endpoint:
+        $ref: /schemas/media/video-interfaces.yaml#
+        unevaluatedProperties: false
+
+        properties:
+          link-frequencies: true
+          remote-endpoint: true
+
+        required:
+          - link-frequencies
+          - remote-endpoint
+
+required:
+  - compatible
+  - reg
+  - clocks
+  - port
+
+unevaluatedProperties: false
+
+examples:
+  - |
+      #include <dt-bindings/gpio/gpio.h>
+
+      i2c {
+          #address-cells = <1>;
+          #size-cells = <0>;
+
+          camera@2d {
+              compatible = "samsung,s5k5e8yx";
+              reg = <0x2d>;
+              clocks = <&camera_mclk 0>;
+              assigned-clocks = <&camera_mclk 0>;
+              assigned-clock-rates = <24000000>;
+              reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
+              vdda-supply = <&vreg_2p8>;
+              vddd-supply = <&vreg_1p2>;
+              vddio-supply = <&vreg_1p8>;
+
+              port {
+                  endpoint {
+                      link-frequencies = /bits/ 64 <420000000>;
+                      remote-endpoint = <&mipi_csi2_ep>;
+                  };
+              };
+          };
+      };
+...
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-11-21 12:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-21  9:19 [PATCH 1/2] dt-bindings: media: i2c: Add Samsung S5K5E8YX image sensor Tuan Kiet Huynh
2026-11-21  9:19 ` [PATCH 2/2] media: i2c: Add Samsung S5K5E8YX camera sensor driver Tuan Kiet Huynh
2026-11-21 12:07 ` [PATCH v2 0/2] " Tuan Kiet Huynh
2026-11-21 12:07   ` [PATCH v2 1/2] dt-bindings: media: i2c: Add Samsung S5K5E8YX image sensor Tuan Kiet Huynh
2026-11-21 12:07   ` [PATCH v2 2/2] media: i2c: Add Samsung S5K5E8YX camera sensor driver Tuan Kiet Huynh
2026-11-21 12:31     ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox