dt-bindings: iio: light: apds9160: add missing type definition
PATCH 1/1 dt-bindings: iio: light: apds9160: add missing type definition
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
---
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.
Signature · 4 lines
2.43.0 base-commit: 0d8d44db295ccad20052d6301ef49ff01fb8ae2d branch: fix-brcm,apds9160.yaml
Rob Herring (Arm)
maintainerQuoted 6 lines · Dario Binacchi
Fix the following warning:
Documentation/devicetree/bindings/iio/light/brcm,apds9160.yaml: ps-cancellation-current-picoamp: missing type definitionraised by command:
Quoted 9 lines
make
dt_binding_checkDT_SCHEMA_FILES=fsl.yamlFixes be464661e7532 ("dt-bindings: iio: light: Add APDS9160 binding")Signed-off-by Dario Binacchi <[email protected]>---
Documentation/devicetree/bindings/iio/light/brcm,apds9160.yaml | 1 + 1 file changed, 1 insertion(+)
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/iio/light/brcm,apds9160.example.dtb: light-sensor@53 (brcm,apds9160): ps-cancellation-current-picoamp: 62400 is not of type 'array'
from schema $id: http://devicetree.org/schemas/property-units.yaml#
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/[email protected]
The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch.
If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date:
pip3 install dtschema --upgrade
Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.
Rob Herring
maintainerQuoted 6 lines · Dario Binacchi
Fix the following warning:
Documentation/devicetree/bindings/iio/light/brcm,apds9160.yaml: ps-cancellation-current-picoamp: missing type definitionraised by command:
Quoted 8 lines
make
dt_binding_checkDT_SCHEMA_FILES=fsl.yamlFixes be464661e7532 ("dt-bindings: iio: light: Add APDS9160 binding")Signed-off-by Dario Binacchi <[email protected]>---
Documentation/devicetree/bindings/iio/light/brcm,apds9160.yaml | 1 + 1 file changed, 1 insertion(+)
Not needed. Fixed in the latest dtschema.
Rob