Add support for hym8563 rtcs
From: Heiko Stuebner <heiko@...> Date: Mon, 9 Dec 2013 17:32:06 +0100
This series adds support for the Haoyu Microelectronics HYM8563 rtc. This chip is often used in designs around the Cortex-A9 SoCs from Rockchip to provide rtc functionality and the 32kHz suspend clock the SoC needs. changes since v3: - follow suggestion from Mark Brown to use the interrupt without the gpio changes since v2: - get size for devm_kzalloc from struct not from pointer changes since v1: - add haoyu prefix to vendor-prefixes.txt - use gpio_to_irq to get the alarm interrupt instead of specifying it separately to the gpio itself Heiko Stuebner (2): dt-bindings: add hym8563 binding rtc: add hym8563 rtc-driver .../devicetree/bindings/rtc/haoyu,hym8563.txt | 27 + .../devicetree/bindings/vendor-prefixes.txt | 1 + drivers/rtc/Kconfig | 11 + drivers/rtc/Makefile | 1 + drivers/rtc/rtc-hym8563.c | 601 ++++++++++++++++++++ 5 files changed, 641 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/haoyu,hym8563.txt create mode 100644 drivers/rtc/rtc-hym8563.c -- 1.7.10.4
Patches in this set
Statistics
- 2 individual patches
- 641 lines added
- 0 lines removed