mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-12 12:25:18 +02:00
arm64: dts: amlogic: setup hdmi system clock
HDMI Tx needs the system clock set on the xtal rate.
This clock is managed by the main clock controller of the related SoCs.
Currently 2 part of the display drivers race to setup the HDMI system
clock by directly poking the controller register. The clock API should
be used to setup the rate instead.
Use assigned-clock to setup the HDMI system clock.
Fixes: 6939db7e0d
("ARM64: dts: meson-gx: Add support for HDMI output")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20240626152733.1350376-3-jbrunet@baylibre.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
This commit is contained in:
parent
0602ba0dcd
commit
1443b6ea80
|
@ -215,6 +215,11 @@
|
|||
#sound-dai-cells = <0>;
|
||||
status = "disabled";
|
||||
|
||||
assigned-clocks = <&clkc CLKID_HDMI_SEL>,
|
||||
<&clkc CLKID_HDMI>;
|
||||
assigned-clock-parents = <&xtal>, <0>;
|
||||
assigned-clock-rates = <0>, <24000000>;
|
||||
|
||||
/* VPU VENC Input */
|
||||
hdmi_tx_venc_port: port@0 {
|
||||
reg = <0>;
|
||||
|
|
|
@ -316,6 +316,11 @@
|
|||
<&clkc CLKID_GCLK_VENCI_INT0>;
|
||||
clock-names = "isfr", "iahb", "venci";
|
||||
power-domains = <&pwrc PWRC_GXBB_VPU_ID>;
|
||||
|
||||
assigned-clocks = <&clkc CLKID_HDMI_SEL>,
|
||||
<&clkc CLKID_HDMI>;
|
||||
assigned-clock-parents = <&xtal>, <0>;
|
||||
assigned-clock-rates = <0>, <24000000>;
|
||||
};
|
||||
|
||||
&sysctrl {
|
||||
|
|
|
@ -328,6 +328,11 @@
|
|||
<&clkc CLKID_GCLK_VENCI_INT0>;
|
||||
clock-names = "isfr", "iahb", "venci";
|
||||
power-domains = <&pwrc PWRC_GXBB_VPU_ID>;
|
||||
|
||||
assigned-clocks = <&clkc CLKID_HDMI_SEL>,
|
||||
<&clkc CLKID_HDMI>;
|
||||
assigned-clock-parents = <&xtal>, <0>;
|
||||
assigned-clock-rates = <0>, <24000000>;
|
||||
};
|
||||
|
||||
&sysctrl {
|
||||
|
|
Loading…
Reference in New Issue
Block a user