RE: [PATCH v2 2/3] clocksource: tegra: Define timer bases in header file

2014-02-05 Thread Andrew Chew
> > +/* Tegra 20 timers */ > > +#define TEGRA20_TIMER1_BASE0x0 > > +#define TEGRA20_TIMER2_BASE0x8 > > +#define TEGRA20_TIMER3_BASE0x50 > > +#define TEGRA20_TIMER4_BASE0x58 > > + > > +/* Tegra 30 timers */ > > +#define TEGRA30_TIMER1_BASETEGRA20_TIMER1_BASE

Re: [PATCH v2 2/3] clocksource: tegra: Define timer bases in header file

2014-02-05 Thread Stephen Warren
On 02/03/2014 05:17 PM, Andrew Chew wrote: > Added timers that are present in tegra30 and later, that are NOT in tegra20. > > Also, some of these timer bases are needed in the tegra watchdog driver, so > separate them out into a header file that both the clocksource driver and > the watchdog

Re: [PATCH v2 2/3] clocksource: tegra: Define timer bases in header file

2014-02-05 Thread Stephen Warren
On 02/03/2014 05:17 PM, Andrew Chew wrote: Added timers that are present in tegra30 and later, that are NOT in tegra20. Also, some of these timer bases are needed in the tegra watchdog driver, so separate them out into a header file that both the clocksource driver and the watchdog driver

RE: [PATCH v2 2/3] clocksource: tegra: Define timer bases in header file

2014-02-05 Thread Andrew Chew
+/* Tegra 20 timers */ +#define TEGRA20_TIMER1_BASE0x0 +#define TEGRA20_TIMER2_BASE0x8 +#define TEGRA20_TIMER3_BASE0x50 +#define TEGRA20_TIMER4_BASE0x58 + +/* Tegra 30 timers */ +#define TEGRA30_TIMER1_BASETEGRA20_TIMER1_BASE +#define

RE: [PATCH v2 2/3] clocksource: tegra: Define timer bases in header file

2014-02-04 Thread Andrew Chew
..@chromium.org; > kati...@chromium.org > Cc: linux-kernel@vger.kernel.org; linux-te...@vger.kernel.org; linux- > watch...@vger.kernel.org; linux-...@vger.kernel.org > Subject: Re: [PATCH v2 2/3] clocksource: tegra: Define timer bases in header > file > > On 02/04/2014 01

RE: [PATCH v2 2/3] clocksource: tegra: Define timer bases in header file

2014-02-04 Thread Andrew Chew
; kati...@chromium.org Cc: linux-kernel@vger.kernel.org; linux-te...@vger.kernel.org; linux- watch...@vger.kernel.org; linux-...@vger.kernel.org Subject: Re: [PATCH v2 2/3] clocksource: tegra: Define timer bases in header file On 02/04/2014 01:17 AM, Andrew Chew wrote: Added timers

Re: [PATCH v2 2/3] clocksource: tegra: Define timer bases in header file

2014-02-03 Thread Daniel Lezcano
On 02/04/2014 01:17 AM, Andrew Chew wrote: Added timers that are present in tegra30 and later, that are NOT in tegra20. Also, some of these timer bases are needed in the tegra watchdog driver, so separate them out into a header file that both the clocksource driver and the watchdog driver can

[PATCH v2 2/3] clocksource: tegra: Define timer bases in header file

2014-02-03 Thread Andrew Chew
Added timers that are present in tegra30 and later, that are NOT in tegra20. Also, some of these timer bases are needed in the tegra watchdog driver, so separate them out into a header file that both the clocksource driver and the watchdog driver can share them. Signed-off-by: Andrew Chew ---

[PATCH v2 2/3] clocksource: tegra: Define timer bases in header file

2014-02-03 Thread Andrew Chew
Added timers that are present in tegra30 and later, that are NOT in tegra20. Also, some of these timer bases are needed in the tegra watchdog driver, so separate them out into a header file that both the clocksource driver and the watchdog driver can share them. Signed-off-by: Andrew Chew

Re: [PATCH v2 2/3] clocksource: tegra: Define timer bases in header file

2014-02-03 Thread Daniel Lezcano
On 02/04/2014 01:17 AM, Andrew Chew wrote: Added timers that are present in tegra30 and later, that are NOT in tegra20. Also, some of these timer bases are needed in the tegra watchdog driver, so separate them out into a header file that both the clocksource driver and the watchdog driver can