[PATCH] dt-bindings: iio: adc: amlogic,meson-saradc: also allow meson8-saradc to have amlogic,hhi-sysctrl property

Neil Armstrong posted 1 patch 2 months, 2 weeks ago
Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml | 1 +
1 file changed, 1 insertion(+)
[PATCH] dt-bindings: iio: adc: amlogic,meson-saradc: also allow meson8-saradc to have amlogic,hhi-sysctrl property
Posted by Neil Armstrong 2 months, 2 weeks ago
The SARADC on the Amlogic Meson8 SoC also requires the amlogic,hhi-sysctrl,
property, document it by adding the amlogic,meson8-saradc compatible in the
adequate allOf:if:compatible:contains:enums along meson8b and meson8m2.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
 Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml b/Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml
index f748f3a60b35..b0962a4583ac 100644
--- a/Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml
@@ -98,6 +98,7 @@ allOf:
         compatible:
           contains:
             enum:
+              - amlogic,meson8-saradc
               - amlogic,meson8b-saradc
               - amlogic,meson8m2-saradc
     then:

---
base-commit: 47ac09b91befbb6a235ab620c32af719f8208399
change-id: 20240911-topic-amlogic-arm32-upstream-bindings-fixes-amlogic-hhi-sysctrl-127d3feddf3a

Best regards,
-- 
Neil Armstrong <neil.armstrong@linaro.org>
Re: [PATCH] dt-bindings: iio: adc: amlogic,meson-saradc: also allow meson8-saradc to have amlogic,hhi-sysctrl property
Posted by Jonathan Cameron 2 months ago
On Wed, 11 Sep 2024 17:29:53 +0200
Neil Armstrong <neil.armstrong@linaro.org> wrote:

> The SARADC on the Amlogic Meson8 SoC also requires the amlogic,hhi-sysctrl,
> property, document it by adding the amlogic,meson8-saradc compatible in the
> adequate allOf:if:compatible:contains:enums along meson8b and meson8m2.
> 
> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Applied to the togreg branch of iio.git.

Shout and provide a fixes tag if this should be in stable.

Jonathan

> ---
>  Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml b/Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml
> index f748f3a60b35..b0962a4583ac 100644
> --- a/Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml
> @@ -98,6 +98,7 @@ allOf:
>          compatible:
>            contains:
>              enum:
> +              - amlogic,meson8-saradc
>                - amlogic,meson8b-saradc
>                - amlogic,meson8m2-saradc
>      then:
> 
> ---
> base-commit: 47ac09b91befbb6a235ab620c32af719f8208399
> change-id: 20240911-topic-amlogic-arm32-upstream-bindings-fixes-amlogic-hhi-sysctrl-127d3feddf3a
> 
> Best regards,
Re: [PATCH] dt-bindings: iio: adc: amlogic,meson-saradc: also allow meson8-saradc to have amlogic,hhi-sysctrl property
Posted by Rob Herring (Arm) 2 months, 2 weeks ago
On Wed, 11 Sep 2024 17:29:53 +0200, Neil Armstrong wrote:
> The SARADC on the Amlogic Meson8 SoC also requires the amlogic,hhi-sysctrl,
> property, document it by adding the amlogic,meson8-saradc compatible in the
> adequate allOf:if:compatible:contains:enums along meson8b and meson8m2.
> 
> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
> ---
>  Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>
Re: [PATCH] dt-bindings: iio: adc: amlogic,meson-saradc: also allow meson8-saradc to have amlogic,hhi-sysctrl property
Posted by Martin Blumenstingl 2 months, 2 weeks ago
On Wed, Sep 11, 2024 at 5:29 PM Neil Armstrong
<neil.armstrong@linaro.org> wrote:
>
> The SARADC on the Amlogic Meson8 SoC also requires the amlogic,hhi-sysctrl,
> property, document it by adding the amlogic,meson8-saradc compatible in the
> adequate allOf:if:compatible:contains:enums along meson8b and meson8m2.
>
> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>