devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] another 'interrupts-extended' replacement needed?
@ 2025-10-06 17:21 Wolfram Sang
  2025-10-06 17:21 ` [RFC PATCH 1/2] dt-bindings: iio: accel: adxl345: document second interrupt Wolfram Sang
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Wolfram Sang @ 2025-10-06 17:21 UTC (permalink / raw)
  To: linux-renesas-soc, Rob Herring
  Cc: Wolfram Sang, Andy Shevchenko, Conor Dooley, David Lechner,
	devicetree, Geert Uytterhoeven, Jonathan Cameron,
	Krzysztof Kozlowski, Lars-Peter Clausen, linux-iio, Magnus Damm,
	Michael Hennerich, Nuno Sá

Hi Rob,

I want to fix the following 'dtbs_check' issue:

arch/arm/boot/dts/renesas/sh73a0-kzm9g.dtb: accelerometer@1d (adi,adxl345): interrupts-extended: [[18, 2, 4], [18, 3, 4]] is too long
	from schema $id: http://devicetree.org/schemas/iio/accel/adi,adxl345.yaml#

However, this series uncovers another place where 'interrupts-extended'
is not recognized as an alternative to 'interrupts'. Namely, when this
is part of a 'dependencies:' like in this binding:

arch/arm/boot/dts/renesas/sh73a0-kzm9g.dtb: accelerometer@1d (adi,adxl345): 'interrupts' is a dependency of 'interrupt-names'
	from schema $id: http://devicetree.org/schemas/iio/accel/adi,adxl345.yaml#

Now, I wonder if this also needs to be fixed in dtschema? Or do we need
another way to express the dependency?

Thanks for any pointers,

   Wolfram


Wolfram Sang (2):
  dt-bindings: iio: accel: adxl345: document second interrupt
  ARM: dts: renesas: kzm9g: name interrupts for accelerometer

 .../bindings/iio/accel/adi,adxl345.yaml          | 16 +++++++++++-----
 arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts       |  1 +
 2 files changed, 12 insertions(+), 5 deletions(-)

-- 
2.47.2


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

end of thread, other threads:[~2025-11-06  8:44 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-06 17:21 [RFC PATCH 0/2] another 'interrupts-extended' replacement needed? Wolfram Sang
2025-10-06 17:21 ` [RFC PATCH 1/2] dt-bindings: iio: accel: adxl345: document second interrupt Wolfram Sang
2025-10-08  9:51   ` Geert Uytterhoeven
2025-10-09 20:47   ` Rob Herring
2025-10-09 21:44     ` Wolfram Sang
2025-11-06  8:44       ` Geert Uytterhoeven
2025-10-10  7:55     ` Geert Uytterhoeven
2025-10-06 17:21 ` [RFC PATCH 2/2] ARM: dts: renesas: kzm9g: name interrupts for accelerometer Wolfram Sang
2025-10-08  9:51   ` Geert Uytterhoeven
2025-10-09 20:35 ` [RFC PATCH 0/2] another 'interrupts-extended' replacement needed? Rob Herring
2025-10-09 20:38   ` Rob Herring
2025-10-09 21:47     ` Wolfram Sang
2025-10-10  9:39       ` Wolfram Sang

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