Skip to contentSkip to conversation

dt-bindings: rtc: pcf85063: remove quartz-load-femtofarads restriction for nxp,pcf85063

PATCH Applied Frank Li 3 participants 5 messages Sep 3, 2025 – Sep 14, 2025

Subsystems (3)
lore
Share & tools
lore

Frank Li

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: rtc: pcf85063: remove quartz-load-femtofarads restriction for nxp,pcf85063

Original TXT binding doc have not limitition about quartz-load-femtofarads, which only allow 7000 for nxp,pcf85063.

So remove it to fix below CHECK_DTBS warnings:
arch/arm/boot/dts/nxp/imx/imx6dl-skov-revc-lt2.dtb: rtc@51 (nxp,pcf85063): quartz-load-femtofarads:0: 7000 was expected
from schema $id: http://devicetree.org/schemas/rtc/nxp,pcf85063.yaml#

---
 .../devicetree/bindings/rtc/nxp,pcf85063.yaml          | 10 ----------
 1 file changed, 10 deletions(-)
Documentation/devicetree/bindings/rtc/nxp,pcf85063.yaml +0 -10
index 1e6277e524c27..f7013cd8fc20b 100644
@@ -62,16 +62,6 @@ allOf:
     then:
       properties:
         quartz-load-femtofarads: false
-  - if:
-      properties:
-        compatible:
-          contains:
-            enum:
-              - nxp,pcf85063
-    then:
-      properties:
-        quartz-load-femtofarads:
-          const: 7000
   - if:
       properties:
         compatible:
Signature · 1 line
2.34.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 12 lines · Frank Li

Original TXT binding doc have not limitition about quartz-load-femtofarads, which only allow 7000 for nxp,pcf85063.

So remove it to fix below CHECK_DTBS warnings:
arch/arm/boot/dts/nxp/imx/imx6dl-skov-revc-lt2.dtb: rtc@51 (nxp,pcf85063): quartz-load-femtofarads:0: 7000 was expected
from schema $id: http://devicetree.org/schemas/rtc/nxp,pcf85063.yaml#

---
 .../devicetree/bindings/rtc/nxp,pcf85063.yaml          | 10 ----------
 1 file changed, 10 deletions(-)
#2 lore raw
In reply to Frank Li
Quoted 2 lines · Frank Li

Original TXT binding doc have not limitition about quartz-load-femtofarads, which only allow 7000 for nxp,pcf85063.

The only valid values are 7000 and 12500, wouldn't it be better to improve the limitation rather than removing it?

Quoted 34 lines

So remove it to fix below CHECK_DTBS warnings:
arch/arm/boot/dts/nxp/imx/imx6dl-skov-revc-lt2.dtb: rtc@51 (nxp,pcf85063): quartz-load-femtofarads:0: 7000 was expected
from schema $id: http://devicetree.org/schemas/rtc/nxp,pcf85063.yaml#

---
 .../devicetree/bindings/rtc/nxp,pcf85063.yaml          | 10 ----------
 1 file changed, 10 deletions(-)
Documentation/devicetree/bindings/rtc/nxp,pcf85063.yaml +0 -10
index 1e6277e524c27..f7013cd8fc20b 100644
@@ -62,16 +62,6 @@ allOf:
     then:
       properties:
         quartz-load-femtofarads: false
-  - if:
-      properties:
-        compatible:
-          contains:
-            enum:
-              - nxp,pcf85063
-    then:
-      properties:
-        quartz-load-femtofarads:
-          const: 7000
   - if:
       properties:
         compatible:
Signature · 1 line
2.34.1
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
author maintainer
#3 lore raw
Quoted 6 lines · Alexandre Belloni
Quoted 2 lines · Frank Li

Original TXT binding doc have not limitition about quartz-load-femtofarads, which only allow 7000 for nxp,pcf85063.

The only valid values are 7000 and 12500, wouldn't it be better to improve the limitation rather than removing it?

There are already have such restriction in top

quartz-load-femtofarads:
description:
The capacitive load of the quartz(x-tal).
enum: [7000, 12500]

This just remove restriction, which allow only 7000 for nxp,pcf85063

Frank

Quoted 40 lines
Quoted 33 lines

So remove it to fix below CHECK_DTBS warnings:
arch/arm/boot/dts/nxp/imx/imx6dl-skov-revc-lt2.dtb: rtc@51 (nxp,pcf85063): quartz-load-femtofarads:0: 7000 was expected
from schema $id: http://devicetree.org/schemas/rtc/nxp,pcf85063.yaml#

---
 .../devicetree/bindings/rtc/nxp,pcf85063.yaml          | 10 ----------
 1 file changed, 10 deletions(-)
Documentation/devicetree/bindings/rtc/nxp,pcf85063.yaml +0 -11
index 1e6277e524c27..f7013cd8fc20b 100644
@@ -62,16 +62,6 @@ allOf:
     then:
       properties:
         quartz-load-femtofarads: false
-  - if:
-      properties:
-        compatible:
-          contains:
-            enum:
-              - nxp,pcf85063
-    then:
-      properties:
-        quartz-load-femtofarads:
-          const: 7000
   - if:
       properties:
         compatible:
--
Quoted 2 lines

2.34.1

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

maintainer Applied
#4 lore raw
In reply to Frank Li
Quoted 8 lines · Frank Li

Original TXT binding doc have not limitition about quartz-load-femtofarads, which only allow 7000 for nxp,pcf85063.

So remove it to fix below CHECK_DTBS warnings:
arch/arm/boot/dts/nxp/imx/imx6dl-skov-revc-lt2.dtb: rtc@51 (nxp,pcf85063): quartz-load-femtofarads:0: 7000 was expected
from schema $id: http://devicetree.org/schemas/rtc/nxp,pcf85063.yaml#

[...]

Applied, thanks!

[1/1] dt-bindings: rtc: pcf85063: remove quartz-load-femtofarads restriction for nxp,pcf85063
https://git.kernel.org/abelloni/c/b4bcfbfb1f0f

Best regards,

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