[PATCH v6 10/18] media: dt-bindings: sony,imx678: Add other Starvis 2 family members
From: Dave Stevenson
Date: Thu Oct 22 2026 - 13:37:44 EST
There are multiple members of the Sony Starvis 2 image sensor family
that have the same hardware requirements as imx678.
Add them as options to the imx678 binding, rather than duplicating it.
Signed-off-by: Dave Stevenson <dave.stevenson@xxxxxxxxxxxxxxx>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
---
.../devicetree/bindings/media/i2c/sony,imx678.yaml | 44 ++++++++++++++++++----
1 file changed, 37 insertions(+), 7 deletions(-)
diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx678.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx678.yaml
index 098f72544216..0115f7b00d5f 100644
--- a/Documentation/devicetree/bindings/media/i2c/sony,imx678.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/sony,imx678.yaml
@@ -5,29 +5,59 @@
$id: http://devicetree.org/schemas/media/i2c/sony,imx678.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
-title: Sony IMX678 Sensor
+title: Sony IMX678 and Starvis 2 Sensors
maintainers:
- Jai Luthra <jai.luthra@xxxxxxxxxxxxxxxx>
description:
Sony IMX678 diagonal 8.86 mm (Type 1/1.8) CMOS active pixel type solid-state
- image sensor with a square pixel array and 8.40M (3856x2180) effective pixels.
+ image sensor with a square pixel array and 8.40M (3856x2180) effective pixels,
+ and part of the Starvis 2 family of sensors. Other members of the Starvis 2
+ have the same hardware requirements, and therefore share this binding.
allOf:
- $ref: /schemas/media/video-interface-devices.yaml#
properties:
compatible:
- items:
- - enum:
- - sony,imx678-aamr
- - sony,imx678-aaqr
- - const: sony,imx678
+ oneOf:
+ - items:
+ - enum:
+ - sony,imx585-aamj
+ - sony,imx585-aaqj
+ - const: sony,imx585
+ - items:
+ - enum:
+ - sony,imx662-aamr
+ - sony,imx662-aaqr
+ - const: sony,imx662
+ - items:
+ - enum:
+ - sony,imx675-aamr
+ - sony,imx675-aaqr
+ - const: sony,imx675
+ - items:
+ - enum:
+ - sony,imx676-aamr
+ - sony,imx676-aacr
+ - const: sony,imx676
+ - items:
+ - enum:
+ - sony,imx678-aamr
+ - sony,imx678-aaqr
+ - const: sony,imx678
+ - items:
+ - enum:
+ - sony,imx832-amr
+ - sony,imx832-aqr
+ - const: sony,imx832
+
description:
The IMX678 sensor exists in a colour variant (IMX678-AAQR) and a mono
variant (IMX678-AAMR). The variant-specific compatible describes the
exact sensor variant, with the generic IMX678 compatible as a fallback.
+ The same applies for the other sensors in the family.
reg:
maxItems: 1
--
2.34.1