dt-bindings: iio: light: fix missing type definition
PATCH 1/1 dt-bindings: iio: light: fix missing type definition
Add the missing type definition for ps-cancellation-current-picoamp property.
--- Documentation/devicetree/bindings/iio/light/brcm,apds9160.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/iio/light/brcm,apds9160.yaml +1 -0
@@ -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,
Signature · 1 line
Dharma Balasubiramani <[email protected]>
Quoted 1 line · Dharma Balasubiramani
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
Quoted 6 lines · Krzysztof Kozlowski
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
Quoted 1 line · Dharma Balasubiramani
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
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?
Quoted 4 lines
Best regards,
Krzysztof
Signature · 2 lines
With Best Regards, Dharma B.
Quoted 11 lines · On 06/02/2025 03:41, [email protected] wrote:
Quoted 6 lines · Krzysztof Kozlowski
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
Quoted 1 line · Dharma Balasubiramani
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.
Quoted 11 lines
I checked in other bindings as well.
I get the following warning while make
dtbs_checkordt_binding_check
Documentation/devicetree/bindings/iio/light/brcm,apds9160.yaml:
ps-cancellation-current-picoamp: missing type definitionShould 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