mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 12:14:01 +08:00
68164a73b1
This enables the setting of a custom clock name for the clock provided by the hym8563 rtc. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Mike Turquette <mturquette@linaro.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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
|
|
- interrupts: rtc alarm/event interrupt
|
|
- #clock-cells: the value should be 0
|
|
|
|
Optional properties:
|
|
- clock-output-names: From common clock binding
|
|
|
|
Example:
|
|
|
|
hym8563: hym8563@51 {
|
|
compatible = "haoyu,hym8563";
|
|
reg = <0x51>;
|
|
|
|
interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
|
|
|
|
#clock-cells = <0>;
|
|
};
|
|
|
|
device {
|
|
...
|
|
clocks = <&hym8563>;
|
|
...
|
|
};
|