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

From: Andre Gilerson

Date: Thu Oct 01 2026 - 01:29:20 EST


Hi everybody,

sorry for the late reponse, I was away on holiday. I was originally
working on the IMX681 driver as part of my efforts for running linux
of the surface 11 pro intel. Thanks for Sergey to bringing this to
mainline. As Krzysztof asked on v3: I am fine with being listed as a
maintainer here, but i would include Sergey as a Maintainer as well,
since he contributed as much work by now.

Acked-by: Andre Gilerson <andre.gilerson@xxxxxxxxx>

Thanks,
Andre

PS. sorry for the doubling the email, the first one was rejected due
to HTML formatting

On Wed, 23 Sept 2026 at 23:18, Sergey Lebedev <lsa.uz@xxxxx> wrote:
>
> 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>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
> ---
> .../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 00000000000..6d2e4ddcee9
> --- /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.54.0 (Apple Git-157)
>
>