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
121
122
123
124
125
126
127
128
129
130
131
132
|
From 193b183e75deb047c60196e987b3112e134abe17 Mon Sep 17 00:00:00 2001
From: Petr Nechaev <petr.nechaev@cogentembedded.com>
Date: Thu, 13 Jun 2019 21:20:25 -0400
Subject: [PATCH] v3hsk: Add separate dts for dummy camera 1920x1080
To be used as LVDS -> HDMI converter.
---
arch/arm64/boot/dts/renesas/Makefile | 1 +
.../renesas/r8a77980-v3hsk-vb-4ch-hdmi.dts | 46 +++++++++++++++++++
.../renesas/r8a77980-v3hsk-vb-8ch-hdmi.dts | 46 +++++++++++++++++++
3 files changed, 93 insertions(+)
create mode 100644 arch/arm64/boot/dts/renesas/r8a77980-v3hsk-vb-4ch-hdmi.dts
create mode 100644 arch/arm64/boot/dts/renesas/r8a77980-v3hsk-vb-8ch-hdmi.dts
diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile
index 4b2f4fb73bed..89da50cbfbdb 100644
--- a/arch/arm64/boot/dts/renesas/Makefile
+++ b/arch/arm64/boot/dts/renesas/Makefile
@@ -42,5 +42,6 @@ dtb-$(CONFIG_ARCH_R8A77980) += r8a77980-v3hsk-vbm-v2.dtb
dtb-$(CONFIG_ARCH_R8A77980) += r8a77980-v3hsk-vbm-v3.dtb
dtb-$(CONFIG_ARCH_R8A77980) += r8a77980-v3hsk-vb-8ch.dtb r8a77980-v3hsk-vb-4ch.dtb
dtb-$(CONFIG_ARCH_R8A77980) += r8a77980-v3hsk-vb-gmsl-8ch.dtb
+dtb-$(CONFIG_ARCH_R8A77980) += r8a77980-v3hsk-vb-4ch-hdmi.dtb r8a77980-v3hsk-vb-8ch-hdmi.dtb
always := $(dtb-y)
diff --git a/arch/arm64/boot/dts/renesas/r8a77980-v3hsk-vb-4ch-hdmi.dts b/arch/arm64/boot/dts/renesas/r8a77980-v3hsk-vb-4ch-hdmi.dts
new file mode 100644
index 000000000000..f5931c5d3ef6
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/r8a77980-v3hsk-vb-4ch-hdmi.dts
@@ -0,0 +1,46 @@
+/*
+ * Device Tree Source for the V3HSK VideoBox 4-channel board on r8a7798 with dummy LVDS input
+ *
+ * Copyright (C) 2018 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.
+ */
+
+#include "r8a77980-v3hsk-vb-4ch.dts"
+
+&i2cswitch1 {
+ i2c@2 {
+ /delete-node/ ov106xx@0;
+
+ dummy-camera@0 {
+ compatible = "dummy-camera";
+ reg = <0x60>;
+
+ dummy,width = <1920>;
+ dummy,height = <1080>;
+
+ port@0 {
+ dummy_camera_in0: endpoint {
+ clock-lanes = <0>;
+ data-lanes = <1 2 3 4>;
+ remote-endpoint = <&vin0ep0>;
+ };
+ };
+ port@1 {
+ dummy_camera_ti9x4_des0ep0: endpoint@1 {
+ remote-endpoint = <&ti9x4_des0ep0>;
+ };
+ };
+ };
+ };
+};
+
+&ti9x4_des0ep0 {
+ remote-endpoint = <&dummy_camera_in0>;
+};
+
+&vin0ep0 {
+ remote-endpoint = <&dummy_camera_in0>;
+};
diff --git a/arch/arm64/boot/dts/renesas/r8a77980-v3hsk-vb-8ch-hdmi.dts b/arch/arm64/boot/dts/renesas/r8a77980-v3hsk-vb-8ch-hdmi.dts
new file mode 100644
index 000000000000..5aecc0e80cde
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/r8a77980-v3hsk-vb-8ch-hdmi.dts
@@ -0,0 +1,46 @@
+/*
+ * Device Tree Source for the V3HSK VideoBox 8-channel board on r8a7798 with dummy LVDS input
+ *
+ * Copyright (C) 2018 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.
+ */
+
+#include "r8a77980-v3hsk-vb-8ch.dts"
+
+&i2cswitch1 {
+ i2c@2 {
+ /delete-node/ ov106xx@0;
+
+ dummy-camera@0 {
+ compatible = "dummy-camera";
+ reg = <0x60>;
+
+ dummy,width = <1920>;
+ dummy,height = <1080>;
+
+ port@0 {
+ dummy_camera_in0: endpoint {
+ clock-lanes = <0>;
+ data-lanes = <1 2 3 4>;
+ remote-endpoint = <&vin0ep0>;
+ };
+ };
+ port@1 {
+ dummy_camera_ti9x4_des0ep0: endpoint@1 {
+ remote-endpoint = <&ti9x4_des0ep0>;
+ };
+ };
+ };
+ };
+};
+
+&ti9x4_des0ep0 {
+ remote-endpoint = <&dummy_camera_in0>;
+};
+
+&vin0ep0 {
+ remote-endpoint = <&dummy_camera_in0>;
+};
--
2.20.1
|