Re: [PATCH v2 1/5] rtc: armada38x: Add the device tree binding documentation

2015-01-15 Thread Gregory CLEMENT
Hi Thomas, On 15/01/2015 09:24, Thomas Petazzoni wrote: Dear Gregory CLEMENT, On Thu, 15 Jan 2015 08:50:07 +0100, Gregory CLEMENT wrote: Any reason to use 0x184A0 0xC instead of 0x184A8 0x4 ? According to the datasheet, there is only this 184A8 register for RTC stuff. Yes but according

Re: [PATCH v2 1/5] rtc: armada38x: Add the device tree binding documentation

2015-01-15 Thread Thomas Petazzoni
Dear Gregory CLEMENT, On Thu, 15 Jan 2015 08:50:07 +0100, Gregory CLEMENT wrote: Any reason to use 0x184A0 0xC instead of 0x184A8 0x4 ? According to the datasheet, there is only this 184A8 register for RTC stuff. Yes but according to the code I saw there were other registers related to

Re: [PATCH v2 1/5] rtc: armada38x: Add the device tree binding documentation

2015-01-14 Thread Thomas Petazzoni
Dear Gregory CLEMENT, On Wed, 14 Jan 2015 18:39:11 +0100, Gregory CLEMENT wrote: +Required properties: +- compatible : Should be marvell,armada-380-rtc +- reg: physical base address of the controller and length of memory + mapped region, associated to the reg-name rtc. The other entry is +

Re: [PATCH v2 1/5] rtc: armada38x: Add the device tree binding documentation

2015-01-14 Thread Gregory CLEMENT
Hi Thomas, On 14/01/2015 20:22, Thomas Petazzoni wrote: Dear Gregory CLEMENT, On Wed, 14 Jan 2015 18:39:11 +0100, Gregory CLEMENT wrote: +Required properties: +- compatible : Should be marvell,armada-380-rtc +- reg: physical base address of the controller and length of memory + mapped

[PATCH v2 1/5] rtc: armada38x: Add the device tree binding documentation

2015-01-14 Thread Gregory CLEMENT
The Armada 38x SoCs come with a new RTC which differs from the one used in the other mvebu SoCs until now. This patch describes the binding of this RTC. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- .../devicetree/bindings/rtc/armada-380-rtc.txt | 22