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

2010-10-22 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) +{ +__raw_writel(val,

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

2010-10-22 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-22 Thread Alan Cox
On Thu, 21 Oct 2010 17:01:02 -0400 Cyril Chemparathy cy...@ti.com 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,

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

2010-10-22 Thread Cyril Chemparathy
On 10/22/2010 10:20 AM, Alan Cox wrote: On Thu, 21 Oct 2010 17:01:02 -0400 Cyril Chemparathy cy...@ti.com 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-22 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 ssp_write(struct ti_ssp

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

2010-10-22 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) +{ +return

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

2010-10-21 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

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

2010-10-21 Thread Andrew Morton
On Thu, 21 Oct 2010 17:01:02 -0400 Cyril Chemparathy cy...@ti.com 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,