Re: [PATCH v3 1/2] dt-bindings: hwmon: tmp102: Fix up TMP103 bindings
From: Conor Dooley
Date: Tue Sep 01 2026 - 14:11:28 EST
On Tue, Sep 01, 2026 at 07:47:54PM +0200, Marek Vasut wrote:
> The TMP102 and TMP110 are backward compatible, therefore the valid
> compatible strings are "ti,tmp110", "ti,tmp102" and "ti,tmp102" .
>
> The TMP103 is not backward compatible with TMP102, but it does share a
> schema now, therefore the only valid compatible string for the TMP103
> should be "ti,tmp103" .
>
> Make exactly those three compatible strings valid and everything else
> rejected.
>
> Fixes: d67ec24d3f07 ("dt-bindings: hwmon: tmp102: move ti,tmp103 out of trivial-devices.yaml")
> Signed-off-by: Marek Vasut <marex@xxxxxxxxxxxx>
Acked-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
(I am just realising now that the reason for this was the binding
in-tree having been cocked up)
> ---
> Cc: Conor Dooley <conor+dt@xxxxxxxxxx>
> Cc: Flaviu Nistor <flaviu.nistor@xxxxxxxxx>
> Cc: Guenter Roeck <linux@xxxxxxxxxxxx>
> Cc: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>
> Cc: Rob Herring <robh@xxxxxxxxxx>
> Cc: devicetree@xxxxxxxxxxxxxxx
> Cc: linux-hwmon@xxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> ---
> V3: New patch
> ---
> Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml b/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml
> index 55d9f106465d7..477f478b9dd0f 100644
> --- a/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml
> +++ b/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml
> @@ -13,11 +13,10 @@ properties:
> compatible:
> oneOf:
> - items:
> - - const: ti,tmp102
> - - const: ti,tmp103
> - const: ti,tmp110
> - - enum:
> - - ti,tmp102
> + - const: ti,tmp102
> + - const: ti,tmp102
> + - const: ti,tmp103
>
> interrupts:
> maxItems: 1
> --
> 2.53.0
>
Attachment:
signature.asc
Description: PGP signature