sun60iw2: use HDMI TV clock for BPI-M8 logo output

This commit is contained in:
Qubot 2026-06-04 08:49:59 +08:00
parent 59fd84ee51
commit 37650d4980
2 changed files with 4 additions and 6 deletions

View File

@ -1272,7 +1272,7 @@
compatible = "allwinner,tcon-tv";
reg = <0x0 0x05730000 0x0 0x1000>;
interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_tcon_tv0>,
clocks = <&clk_hdmi_tv>,
<&clk_tcon_tv0>;
clock-names = "clk_tcon",
"rst_bus_tcon";
@ -1381,7 +1381,7 @@
compatible = "allwinner,sunxi-hdmi";
reg = <0x0 0x5520000 0x0 0x100000>;
interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_tcon_tv0>,
clocks = <&clk_hdmi_tv>,
<&clk_hdmi_gate>,
<&clk_hdmi_sfr>,
<&clk_hdmi_main_rst>,

View File

@ -323,16 +323,12 @@ clocks {
clk_tcon_tv0: tcon_tv0 {
#clock-cells = <0>;
compatible = "allwinner,periph-clock";
assigned-clocks = <&clk_tcon_tv0>;
assigned-clock-parents = <&clk_pll_video1x4>;
clock-output-names = "tcon_tv0";
};
clk_tcon_tv1: tcon_tv1 {
#clock-cells = <0>;
compatible = "allwinner,periph-clock";
assigned-clocks = <&clk_tcon_tv1>;
assigned-clock-parents = <&clk_pll_video1x4>;
clock-output-names = "tcon_tv1";
};
@ -385,6 +381,8 @@ clocks {
clk_hdmi_tv: hdmi_tv {
#clock-cells = <0>;
compatible = "allwinner,periph-clock";
assigned-clocks = <&clk_hdmi_tv>;
assigned-clock-parents = <&clk_pll_video1x4>;
clock-output-names = "hdmi_tv";
};