Re: [RFC][PATCH] regmap: Drop CONFIG_64BIT checks from core

2019-06-26 Thread Mark Brown
On Wed, Jun 26, 2019 at 01:20:17PM +0200, Marek Vasut wrote: > On 6/26/19 1:15 PM, Mark Brown wrote: > > registers was that we use unsigned long for > > addresses and values and a 64 bit value won't fit in those on a 32 bit > > system. Some of the bulk APIs will work but things like individual >

Re: [RFC][PATCH] regmap: Drop CONFIG_64BIT checks from core

2019-06-26 Thread Marek Vasut
On 6/26/19 1:15 PM, Mark Brown wrote: > On Wed, Jun 26, 2019 at 01:31:16AM +0200, Marek Vasut wrote: >> Drop the CONFIG_64BIT checks from core regmap code, as it is well >> possible to access e.g. an SPI device with 64bit registers from a >> 32bit CPU. The CONFIG_64BIT checks are still left in

Re: [RFC][PATCH] regmap: Drop CONFIG_64BIT checks from core

2019-06-26 Thread Mark Brown
On Wed, Jun 26, 2019 at 01:31:16AM +0200, Marek Vasut wrote: > Drop the CONFIG_64BIT checks from core regmap code, as it is well > possible to access e.g. an SPI device with 64bit registers from a > 32bit CPU. The CONFIG_64BIT checks are still left in place in the > regmap mmio code however. The

[RFC][PATCH] regmap: Drop CONFIG_64BIT checks from core

2019-06-25 Thread Marek Vasut
Drop the CONFIG_64BIT checks from core regmap code, as it is well possible to access e.g. an SPI device with 64bit registers from a 32bit CPU. The CONFIG_64BIT checks are still left in place in the regmap mmio code however. Signed-off-by: Marek Vasut Cc: Rafael J. Wysocki Cc: Mark Brown ---