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

media: Documentation: admin-guide: cec.rst: document NTP issue

The CEC pin framework is affected by NTP daemons speeding up or slowing
down the system clock. Document this and explain how to fix this for
chronyd.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>

authored by

Hans Verkuil and committed by
Mauro Carvalho Chehab
8eb2a208 6bade236

+9
+9
Documentation/admin-guide/media/cec.rst
··· 55 55 you can control the CEC line through this driver. This supports error 56 56 injection as well. 57 57 58 + - cec-gpio and Allwinner A10 (or any other driver that uses the CEC pin 59 + framework to drive the CEC pin directly): the CEC pin framework uses 60 + high-resolution timers. These timers are affected by NTP daemons that 61 + speed up or slow down the clock to sync with the official time. The 62 + chronyd server will by default increase or decrease the clock by 63 + 1/12th. This will cause the CEC timings to go out of spec. To fix this, 64 + add a 'maxslewrate 40000' line to chronyd.conf. This limits the clock 65 + frequency change to 1/25th, which keeps the CEC timings within spec. 66 + 58 67 59 68 Utilities 60 69 =========