Re: [PATCH v2 3/6] regmap: Add regmap_pipe_read API

2018-08-02 Thread Mark Brown
On Wed, Aug 01, 2018 at 06:17:47PM +0300, Stefan Popa wrote: > From: Crestez Dan Leonard > > The regmap API usually assumes that bulk read operations will read a > range of registers but some I2C/SPI devices have certain registers for > which a such a read operation will return data from an

Re: [PATCH v2 3/6] regmap: Add regmap_pipe_read API

2018-08-02 Thread Mark Brown
On Wed, Aug 01, 2018 at 06:17:47PM +0300, Stefan Popa wrote: > From: Crestez Dan Leonard > > The regmap API usually assumes that bulk read operations will read a > range of registers but some I2C/SPI devices have certain registers for > which a such a read operation will return data from an

[PATCH v2 3/6] regmap: Add regmap_pipe_read API

2018-08-01 Thread Stefan Popa
From: Crestez Dan Leonard The regmap API usually assumes that bulk read operations will read a range of registers but some I2C/SPI devices have certain registers for which a such a read operation will return data from an internal FIFO instead. Add an explicit API to support bulk read with pipe

[PATCH v2 3/6] regmap: Add regmap_pipe_read API

2018-08-01 Thread Stefan Popa
From: Crestez Dan Leonard The regmap API usually assumes that bulk read operations will read a range of registers but some I2C/SPI devices have certain registers for which a such a read operation will return data from an internal FIFO instead. Add an explicit API to support bulk read with pipe