Staging
v0.7.0
https://github.com/torvalds/linux
Raw File
Tip revision: 30a7acd573899fd8b8ac39236eff6468b195ac7d authored by Linus Torvalds on 31 December 2017, 22:47:43 UTC
Linux 4.15-rc6
Tip revision: 30a7acd
haoyu,hym8563.txt
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>;
...
};
back to top