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

dt-bindings: timer: Document allwinner,erratum-unknown1 property

This arch_timer property was added in commit c950ca8c35ee
("clocksource/drivers/arch_timer: Workaround for Allwinner A64 timer instability")
but I omitted the device tree binding documentation. Now
`make dtbs_check` prints the following warning for all A64 boards:

timer: 'allwinner,erratum-unknown1' does not match any of the regexes: 'pinctrl-[0-9]+'

Resolve this by documenting the erratum property.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Samuel Holland and committed by
Rob Herring
c54030b1 0b714009

+6
+6
Documentation/devicetree/bindings/timer/arm,arch_timer.yaml
··· 51 51 description: If present, the timer is powered through an always-on power 52 52 domain, therefore it never loses context. 53 53 54 + allwinner,erratum-unknown1: 55 + type: boolean 56 + description: Indicates the presence of an erratum found in Allwinner SoCs, 57 + where reading certain values from the counter is unreliable. This also 58 + affects writes to the tval register, due to the implicit counter read. 59 + 54 60 fsl,erratum-a008585: 55 61 type: boolean 56 62 description: Indicates the presence of QorIQ erratum A-008585, which says