[PATCH v3 01/12] misc: add driver for sequencer serial port

2010-10-26 Thread Cyril Chemparathy
TI's sequencer serial port (TI-SSP) is a jack-of-all-trades type of serial port device. It has a built-in programmable execution engine that can be programmed to operate as almost any serial bus (I2C, SPI, EasyScale, and others). This patch adds a driver for this controller device. The driver do

Re: [PATCH v3 01/12] misc: add driver for sequencer serial port

2010-10-26 Thread Andrew Morton
On Thu, 21 Oct 2010 17:01:02 -0400 Cyril Chemparathy wrote: > TI's sequencer serial port (TI-SSP) is a jack-of-all-trades type of serial > port > device. It has a built-in programmable execution engine that can be > programmed > to operate as almost any serial bus (I2C, SPI, EasyScale, and oth

Re: [PATCH v3 01/12] misc: add driver for sequencer serial port

2010-10-26 Thread Arnd Bergmann
On Friday 22 October 2010 14:39:33 Cyril Chemparathy wrote: > >> +/* Register Access Helpers */ > >> +static inline u32 ssp_read(struct ti_ssp *ssp, int reg) > >> +{ > >> +return __raw_readl(ssp->regs + reg); > >> +} > >> + > >> +static inline void ssp_write(struct ti_ssp *ssp, int reg, u32 val

Re: [PATCH v3 01/12] misc: add driver for sequencer serial port

2010-10-26 Thread Cyril Chemparathy
On 10/21/2010 07:12 PM, Andrew Morton wrote: > > ... > >> +/* Register Access Helpers */ >> +static inline u32 ssp_read(struct ti_ssp *ssp, int reg) >> +{ >> +return __raw_readl(ssp->regs + reg); >> +} >> + >> +static inline void ssp_write(struct ti_ssp *ssp, int reg, u32 val) >> +{ >> +__r

Re: [PATCH v3 01/12] misc: add driver for sequencer serial port

2010-10-26 Thread Alan Cox
On Thu, 21 Oct 2010 17:01:02 -0400 Cyril Chemparathy wrote: > TI's sequencer serial port (TI-SSP) is a jack-of-all-trades type of serial > port > device. It has a built-in programmable execution engine that can be > programmed > to operate as almost any serial bus (I2C, SPI, EasyScale, and oth

Re: [PATCH v3 01/12] misc: add driver for sequencer serial port

2010-10-26 Thread Cyril Chemparathy
On 10/22/2010 10:20 AM, Alan Cox wrote: > On Thu, 21 Oct 2010 17:01:02 -0400 > Cyril Chemparathy wrote: > >> TI's sequencer serial port (TI-SSP) is a jack-of-all-trades type of serial >> port >> device. It has a built-in programmable execution engine that can be >> programmed >> to operate as

Re: [PATCH v3 01/12] misc: add driver for sequencer serial port

2010-10-26 Thread Cyril Chemparathy
On 10/22/2010 08:48 AM, Arnd Bergmann wrote: > On Friday 22 October 2010 14:39:33 Cyril Chemparathy wrote: +/* Register Access Helpers */ +static inline u32 ssp_read(struct ti_ssp *ssp, int reg) +{ +return __raw_readl(ssp->regs + reg); +} + +static inline void

Re: [PATCH v3 01/12] misc: add driver for sequencer serial port

2010-10-26 Thread Russell King - ARM Linux
On Fri, Oct 22, 2010 at 03:33:43PM -0400, Cyril Chemparathy wrote: > On 10/22/2010 08:48 AM, Arnd Bergmann wrote: > > On Friday 22 October 2010 14:39:33 Cyril Chemparathy wrote: > +/* Register Access Helpers */ > +static inline u32 ssp_read(struct ti_ssp *ssp, int reg) > +{ > +