mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
6db6bd479d
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 8c27ceff36
("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 <wsa@the-dreams.de>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Rob Herring <robh@kernel.org>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
39 lines
817 B
Plaintext
39 lines
817 B
Plaintext
* Maxim DS3231 Real Time Clock
|
|
|
|
Required properties:
|
|
- compatible: Should contain "maxim,ds3231".
|
|
- reg: I2C address for chip.
|
|
|
|
Optional property:
|
|
- #clock-cells: Should be 1.
|
|
- clock-output-names:
|
|
overwrite the default clock names "ds3231_clk_sqw" and "ds3231_clk_32khz".
|
|
|
|
Each clock is assigned an identifier and client nodes can use this identifier
|
|
to specify the clock which they consume. Following indices are allowed:
|
|
- 0: square-wave output on the SQW pin
|
|
- 1: square-wave output on the 32kHz pin
|
|
|
|
- interrupts: rtc alarm/event interrupt. When this property is selected,
|
|
clock on the SQW pin cannot be used.
|
|
|
|
Example:
|
|
|
|
ds3231: ds3231@51 {
|
|
compatible = "maxim,ds3231";
|
|
reg = <0x68>;
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
device1 {
|
|
...
|
|
clocks = <&ds3231 0>;
|
|
...
|
|
};
|
|
|
|
device2 {
|
|
...
|
|
clocks = <&ds3231 1>;
|
|
...
|
|
};
|