linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: iio: light: apds9160: add missing type definition
@ 2025-05-07 13:51 Dario Binacchi
  2025-05-07 15:18 ` Rob Herring (Arm)
  2025-05-07 19:00 ` Rob Herring
  0 siblings, 2 replies; 3+ messages in thread
From: Dario Binacchi @ 2025-05-07 13:51 UTC (permalink / raw)
  To: linux-kernel
  Cc: Dario Binacchi, Conor Dooley, Jonathan Cameron,
	Krzysztof Kozlowski, Lars-Peter Clausen, Mikael Gonella-Bolduc,
	Rob Herring, devicetree, linux-iio

Fix the following warning:

 Documentation/devicetree/bindings/iio/light/brcm,apds9160.yaml: ps-cancellation-current-picoamp: missing type definition

raised by command:

 make dt_binding_check  DT_SCHEMA_FILES=fsl.yaml

Fixes: be464661e7532 ("dt-bindings: iio: light: Add APDS9160 binding")
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---

 Documentation/devicetree/bindings/iio/light/brcm,apds9160.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/iio/light/brcm,apds9160.yaml b/Documentation/devicetree/bindings/iio/light/brcm,apds9160.yaml
index bb1cc4404a55..f9c35c29fe04 100644
--- a/Documentation/devicetree/bindings/iio/light/brcm,apds9160.yaml
+++ b/Documentation/devicetree/bindings/iio/light/brcm,apds9160.yaml
@@ -37,6 +37,7 @@ properties:
     maximum: 63
 
   ps-cancellation-current-picoamp:
+    $ref: /schemas/types.yaml#/definitions/uint32
     description:
       Proximity sensor crosstalk cancellation current in picoampere.
       This parameter adjusts the current in steps of 2400 pA up to 276000 pA.
-- 
2.43.0

base-commit: 0d8d44db295ccad20052d6301ef49ff01fb8ae2d
branch: fix-brcm,apds9160.yaml

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

end of thread, other threads:[~2025-05-07 19:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-07 13:51 [PATCH] dt-bindings: iio: light: apds9160: add missing type definition Dario Binacchi
2025-05-07 15:18 ` Rob Herring (Arm)
2025-05-07 19:00 ` Rob Herring

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