[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250907103617.5400c1bb@jic23-huawei>
Date: Sun, 7 Sep 2025 10:36:17 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Dixit Parmar <dixitparmar19@...il.com>
Cc: David Lechner <dlechner@...libre.com>, Nuno Sá
<nuno.sa@...log.com>, Andy Shevchenko <andy@...nel.org>, Rob Herring
<robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley
<conor+dt@...nel.org>, linux-kernel@...r.kernel.org,
linux-iio@...r.kernel.org, devicetree@...r.kernel.org
Subject: Re: [PATCH v6 1/2] dt-bindings: iio: magnetometer: Infineon TLV493D
3D Magnetic sensor
On Sat, 06 Sep 2025 14:07:56 +0530
Dixit Parmar <dixitparmar19@...il.com> 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).
> Drop duplicate entry for infineon,tlv493d from trivial-devices.yaml as
> its documented in this separate dt-binding file now.
>
> 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>
Krzysztof gave an RB on version 3. Please make sure to pick up such tags.
This time I'll apply it by hand if nothing else comes up.
Jonathan
> ---
> .../iio/magnetometer/infineon,tlv493d-a1b6.yaml | 45 ++++++++++++++++++++++
> .../devicetree/bindings/trivial-devices.yaml | 2 -
> MAINTAINERS | 7 ++++
> 3 files changed, 52 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/magnetometer/infineon,tlv493d-a1b6.yaml b/Documentation/devicetree/bindings/iio/magnetometer/infineon,tlv493d-a1b6.yaml
> new file mode 100644
> index 000000000000..dd23a9370a71
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/magnetometer/infineon,tlv493d-a1b6.yaml
> @@ -0,0 +1,45 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/iio/magnetometer/infineon,tlv493d-a1b6.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Infineon Technologies TLV493D Low-Power 3D Magnetic Sensor
> +
> +maintainers:
> + - Dixit Parmar <dixitparmar19@...il.com>
> +
> +properties:
> + $nodename:
> + pattern: '^magnetometer@[0-9a-f]+$'
> +
> + compatible:
> + const: infineon,tlv493d-a1b6
> +
> + reg:
> + maxItems: 1
> +
> + vdd-supply:
> + description: 2.8V to 3.5V VDD supply
> +
> + interrupts:
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> + - vdd-supply
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + magnetometer@5e {
> + compatible = "infineon,tlv493d-a1b6";
> + reg = <0x5e>;
> + vdd-supply = <&hall_vcc>;
> + };
> + };
> diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
> index 27930708ccd5..9e0eb5c873d2 100644
> --- a/Documentation/devicetree/bindings/trivial-devices.yaml
> +++ b/Documentation/devicetree/bindings/trivial-devices.yaml
> @@ -125,8 +125,6 @@ properties:
> - infineon,ir36021
> # Infineon IRPS5401 Voltage Regulator (PMIC)
> - infineon,irps5401
> - # Infineon TLV493D-A1B6 I2C 3D Magnetic Sensor
> - - infineon,tlv493d-a1b6
> # Infineon Hot-swap controller xdp710
> - infineon,xdp710
> # Infineon Multi-phase Digital VR Controller xdpe11280
> diff --git a/MAINTAINERS b/MAINTAINERS
> index fad6cb025a19..35990c2701f6 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -11843,6 +11843,13 @@ S: Maintained
> F: Documentation/devicetree/bindings/sound/infineon,peb2466.yaml
> F: sound/soc/codecs/peb2466.c
>
> +INFINEON TLV493D Driver
> +M: Dixit Parmar <dixitparmar19@...il.com>
> +L: linux-iio@...r.kernel.org
> +S: Maintained
> +W: https://www.infineon.com/part/TLV493D-A1B6
> +F: Documentation/devicetree/bindings/iio/magnetometer/infineon,tlv493d-a1b6.yaml
> +
> INFINIBAND SUBSYSTEM
> M: Jason Gunthorpe <jgg@...dia.com>
> M: Leon Romanovsky <leonro@...dia.com>
>
Powered by blists - more mailing lists