public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: iio: light: fix missing type definition
@ 2025-02-05  4:18 Dharma Balasubiramani
  2025-02-05 11:37 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 4+ messages in thread
From: Dharma Balasubiramani @ 2025-02-05  4:18 UTC (permalink / raw)
  To: Mikael Gonella-Bolduc, Jonathan Cameron, Lars-Peter Clausen,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: Jonathan Cameron, linux-iio, devicetree, linux-kernel,
	Dharma Balasubiramani

Add the missing type definition for ps-cancellation-current-picoamp property.

Fixes: 47736b32d1b8 ("dt-bindings: iio: light: Add APDS9160 binding")
Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.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.

---
base-commit: 40b8e93e17bff4a4e0cc129e04f9fdf5daa5397e
change-id: 20250205-brcm-binding-71b6d990d67e

Best regards,
-- 
Dharma Balasubiramani <dharma.b@microchip.com>


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

* Re: [PATCH] dt-bindings: iio: light: fix missing type definition
  2025-02-05  4:18 [PATCH] dt-bindings: iio: light: fix missing type definition Dharma Balasubiramani
@ 2025-02-05 11:37 ` Krzysztof Kozlowski
  2025-02-06  2:41   ` Dharma.B
  0 siblings, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-05 11:37 UTC (permalink / raw)
  To: Dharma Balasubiramani
  Cc: Mikael Gonella-Bolduc, Jonathan Cameron, Lars-Peter Clausen,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jonathan Cameron,
	linux-iio, devicetree, linux-kernel

On Wed, Feb 05, 2025 at 09:48:45AM +0530, Dharma Balasubiramani wrote:
> Add the missing type definition for ps-cancellation-current-picoamp property.

It is not missing. You are using some older schema probably.

Best regards,
Krzysztof


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

* Re: [PATCH] dt-bindings: iio: light: fix missing type definition
  2025-02-05 11:37 ` Krzysztof Kozlowski
@ 2025-02-06  2:41   ` Dharma.B
  2025-02-06  7:38     ` Krzysztof Kozlowski
  0 siblings, 1 reply; 4+ messages in thread
From: Dharma.B @ 2025-02-06  2:41 UTC (permalink / raw)
  To: krzk
  Cc: m.gonella.bolduc, jic23, lars, robh, krzk+dt, conor+dt,
	Jonathan.Cameron, linux-iio, devicetree, linux-kernel

On 05/02/25 5:07 pm, Krzysztof Kozlowski wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> On Wed, Feb 05, 2025 at 09:48:45AM +0530, Dharma Balasubiramani wrote:
>> Add the missing type definition for ps-cancellation-current-picoamp property.
> 
> It is not missing. You are using some older schema probably.

Sorry, if I miss something here..

There is no $Ref or type for ps-cancellation-current-picoamp property

https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/devicetree/bindings/iio/light/brcm,apds9160.yaml#n39

I checked in other bindings as well.

I get the following warning while make dtbs_check or dt_binding_check

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

Should I need to update anything?

> 
> Best regards,
> Krzysztof
> 


-- 
With Best Regards,
Dharma B.

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

* Re: [PATCH] dt-bindings: iio: light: fix missing type definition
  2025-02-06  2:41   ` Dharma.B
@ 2025-02-06  7:38     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-06  7:38 UTC (permalink / raw)
  To: Dharma.B
  Cc: m.gonella.bolduc, jic23, lars, robh, krzk+dt, conor+dt,
	Jonathan.Cameron, linux-iio, devicetree, linux-kernel

On 06/02/2025 03:41, Dharma.B@microchip.com wrote:
> On 05/02/25 5:07 pm, Krzysztof Kozlowski wrote:
>> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>>
>> On Wed, Feb 05, 2025 at 09:48:45AM +0530, Dharma Balasubiramani wrote:
>>> Add the missing type definition for ps-cancellation-current-picoamp property.
>>
>> It is not missing. You are using some older schema probably.
> 
> Sorry, if I miss something here..
> 
> There is no $Ref or type for ps-cancellation-current-picoamp property

There is a ref in dtschema.

> 
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/devicetree/bindings/iio/light/brcm,apds9160.yaml#n39
> 
> I checked in other bindings as well.
> 
> I get the following warning while make dtbs_check or dt_binding_check
> 
> Documentation/devicetree/bindings/iio/light/brcm,apds9160.yaml: 
> ps-cancellation-current-picoamp: missing type definition
> 
> Should I need to update anything?

As I said - older schema, so yes, you need to update your dtschema or
wait for new release.

Best regards,
Krzysztof

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

end of thread, other threads:[~2025-02-06  7:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-05  4:18 [PATCH] dt-bindings: iio: light: fix missing type definition Dharma Balasubiramani
2025-02-05 11:37 ` Krzysztof Kozlowski
2025-02-06  2:41   ` Dharma.B
2025-02-06  7:38     ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox