Re: [PATCH v2] iio/chemical/bme680: Fix SPI read interface

2019-03-05 Thread Mike Looijmans
On 03-03-19 17:57, Jonathan Cameron wrote: > On Thu, 21 Feb 2019 10:20:49 +0100 > Mike Looijmans wrote: > >> The SPI interface implementation was completely broken. >> >> When using the SPI interface, there are only 7 address bits, the upper bit >> is controlled by a page select register. The cor

Re: [PATCH v2] iio/chemical/bme680: Fix SPI read interface

2019-03-03 Thread Jonathan Cameron
On Thu, 21 Feb 2019 10:20:49 +0100 Mike Looijmans wrote: > The SPI interface implementation was completely broken. > > When using the SPI interface, there are only 7 address bits, the upper bit > is controlled by a page select register. The core needs access to both > ranges, so implement regist

[PATCH v2] iio/chemical/bme680: Fix SPI read interface

2019-02-21 Thread Mike Looijmans
The SPI interface implementation was completely broken. When using the SPI interface, there are only 7 address bits, the upper bit is controlled by a page select register. The core needs access to both ranges, so implement register read/write for both regions. The regmap paging functionality didn'