devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: rtc-2123: Make the node name generic
@ 2018-05-05  3:10 Fabio Estevam
  2018-05-08 16:08 ` Rob Herring
  2018-05-14 13:28 ` Alexandre Belloni
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2018-05-05  3:10 UTC (permalink / raw)
  To: alexandre.belloni; +Cc: robh+dt, linux-rtc, devicetree, Fabio Estevam

From: Fabio Estevam <fabio.estevam@nxp.com>

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.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 Documentation/devicetree/bindings/rtc/nxp,rtc-2123.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/rtc/nxp,rtc-2123.txt b/Documentation/devicetree/bindings/rtc/nxp,rtc-2123.txt
index 5cbc0b1..811124a 100644
--- a/Documentation/devicetree/bindings/rtc/nxp,rtc-2123.txt
+++ b/Documentation/devicetree/bindings/rtc/nxp,rtc-2123.txt
@@ -9,7 +9,7 @@ Optional properties:
 
 Example:
 
-rtc: nxp,rtc-pcf2123@3 {
+pcf2123: rtc@3 {
 	compatible = "nxp,rtc-pcf2123"
 	reg = <3>
 	spi-cs-high;
-- 
2.7.4

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

* Re: [PATCH] dt-bindings: rtc-2123: Make the node name generic
  2018-05-05  3:10 [PATCH] dt-bindings: rtc-2123: Make the node name generic Fabio Estevam
@ 2018-05-08 16:08 ` Rob Herring
  2018-05-14 13:28 ` Alexandre Belloni
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2018-05-08 16:08 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: alexandre.belloni, linux-rtc, devicetree, Fabio Estevam

On Sat, May 05, 2018 at 12:10:31AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@nxp.com>
> 
> 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.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---
>  Documentation/devicetree/bindings/rtc/nxp,rtc-2123.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH] dt-bindings: rtc-2123: Make the node name generic
  2018-05-05  3:10 [PATCH] dt-bindings: rtc-2123: Make the node name generic Fabio Estevam
  2018-05-08 16:08 ` Rob Herring
@ 2018-05-14 13:28 ` Alexandre Belloni
  1 sibling, 0 replies; 3+ messages in thread
From: Alexandre Belloni @ 2018-05-14 13:28 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: robh+dt, linux-rtc, devicetree, Fabio Estevam

On 05/05/2018 00:10:31-0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@nxp.com>
> 
> 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.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---
>  Documentation/devicetree/bindings/rtc/nxp,rtc-2123.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
Applied, thanks.

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

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

end of thread, other threads:[~2018-05-14 13:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-05  3:10 [PATCH] dt-bindings: rtc-2123: Make the node name generic Fabio Estevam
2018-05-08 16:08 ` Rob Herring
2018-05-14 13:28 ` 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).