mirror of
https://github.com/torvalds/linux.git
synced 2024-12-19 01:23:20 +00:00
4be1f6bbd1
Sometimes the irq line is not connected to any soc-pin. This does not hinder basic timekeeping functionality of the rtc, so probe should not fail in this case. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
31 lines
565 B
Plaintext
31 lines
565 B
Plaintext
Haoyu Microelectronics HYM8563 Real Time Clock
|
|
|
|
The HYM8563 provides basic rtc and alarm functionality
|
|
as well as a clock output of up to 32kHz.
|
|
|
|
Required properties:
|
|
- compatible: should be: "haoyu,hym8563"
|
|
- reg: i2c address
|
|
- #clock-cells: the value should be 0
|
|
|
|
Optional properties:
|
|
- clock-output-names: From common clock binding
|
|
- interrupts: rtc alarm/event interrupt
|
|
|
|
Example:
|
|
|
|
hym8563: hym8563@51 {
|
|
compatible = "haoyu,hym8563";
|
|
reg = <0x51>;
|
|
|
|
interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
|
|
|
|
#clock-cells = <0>;
|
|
};
|
|
|
|
device {
|
|
...
|
|
clocks = <&hym8563>;
|
|
...
|
|
};
|