ARM: sun4i/sun7i: DT documentation for RTC driver
PATCH v4 1/2 ARM: sun4i/sun7i: DT documentation for RTC driver
Add DT documentation for SUNXI RTC driver
--- Documentation/devicetree/bindings/rtc/sunxi-rtc.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/sunxi-rtc.txt
Documentation/devicetree/bindings/rtc/sunxi-rtc.txt new file +17 -0
@@ -0,0 +1,17 @@ +* sun4i/sun7i Real Time Clock + +RTC controller for the Allwinner A10/A20 + +Required properties: +- compatible : Should be "allwinner,sun4i-rtc" or "allwinner,sun7i-a20-rtc" +- reg: physical base address of the controller and length of memory mapped + region. +- interrupts: IRQ line for the RTC. + +Example: + +rtc: rtc at 01c20d00 { + compatible = "allwinner,sun4i-rtc"; + reg = <0x01c20d00 0x20>; + interrupts = <24>; +};
Signature · 1 line
1.8.4.2
PATCH v4 2/2 ARM: sun4i/sun7i: RTC driver
This patch introduces the driver for the RTC in the Allwinner A10 and A20 SoCs.
--v3->v4:
- several bug fixes
- reworked for cycles
- implemented busy-waiting
- new macro for year offset
- new comments
--- drivers/rtc/Kconfig | 7 + drivers/rtc/Makefile | 1 + drivers/rtc/rtc-sunxi.c | 523 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 531 insertions(+) create mode 100644 drivers/rtc/rtc-sunxi.c
drivers/rtc/Kconfig +7 -0
@@ -1076,6 +1076,13 @@ config RTC_DRV_SUN4V If you say Y here you will get support for the Hypervisor based RTC on SUN4V systems. +config RTC_DRV_SUNXI + tristate "Allwinner sun4i/sun7i RTC" + depends on ARCH_SUNXI + help + If you say Y here you will get support for the RTC found on + Allwinner A10/A20. + config RTC_DRV_STARFIRE bool "Starfire RTC" depends on SPARC64
drivers/rtc/Makefile +1 -0
@@ -115,6 +115,7 @@ obj-$(CONFIG_RTC_DRV_STARFIRE) += rtc-starfire.o obj-$(CONFIG_RTC_DRV_STK17TA8) += rtc-stk17ta8.o obj-$(CONFIG_RTC_DRV_STMP) += rtc-stmp3xxx.o obj-$(CONFIG_RTC_DRV_SUN4V) += rtc-sun4v.o +obj-$(CONFIG_RTC_DRV_SUNXI) += rtc-sunxi.o obj-$(CONFIG_RTC_DRV_TEGRA) += rtc-tegra.o obj-$(CONFIG_RTC_DRV_TEST) += rtc-test.o obj-$(CONFIG_RTC_DRV_TILE) += rtc-tile.o
drivers/rtc/rtc-sunxi.c new file +523 -0
523 lines not on this page · raw message
Signature · 1 line
1.8.4.2
PATCH v4 2/2 ARM: sun4i/sun7i: RTC driver
Quoted 11 lines · Carlo Caione
This patch introduces the driver for the RTC in the Allwinner A10 and A20 SoCs.
Signed-off-by Carlo Caione <[email protected]>--
v3->v4:
- several bug fixes
- reworked for cycles
- implemented busy-waiting
- new macro for year offset
- new comments
Ping?
PATCH v4 2/2 ARM: sun4i/sun7i: RTC driver
Hi Carlo,
Quoted 13 lines · Carlo Caione
Quoted 11 lines · Carlo Caione
This patch introduces the driver for the RTC in the Allwinner A10 and A20 SoCs.
Signed-off-by Carlo Caione <[email protected]>--
v3->v4:
- several bug fixes
- reworked for cycles
- implemented busy-waiting
- new macro for year offset
- new comments
Quoted 1 line
Ping?
I just merged the two patches in the sunxi/drivers-for-3.14 branch.
Thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131220/36291172/attachment.sig>