Skip to content

Commit 74bc238

Browse files
committed
media: dt-bindings: imx258: Fix alternate compatible strings
Multiple compatible strings must appear as an enum. Signed-off-by: Phil Elwell <[email protected]>
1 parent e1b03ea commit 74bc238

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Documentation/devicetree/bindings/media/i2c/imx258.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ description: |-
1919
2020
properties:
2121
compatible:
22-
const: sony,imx258
23-
const: sony,imx258-pdaf
22+
enum:
23+
- sony,imx258
24+
- sony,imx258-pdaf
2425

2526
assigned-clocks: true
2627
assigned-clock-parents: true

0 commit comments

Comments
 (0)