Skip to contentSkip to conversation

dt-bindings: rtc-2123: Make the node name generic

PATCH Applied Fabio Estevam 3 participants 3 messages May 5, 2018 – May 14, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: rtc-2123: Make the node name generic

From: Fabio Estevam <[email protected]>

According to Devicetree Specification v0.2 document:

"The name of a node should be somewhat generic, reflecting the function of the device and not its precise programming model."

Do as suggested in the binding example.

---
 Documentation/devicetree/bindings/rtc/nxp,rtc-2123.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/rtc/nxp,rtc-2123.txt +1 -1
index 5cbc0b1..811124a 100644
@@ -9,7 +9,7 @@ Optional properties:
 
 Example:
 
-rtc: nxp,rtc-pcf2123@3 {
+pcf2123: rtc@3 {
 	compatible = "nxp,rtc-pcf2123"
 	reg = <3>
 	spi-cs-high;
Signature · 1 line
2.7.4
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

According to Devicetree Specification v0.2 document:

"The name of a node should be somewhat generic, reflecting the function of the device and not its precise programming model."

Quoted 6 lines

Do as suggested in the binding example.

---
 Documentation/devicetree/bindings/rtc/nxp,rtc-2123.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
maintainer Applied
#2 lore raw
In reply to Fabio Estevam
Quoted 7 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

According to Devicetree Specification v0.2 document:

"The name of a node should be somewhat generic, reflecting the function of the device and not its precise programming model."

Quoted 7 lines

Do as suggested in the binding example.

---
 Documentation/devicetree/bindings/rtc/nxp,rtc-2123.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Signature · 3 lines
Alexandre Belloni, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com