openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
To: Rob Herring <robh@kernel.org>
Cc: "Nishanth Menon" <nm@ti.com>, "Bert Vermeulen" <bert@biot.com>,
	"Geert Uytterhoeven" <geert+renesas@glider.be>,
	"Neil Armstrong" <narmstrong@baylibre.com>,
	"Lokesh Vutla" <lokeshvutla@ti.com>,
	"Paul Walmsley" <paul.walmsley@sifive.com>,
	"Jiaxun Yang" <jiaxun.yang@flygoat.com>,
	"Cristian Ciocaltea" <cristian.ciocaltea@gmail.com>,
	"Paul Cercueil" <paul@crapouillou.net>,
	"Daniel Palmer" <daniel@thingy.jp>,
	"Sagar Kadam" <sagar.kadam@sifive.com>,
	linux-riscv@lists.infradead.org, "Suman Anna" <s-anna@ti.com>,
	"Mark-PK Tsai" <mark-pk.tsai@mediatek.com>,
	"Paul Burton" <paulburton@kernel.org>,
	"Marc Zyngier" <maz@kernel.org>,
	openbmc@lists.ozlabs.org, "John Crispin" <john@phrozen.org>,
	"Birger Koblitz" <mail@birger-koblitz.de>,
	linux-oxnas@groups.io, devicetree@vger.kernel.org,
	"Jason Cooper" <jason@lakedaemon.net>,
	"Manivannan Sadhasivam" <mani@kernel.org>,
	linux-kernel@vger.kernel.org, linux-actions@lists.infradead.org,
	"Jonathan Neuschäfer" <j.neuschaefer@gmx.net>,
	"Krzysztof Halasa" <khalasa@piap.pl>,
	"Santosh Shilimkar" <ssantosh@kernel.org>,
	"Thomas Gleixner" <tglx@linutronix.de>,
	linux-arm-kernel@lists.infradead.org,
	"Thomas Bogendoerfer" <tsbogend@alpha.franken.de>,
	"Tero Kristo" <kristo@kernel.org>,
	"Linus Walleij" <linusw@kernel.org>,
	"Joakim Zhang" <qiangqing.zhang@nxp.com>,
	"Claudiu Beznea" <claudiu.beznea@microchip.com>,
	"Dinh Nguyen" <dinguyen@kernel.org>,
	"Michael Walle" <michael@walle.cc>,
	"Palmer Dabbelt" <palmer@dabbelt.com>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Imre Kaloz" <kaloz@openwrt.org>,
	"Andreas Färber" <afaerber@suse.de>,
	"Lucas Stach" <l.stach@pengutronix.de>
Subject: Re: [PATCH 00/18] dt-bindings: irqchip: include generic schema
Date: Tue, 22 Mar 2022 19:36:21 +0100	[thread overview]
Message-ID: <ff8da126-8eac-7b72-c992-3b4223f2b077@canonical.com> (raw)
In-Reply-To: <YjjJpxLWJ/YOe0OX@robh.at.kernel.org>

On 21/03/2022 19:53, Rob Herring wrote:
> On Thu, Mar 17, 2022 at 12:55:24PM +0100, Krzysztof Kozlowski wrote:
>> Hi,
>>
>> The DTS patches can be picked up independently.
>>
>> Best regards,
>> Krzysztof
>>
>> Krzysztof Kozlowski (18):
>>   ARM: dts: nspire: use lower case hex addresses in node unit addresses
>>   ARM: dts: ox820: align interrupt controller node name with dtschema
>>   ARM: dts: socfpga: align interrupt controller node name with dtschema
>>   dt-bindings: irqchip: actions,owl-sirq: include generic schema
>>   dt-bindings: irqchip: fsl: include generic schema
>>   dt-bindings: irqchip: ingenic: include generic schema
>>   dt-bindings: irqchip: intel,ixp4xx: include generic schema
>>   dt-bindings: irqchip: kontron,sl28cpld: include generic schema
>>   dt-bindings: irqchip: loongson: include generic schema
>>   dt-bindings: irqchip: microchip,eic: include generic schema
>>   dt-bindings: irqchip: mrvl,intc: include generic schema
>>   dt-bindings: irqchip: mstar,mst-intc: include generic schema
>>   dt-bindings: irqchip: mti,gic: include generic schema
>>   dt-bindings: irqchip: nuvoton,wpcm450-aic: include generic schema
>>   dt-bindings: irqchip: realtek,rtl-intc: include generic schema
>>   dt-bindings: irqchip: renesas: include generic schema
>>   dt-bindings: irqchip: sifive: include generic schema
>>   dt-bindings: irqchip: ti: include generic schema
> 
> I'm somewhat on the fence about these. Originally only devices with a 
> bus or child nodes included a common schema. For 'simple' providers 
> with mainly a '#<provider>-cells' property, we had to set the 
> constraints on the number of cells anyways, so referencing another 
> schema doesn't save anything. It is nice to declare the 'class' of the 
> device though.
> 
> It makes the schema be applied twice (if the node name matches). That's 
> not all bad because it finds cases of wrong node name. However, 
> sometimes we have devices which are multiple providers and can't set the 
> node name. So those can't reference interrupt-controller.yaml.

Indeed there were cases of MSI and interrupt controller.

> 
> It also means that 'interrupt-map' for example is now valid. That could 
> be fixed by splitting 'interrupt-map' related properties to its own 
> schema. 

Yes, that's a side effect. Maybe my series should be abandoned.

