imx.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] dt-bindings: rtc: nxp,lpc1788-rtc: add compatible string nxp,lpc1850-rtc
@ 2025-06-02 14:28 Frank Li
  2025-06-06  0:17 ` Rob Herring (Arm)
  2025-07-07 21:43 ` Alexandre Belloni
  0 siblings, 2 replies; 3+ messages in thread
From: Frank Li @ 2025-06-02 14:28 UTC (permalink / raw)
  To: Alexandre Belloni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Javier Carrasco, open list:REAL TIME CLOCK (RTC) SUBSYSTEM,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list
  Cc: imx

Add compatible string nxp,lpc1850-rtc and fallback to nxp,lpc1788-rtc.

Fix below CHECK_DTB warning:
  arch/arm/boot/dts/nxp/lpc/lpc4337-ciaa.dtb: rtc@40046000 (nxp,lpc1850-rtc): compatible: ['nxp,lpc1850-rtc', 'nxp,lpc1788-rtc'] is too long

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 Documentation/devicetree/bindings/rtc/nxp,lpc1788-rtc.yaml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/rtc/nxp,lpc1788-rtc.yaml b/Documentation/devicetree/bindings/rtc/nxp,lpc1788-rtc.yaml
index e88b847a1cc51..e896ba59302a4 100644
--- a/Documentation/devicetree/bindings/rtc/nxp,lpc1788-rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/nxp,lpc1788-rtc.yaml
@@ -18,7 +18,12 @@ allOf:
 
 properties:
   compatible:
-    const: nxp,lpc1788-rtc
+    oneOf:
+      - items:
+          - enum:
+              - nxp,lpc1850-rtc
+          - const: nxp,lpc1788-rtc
+      - const: nxp,lpc1788-rtc
 
   reg:
     maxItems: 1
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] dt-bindings: rtc: nxp,lpc1788-rtc: add compatible string nxp,lpc1850-rtc
  2025-06-02 14:28 [PATCH 1/1] dt-bindings: rtc: nxp,lpc1788-rtc: add compatible string nxp,lpc1850-rtc Frank Li
@ 2025-06-06  0:17 ` Rob Herring (Arm)
  2025-07-07 21:43 ` Alexandre Belloni
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2025-06-06  0:17 UTC (permalink / raw)
  To: Frank Li
  Cc: devicetree, Krzysztof Kozlowski, Alexandre Belloni, linux-kernel,
	Conor Dooley, Javier Carrasco, imx, linux-rtc


On Mon, 02 Jun 2025 10:28:41 -0400, Frank Li wrote:
> Add compatible string nxp,lpc1850-rtc and fallback to nxp,lpc1788-rtc.
> 
> Fix below CHECK_DTB warning:
>   arch/arm/boot/dts/nxp/lpc/lpc4337-ciaa.dtb: rtc@40046000 (nxp,lpc1850-rtc): compatible: ['nxp,lpc1850-rtc', 'nxp,lpc1788-rtc'] is too long
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
>  Documentation/devicetree/bindings/rtc/nxp,lpc1788-rtc.yaml | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] dt-bindings: rtc: nxp,lpc1788-rtc: add compatible string nxp,lpc1850-rtc
  2025-06-02 14:28 [PATCH 1/1] dt-bindings: rtc: nxp,lpc1788-rtc: add compatible string nxp,lpc1850-rtc Frank Li
  2025-06-06  0:17 ` Rob Herring (Arm)
@ 2025-07-07 21:43 ` Alexandre Belloni
  1 sibling, 0 replies; 3+ messages in thread
From: Alexandre Belloni @ 2025-07-07 21:43 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Javier Carrasco,
	linux-rtc, devicetree, linux-kernel, Frank Li
  Cc: imx

On Mon, 02 Jun 2025 10:28:41 -0400, Frank Li wrote:
> Add compatible string nxp,lpc1850-rtc and fallback to nxp,lpc1788-rtc.
> 
> Fix below CHECK_DTB warning:
>   arch/arm/boot/dts/nxp/lpc/lpc4337-ciaa.dtb: rtc@40046000 (nxp,lpc1850-rtc): compatible: ['nxp,lpc1850-rtc', 'nxp,lpc1788-rtc'] is too long
> 
> 

Applied, thanks!

[1/1] dt-bindings: rtc: nxp,lpc1788-rtc: add compatible string nxp,lpc1850-rtc
      https://git.kernel.org/abelloni/c/0bafe291cb42

Best regards,

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-07-07 21:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-02 14:28 [PATCH 1/1] dt-bindings: rtc: nxp,lpc1788-rtc: add compatible string nxp,lpc1850-rtc Frank Li
2025-06-06  0:17 ` Rob Herring (Arm)
2025-07-07 21:43 ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).