[PATCH v2 1/3] dt-bindings: media: Add Sony IMX681

From: Sergey Lebedev

Date: Wed Sep 09 2026 - 15:59:45 EST


The Sony IMX681 is a CMOS image sensor used as the user-facing camera on
several Microsoft Surface devices. It operates from analog 2.8 V, digital
1.05 V and interface 1.8 V supplies, is programmable over I2C, and outputs
10-bit Bayer data over a two-lane MIPI CSI-2 D-PHY interface.

Signed-off-by: Sergey Lebedev <lsa.uz@xxxxx>
---
.../bindings/media/i2c/sony,imx681.yaml | 107 ++++++++++++++++++
1 file changed, 107 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx681.yaml

diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx681.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx681.yaml
new file mode 100644
index 000000000..6d2e4ddce
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/i2c/sony,imx681.yaml
@@ -0,0 +1,107 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/media/i2c/sony,imx681.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Sony IMX681 CMOS Image Sensor
+
+maintainers:
+ - Andre Gilerson <andre.gilerson@xxxxxxxxx>
+
+description:
+ The Sony IMX681 is a CMOS active pixel image sensor with a square pixel
+ array, used as the user-facing camera on several Microsoft Surface devices.
+ It operates from analog 2.8 V, digital 1.05 V and interface 1.8 V supplies,
+ is programmable over I2C, and outputs 10-bit Bayer data over a two-lane
+ MIPI CSI-2 D-PHY interface.
+
+allOf:
+ - $ref: /schemas/media/video-interface-devices.yaml#
+
+properties:
+ compatible:
+ const: sony,imx681
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ description: Input clock (19.2 MHz)
+ maxItems: 1
+
+ avdd-supply:
+ description: Analog power supply (2.8 V)
+
+ dvdd-supply:
+ description: Digital power supply (1.05 V)
+
+ dovdd-supply:
+ description: Interface power supply (1.8 V)
+
+ reset-gpios:
+ description: Sensor reset (XCLR) GPIO, active low
+ maxItems: 1
+
+ port:
+ $ref: /schemas/graph.yaml#/$defs/port-base
+ unevaluatedProperties: 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:
+ - 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@10 {
+ compatible = "sony,imx681";
+ reg = <0x10>;
+ clocks = <&clock_cam>;
+ avdd-supply = <&vcc2v8_cam>;
+ dvdd-supply = <&vcc1v05_cam>;
+ dovdd-supply = <&vcc1v8_cam>;
+ reset-gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
+ orientation = <0>;
+ rotation = <0>;
+
+ port {
+ imx681_ep: endpoint {
+ data-lanes = <1 2>;
+ link-frequencies = /bits/ 64 <969600000>;
+ remote-endpoint = <&csi_in>;
+ };
+ };
+ };
+ };
+...
--
2.53.0