[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <84145eba-7877-4dc0-a221-2debb5a40d40@linaro.org>
Date: Mon, 11 Dec 2023 11:06:42 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Ji Sheng Teoh <jisheng.teoh@...rfivetech.com>,
Xingyu Wu <xingyu.wu@...rfivetech.com>,
Samin Guo <samin.guo@...rfivetech.com>,
Wim Van Sebroeck <wim@...ux-watchdog.org>,
Guenter Roeck <linux@...ck-us.net>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: Ley Foon Tan <leyfoon.tan@...rfivetech.com>,
linux-watchdog@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 1/2] watchdog: starfive-wdt: Add JH8100 watchdog
compatible string
On 09/12/2023 15:27, Ji Sheng Teoh wrote:
> Add "starfive,jh8100-wdt" compatible for StarFive's JH8100 watchdog.
> JH8100 watchdog reuses JH7110 register mapping.
>
> Signed-off-by: Ley Foon Tan <leyfoon.tan@...rfivetech.com>
> Signed-off-by: Ji Sheng Teoh <jisheng.teoh@...rfivetech.com>
> ---
> drivers/watchdog/starfive-wdt.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/watchdog/starfive-wdt.c b/drivers/watchdog/starfive-wdt.c
> index 5f501b41faf9..31785bb373d5 100644
> --- a/drivers/watchdog/starfive-wdt.c
> +++ b/drivers/watchdog/starfive-wdt.c
> @@ -581,6 +581,7 @@ static const struct dev_pm_ops starfive_wdt_pm_ops = {
> static const struct of_device_id starfive_wdt_match[] = {
> { .compatible = "starfive,jh7100-wdt", .data = &starfive_wdt_jh7100_variant },
> { .compatible = "starfive,jh7110-wdt", .data = &starfive_wdt_jh7110_variant },
> + { .compatible = "starfive,jh8100-wdt", .data = &starfive_wdt_jh7110_variant },
Device is compatible, so why not expressing it in the bindings and
dropping this change?
Best regards,
Krzysztof
Powered by blists - more mailing lists