Linux-RTC Archive on lore.kernel.org
 help / Atom feed
* [PATCH] dt-bindings: rtc: use a generic node name for ds1307
@ 2018-12-03 11:47 Lubomir Rintel
  2018-12-10 23:35 ` Alexandre Belloni
  0 siblings, 1 reply; 2+ messages in thread
From: Lubomir Rintel @ 2018-12-03 11:47 UTC (permalink / raw)
  To: Alessandro Zummo, Alexandre Belloni
  Cc: Rob Herring, Mark Rutland, linux-rtc, devicetree, linux-kernel,
	Lubomir Rintel

The example should follow the practice or using a generic node name
instead of the precise programming model, as recommended by the DTSpec.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
---
 Documentation/devicetree/bindings/rtc/rtc-ds1307.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/rtc/rtc-ds1307.txt b/Documentation/devicetree/bindings/rtc/rtc-ds1307.txt
index eebfbe04207a..eaee19b60960 100644
--- a/Documentation/devicetree/bindings/rtc/rtc-ds1307.txt
+++ b/Documentation/devicetree/bindings/rtc/rtc-ds1307.txt
@@ -35,7 +35,7 @@ Optional properties:
 	Should be given if internal trickle charger diode should be disabled
 
 Example:
-	rtc1: ds1339@68 {
+	ds1339: rtc@68 {
 		compatible = "dallas,ds1339";
 		reg = <0x68>;
 		interrupt-parent = <&gpio4>;
-- 
2.19.1


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

* Re: [PATCH] dt-bindings: rtc: use a generic node name for ds1307
  2018-12-03 11:47 [PATCH] dt-bindings: rtc: use a generic node name for ds1307 Lubomir Rintel
@ 2018-12-10 23:35 ` Alexandre Belloni
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Belloni @ 2018-12-10 23:35 UTC (permalink / raw)
  To: Lubomir Rintel
  Cc: Alessandro Zummo, Rob Herring, Mark Rutland, linux-rtc,
	devicetree, linux-kernel

On 03/12/2018 12:47:36+0100, Lubomir Rintel wrote:
> The example should follow the practice or using a generic node name
> instead of the precise programming model, as recommended by the DTSpec.
> 
> Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
> ---
>  Documentation/devicetree/bindings/rtc/rtc-ds1307.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.

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

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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-03 11:47 [PATCH] dt-bindings: rtc: use a generic node name for ds1307 Lubomir Rintel
2018-12-10 23:35 ` Alexandre Belloni

Linux-RTC Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-rtc/0 linux-rtc/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-rtc linux-rtc/ https://lore.kernel.org/linux-rtc \
		linux-rtc@vger.kernel.org linux-rtc@archiver.kernel.org
	public-inbox-index linux-rtc


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-rtc


AGPL code for this site: git clone https://public-inbox.org/ public-inbox