[PATCH 3/4] dt-bindings: iio: adc: samsung,exynos-adc: Use correct IRQ level in example

Sam Protsenko semen.protsenko at linaro.org
Thu Jul 24 21:34:54 PDT 2025


On Thu, Jul 24, 2025 at 6:14 AM Krzysztof Kozlowski
<krzysztof.kozlowski at linaro.org> wrote:
>
> The interrupt line to GIC is IRQ_TYPE_LEVEL_HIGH, so use that instead of
> "none".  Also replace the hard-coded GIC_SPI flag.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> ---

Reviewed-by: Sam Protsenko <semen.protsenko at linaro.org>

>  .../devicetree/bindings/iio/adc/samsung,exynos-adc.yaml    | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml
> index 4e40f6bed5db..8069e99ddac8 100644
> --- a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml
> @@ -128,10 +128,12 @@ allOf:
>
>  examples:
>    - |
> +    #include <dt-bindings/interrupt-controller/arm-gic.h>
> +
>      adc: adc at 12d10000 {
>          compatible = "samsung,exynos-adc-v1";
>          reg = <0x12d10000 0x100>;
> -        interrupts = <0 106 0>;
> +        interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
>          #io-channel-cells = <1>;
>
>          clocks = <&clock 303>;
> @@ -152,11 +154,12 @@ examples:
>
>    - |
>      #include <dt-bindings/clock/exynos3250.h>
> +    #include <dt-bindings/interrupt-controller/arm-gic.h>
>
>      adc at 126c0000 {
>          compatible = "samsung,exynos3250-adc";
>          reg = <0x126c0000 0x100>;
> -        interrupts = <0 137 0>;
> +        interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
>          #io-channel-cells = <1>;
>
>          clocks = <&cmu CLK_TSADC>,
> --
> 2.48.1
>
>



More information about the linux-arm-kernel mailing list