Re: [PATCH 1/2] dt-bindings: iio: magnetometer: add Infineon TLE493D-W2B6
From: Jonathan Cameron
Date: Thu Nov 05 2026 - 21:36:32 EST
On Thu, 05 Nov 2026 21:23:47 +0530
Viral Patel <viral8854@xxxxxxxxx> wrote:
> Add a binding for the Infineon TLE493D-W2B6, a 3D Hall effect magnetic
> sensor with 12-bit resolution per axis and an integrated temperature
> sensor, accessed over I2C. The A0 to A3 variants of the part only differ
> in their default I2C address, so a single compatible covers all of them.
>
> The sensor's /INT output shares a pin with SCL and cannot be wired to an
> interrupt controller as a separate line, so there is no interrupts
> property.
I haven't looked at the driver yet, but your explanation in the cover letter
of why it is a separate driver seems fine.
That doesn't exclude using a shared device tree binding (as it is a many
to many relationship between bindings and drivers) and it seems like
nothing stops you combining this with the tle493d-a1b6 binding.
Thanks,
Jonathan
>
> Signed-off-by: Viral Patel <viral8854@xxxxxxxxx>
> ---
> .../iio/magnetometer/infineon,tle493d-w2b6.yaml | 48 ++++++++++++++++++++++
> MAINTAINERS | 6 +++
> 2 files changed, 54 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/iio/magnetometer/infineon,tle493d-w2b6.yaml b/Documentation/devicetree/bindings/iio/magnetometer/infineon,tle493d-w2b6.yaml
> new file mode 100644
> index 000000000000..46f9c0e77e24
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/magnetometer/infineon,tle493d-w2b6.yaml
> @@ -0,0 +1,48 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/iio/magnetometer/infineon,tle493d-w2b6.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Infineon TLE493D-W2B6 3D Magnetic Sensor
> +
> +maintainers:
> + - Viral Patel <viral8854@xxxxxxxxx>
> +
> +description: |
> + Infineon TLE493D-W2B6 3D Hall effect magnetic sensor with an I2C interface
> + and an integrated temperature sensor. The A0, A1, A2 and A3 variants only
> + differ in their default I2C address (0x35, 0x22, 0x78 and 0x44).
> +
> + The sensor's /INT output shares a pin with SCL, so it cannot be routed to
> + an interrupt controller as a separate line. The binding therefore has no
> + interrupts property.
> +
> +properties:
> + compatible:
> + const: infineon,tle493d-w2b6
> +
> + reg:
> + maxItems: 1
> +
> + vdd-supply: true
> +
> +required:
> + - compatible
> + - reg
> + - vdd-supply
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + magnetometer@35 {
> + compatible = "infineon,tle493d-w2b6";
> + reg = <0x35>;
> + vdd-supply = <&vdd_3v3>;
> + };
> + };
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 0017755f593b..c8916e1286d3 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -13110,6 +13110,12 @@ S: Maintained
> F: Documentation/devicetree/bindings/sound/infineon,peb2466.yaml
> F: sound/soc/codecs/peb2466.c
>
> +INFINEON TLE493D-W2B6 DRIVER
> +M: Viral Patel <viral8854@xxxxxxxxx>
> +L: linux-iio@xxxxxxxxxxxxxxx
> +S: Maintained
> +F: Documentation/devicetree/bindings/iio/magnetometer/infineon,tle493d-w2b6.yaml
> +
> INFINEON TLV493D Driver
> M: Dixit Parmar <dixitparmar19@xxxxxxxxx>
> L: linux-iio@xxxxxxxxxxxxxxx
>