f45b68f1546f28bafb139b4b4d4e5fcbd79cf8f8
[openwrt/staging/jow.git] /
1 From 74bc238e86e62109c74d8f229dc105bf3818b4a7 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Wed, 2 Aug 2023 14:35:32 +0100
4 Subject: [PATCH] media: dt-bindings: imx258: Fix alternate compatible strings
5
6 Multiple compatible strings must appear as an enum.
7
8 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
9 ---
10 Documentation/devicetree/bindings/media/i2c/imx258.yaml | 5 +++--
11 1 file changed, 3 insertions(+), 2 deletions(-)
12
13 --- a/Documentation/devicetree/bindings/media/i2c/imx258.yaml
14 +++ b/Documentation/devicetree/bindings/media/i2c/imx258.yaml
15 @@ -19,8 +19,9 @@ description: |-
16
17 properties:
18 compatible:
19 - const: sony,imx258
20 - const: sony,imx258-pdaf
21 + enum:
22 + - sony,imx258
23 + - sony,imx258-pdaf
24
25 assigned-clocks: true
26 assigned-clock-parents: true