linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: mfd: dlg,da9063: Make #interrupt-cells required
@ 2024-02-26 10:50 Geert Uytterhoeven
  2024-02-29 17:15 ` (subset) " Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2024-02-26 10:50 UTC (permalink / raw)
  To: Support Opensource, Lee Jones, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Steve Twiss
  Cc: devicetree, linux-kernel, Geert Uytterhoeven, Conor Dooley

'#interrupt-cells' is a required provided for interrupt providers,
hence make it required.

While at it, move '#interrupt-cells' in the example to match common sort
order.

Fixes: 361104b05684 ("dt-bindings: mfd: Convert da9063 to yaml")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
---
v2:
  - Add Fixes, Reviewed-by,
  - Rebase on top of commit f1eb64bf6d4bef52 ("dt-bindings: mfd:
    dlg,da9063: Convert da9062 to json-schema") in mfd/for-mfd-next.
---
 Documentation/devicetree/bindings/mfd/dlg,da9063.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml b/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
index da741c9994456ad9..51612dc22748fcbf 100644
--- a/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
+++ b/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
@@ -112,6 +112,7 @@ allOf:
       required:
         - interrupts
         - interrupt-controller
+        - '#interrupt-cells'
 
   - if:
       properties:
@@ -162,10 +163,10 @@ examples:
       pmic@58 {
         compatible = "dlg,da9063";
         reg = <0x58>;
-        #interrupt-cells = <2>;
         interrupt-parent = <&gpio6>;
         interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
         interrupt-controller;
+        #interrupt-cells = <2>;
 
         rtc {
           compatible = "dlg,da9063-rtc";
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: (subset) [PATCH v2] dt-bindings: mfd: dlg,da9063: Make #interrupt-cells required
  2024-02-26 10:50 [PATCH v2] dt-bindings: mfd: dlg,da9063: Make #interrupt-cells required Geert Uytterhoeven
@ 2024-02-29 17:15 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2024-02-29 17:15 UTC (permalink / raw)
  To: Support Opensource, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Steve Twiss, Geert Uytterhoeven
  Cc: devicetree, linux-kernel, Conor Dooley

On Mon, 26 Feb 2024 11:50:02 +0100, Geert Uytterhoeven wrote:
> '#interrupt-cells' is a required provided for interrupt providers,
> hence make it required.
> 
> While at it, move '#interrupt-cells' in the example to match common sort
> order.
> 
> 
> [...]

Applied, thanks!

[1/1] dt-bindings: mfd: dlg,da9063: Make #interrupt-cells required
      commit: d3dc362b3a3d20d64208426cc86146eb241d7c7f

--
Lee Jones [李琼斯]


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-29 17:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-26 10:50 [PATCH v2] dt-bindings: mfd: dlg,da9063: Make #interrupt-cells required Geert Uytterhoeven
2024-02-29 17:15 ` (subset) " Lee Jones

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).