Skip to contentSkip to conversation

bindings: rtc: correct wrong reference in required properties

PATCH Applied Akinobu Mita 2 participants 2 messages Feb 7, 2017 – Feb 11, 2017 1 message not in the archive

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

PATCH 1/1 bindings: rtc: correct wrong reference in required properties

There are currently two broken bindings descriptions for RTC:

maxim,ds3231.txt
pcf8563.txt

They broke because of a improper RST documentation conversion with commit 8c27ceff3604b2 ("docs: fix locations of several documents that got moved") and now reference to a non-existing file:

Documentation/devicetree/bindings/i2c/trivial-admin-guide/devices.rst

However, the original reference to i2c/trivial-devices should have never been made in the first place.

This change fixes this issue by replacing with correct descriptions.

Cc Alexandre Belloni <alexandre.belloni-wi1+55ScJUtKEb57/[email protected]>
Cc Heiko Schocher <[email protected]>
Cc Rob Herring <[email protected]>
---
 Documentation/devicetree/bindings/rtc/maxim,ds3231.txt | 3 ++-
 Documentation/devicetree/bindings/rtc/pcf8563.txt      | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/rtc/maxim,ds3231.txt +2 -1
index 1ad4c1c..85be53a 100644
@@ -1,7 +1,8 @@
 * Maxim DS3231 Real Time Clock
 
 Required properties:
-see: Documentation/devicetree/bindings/i2c/trivial-admin-guide/devices.rst
+- compatible: Should contain "maxim,ds3231".
+- reg: I2C address for chip.
 
 Optional property:
 - #clock-cells: Should be 1.
Documentation/devicetree/bindings/rtc/pcf8563.txt +2 -1
index 086c998..36984ac 100644
@@ -3,7 +3,8 @@
 Philips PCF8563/Epson RTC8564 Real Time Clock
 
 Required properties:
-see: Documentation/devicetree/bindings/i2c/trivial-admin-guide/devices.rst
+- compatible: Should contain "nxp,pcf8563".
+- reg: I2C address for chip.
 
 Optional property:
 - #clock-cells: Should be 0.
Signature · 11 lines
2.7.4

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/d/optout.
#2 lore raw
In reply to a message not in the archive
Quoted 21 lines · Akinobu Mita

There are currently two broken bindings descriptions for RTC:

maxim,ds3231.txt
pcf8563.txt

They broke because of a improper RST documentation conversion with commit 8c27ceff3604b2 ("docs: fix locations of several documents that got moved") and now reference to a non-existing file:

Documentation/devicetree/bindings/i2c/trivial-admin-guide/devices.rst

However, the original reference to i2c/trivial-devices should have never been made in the first place.

This change fixes this issue by replacing with correct descriptions.

Cc Alexandre Belloni <alexandre.belloni-wi1+55ScJUtKEb57/[email protected]>
Cc Heiko Schocher <[email protected]>
Cc Rob Herring <[email protected]>
Quoted 5 lines
---
 Documentation/devicetree/bindings/rtc/maxim,ds3231.txt | 3 ++-
 Documentation/devicetree/bindings/rtc/pcf8563.txt      | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

Applied, thanks.

Signature · 13 lines
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/d/optout.