From: Krzysztof Kozlowski <krzk@kernel.org>
To: "Allen-KH Cheng" <allen-kh.cheng@mediatek.com>,
"Nícolas F. R. A. Prado" <nfraprado@collabora.com>
Cc: Matthias Brugger <matthias.bgg@gmail.com>,
Chen-Yu Tsai <wenst@chromium.org>,
Wim Van Sebroeck <wim@linux-watchdog.org>,
Guenter Roeck <linux@roeck-us.net>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
angelogioacchino.delregno@collabora.com,
Project_Global_Chrome_Upstream_Group@mediatek.com,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org
Subject: Re: [PATCH v4 1/4] dt-bindings: mediatek: watchdog: Fix compatible fallbacks and example
Date: Wed, 10 Aug 2022 19:50:49 +0300 [thread overview]
Message-ID: <815b03aa-ab39-ec8b-294b-68dff36e2d54@kernel.org> (raw)
In-Reply-To: <6271732eb27824c5b841760243738ceb062f4c4a.camel@mediatek.com>
On 10/08/2022 15:58, Allen-KH Cheng wrote:
> I agree the advantage of patch is aesthetic. Since I also want to send
> another "watchdog: Convert binding to YAML" PATCH, it's better let all
> wdt compatibles in the binding match the contents of mtk_wdt_dt_ids in
> drivers/watchdog/mtk_wdt.c
>
> static const struct of_device_id mtk_wdt_dt_ids[] = {
> { .compatible = "mediatek,mt2712-wdt", .data = &mt2712_data },
> { .compatible = "mediatek,mt6589-wdt" },
> { .compatible = "mediatek,mt7986-wdt", .data = &mt7986_data },
> { .compatible = "mediatek,mt8183-wdt", .data = &mt8183_data },
> { .compatible = "mediatek,mt8186-wdt", .data = &mt8186_data },
> { .compatible = "mediatek,mt8192-wdt", .data = &mt8192_data },
> { .compatible = "mediatek,mt8195-wdt", .data = &mt8195_data },
> { /* sentinel */ }
> };
>
> We have "mediatek,mt8186-wdt" "mediatek,mt8195-wdt" and
> "mediatek,mt7986-wdt" now and they have their DT data for the reset
> control.
>
> It's weird and unuseful to add "mediatek,mt6589-wdt" as fallback.
>
>
> Please kindly let me know if I missed anything
How the driver arranges it should not be a reason to use or not to use
specific fallback. Although Rob acked it, but I still think you did not
provide valid reason for the change.
Valid reason is usually the actual hardware (so they are actually not
compatible with mt6589), not exactly how once someone did it in the driver.
Best regards,
Krzysztof
next prev parent reply other threads:[~2022-08-10 16:51 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-21 1:48 [PATCH v4 0/4] mediatek: watchdog: Fix compatible fallbacks Allen-KH Cheng
2022-07-21 1:48 ` [PATCH v4 1/4] dt-bindings: mediatek: watchdog: Fix compatible fallbacks and example Allen-KH Cheng
2022-07-25 22:33 ` Rob Herring
2022-08-01 9:29 ` Chen-Yu Tsai
2022-08-02 11:04 ` Matthias Brugger
2022-08-03 9:23 ` Allen-KH Cheng
2022-08-08 17:03 ` Nícolas F. R. A. Prado
2022-08-10 12:58 ` Allen-KH Cheng
2022-08-10 16:50 ` Krzysztof Kozlowski [this message]
2022-08-11 9:56 ` Allen-KH Cheng
2022-08-10 16:49 ` Krzysztof Kozlowski
2022-08-11 8:47 ` Allen-KH Cheng
2022-07-21 1:48 ` [PATCH v4 2/4] arm64: dts: mediatek: Remove mt6589 wdt fallback string from mt7986 Allen-KH Cheng
2022-07-21 1:48 ` [PATCH v4 3/4] arm64: dts: mediatek: Remove mt6589 wdt fallback string from mt8195 Allen-KH Cheng
2022-07-21 1:48 ` [PATCH v4 4/4] arm64: dts: mediatek: Fix the watchdog node name Allen-KH Cheng
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=815b03aa-ab39-ec8b-294b-68dff36e2d54@kernel.org \
--to=krzk@kernel.org \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=allen-kh.cheng@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux@roeck-us.net \
--cc=matthias.bgg@gmail.com \
--cc=nfraprado@collabora.com \
--cc=robh+dt@kernel.org \
--cc=wenst@chromium.org \
--cc=wim@linux-watchdog.org \
/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