ARM: dts: sunxi: Add missing LVDS resets and clocks

Some old SoCs, while supporting LVDS, don't list the LVDS clocks and reset
lines. Let's add them when relevant.

Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
This commit is contained in:
Maxime Ripard 2020-01-03 16:28:01 +01:00
parent 0a934343a4
commit 06dfaf1dc2
No known key found for this signature in database
GPG key ID: E3EF0D6F671851C5
3 changed files with 29 additions and 14 deletions

View file

@ -286,14 +286,18 @@
reg = <0x01c0c000 0x1000>; reg = <0x01c0c000 0x1000>;
interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
dmas = <&dma 11>; dmas = <&dma 11>;
resets = <&ccu RST_AHB1_LCD0>; resets = <&ccu RST_AHB1_LCD0>,
reset-names = "lcd"; <&ccu RST_AHB1_LVDS>;
reset-names = "lcd",
"lvds";
clocks = <&ccu CLK_AHB1_LCD0>, clocks = <&ccu CLK_AHB1_LCD0>,
<&ccu CLK_LCD0_CH0>, <&ccu CLK_LCD0_CH0>,
<&ccu CLK_LCD0_CH1>; <&ccu CLK_LCD0_CH1>,
<&ccu 15>;
clock-names = "ahb", clock-names = "ahb",
"tcon-ch0", "tcon-ch0",
"tcon-ch1"; "tcon-ch1",
"lvds-alt";
clock-output-names = "tcon0-pixel-clock"; clock-output-names = "tcon0-pixel-clock";
#clock-cells = <0>; #clock-cells = <0>;
@ -336,14 +340,17 @@
reg = <0x01c0d000 0x1000>; reg = <0x01c0d000 0x1000>;
interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
dmas = <&dma 12>; dmas = <&dma 12>;
resets = <&ccu RST_AHB1_LCD1>; resets = <&ccu RST_AHB1_LCD1>,
reset-names = "lcd"; <&ccu RST_AHB1_LVDS>;
reset-names = "lcd", "lvds";
clocks = <&ccu CLK_AHB1_LCD1>, clocks = <&ccu CLK_AHB1_LCD1>,
<&ccu CLK_LCD1_CH0>, <&ccu CLK_LCD1_CH0>,
<&ccu CLK_LCD1_CH1>; <&ccu CLK_LCD1_CH1>,
<&ccu 15>;
clock-names = "ahb", clock-names = "ahb",
"tcon-ch0", "tcon-ch0",
"tcon-ch1"; "tcon-ch1",
"lvds-alt";
clock-output-names = "tcon1-pixel-clock"; clock-output-names = "tcon1-pixel-clock";
#clock-cells = <0>; #clock-cells = <0>;

View file

@ -184,13 +184,17 @@
interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
dmas = <&dma 12>; dmas = <&dma 12>;
clocks = <&ccu CLK_BUS_LCD>, clocks = <&ccu CLK_BUS_LCD>,
<&ccu CLK_LCD_CH0>; <&ccu CLK_LCD_CH0>,
<&ccu 13>;
clock-names = "ahb", clock-names = "ahb",
"tcon-ch0"; "tcon-ch0",
"lvds-alt";
clock-output-names = "tcon-pixel-clock"; clock-output-names = "tcon-pixel-clock";
#clock-cells = <0>; #clock-cells = <0>;
resets = <&ccu RST_BUS_LCD>; resets = <&ccu RST_BUS_LCD>,
reset-names = "lcd"; <&ccu RST_BUS_LVDS>;
reset-names = "lcd",
"lvds";
status = "disabled"; status = "disabled";
ports { ports {

View file

@ -878,8 +878,12 @@
interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ccu CLK_BUS_LCD0>, <&ccu CLK_LCD0>; clocks = <&ccu CLK_BUS_LCD0>, <&ccu CLK_LCD0>;
clock-names = "ahb", "tcon-ch0"; clock-names = "ahb", "tcon-ch0";
resets = <&ccu RST_BUS_LCD0>, <&ccu RST_BUS_EDP>; resets = <&ccu RST_BUS_LCD0>,
reset-names = "lcd", "edp"; <&ccu RST_BUS_EDP>,
<&ccu RST_BUS_LVDS>;
reset-names = "lcd",
"edp",
"lvds";
clock-output-names = "tcon0-pixel-clock"; clock-output-names = "tcon0-pixel-clock";
#clock-cells = <0>; #clock-cells = <0>;