Commit 09f29dcc authored by Maxime Ripard's avatar Maxime Ripard

ARM: dts: sunxi: Fix the TCON output clock

Even though we shouldn't really have any external user of the clock
provided by the TCON, if clock-output-names is set, then #clock-cells must
be there as well.

Fix this.
Acked-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
parent 033914f8
...@@ -342,6 +342,7 @@ tcon0: lcd-controller@1c0c000 { ...@@ -342,6 +342,7 @@ tcon0: lcd-controller@1c0c000 {
"tcon-ch0", "tcon-ch0",
"tcon-ch1"; "tcon-ch1";
clock-output-names = "tcon0-pixel-clock"; clock-output-names = "tcon0-pixel-clock";
#clock-cells = <0>;
dmas = <&dma SUN4I_DMA_DEDICATED 14>; dmas = <&dma SUN4I_DMA_DEDICATED 14>;
ports { ports {
...@@ -391,6 +392,7 @@ tcon1: lcd-controller@1c0d000 { ...@@ -391,6 +392,7 @@ tcon1: lcd-controller@1c0d000 {
"tcon-ch0", "tcon-ch0",
"tcon-ch1"; "tcon-ch1";
clock-output-names = "tcon1-pixel-clock"; clock-output-names = "tcon1-pixel-clock";
#clock-cells = <0>;
dmas = <&dma SUN4I_DMA_DEDICATED 15>; dmas = <&dma SUN4I_DMA_DEDICATED 15>;
ports { ports {
......
...@@ -275,6 +275,7 @@ tcon0: lcd-controller@1c0c000 { ...@@ -275,6 +275,7 @@ tcon0: lcd-controller@1c0c000 {
"tcon-ch0", "tcon-ch0",
"tcon-ch1"; "tcon-ch1";
clock-output-names = "tcon-pixel-clock"; clock-output-names = "tcon-pixel-clock";
#clock-cells = <0>;
status = "disabled"; status = "disabled";
ports { ports {
......
...@@ -292,6 +292,7 @@ tcon0: lcd-controller@1c0c000 { ...@@ -292,6 +292,7 @@ tcon0: lcd-controller@1c0c000 {
"tcon-ch0", "tcon-ch0",
"tcon-ch1"; "tcon-ch1";
clock-output-names = "tcon0-pixel-clock"; clock-output-names = "tcon0-pixel-clock";
#clock-cells = <0>;
ports { ports {
#address-cells = <1>; #address-cells = <1>;
...@@ -340,6 +341,7 @@ tcon1: lcd-controller@1c0d000 { ...@@ -340,6 +341,7 @@ tcon1: lcd-controller@1c0d000 {
"tcon-ch0", "tcon-ch0",
"tcon-ch1"; "tcon-ch1";
clock-output-names = "tcon1-pixel-clock"; clock-output-names = "tcon1-pixel-clock";
#clock-cells = <0>;
ports { ports {
#address-cells = <1>; #address-cells = <1>;
......
...@@ -406,6 +406,7 @@ tcon0: lcd-controller@1c0c000 { ...@@ -406,6 +406,7 @@ tcon0: lcd-controller@1c0c000 {
"tcon-ch0", "tcon-ch0",
"tcon-ch1"; "tcon-ch1";
clock-output-names = "tcon0-pixel-clock"; clock-output-names = "tcon0-pixel-clock";
#clock-cells = <0>;
dmas = <&dma SUN4I_DMA_DEDICATED 14>; dmas = <&dma SUN4I_DMA_DEDICATED 14>;
ports { ports {
...@@ -455,6 +456,7 @@ tcon1: lcd-controller@1c0d000 { ...@@ -455,6 +456,7 @@ tcon1: lcd-controller@1c0d000 {
"tcon-ch0", "tcon-ch0",
"tcon-ch1"; "tcon-ch1";
clock-output-names = "tcon1-pixel-clock"; clock-output-names = "tcon1-pixel-clock";
#clock-cells = <0>;
dmas = <&dma SUN4I_DMA_DEDICATED 15>; dmas = <&dma SUN4I_DMA_DEDICATED 15>;
ports { ports {
......
...@@ -185,6 +185,7 @@ tcon0: lcd-controller@1c0c000 { ...@@ -185,6 +185,7 @@ tcon0: lcd-controller@1c0c000 {
clock-names = "ahb", clock-names = "ahb",
"tcon-ch0"; "tcon-ch0";
clock-output-names = "tcon-pixel-clock"; clock-output-names = "tcon-pixel-clock";
#clock-cells = <0>;
resets = <&ccu RST_BUS_LCD>; resets = <&ccu RST_BUS_LCD>;
reset-names = "lcd"; reset-names = "lcd";
status = "disabled"; status = "disabled";
......
...@@ -433,6 +433,7 @@ tcon0: lcd-controller@1c0c000 { ...@@ -433,6 +433,7 @@ tcon0: lcd-controller@1c0c000 {
clocks = <&ccu CLK_BUS_TCON0>, <&ccu CLK_TCON0>; clocks = <&ccu CLK_BUS_TCON0>, <&ccu CLK_TCON0>;
clock-names = "ahb", "tcon-ch0"; clock-names = "ahb", "tcon-ch0";
clock-output-names = "tcon-pixel-clock"; clock-output-names = "tcon-pixel-clock";
#clock-cells = <0>;
resets = <&ccu RST_BUS_TCON0>, <&ccu RST_BUS_LVDS>; resets = <&ccu RST_BUS_TCON0>, <&ccu RST_BUS_LVDS>;
reset-names = "lcd", "lvds"; reset-names = "lcd", "lvds";
......
...@@ -147,6 +147,7 @@ tcon0: lcd-controller@1c0c000 { ...@@ -147,6 +147,7 @@ tcon0: lcd-controller@1c0c000 {
clock-names = "ahb", clock-names = "ahb",
"tcon-ch0"; "tcon-ch0";
clock-output-names = "tcon-pixel-clock"; clock-output-names = "tcon-pixel-clock";
#clock-cells = <0>;
resets = <&ccu RST_BUS_TCON0>; resets = <&ccu RST_BUS_TCON0>;
reset-names = "lcd"; reset-names = "lcd";
status = "disabled"; status = "disabled";
......
...@@ -870,6 +870,7 @@ tcon0: lcd-controller@3c00000 { ...@@ -870,6 +870,7 @@ tcon0: lcd-controller@3c00000 {
resets = <&ccu RST_BUS_LCD0>, <&ccu RST_BUS_EDP>; resets = <&ccu RST_BUS_LCD0>, <&ccu RST_BUS_EDP>;
reset-names = "lcd", "edp"; reset-names = "lcd", "edp";
clock-output-names = "tcon0-pixel-clock"; clock-output-names = "tcon0-pixel-clock";
#clock-cells = <0>;
ports { ports {
#address-cells = <1>; #address-cells = <1>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment