[PATCH v2 1/2] media: dt-bindings: imx908: Add Sony IMX908 sensor
Lachlan Michael <[email protected]> Thu, 6 Aug 2026 16:09:33 +0900
| Newsgroups | org.kernel.vger.linux-media,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
The Sony IMX908 is an 8.39 megapixel (3856x2176) CMOS image sensor with a MIPI CSI-2 output interface, supporting RAW10 and RAW12 output over 2 or 4 data lanes. Add device tree bindings for the sensor. Signed-off-by: Lachlan Michael <[email protected]> --- Changes in v2: - Reword subject to drop the redundant "bindings" suffix. - Reference video-interfaces.yaml for the endpoint and switch to unevaluatedProperties, fixing the remote-endpoint check. - Drop "link-frequencies: true". - MAINTAINERS: drop the L: line. - MAINTAINERS: move the driver F: line to patch 2. --- .../bindings/media/i2c/sony,imx908.yaml | 105 ++++++++++++++++++ MAINTAINERS | 5 + 2 files changed, 110 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx908.yaml diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx908.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx908.yaml new file mode 100644 index 000000000000..885aba692c60 --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx908.yaml @@ -0,0 +1,105 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright 2026 Sony Semiconductor Solutions +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/i2c/sony,imx908.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sony IMX908 CMOS Image Sensor + +maintainers: + - Lachlan Michael <[email protected]> + +description: + Sony IMX908 diagonal 6.42 mm (Type 1/2.8) CMOS active pixel type + solid-state image sensor with a square pixel array and 8.39 M + (3856x2176) pixels, supporting MIPI CSI-2 output with + RAW10 and RAW12 formats, configured as either 2 or 4 data lanes. + The I2C address is fixed to 0x1A as per sensor data sheet. + +properties: + compatible: + const: sony,imx908 + + reg: + maxItems: 1 + + clocks: + description: Input clock (24 MHz, 27 MHz, 37.125 MHz, 72 MHz or 74.25 MHz) + maxItems: 1 + + dvdd-supply: + description: Digital supply voltage (1.1V) + + ovdd-supply: + description: Interface supply voltage (1.8V) + + avdd-supply: + description: Analog supply voltage (3.3V) + + 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: + oneOf: + - items: + - const: 1 + - const: 2 + - items: + - const: 1 + - const: 2 + - const: 3 + - const: 4 + + required: + - data-lanes + - link-frequencies + +required: + - compatible + - reg + - clocks + - dvdd-supply + - ovdd-supply + - avdd-supply + - port + +additionalProperties: false + +examples: + - | + #include <dt-bindings/gpio/gpio.h> + i2c { + #address-cells = <1>; + #size-cells = <0>; + + camera@1a { + compatible = "sony,imx908"; + reg = <0x1a>; + clocks = <&cdce913_cam0 0>; + dvdd-supply = <&cam_dvdd_1r1v>; + ovdd-supply = <&cam_ovdd_1r8v>; + avdd-supply = <&cam_avdd_3r3v>; + reset-gpios = <&tca6416_cam0 5 GPIO_ACTIVE_LOW>; + + port { + imx908_out: endpoint { + data-lanes = <1 2 3 4>; + link-frequencies = /bits/ 64 <720000000>; + remote-endpoint = <&csi0_in>; + }; + }; + }; + }; + diff --git a/MAINTAINERS b/MAINTAINERS index 4b592cf49746..666c90e100f1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -25256,6 +25256,11 @@ T: git git://linuxtv.org/media.git F: Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml F: drivers/media/i2c/imx415.c +SONY IMX908 SENSOR DRIVER +M: Lachlan Michael <[email protected]> +S: Maintained +F: Documentation/devicetree/bindings/media/i2c/sony,imx908.yaml + SONY MEMORYSTICK SUBSYSTEM M: Maxim Levitsky <[email protected]> M: Alex Dubov <[email protected]> -- 2.47.3