linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] dts: Add CEC clock to DW HDMI
@ 2021-11-20  7:34 Jernej Skrabec
  2021-11-20  7:34 ` [PATCH 1/2] arm64: dts: allwinner: a64: Add CEC clock to HDMI Jernej Skrabec
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jernej Skrabec @ 2021-11-20  7:34 UTC (permalink / raw)
  To: mripard, wens
  Cc: robh+dt, devicetree, linux-arm-kernel, linux-sunxi, linux-kernel,
	Jernej Skrabec

Experimentation proved that CEC controller in H3-like DW-HDMI core
depends on 32 kHz clock output from RTC. If board has external 32768 Hz
crystal, HDMI CEC always work. However, if external crystal is missing
and 32 kHz clock is generated by internal oscillator, CEC communication
may or may not work, depending on accuracy. Changing internal oscillator
prescaler can make CEC work.

This was totally missed when implementing HDMI support, because user
manual has no CEC information besides the fact that it exists.

Please take a look.

Best regards,
Jernej

Jernej Skrabec (2):
  arm64: dts: allwinner: a64: Add CEC clock to HDMI
  ARM: dts: sunxi: Add CEC clock to DW-HDMI

 arch/arm/boot/dts/sun8i-r40.dtsi              | 4 ++--
 arch/arm/boot/dts/sunxi-h3-h5.dtsi            | 4 ++--
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

-- 
2.34.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-22  9:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-20  7:34 [PATCH 0/2] dts: Add CEC clock to DW HDMI Jernej Skrabec
2021-11-20  7:34 ` [PATCH 1/2] arm64: dts: allwinner: a64: Add CEC clock to HDMI Jernej Skrabec
2021-11-20  7:34 ` [PATCH 2/2] ARM: dts: sunxi: Add CEC clock to DW-HDMI Jernej Skrabec
2021-11-22  9:07 ` [PATCH 0/2] dts: Add CEC clock to DW HDMI Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).