Skip to content

Commit 0602ba0

Browse files
jbrun3tsuperna9999
authored andcommitted
arm64: dts: amlogic: gx: correct hdmi clocks
The clocks provided to HDMI tx are not consistent between gx and g12: * gx receives the peripheral clock as 'isfr' while g12 receives it as 'iahb' * g12 gets the HDMI system clock as 'isfr' but gx does not even get it. It surely needs that clock since the driver is directly poking around the clock controller's registers for that clock. Align gx SoCs with g12 and provide: * the HDMI peripheral clock as 'iahb' * the HDMI system clock as 'isfr' Fixes: 6939db7 ("ARM64: dts: meson-gx: Add support for HDMI output") Signed-off-by: Jerome Brunet <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]>
1 parent e227c1e commit 0602ba0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,8 @@
311311
<&reset RESET_HDMI_SYSTEM_RESET>,
312312
<&reset RESET_HDMI_TX>;
313313
reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy";
314-
clocks = <&clkc CLKID_HDMI_PCLK>,
315-
<&clkc CLKID_CLK81>,
314+
clocks = <&clkc CLKID_HDMI>,
315+
<&clkc CLKID_HDMI_PCLK>,
316316
<&clkc CLKID_GCLK_VENCI_INT0>;
317317
clock-names = "isfr", "iahb", "venci";
318318
power-domains = <&pwrc PWRC_GXBB_VPU_ID>;

arch/arm64/boot/dts/amlogic/meson-gxl.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,8 @@
323323
<&reset RESET_HDMI_SYSTEM_RESET>,
324324
<&reset RESET_HDMI_TX>;
325325
reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy";
326-
clocks = <&clkc CLKID_HDMI_PCLK>,
327-
<&clkc CLKID_CLK81>,
326+
clocks = <&clkc CLKID_HDMI>,
327+
<&clkc CLKID_HDMI_PCLK>,
328328
<&clkc CLKID_GCLK_VENCI_INT0>;
329329
clock-names = "isfr", "iahb", "venci";
330330
power-domains = <&pwrc PWRC_GXBB_VPU_ID>;

0 commit comments

Comments
 (0)