Best regards,
Krzysztof

      reply	other threads:[~2022-03-23  1:13 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-17 11:55 [PATCH 00/18] dt-bindings: irqchip: include generic schema Krzysztof Kozlowski
2022-03-17 11:55 ` [PATCH 01/18] ARM: dts: nspire: use lower case hex addresses in node unit addresses Krzysztof Kozlowski
2022-03-17 11:56 ` [PATCH 02/18] ARM: dts: ox820: align interrupt controller node name with dtschema Krzysztof Kozlowski
2022-03-17 11:56 ` [PATCH 03/18] ARM: dts: socfpga: " Krzysztof Kozlowski
2022-03-17 14:39   ` Dinh Nguyen
2022-03-17 11:56 ` [PATCH 04/18] dt-bindings: irqchip: actions, owl-sirq: include generic schema Krzysztof Kozlowski
2022-03-18  7:52   ` [PATCH 04/18] dt-bindings: irqchip: actions,owl-sirq: " Cristian Ciocaltea
2022-03-17 11:56 ` [PATCH 05/18] dt-bindings: irqchip: fsl: " Krzysztof Kozlowski
2022-03-18  1:23   ` Joakim Zhang
2022-03-17 11:56 ` [PATCH 06/18] dt-bindings: irqchip: ingenic: " Krzysztof Kozlowski
2022-03-17 14:52   ` Paul Cercueil
2022-03-17 11:56 ` [PATCH 07/18] dt-bindings: irqchip: intel, ixp4xx: " Krzysztof Kozlowski
2022-03-17 23:01   ` Linus Walleij
2022-03-17 11:56 ` [PATCH 08/18] dt-bindings: irqchip: kontron, sl28cpld: " Krzysztof Kozlowski
2022-03-17 14:53   ` [PATCH 08/18] dt-bindings: irqchip: kontron,sl28cpld: " Michael Walle
2022-03-17 11:56 ` [PATCH 09/18] dt-bindings: irqchip: loongson: " Krzysztof Kozlowski
2022-03-17 11:56 ` [PATCH 10/18] dt-bindings: irqchip: microchip, eic: " Krzysztof Kozlowski
2022-03-18 10:12   ` [PATCH 10/18] dt-bindings: irqchip: microchip,eic: " Claudiu.Beznea
2022-03-17 11:56 ` [PATCH 11/18] dt-bindings: irqchip: mrvl, intc: " Krzysztof Kozlowski
2022-03-17 11:56 ` [PATCH 12/18] dt-bindings: irqchip: mstar, mst-intc: " Krzysztof Kozlowski
2022-03-17 15:09   ` Mark-PK Tsai
2022-03-17 11:57 ` [PATCH 13/18] dt-bindings: irqchip: mti,gic: " Krzysztof Kozlowski
2022-03-17 11:57 ` [PATCH 14/18] dt-bindings: irqchip: nuvoton, wpcm450-aic: " Krzysztof Kozlowski
2022-03-17 12:05   ` Jonathan Neuschäfer
2022-03-17 11:57 ` [PATCH 15/18] dt-bindings: irqchip: realtek, rtl-intc: " Krzysztof Kozlowski
2022-03-17 11:57 ` [PATCH 16/18] dt-bindings: irqchip: renesas: " Krzysztof Kozlowski
2022-03-18  8:36   ` Geert Uytterhoeven
2022-03-17 11:57 ` [PATCH 17/18] dt-bindings: irqchip: sifive: " Krzysztof Kozlowski
2022-03-17 19:15   ` Palmer Dabbelt
2022-03-17 11:57 ` [PATCH 18/18] dt-bindings: irqchip: ti: " Krzysztof Kozlowski
2022-03-18 12:28   ` Nishanth Menon
2022-03-21 18:53 ` [PATCH 00/18] dt-bindings: irqchip: " Rob Herring
2022-03-22 18:36   ` Krzysztof Kozlowski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ff8da126-8eac-7b72-c992-3b4223f2b077@canonical.com \
    --to=krzysztof.kozlowski@canonical.com \
    --cc=afaerber@suse.de \
    --cc=bert@biot.com \
    --cc=claudiu.beznea@microchip.com \
    --cc=cristian.ciocaltea@gmail.com \
    --cc=daniel@thingy.jp \
    --cc=devicetree@vger.kernel.org \
    --cc=dinguyen@kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=j.neuschaefer@gmx.net \
    --cc=jason@lakedaemon.net \
    --cc=jiaxun.yang@flygoat.com \
    --cc=john@phrozen.org \
    --cc=kaloz@openwrt.org \
    --cc=khalasa@piap.pl \
    --cc=kristo@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=l.stach@pengutronix.de \
    --cc=linusw@kernel.org \
    --cc=linux-actions@lists.infradead.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-oxnas@groups.io \
    --cc=linux-riscv@lists.infradead.org \
    --cc=lokeshvutla@ti.com \
    --cc=mail@birger-koblitz.de \
    --cc=mani@kernel.org \
    --cc=mark-pk.tsai@mediatek.com \
    --cc=maz@kernel.org \
    --cc=michael@walle.cc \
    --cc=narmstrong@baylibre.com \
    --cc=nm@ti.com \
    --cc=openbmc@lists.ozlabs.org \
    --cc=palmer@dabbelt.com \
    --cc=paul.walmsley@sifive.com \
    --cc=paul@crapouillou.net \
    --cc=paulburton@kernel.org \
    --cc=qiangqing.zhang@nxp.com \
    --cc=robh@kernel.org \
    --cc=s-anna@ti.com \
    --cc=sagar.kadam@sifive.com \
    --cc=ssantosh@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=tsbogend@alpha.franken.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).