Skip to content

Commit

Permalink
media: dt-bindings: imx258: Fix alternate compatible strings
Browse files Browse the repository at this point in the history
Multiple compatible strings must appear as an enum.

Signed-off-by: Phil Elwell <[email protected]>
  • Loading branch information
pelwell committed Aug 2, 2023
1 parent e1b03ea commit 74bc238
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Documentation/devicetree/bindings/media/i2c/imx258.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ description: |-
properties:
compatible:
const: sony,imx258
const: sony,imx258-pdaf
enum:
- sony,imx258
- sony,imx258-pdaf

assigned-clocks: true
assigned-clock-parents: true
Expand Down

0 comments on commit 74bc238

Please sign in to comment.