
19 Mar
2021
19 Mar
'21
5:35 p.m.
On Fri, Mar 19, 2021 at 09:16:23AM -0500, Chris Morgan wrote:
On Fri, Mar 19, 2021 at 01:30:10PM +0000, Mark Brown wrote:
Looking at the MFD driver it seems to already have separate regmap configs per device supported so it shouldn't be too intrusive, just more detailed data for the device - the main difference is that you've explicitly listed all the valid registers whereas the driver didn't bother for anything so far.
I can add them to the regmap for the mfd then. I assume when I tried to reference the MFD's regmap earlier and I got a kernel panic its because I was trying to write to registers that weren't defined?
I'd expect undefined registers to generate errors, not panics.