Re: [PATCH 1/5] clocksource: st_lpc: Add LPC timer as a clocksource.

2015-05-02 Thread Peter Griffin
Hi Thomas, On Tue, 21 Apr 2015, Thomas Gleixner wrote: > On Fri, 17 Apr 2015, Peter Griffin wrote: > > +/* Low Power Timer */ > > +#define LPC_LPT_LSB_OFF0x400 > > +#define LPC_LPT_MSB_OFF0x404 > > +#define LPC_LPT_START_OFF 0x408 > > + > > +struct st_lpc { > > +

Re: [PATCH 1/5] clocksource: st_lpc: Add LPC timer as a clocksource.

2015-05-02 Thread Peter Griffin
Hi Thomas, On Tue, 21 Apr 2015, Thomas Gleixner wrote: On Fri, 17 Apr 2015, Peter Griffin wrote: +/* Low Power Timer */ +#define LPC_LPT_LSB_OFF0x400 +#define LPC_LPT_MSB_OFF0x404 +#define LPC_LPT_START_OFF 0x408 + +struct st_lpc { + struct clk *clk; +

Re: [PATCH 1/5] clocksource: st_lpc: Add LPC timer as a clocksource.

2015-04-29 Thread Maxime Coquelin
Hello Thomas, On 04/21/2015 11:56 AM, Thomas Gleixner wrote: On Fri, 17 Apr 2015, Peter Griffin wrote: +/* Low Power Timer */ +#define LPC_LPT_LSB_OFF0x400 +#define LPC_LPT_MSB_OFF0x404 +#define LPC_LPT_START_OFF 0x408 + +struct st_lpc { + struct clk

Re: [PATCH 1/5] clocksource: st_lpc: Add LPC timer as a clocksource.

2015-04-29 Thread Maxime Coquelin
Hello Thomas, On 04/21/2015 11:56 AM, Thomas Gleixner wrote: On Fri, 17 Apr 2015, Peter Griffin wrote: +/* Low Power Timer */ +#define LPC_LPT_LSB_OFF0x400 +#define LPC_LPT_MSB_OFF0x404 +#define LPC_LPT_START_OFF 0x408 + +struct st_lpc { + struct clk

Re: [PATCH 1/5] clocksource: st_lpc: Add LPC timer as a clocksource.

2015-04-21 Thread Thomas Gleixner
On Fri, 17 Apr 2015, Peter Griffin wrote: > +/* Low Power Timer */ > +#define LPC_LPT_LSB_OFF 0x400 > +#define LPC_LPT_MSB_OFF 0x404 > +#define LPC_LPT_START_OFF0x408 > + > +struct st_lpc { > + struct clk *clk; > + void __iomem *iomem_cs; > +}; > + > +static

Re: [PATCH 1/5] clocksource: st_lpc: Add LPC timer as a clocksource.

2015-04-21 Thread Thomas Gleixner
On Fri, 17 Apr 2015, Peter Griffin wrote: +/* Low Power Timer */ +#define LPC_LPT_LSB_OFF 0x400 +#define LPC_LPT_MSB_OFF 0x404 +#define LPC_LPT_START_OFF0x408 + +struct st_lpc { + struct clk *clk; + void __iomem *iomem_cs; +}; + +static struct

Re: [PATCH 1/5] clocksource: st_lpc: Add LPC timer as a clocksource.

2015-04-20 Thread Peter Griffin
Hi Paul, On Fri, 17 Apr 2015, Paul Bolle wrote: > On Fri, 2015-04-17 at 11:50 +0100, Peter Griffin wrote: > > --- a/drivers/clocksource/Kconfig > > +++ b/drivers/clocksource/Kconfig > > > +config CLKSRC_ST_LPC_CLOCK > > + bool > > + depends on ARCH_STI > > + select CLKSRC_OF if OF > > +

Re: [PATCH 1/5] clocksource: st_lpc: Add LPC timer as a clocksource.

2015-04-20 Thread Peter Griffin
Hi Paul, On Fri, 17 Apr 2015, Paul Bolle wrote: On Fri, 2015-04-17 at 11:50 +0100, Peter Griffin wrote: --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig +config CLKSRC_ST_LPC_CLOCK + bool + depends on ARCH_STI + select CLKSRC_OF if OF + help +

Re: [PATCH 1/5] clocksource: st_lpc: Add LPC timer as a clocksource.

2015-04-17 Thread Paul Bolle
On Fri, 2015-04-17 at 11:50 +0100, Peter Griffin wrote: > --- a/drivers/clocksource/Kconfig > +++ b/drivers/clocksource/Kconfig > +config CLKSRC_ST_LPC_CLOCK > + bool > + depends on ARCH_STI > + select CLKSRC_OF if OF > + help > + Enable this option to use the Low Power

[PATCH 1/5] clocksource: st_lpc: Add LPC timer as a clocksource.

2015-04-17 Thread Peter Griffin
This patch adds support for the LPC timer as a clocksource which is found on stih407 family SoCs. We wish to use the LPC timer as a clocksource instead of arm_global_timer, as the latter is tied to CPU frequency, and that driver currently makes no account for frequency scaling. Once this driver

[PATCH 1/5] clocksource: st_lpc: Add LPC timer as a clocksource.

2015-04-17 Thread Peter Griffin
This patch adds support for the LPC timer as a clocksource which is found on stih407 family SoCs. We wish to use the LPC timer as a clocksource instead of arm_global_timer, as the latter is tied to CPU frequency, and that driver currently makes no account for frequency scaling. Once this driver

Re: [PATCH 1/5] clocksource: st_lpc: Add LPC timer as a clocksource.

2015-04-17 Thread Paul Bolle
On Fri, 2015-04-17 at 11:50 +0100, Peter Griffin wrote: --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig +config CLKSRC_ST_LPC_CLOCK + bool + depends on ARCH_STI + select CLKSRC_OF if OF + help + Enable this option to use the Low Power controller