[PATCH v5 3/8] dt-bindings: mfd: realtek,rtd1xxx: Add interrupt controller child node

Krzysztof Kozlowski krzk at kernel.org
Mon Oct 19 02:13:26 PDT 2026


On Mon, Oct 19, 2026 at 12:06:48AM +0800, Yu-Chun Lin wrote:
> Allow an interrupt controller as a child node by referencing the
> rtd1319-intc-iso schema, update additionalProperties to
> unevaluatedProperties, and append a usage example.

I do not see that "update".

> 
> Signed-off-by: Yu-Chun Lin <eleanor.lin at realtek.com>
> ---
>  .../bindings/mfd/realtek,rtd1xxx.yaml         | 28 +++++++++++++++++++
>  1 file changed, 28 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/mfd/realtek,rtd1xxx.yaml b/Documentation/devicetree/bindings/mfd/realtek,rtd1xxx.yaml
> index 717e29c37b36..b21e14df2879 100644
> --- a/Documentation/devicetree/bindings/mfd/realtek,rtd1xxx.yaml
> +++ b/Documentation/devicetree/bindings/mfd/realtek,rtd1xxx.yaml
> @@ -65,6 +65,10 @@ properties:
>      const: 1
>  
>  patternProperties:
> +  "^interrupt-controller":
> +    $ref: /schemas/interrupt-controller/realtek,rtd1319-intc-iso.yaml
> +    unevaluatedProperties: false
> +
>    '@[0-9a-f]+$':
>      type: object

What is this for then? Should it be removed?

>  
> @@ -76,3 +80,27 @@ required:
>    - reg
>  
>  additionalProperties: false
> +
> +examples:
> +  - |
> +    #include <dt-bindings/interrupt-controller/arm-gic.h>
> +    #include <dt-bindings/interrupt-controller/irq.h>
> +
> +    syscon at 7000 {
> +        compatible = "realtek,rtd1625-iso", "syscon", "simple-mfd";
> +        reg = <0x7000 0x1000>;
> +        ranges = <0x0 0x7000 0x1000>;
> +        #address-cells = <1>;
> +        #size-cells = <1>;

Why do you have cells it your child has no addressing?

> +
> +        interrupt-controller {

So the binding requires children with unit address, yes?

Best regards,
Krzysztof




More information about the linux-arm-kernel mailing list