[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175364805544.3130.15364114273761890479.robh@kernel.org>
Date: Sun, 27 Jul 2025 15:27:39 -0500
From: "Rob Herring (Arm)" <robh@...nel.org>
To: Dixit Parmar <dixitparmar19@...il.com>
Cc: Krzysztof Kozlowski <krzk+dt@...nel.org>,
David Lechner <dlechner@...libre.com>, devicetree@...r.kernel.org,
Andy Shevchenko <andy@...nel.org>,
Nuno Sá <nuno.sa@...log.com>, linux-kernel@...r.kernel.org,
Jonathan Cameron <jic23@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
linux-iio@...r.kernel.org
Subject: Re: [PATCH 2/2] dt-bindings: iio: magnetometer: document Infineon
TLV493D 3D Magnetic sensor
On Sat, 26 Jul 2025 15:07:02 +0530, Dixit Parmar wrote:
> Document the bindings for Infineon TLV493D Low-Power 3D Magnetic Sensor
> controlled by I2C interface. Main applications includes joysticks, control
> elements (white goods, multifunction knops), or electric meters (anti
> tampering).
>
> The device can be configured in to different operating modes by optional
> device-tree "mode" property. Also, the temperature sensing part requires
> raw offset captured at 25°C and that can be specified by "temp-offset"
> optional device-tree property.
>
> Datasheet: https://www.infineon.com/assets/row/public/documents/24/49/infineon-tlv493d-a1b6-datasheet-en.pdf
>
> Signed-off-by: Dixit Parmar <dixitparmar19@...il.com>
> ---
> .../iio/magnetometer/infineon,tlv493d.yaml | 57 ++++++++++++++++++++++
> 1 file changed, 57 insertions(+)
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
Warning: Duplicate compatible "infineon,tlv493d-a1b6" found in schemas matching "$id":
http://devicetree.org/schemas/iio/magnetometer/infineon,tlv493d.yaml#
http://devicetree.org/schemas/trivial-devices.yaml#
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/iio/magnetometer/infineon,tlv493d.yaml: 'example' is not one of ['$id', '$schema', 'title', 'description', 'examples', 'required', 'allOf', 'anyOf', 'oneOf', 'definitions', '$defs', 'additionalProperties', 'dependencies', 'dependentRequired', 'dependentSchemas', 'patternProperties', 'properties', 'not', 'if', 'then', 'else', 'unevaluatedProperties', 'deprecated', 'maintainers', 'select', '$ref']
from schema $id: http://devicetree.org/meta-schemas/base.yaml#
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20250726-tlv493d-sensor-v6_16-rc5-v1-2-deac027e6f32@gmail.com
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.
Powered by blists - more mailing lists