31e19be15ef6b4bd1d40a8b97b2c37a50cc0e6de
[openwrt/staging/blocktrron.git] /
1 From 50b181819224c717a468ced24ec7106e87b02dcd Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Tue, 28 Mar 2023 15:16:57 +0100
4 Subject: [PATCH] dtoverlays: Update compatible strings for
5 imx290/327/462
6
7 Now upstream have accepted patches adding a mono version of
8 IMX290, and IMX327, update the compatible strings in the overlays
9 to match.
10
11 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
12 ---
13 arch/arm/boot/dts/overlays/imx290-overlay.dts | 4 ++--
14 arch/arm/boot/dts/overlays/imx290_327.dtsi | 2 +-
15 arch/arm/boot/dts/overlays/imx327-overlay.dts | 5 +++--
16 arch/arm/boot/dts/overlays/imx462-overlay.dts | 6 ++++--
17 4 files changed, 10 insertions(+), 7 deletions(-)
18
19 --- a/arch/arm/boot/dts/overlays/imx290-overlay.dts
20 +++ b/arch/arm/boot/dts/overlays/imx290-overlay.dts
21 @@ -15,14 +15,14 @@
22 fragment@101 {
23 target = <&cam_node>;
24 __overlay__ {
25 - compatible = "sony,imx290";
26 + compatible = "sony,imx290lqr";
27 };
28 };
29
30 fragment@102 {
31 target = <&cam_node>;
32 __dormant__ {
33 - compatible = "sony,imx290-mono";
34 + compatible = "sony,imx290llr";
35 };
36 };
37
38 --- a/arch/arm/boot/dts/overlays/imx290_327.dtsi
39 +++ b/arch/arm/boot/dts/overlays/imx290_327.dtsi
40 @@ -1,7 +1,7 @@
41 // Fragment to configure and IMX290 / IMX327 / IMX462 image sensor
42
43 cam_node: imx290@1a {
44 - compatible = "sony,imx290";
45 + compatible = "sony,imx290lqr";
46 reg = <0x1a>;
47 status = "disabled";
48
49 --- a/arch/arm/boot/dts/overlays/imx327-overlay.dts
50 +++ b/arch/arm/boot/dts/overlays/imx327-overlay.dts
51 @@ -15,14 +15,15 @@
52 fragment@101 {
53 target = <&cam_node>;
54 __overlay__ {
55 - compatible = "sony,imx327";
56 + compatible = "sony,imx327lqr";
57 };
58 };
59
60 fragment@102 {
61 target = <&cam_node>;
62 __dormant__ {
63 - compatible = "sony,imx327-mono";
64 + // IMX327 mono is undefined in the binding - use imx290
65 + compatible = "sony,imx290llr";
66 };
67 };
68
69 --- a/arch/arm/boot/dts/overlays/imx462-overlay.dts
70 +++ b/arch/arm/boot/dts/overlays/imx462-overlay.dts
71 @@ -12,17 +12,19 @@
72 // Fragment numbers deliberately high to avoid conflicts with the
73 // included imx290_327 overlay file.
74
75 + //IMX462 is not defined in the bindings, so use IMX290 for now.
76 +
77 fragment@101 {
78 target = <&cam_node>;
79 __overlay__ {
80 - compatible = "sony,imx462";
81 + compatible = "sony,imx290lqr";
82 };
83 };
84
85 fragment@102 {
86 target = <&cam_node>;
87 __dormant__ {
88 - compatible = "sony,imx462-mono";
89 + compatible = "sony,imx290llr";
90 };
91 };
92