The temperature sensor in the MT7981 is same as in the MT7986.
Add compatible string for mt7981.
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
.../devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml b/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml
index b489c984c1bb..ceb914dde15b 100644
--- a/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml
@@ -26,6 +26,7 @@ properties:
- mediatek,mt2712-auxadc
- mediatek,mt6765-auxadc
- mediatek,mt7622-auxadc
+ - mediatek,mt7981-auxadc
- mediatek,mt7986-auxadc
- mediatek,mt8173-auxadc
- items:
--
2.39.5
On Wed, Jul 02, 2025 at 11:48:29PM +0200, Aleksander Jan Bajkowski wrote: > The temperature sensor in the MT7981 is same as in the MT7986. This is not what your binding is saying. Binding is saying it is completely different. > Add compatible string for mt7981. > > Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl> > Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Please drop and request a re-review. Best regards, Krzysztof
On 7/2/25 4:48 PM, Aleksander Jan Bajkowski wrote: > The temperature sensor in the MT7981 is same as in the MT7986. > Add compatible string for mt7981. > > Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl> > Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> > --- > .../devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml b/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml > index b489c984c1bb..ceb914dde15b 100644 > --- a/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml > +++ b/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml > @@ -26,6 +26,7 @@ properties: > - mediatek,mt2712-auxadc > - mediatek,mt6765-auxadc > - mediatek,mt7622-auxadc > + - mediatek,mt7981-auxadc > - mediatek,mt7986-auxadc > - mediatek,mt8173-auxadc > - items: The new compatible with fallback should look like this: diff --git a/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml b/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml index b489c984c1bb..14363389f30a 100644 --- a/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml @@ -32,6 +32,10 @@ properties: - enum: - mediatek,mt7623-auxadc - const: mediatek,mt2701-auxadc + - items: + - enum: + - mediatek,mt7981-auxadc + - const: mediatek,mt7986-auxadc - items: - enum: - mediatek,mt6893-auxadc --- Then you can validate that the next patch matches the bindings with `make CHECK_DTBS=1`. I would expect it to fail currently since the binding is specifying a compatible without a fallback but the .dts uses a fallback.
© 2016 - 2025 Red Hat, Inc.