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.

dt-bindings: iio: adc: amlogic,meson-saradc: add S4 compatible

Add the compatible string for the SARADC (Successive Approximation
Register ADC) IP block found in the Amlogic Meson S4 SoC.

There are no known differences between the SARADC on S4 and the one
on G12A. Therefore, it uses "amlogic,meson-g12a-saradc" as a proper
specific fallback.

Also add a comment indicating that "amlogic,meson-saradc" must not be
used for new devices. It's a made up compatible string that does not
correspond to a specific hardware generation and is not used to match
any driver. For old devices we keep it as it's part of the ABI.

Signed-off-by: Nick Xie <nick@khadas.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Nick Xie and committed by
Jonathan Cameron
ab8293ca 7913c1de

+4
+4
Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml
··· 27 27 - amlogic,meson-gxm-saradc 28 28 - amlogic,meson-axg-saradc 29 29 - amlogic,meson-g12a-saradc 30 + # Usage of this generic fallback is not allowed for new devices 30 31 - const: amlogic,meson-saradc 32 + - items: 33 + - const: amlogic,meson-s4-saradc 34 + - const: amlogic,meson-g12a-saradc 31 35 32 36 reg: 33 37 maxItems: 1