dt-bindings: rtc: pcf2127: add compatible string nxp,rtc-pcf2123
Subsystems (3)
Frank Li
maintainerPATCH 1/1 dt-bindings: rtc: pcf2127: add compatible string nxp,rtc-pcf2123
Add compatible string nxp,rtc-pcf2123, which style is not consistent with existed compatible string because existed driver and dts use nxp,rtc-pcf2123.
Fix below CHECK_DTBS warning:arch/arm/boot/dts/nxp/imx/imx6q-evi.dtb: /soc/bus@2000000/spba-bus@2000000/spi@2018000/rtc@3: failed to match any schema with compatible: ['nxp,rtc-pcf2123']
--- Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml +1 -0
@@ -20,6 +20,7 @@ properties: - nxp,pcf2127 - nxp,pcf2129 - nxp,pcf2131 + - nxp,rtc-pcf2123 reg: maxItems: 1
Signature · 1 line
2.34.1
Alexandre Belloni
maintainerQuoted 17 lines · Frank Li
Add compatible string nxp,rtc-pcf2123, which style is not consistent with existed compatible string because existed driver and dts use nxp,rtc-pcf2123.
Fix below
CHECK_DTBSwarning:arch/arm/boot/dts/nxp/imx/imx6q-evi.dtb: /soc/bus@2000000/spba-bus@2000000/spi@2018000/rtc@3: failed to match any schema with compatible: ['nxp,rtc-pcf2123']Signed-off-by Frank Li <[email protected]>--- Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml +0
-0
Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml properties: · line 23
Quoted 4 lines
Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml +1
-0@@ -20,6 +20,7 @@ properties: - nxp,pcf2127 - nxp,pcf2129 - nxp,pcf2131 + - nxp,rtc-pcf2123
Nope, you need to fix the devicetree.
Quoted 6 lines
Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml +0
-0reg: maxItems: 1Signature · 1 line
2.34.1
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Frank Li
maintainerQuoted 13 lines · Alexandre Belloni
Quoted 12 lines · Frank Li
Add compatible string nxp,rtc-pcf2123, which style is not consistent with existed compatible string because existed driver and dts use nxp,rtc-pcf2123.
Fix below
CHECK_DTBSwarning:arch/arm/boot/dts/nxp/imx/imx6q-evi.dtb: /soc/bus@2000000/spba-bus@2000000/spi@2018000/rtc@3: failed to match any schema with compatible: ['nxp,rtc-pcf2123']Signed-off-by Frank Li <[email protected]>--- Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml | 1 + 1 file changed, 1 insertion(+)
Quoted 11 lines
Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml properties: · line 23
Quoted 9 lines
Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml +1
-0@@ -20,6 +20,7 @@ properties: - nxp,pcf2127 - nxp,pcf2129 - nxp,pcf2131 + - nxp,rtc-pcf2123Nope, you need to fix the devicetree.
Oh, driver drivers/rtc/rtc-pcf2123.c also use nxp,rtc-pcf2123. For such old devices, generally keep it as it.
Maybe DT team members provide more professional comments for it.
Frank
Quoted 12 lines
Quoted 7 lines
Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml +0
-1reg: maxItems: 1 --2.34.1
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Alexandre Belloni
maintainerQuoted 26 lines · Frank Li
Quoted 13 lines · Alexandre Belloni
Quoted 12 lines · Frank Li
Add compatible string nxp,rtc-pcf2123, which style is not consistent with existed compatible string because existed driver and dts use nxp,rtc-pcf2123.
Fix below
CHECK_DTBSwarning:arch/arm/boot/dts/nxp/imx/imx6q-evi.dtb: /soc/bus@2000000/spba-bus@2000000/spi@2018000/rtc@3: failed to match any schema with compatible: ['nxp,rtc-pcf2123']Signed-off-by Frank Li <[email protected]>--- Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml | 1 + 1 file changed, 1 insertion(+)Quoted 11 lines
Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml properties: · line 23
Quoted 9 lines
Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml +1
-0@@ -20,6 +20,7 @@ properties: - nxp,pcf2127 - nxp,pcf2129 - nxp,pcf2131 + - nxp,rtc-pcf2123Nope, you need to fix the devicetree.
Quoted 4 lines
Oh, driver
drivers/rtc/rtc-pcf2123.calso use nxp,rtc-pcf2123. For such old devices, generally keep it as it.Maybe DT team members provide more professional comments for it.
It is there for DT ABI compatibility, we don't need to advertise its existence in the doc, you must fix the device tree.
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 15 lines · Alexandre Belloni
Quoted 14 lines · Frank Li
Quoted 13 lines · Alexandre Belloni
Quoted 12 lines · Frank Li
Add compatible string nxp,rtc-pcf2123, which style is not consistent with existed compatible string because existed driver and dts use nxp,rtc-pcf2123.
Fix below
CHECK_DTBSwarning:arch/arm/boot/dts/nxp/imx/imx6q-evi.dtb: /soc/bus@2000000/spba-bus@2000000/spi@2018000/rtc@3: failed to match any schema with compatible: ['nxp,rtc-pcf2123']Signed-off-by Frank Li <[email protected]>--- Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml | 1 + 1 file changed, 1 insertion(+)
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml properties: · line 23
Quoted 9 lines
Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml +1
-0@@ -20,6 +20,7 @@ properties: - nxp,pcf2127 - nxp,pcf2129 - nxp,pcf2131 + - nxp,rtc-pcf2123Nope, you need to fix the devicetree.
Yep, 6 years is enough for all users to adjust, so I agree.
Quoted 8 lines
Quoted 5 lines
Oh, driver
drivers/rtc/rtc-pcf2123.calso use nxp,rtc-pcf2123. For such old devices, generally keep it as it.Maybe DT team members provide more professional comments for it.
It is there for DT ABI compatibility, we don't need to advertise its existence in the doc, you must fix the device tree.
In-tree compatibles should be documented anyway (as "deprecated: true").
Best regards,
Krzysztof
Alexandre Belloni
maintainerQuoted 34 lines · Krzysztof Kozlowski
Quoted 15 lines · Alexandre Belloni
Quoted 14 lines · Frank Li
Quoted 13 lines · Alexandre Belloni
Quoted 12 lines · Frank Li
Add compatible string nxp,rtc-pcf2123, which style is not consistent with existed compatible string because existed driver and dts use nxp,rtc-pcf2123.
Fix below
CHECK_DTBSwarning:arch/arm/boot/dts/nxp/imx/imx6q-evi.dtb: /soc/bus@2000000/spba-bus@2000000/spi@2018000/rtc@3: failed to match any schema with compatible: ['nxp,rtc-pcf2123']Signed-off-by Frank Li <[email protected]>--- Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml | 1 + 1 file changed, 1 insertion(+)Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml properties: · line 23
Quoted 9 lines
Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml +1
-0@@ -20,6 +20,7 @@ properties: - nxp,pcf2127 - nxp,pcf2129 - nxp,pcf2131 + - nxp,rtc-pcf2123Nope, you need to fix the devicetree.
Yep, 6 years is enough for all users to adjust, so I agree.
Quoted 4 lines
Quoted 4 lines
Oh, driver
drivers/rtc/rtc-pcf2123.calso use nxp,rtc-pcf2123. For such old devices, generally keep it as it.
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Maybe DT team members provide more professional comments for it.
It is there for DT ABI compatibility, we don't need to advertise its existence in the doc, you must fix the device tree.
In-tree compatibles should be documented anyway (as "deprecated: true").
There is one device tree to fix, then we won't have any occurrence in-tree anymore.
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 6 lines · Alexandre Belloni
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Oh, driver
drivers/rtc/rtc-pcf2123.calso use nxp,rtc-pcf2123. For such old devices, generally keep it as it.Maybe DT team members provide more professional comments for it.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
It is there for DT ABI compatibility, we don't need to advertise its existence in the doc, you must fix the device tree.
In-tree compatibles should be documented anyway (as "deprecated: true").
There is one device tree to fix, then we won't have any occurrence in-tree anymore.
The driver is, unless there is patch dropping it somewhere...
Best regards,
Krzysztof