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 Acked-by: Conor Dooley (I am just realising now that the reason for this was the binding in-tree having been cocked up) > --- > Cc: Conor Dooley > Cc: Flaviu Nistor > Cc: Guenter Roeck > Cc: Krzysztof Kozlowski > Cc: Rob Herring > Cc: devicetree@vger.kernel.org > Cc: linux-hwmon@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > --- > 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 >