Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arm64: dts: allwinner: a64: Add CEC clock to HDMI

Experimentation determined that HDMI CEC controller inside DW HDMI block
depends on 32k clock from RTC. If this clock is tampered with, HDMI CEC
communication starts or stops working, depending on situation.

SoC user manual doesn't say anything about CEC, so this was overlooked.
Fix this by adding dependency to RTC 32k clock.

Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20211120073448.32480-2-jernej.skrabec@gmail.com

authored by

Jernej Skrabec and committed by
Maxime Ripard
3047444d 725bc607

+2 -2
+2 -2
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
··· 1220 1220 reg-io-width = <1>; 1221 1221 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; 1222 1222 clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_DDC>, 1223 - <&ccu CLK_HDMI>; 1224 - clock-names = "iahb", "isfr", "tmds"; 1223 + <&ccu CLK_HDMI>, <&rtc 0>; 1224 + clock-names = "iahb", "isfr", "tmds", "cec"; 1225 1225 resets = <&ccu RST_BUS_HDMI1>; 1226 1226 reset-names = "ctrl"; 1227 1227 phys = <&hdmi_phy>;