1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
From 048fcef8ad30f5a5158b3f3d2c2cf1c63fe51b90 Mon Sep 17 00:00:00 2001
From: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Date: Thu, 30 Apr 2020 11:15:37 +0300
Subject: [PATCH] arm64: dts: renesas: add camera dtsi file
This adds camera dtsi file for common data
Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
---
arch/arm64/boot/dts/renesas/camera.dtsi | 30 ++++++++++++++++++++++
.../dts/renesas/r8a77980-v3hsk-vb-gmsl2-2x2.dts | 22 +---------------
.../boot/dts/renesas/r8a77980-v3hsk-vb-gmsl2-4.dts | 22 +---------------
3 files changed, 32 insertions(+), 42 deletions(-)
create mode 100644 arch/arm64/boot/dts/renesas/camera.dtsi
diff --git a/arch/arm64/boot/dts/renesas/camera.dtsi b/arch/arm64/boot/dts/renesas/camera.dtsi
new file mode 100644
index 0000000..0216327
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/camera.dtsi
@@ -0,0 +1,30 @@
+/*
+ * Device Tree Source for the LVDS cameras
+ *
+ * Copyright (C) 2020 Cogent Embedded, Inc.
+ *
+ * This file is licensed under the terms of the GNU General Public License
+ * version 2. This program is licensed "as is" without any warranty of any
+ * kind, whether express or implied.
+ */
+
+#define COMPATIBLE_CAMERAS \
+ "onnn,ar0140", \
+ "onnn,ar0143", \
+ "onnn,ar0147", \
+ "onnn,ar0231", \
+ "onnn,ar0233", \
+ "onnn,ap0101", \
+ "onnn,ap0201", \
+ "ovti,ov10635", \
+ "ovti,ov10640", \
+ "ovti,ov2311", \
+ "ovti,ov2775", \
+ "ovti,ov490", \
+ "ovti,ov495", \
+ "ovti,ox01d10", \
+ "ovti,ox03a", \
+ "sony,imx390", \
+ "sony,isx016", \
+ "sony,isx019", \
+ "dummy,camera"
diff --git a/arch/arm64/boot/dts/renesas/r8a77980-v3hsk-vb-gmsl2-2x2.dts b/arch/arm64/boot/dts/renesas/r8a77980-v3hsk-vb-gmsl2-2x2.dts
index 155b73f..4d284b1 100644
--- a/arch/arm64/boot/dts/renesas/r8a77980-v3hsk-vb-gmsl2-2x2.dts
+++ b/arch/arm64/boot/dts/renesas/r8a77980-v3hsk-vb-gmsl2-2x2.dts
@@ -12,27 +12,7 @@
#include <dt-bindings/gpio/gpio.h>
/* FDPLink output */
//#include "vb-fdplink-output.dtsi"
-
-#define COMPATIBLE_CAMERAS \
-"onsemi,ar0140", \
-"onsemi,ar0143", \
-"onsemi,ar0147", \
-"onsemi,ar0231", \
-"onsemi,ar0233", \
-"onsemi,ap0101", \
-"onsemi,ap0201", \
-"ovti,ov10635", \
-"ovti,ov10640", \
-"ovti,ov2311", \
-"ovti,ov2775", \
-"ovti,ov490", \
-"ovti,ov495", \
-"ovti,ox01d10", \
-"ovti,ox03a", \
-"sony,imx390", \
-"sony,isx016", \
-"sony,isx019", \
-"dummy,camera"
+#include "camera.dtsi"
/ {
model = "Renesas V3HSK 2x2ch GMSL2 Videobox board based on r8a7798";
diff --git a/arch/arm64/boot/dts/renesas/r8a77980-v3hsk-vb-gmsl2-4.dts b/arch/arm64/boot/dts/renesas/r8a77980-v3hsk-vb-gmsl2-4.dts
index 310061f..ac2d825 100644
--- a/arch/arm64/boot/dts/renesas/r8a77980-v3hsk-vb-gmsl2-4.dts
+++ b/arch/arm64/boot/dts/renesas/r8a77980-v3hsk-vb-gmsl2-4.dts
@@ -12,27 +12,7 @@
#include <dt-bindings/gpio/gpio.h>
/* FDPLink output */
//#include "vb-fdplink-output.dtsi"
-
-#define COMPATIBLE_CAMERAS \
-"onsemi,ar0140", \
-"onsemi,ar0143", \
-"onsemi,ar0147", \
-"onsemi,ar0231", \
-"onsemi,ar0233", \
-"onsemi,ap0101", \
-"onsemi,ap0201", \
-"ovti,ov10635", \
-"ovti,ov10640", \
-"ovti,ov2311", \
-"ovti,ov2775", \
-"ovti,ov490", \
-"ovti,ov495", \
-"ovti,ox01d10", \
-"ovti,ox03a", \
-"sony,imx390", \
-"sony,isx016", \
-"sony,isx019", \
-"dummy,camera"
+#include "camera.dtsi"
/ {
model = "Renesas V3HSK 4ch GMSL2 Videobox board based on r8a77980";
--
2.7.4
|