Skip to content

Commit

Permalink
bindings: rtc: correct wrong reference in required properties
Browse files Browse the repository at this point in the history
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 8c27cef ("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.

Reported-by: Wolfram Sang <[email protected]>
Cc: Alexandre Belloni <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Rob Herring <[email protected]>
Signed-off-by: Akinobu Mita <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
  • Loading branch information
mita authored and alexandrebelloni committed Feb 11, 2017
1 parent aaa65a9 commit 6db6bd4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Documentation/devicetree/bindings/rtc/maxim,ds3231.txt
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
3 changes: 2 additions & 1 deletion Documentation/devicetree/bindings/rtc/pcf8563.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6db6bd4

Please sign in to comment.