[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMRc=MdmOMfyyiguowrU52BvoxMr8u3sLQfzCiY_Rqs=qUsX-Q@mail.gmail.com>
Date: Fri, 7 Jan 2022 10:31:30 +0100
From: Bartosz Golaszewski <brgl@...ev.pl>
To: Rob Herring <robh@...nel.org>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@...hiba.co.jp>,
Jassi Brar <jassisinghbrar@...il.com>,
Charles Keepax <ckeepax@...nsource.cirrus.com>,
Richard Fitzgerald <rf@...nsource.cirrus.com>,
Lee Jones <lee.jones@...aro.org>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Paul Walmsley <paul.walmsley@...ive.com>,
Greentime Hu <greentime.hu@...ive.com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Palmer Dabbelt <palmer@...belt.com>,
Michal Simek <michal.simek@...inx.com>,
Suman Anna <s-anna@...com>, - <patches@...nsource.cirrus.com>,
John Crispin <john@...ozen.org>,
Hauke Mehrtens <hauke@...ke-m.de>,
Kumar Gogada <bharat.kumar.gogada@...inx.com>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
devicetree <devicetree@...r.kernel.org>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux-ALSA <alsa-devel@...a-project.org>,
netdev <netdev@...r.kernel.org>, linux-pci@...r.kernel.org,
linux-riscv@...ts.infradead.org
Subject: Re: [PATCH] dt-bindings: Drop required 'interrupt-parent'
On Fri, Jan 7, 2022 at 4:19 AM Rob Herring <robh@...nel.org> wrote:
>
> 'interrupt-parent' is never required as it can be in a parent node or a
> parent node itself can be an interrupt provider. Where exactly it lives is
> outside the scope of a binding schema.
>
> Signed-off-by: Rob Herring <robh@...nel.org>
> ---
> .../devicetree/bindings/gpio/toshiba,gpio-visconti.yaml | 1 -
> .../devicetree/bindings/mailbox/ti,omap-mailbox.yaml | 9 ---------
> Documentation/devicetree/bindings/mfd/cirrus,madera.yaml | 1 -
> .../devicetree/bindings/net/lantiq,etop-xway.yaml | 1 -
> .../devicetree/bindings/net/lantiq,xrx200-net.yaml | 1 -
> .../devicetree/bindings/pci/sifive,fu740-pcie.yaml | 1 -
> .../devicetree/bindings/pci/xilinx-versal-cpm.yaml | 1 -
> 7 files changed, 15 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/gpio/toshiba,gpio-visconti.yaml b/Documentation/devicetree/bindings/gpio/toshiba,gpio-visconti.yaml
> index 9ad470e01953..b085450b527f 100644
> --- a/Documentation/devicetree/bindings/gpio/toshiba,gpio-visconti.yaml
> +++ b/Documentation/devicetree/bindings/gpio/toshiba,gpio-visconti.yaml
> @@ -43,7 +43,6 @@ required:
> - gpio-controller
> - interrupt-controller
> - "#interrupt-cells"
> - - interrupt-parent
>
> additionalProperties: false
>
> diff --git a/Documentation/devicetree/bindings/mailbox/ti,omap-mailbox.yaml b/Documentation/devicetree/bindings/mailbox/ti,omap-mailbox.yaml
> index e864d798168d..d433e496ec6e 100644
> --- a/Documentation/devicetree/bindings/mailbox/ti,omap-mailbox.yaml
> +++ b/Documentation/devicetree/bindings/mailbox/ti,omap-mailbox.yaml
> @@ -175,15 +175,6 @@ required:
> - ti,mbox-num-fifos
>
> allOf:
> - - if:
> - properties:
> - compatible:
> - enum:
> - - ti,am654-mailbox
> - then:
> - required:
> - - interrupt-parent
> -
> - if:
> properties:
> compatible:
> diff --git a/Documentation/devicetree/bindings/mfd/cirrus,madera.yaml b/Documentation/devicetree/bindings/mfd/cirrus,madera.yaml
> index 499c62c04daa..5dce62a7eff2 100644
> --- a/Documentation/devicetree/bindings/mfd/cirrus,madera.yaml
> +++ b/Documentation/devicetree/bindings/mfd/cirrus,madera.yaml
> @@ -221,7 +221,6 @@ required:
> - '#gpio-cells'
> - interrupt-controller
> - '#interrupt-cells'
> - - interrupt-parent
> - interrupts
> - AVDD-supply
> - DBVDD1-supply
> diff --git a/Documentation/devicetree/bindings/net/lantiq,etop-xway.yaml b/Documentation/devicetree/bindings/net/lantiq,etop-xway.yaml
> index 437502c5ca96..3ce9f9a16baf 100644
> --- a/Documentation/devicetree/bindings/net/lantiq,etop-xway.yaml
> +++ b/Documentation/devicetree/bindings/net/lantiq,etop-xway.yaml
> @@ -46,7 +46,6 @@ properties:
> required:
> - compatible
> - reg
> - - interrupt-parent
> - interrupts
> - interrupt-names
> - lantiq,tx-burst-length
> diff --git a/Documentation/devicetree/bindings/net/lantiq,xrx200-net.yaml b/Documentation/devicetree/bindings/net/lantiq,xrx200-net.yaml
> index 7bc074a42369..5bc1a21ca579 100644
> --- a/Documentation/devicetree/bindings/net/lantiq,xrx200-net.yaml
> +++ b/Documentation/devicetree/bindings/net/lantiq,xrx200-net.yaml
> @@ -38,7 +38,6 @@ properties:
> required:
> - compatible
> - reg
> - - interrupt-parent
> - interrupts
> - interrupt-names
> - "#address-cells"
> diff --git a/Documentation/devicetree/bindings/pci/sifive,fu740-pcie.yaml b/Documentation/devicetree/bindings/pci/sifive,fu740-pcie.yaml
> index 2b9d1d6fc661..72c78f4ec269 100644
> --- a/Documentation/devicetree/bindings/pci/sifive,fu740-pcie.yaml
> +++ b/Documentation/devicetree/bindings/pci/sifive,fu740-pcie.yaml
> @@ -61,7 +61,6 @@ required:
> - num-lanes
> - interrupts
> - interrupt-names
> - - interrupt-parent
> - interrupt-map-mask
> - interrupt-map
> - clock-names
> diff --git a/Documentation/devicetree/bindings/pci/xilinx-versal-cpm.yaml b/Documentation/devicetree/bindings/pci/xilinx-versal-cpm.yaml
> index a2bbc0eb7220..32f4641085bc 100644
> --- a/Documentation/devicetree/bindings/pci/xilinx-versal-cpm.yaml
> +++ b/Documentation/devicetree/bindings/pci/xilinx-versal-cpm.yaml
> @@ -55,7 +55,6 @@ required:
> - reg-names
> - "#interrupt-cells"
> - interrupts
> - - interrupt-parent
> - interrupt-map
> - interrupt-map-mask
> - bus-range
> --
> 2.32.0
>
For GPIO:
Acked-by: Bartosz Golaszewski <brgl@...ev.pl>
Powered by blists - more mailing lists