On 10/8/2021 9:00 PM, Mark Brown wrote:
On Fri, Oct 08, 2021 at 07:37:12PM +0530, Srinivasa Rao Mandadapu wrote:
On 9/28/2021 2:01 PM, Srinivas Kandagatla wrote:
In that case you should probably consider using regmap_register_patch()
for corrections to the default registers in sm8250 case.
As regmap_register_patch() not working in this use case, updating defaults
in probe for sc7280 specific differences.
In what way is regmap_register_patch() not working?
Even after using this API, reg cache is not updating with the latest
default values.
The regmap_register_patch() implementation is bypassing Cache and
writing values to HW.
The requirement for updating previous defaults in cache is not solving
here.
--
Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc.,
is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.