From: Tuan Kiet Huynh <huynhtuankiet33@gmail.com>
To: linux-media@vger.kernel.org, devicetree@vger.kernel.org
Cc: sakari.ailus@linux.intel.com, mchehab@kernel.org,
robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
chernyav.a@gmail.com, hikmahgumelar@gmail.com,
Tuan Kiet Huynh <huynhtuankiet33@gmail.com>
Subject: [PATCH v4 1/2] dt-bindings: media: i2c: Add Samsung S5K5E8 image sensor
Date: Tue, 1 Dec 2026 18:02:34 +0700 [thread overview]
Message-ID: <20261201110235.3327189-2-huynhtuankiet33@gmail.com> (raw)
In-Reply-To: <20261201110235.3327189-1-huynhtuankiet33@gmail.com>
From: Andrii Cherniavskyi <chernyav.a@gmail.com>
Add Device Tree bindings for the Samsung S5K5E8 5MP RAW10 CMOS image
sensor, including required regulators, optional reset/powerdown GPIOs,
and 2-lane 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,s5k5e8.yaml | 109 ++++++++++++++++++
MAINTAINERS | 8 ++
2 files changed, 117 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 000000000..3aa50bd58
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/i2c/samsung,s5k5e8.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,s5k5e8.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung S5K5E8 Image Sensor
+
+description:
+ Samsung S5K5E8 is a 5MP CMOS image sensor controlled over an I2C-compatible
+ serial interface, outputting RAW10 image data over a 2-lane MIPI D-PHY
+ interface.
+
+maintainers:
+ - Andrii Cherniavskyi <chernyav.a@gmail.com>
+ - Tuan Kiet Huynh <huynhtuankiet33@gmail.com>
+
+allOf:
+ - $ref: /schemas/media/video-interface-devices.yaml#
+
+properties:
+ compatible:
+ const: samsung,s5k5e8
+
+ 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
+
+ powerdown-gpios:
+ description:
+ Active low GPIO connected to the XSHUTDN (powerdown) 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:
+ data-lanes:
+ items:
+ - const: 1
+ - const: 2
+
+ required:
+ - data-lanes
+ - link-frequencies
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - vdda-supply
+ - vddd-supply
+ - vddio-supply
+ - port
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ camera@2d {
+ compatible = "samsung,s5k5e8";
+ reg = <0x2d>;
+ clocks = <&camera_mclk 0>;
+ assigned-clocks = <&camera_mclk 0>;
+ assigned-clock-rates = <24000000>;
+ reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
+ powerdown-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
+ vdda-supply = <&vreg_2p8>;
+ vddd-supply = <&vreg_1p2>;
+ vddio-supply = <&vreg_1p8>;
+
+ port {
+ endpoint {
+ data-lanes = <1 2>;
+ link-frequencies = /bits/ 64 <420000000>;
+ remote-endpoint = <&mipi_csi2_ep>;
+ };
+ };
+ };
+ };
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index f72ce07a4..10b7bf57a 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -25013,6 +25013,14 @@ M: Andrzej Hajda <andrzej.hajda@intel.com>
S: Supported
F: drivers/media/i2c/s5k5baf.c
+SAMSUNG S5K5E8 CAMERA DRIVER
+M: Andrii Cherniavskyi <chernyav.a@gmail.com>
+M: Tuan Kiet Huynh <huynhtuankiet33@gmail.com>
+L: linux-media@vger.kernel.org
+S: Maintained
+T: git git://linuxtv.org/media_tree.git
+F: Documentation/devicetree/bindings/media/i2c/samsung,s5k5e8.yaml
+
SAMSUNG S5KJN1 CAMERA DRIVER
M: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
S: Maintained
base-commit: ccf78740d63813c452c035b57d17a650492562fa
--
2.43.0
next prev parent reply other threads:[~2026-12-01 11:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 11:02 [PATCH v4 0/2] media: i2c: Add Samsung S5K5E8 camera sensor driver Tuan Kiet Huynh
2026-12-01 11:02 ` Tuan Kiet Huynh [this message]
2026-12-01 11:02 ` [PATCH v4 2/2] " Tuan Kiet Huynh
2026-12-01 11:16 ` sashiko-bot
2026-12-01 12:52 ` [PATCH v4 0/2] " Hikmah Gumelar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261201110235.3327189-2-huynhtuankiet33@gmail.com \
--to=huynhtuankiet33@gmail.com \
--cc=chernyav.a@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=hikmahgumelar@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=robh@kernel.org \
--cc=sakari.ailus@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox