From: David Lechner <dlechner@baylibre.com>
To: Aleksander Jan Bajkowski <olek2@wp.pl>,
jic23@kernel.org, nuno.sa@analog.com, andy@kernel.org,
robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com,
zhiyong.tao@mediatek.com, linux-iio@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org
Subject: Re: [PATCH v2 1/2] dt-bindings: iio: adc: Add support for MT7981
Date: Wed, 2 Jul 2025 17:01:07 -0500 [thread overview]
Message-ID: <a30cbe3a-7d1b-4072-880e-99688657a093@baylibre.com> (raw)
In-Reply-To: <20250702214830.255898-2-olek2@wp.pl>
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.
next prev parent reply other threads:[~2025-07-02 22:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-02 21:48 [PATCH v2 0/2] Add thermal sensors support for MT7981 Aleksander Jan Bajkowski
2025-07-02 21:48 ` [PATCH v2 1/2] dt-bindings: iio: adc: Add " Aleksander Jan Bajkowski
2025-07-02 22:01 ` David Lechner [this message]
2025-07-03 7:48 ` Krzysztof Kozlowski
2025-07-02 21:48 ` [PATCH v2 2/2] arm64: dts: mediatek: add thermal sensor support on mt7981 Aleksander Jan Bajkowski
2025-07-03 7:47 ` Krzysztof Kozlowski
2025-07-03 13:41 ` [PATCH v2 0/2] Add thermal sensors support for MT7981 Rob Herring (Arm)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a30cbe3a-7d1b-4072-880e-99688657a093@baylibre.com \
--to=dlechner@baylibre.com \
--cc=andy@kernel.org \
--cc=angelogioacchino.delregno@collabora.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jic23@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=nuno.sa@analog.com \
--cc=olek2@wp.pl \
--cc=robh@kernel.org \
--cc=zhiyong.tao@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox