devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] dt-bindings: iio: adc: nxp,lpc3220-adc: allow clocks property
@ 2025-06-24 20:13 Frank Li
  2025-06-27 20:31 ` Rob Herring (Arm)
  0 siblings, 1 reply; 3+ messages in thread
From: Frank Li @ 2025-06-24 20:13 UTC (permalink / raw)
  To: Jonathan Cameron, David Lechner, Nuno Sá, Andy Shevchenko,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Gregory Clement,
	open list:IIO SUBSYSTEM AND DRIVERS,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list
  Cc: imx

Allow clocks property to fix below CHECK_DTB warning:
  arch/arm/boot/dts/nxp/lpc/lpc3250-ea3250.dtb: adc@40048000 (nxp,lpc3220-adc): 'clocks' does not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 Documentation/devicetree/bindings/iio/adc/nxp,lpc3220-adc.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/iio/adc/nxp,lpc3220-adc.yaml b/Documentation/devicetree/bindings/iio/adc/nxp,lpc3220-adc.yaml
index 2c5032be83bd0..fd815ab30df12 100644
--- a/Documentation/devicetree/bindings/iio/adc/nxp,lpc3220-adc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/nxp,lpc3220-adc.yaml
@@ -22,6 +22,9 @@ properties:
   interrupts:
     maxItems: 1
 
+  clocks:
+    maxItems: 1
+
   vref-supply: true
 
   "#io-channel-cells":
-- 
2.34.1


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

* Re: [PATCH 1/1] dt-bindings: iio: adc: nxp,lpc3220-adc: allow clocks property
  2025-06-24 20:13 [PATCH 1/1] dt-bindings: iio: adc: nxp,lpc3220-adc: allow clocks property Frank Li
@ 2025-06-27 20:31 ` Rob Herring (Arm)
  2025-06-28 15:33   ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Herring (Arm) @ 2025-06-27 20:31 UTC (permalink / raw)
  To: Frank Li
  Cc: devicetree, imx, Jonathan Cameron, Nuno Sá, linux-iio,
	Andy Shevchenko, Gregory Clement, linux-kernel,
	Krzysztof Kozlowski, David Lechner, Conor Dooley


On Tue, 24 Jun 2025 16:13:02 -0400, Frank Li wrote:
> Allow clocks property to fix below CHECK_DTB warning:
>   arch/arm/boot/dts/nxp/lpc/lpc3250-ea3250.dtb: adc@40048000 (nxp,lpc3220-adc): 'clocks' does not match any of the regexes: 'pinctrl-[0-9]+'
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
>  Documentation/devicetree/bindings/iio/adc/nxp,lpc3220-adc.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>


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

* Re: [PATCH 1/1] dt-bindings: iio: adc: nxp,lpc3220-adc: allow clocks property
  2025-06-27 20:31 ` Rob Herring (Arm)
@ 2025-06-28 15:33   ` Jonathan Cameron
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2025-06-28 15:33 UTC (permalink / raw)
  To: Rob Herring (Arm)
  Cc: Frank Li, devicetree, imx, Nuno Sá, linux-iio,
	Andy Shevchenko, Gregory Clement, linux-kernel,
	Krzysztof Kozlowski, David Lechner, Conor Dooley

On Fri, 27 Jun 2025 15:31:19 -0500
"Rob Herring (Arm)" <robh@kernel.org> wrote:

> On Tue, 24 Jun 2025 16:13:02 -0400, Frank Li wrote:
> > Allow clocks property to fix below CHECK_DTB warning:
> >   arch/arm/boot/dts/nxp/lpc/lpc3250-ea3250.dtb: adc@40048000 (nxp,lpc3220-adc): 'clocks' does not match any of the regexes: 'pinctrl-[0-9]+'
> > 
> > Signed-off-by: Frank Li <Frank.Li@nxp.com>
> > ---
> >  Documentation/devicetree/bindings/iio/adc/nxp,lpc3220-adc.yaml | 3 +++
> >  1 file changed, 3 insertions(+)
> >   
> 
> Acked-by: Rob Herring (Arm) <robh@kernel.org>
> 

I was in two minds on this one wrt to whether to pick it up as a fix.
It's clearly been broken a long time though so I'm not going to rush it in.
Let me know if you think I should!

Applied to the togreg branch of iio.git and pushed out as testing because
other stuff I queued today will benefit from a 0-day pass before I expose
it to linux-next.

Thanks,

Jonathan

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

end of thread, other threads:[~2025-06-28 15:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-24 20:13 [PATCH 1/1] dt-bindings: iio: adc: nxp,lpc3220-adc: allow clocks property Frank Li
2025-06-27 20:31 ` Rob Herring (Arm)
2025-06-28 15:33   ` Jonathan Cameron

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