Re: [PATCH v2 4/6] clk: stm32f4: Add RTC clock

2016-10-20 Thread Gabriel Fernandez
Hi Stephen, On 10/19/2016 10:45 PM, Stephen Boyd wrote: On 10/14, gabriel.fernan...@st.com wrote: @@ -310,6 +310,15 @@ static inline void enable_power_domain_write_protection(void) regmap_update_bits(pdrm, 0x00, (1 << 8), (0 << 8)); } +static inline void

Re: [PATCH v2 4/6] clk: stm32f4: Add RTC clock

2016-10-20 Thread Gabriel Fernandez
Hi Stephen, On 10/19/2016 10:45 PM, Stephen Boyd wrote: On 10/14, gabriel.fernan...@st.com wrote: @@ -310,6 +310,15 @@ static inline void enable_power_domain_write_protection(void) regmap_update_bits(pdrm, 0x00, (1 << 8), (0 << 8)); } +static inline void

Re: [PATCH v2 4/6] clk: stm32f4: Add RTC clock

2016-10-20 Thread Gabriel Fernandez
Hi Stephen, Thanks for reviewing. Ok for all yours remarks On 10/19/2016 10:45 PM, Stephen Boyd wrote: On 10/14, gabriel.fernan...@st.com wrote: @@ -310,6 +310,15 @@ static inline void enable_power_domain_write_protection(void) regmap_update_bits(pdrm, 0x00, (1 << 8), (0 << 8));

Re: [PATCH v2 4/6] clk: stm32f4: Add RTC clock

2016-10-20 Thread Gabriel Fernandez
Hi Stephen, Thanks for reviewing. Ok for all yours remarks On 10/19/2016 10:45 PM, Stephen Boyd wrote: On 10/14, gabriel.fernan...@st.com wrote: @@ -310,6 +310,15 @@ static inline void enable_power_domain_write_protection(void) regmap_update_bits(pdrm, 0x00, (1 << 8), (0 << 8));

Re: [PATCH v2 4/6] clk: stm32f4: Add RTC clock

2016-10-19 Thread Stephen Boyd
On 10/14, gabriel.fernan...@st.com wrote: > @@ -310,6 +310,15 @@ static inline void > enable_power_domain_write_protection(void) > regmap_update_bits(pdrm, 0x00, (1 << 8), (0 << 8)); > } > > +static inline void sofware_reset_backup_domain(void) > +{ > + unsigned long val; > + > +

Re: [PATCH v2 4/6] clk: stm32f4: Add RTC clock

2016-10-19 Thread Stephen Boyd
On 10/14, gabriel.fernan...@st.com wrote: > @@ -310,6 +310,15 @@ static inline void > enable_power_domain_write_protection(void) > regmap_update_bits(pdrm, 0x00, (1 << 8), (0 << 8)); > } > > +static inline void sofware_reset_backup_domain(void) > +{ > + unsigned long val; > + > +

[PATCH v2 4/6] clk: stm32f4: Add RTC clock

2016-10-14 Thread gabriel.fernandez
From: Gabriel Fernandez This patch introduces the support of the RTC clock. RTC clock can have 3 sources: lsi, lse and hse_rtc. Signed-off-by: Gabriel Fernandez --- drivers/clk/clk-stm32f4.c | 135

[PATCH v2 4/6] clk: stm32f4: Add RTC clock

2016-10-14 Thread gabriel.fernandez
From: Gabriel Fernandez This patch introduces the support of the RTC clock. RTC clock can have 3 sources: lsi, lse and hse_rtc. Signed-off-by: Gabriel Fernandez --- drivers/clk/clk-stm32f4.c | 135 +- 1 file changed, 134 insertions(+), 1 deletion(-)