Re: [PATCH v3 6/9] regmap: Allow devices to specify regmap range start and size in config

2020-10-01 Thread Tom Rini
On Thu, Sep 24, 2020 at 10:04:15AM +0530, Pratyush Yadav wrote: > Some devices need to calculate the regmap base address at runtime. This > makes it impossible to use device tree to get the regmap base. Instead, > allow devices to specify it in the regmap config. This will create a > regmap with a

[PATCH v3 6/9] regmap: Allow devices to specify regmap range start and size in config

2020-09-23 Thread Pratyush Yadav
Some devices need to calculate the regmap base address at runtime. This makes it impossible to use device tree to get the regmap base. Instead, allow devices to specify it in the regmap config. This will create a regmap with a single range that corresponds to the start and size given by the driver.