[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <893c3f40-3094-1939-833b-2edcd935c83c@linaro.org>
Date: Wed, 9 Aug 2023 16:27:46 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Mia Lin <mimi05633@...il.com>, avifishman70@...il.com,
tmaimon77@...il.com, tali.perry1@...il.com, venture@...gle.com,
yuenn@...gle.com, benjaminfair@...gle.com, a.zummo@...ertech.it,
alexandre.belloni@...tlin.com, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org,
KWLIU@...oton.com, JJLIU0@...oton.com, KFLIN@...oton.com,
mylin1@...oton.com
Cc: openbmc@...ts.ozlabs.org, linux-rtc@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/2] dt-bindings: rtc: nuvoton: Add DT compatible
On 09/08/2023 11:51, Mia Lin wrote:
> Add DT compatible "nuvoton,nct3015y" to select
>
> Signed-off-by: Mia Lin <mimi05633@...il.com>
> ---
> Documentation/devicetree/bindings/rtc/nuvoton,nct3018y.yaml | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/rtc/nuvoton,nct3018y.yaml b/Documentation/devicetree/bindings/rtc/nuvoton,nct3018y.yaml
> index 4f9b5604acd9..67fc60fd395c 100644
> --- a/Documentation/devicetree/bindings/rtc/nuvoton,nct3018y.yaml
> +++ b/Documentation/devicetree/bindings/rtc/nuvoton,nct3018y.yaml
> @@ -15,7 +15,9 @@ maintainers:
>
> properties:
> compatible:
> - const: nuvoton,nct3018y
> + enum:
> + - nuvoton,nct3018y
> + - nuvoton,nct3015y
Responding here, but based on your changelog and driver:
Why? Why do you need compatibles to verify the reported ID? Verifying ID
does not make sense. At all.
These are compatible devices, so you could have one more compatible
using old one as fallback. And no new entry in the driver.
Best regards,
Krzysztof
Powered by blists - more mailing lists