The CSI1 controller of V3/V3s/S3/S3L SoCs is used for parallel CSI.

As we're going to add support for Pine64 SCC board, which uses 8-bit
parallel CSI (and the MCLK output), add the pinctrl node of 8-bit
CSI and MCLK to the DTSI file.

Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
 arch/arm/boot/dts/sun8i-v3s.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi
index 3e079973672d..19fba1a9115b 100644
--- a/arch/arm/boot/dts/sun8i-v3s.dtsi
+++ b/arch/arm/boot/dts/sun8i-v3s.dtsi
@@ -312,6 +312,20 @@ pio: pinctrl@1c20800 {
                        interrupt-controller;
                        #interrupt-cells = <3>;
 
+                       /omit-if-no-ref/
+                       csi1_8bit_pins: csi1-8bit-pins {
+                               pins = "PE0", "PE2", "PE3", "PE8", "PE9",
+                                      "PE10", "PE11", "PE12", "PE13", "PE14",
+                                      "PE15";
+                               function = "csi";
+                       };
+
+                       /omit-if-no-ref/
+                       csi1_mclk_pin: csi1-mclk-pin {
+                               pins = "PE1";
+                               function = "csi";
+                       };
+
                        i2c0_pins: i2c0-pins {
                                pins = "PB6", "PB7";
                                function = "i2c0";
-- 
2.27.0

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/20200923010122.148661-1-icenowy%40aosc.io.

Reply via email to