Re: [PATCH v2 1/5] regmap: Add FSI bus support

From: Eddie James
Date: Thu Nov 03 2022 - 11:00:11 EST



On 11/3/22 09:54, Mark Brown wrote:
On Wed, Nov 02, 2022 at 03:51:44PM -0500, Eddie James wrote:
Add regmap support for the FSI bus.

Signed-off-by: Eddie James <eajames@xxxxxxxxxxxxx>
---
drivers/base/regmap/Kconfig | 6 +-
drivers/base/regmap/Makefile | 1 +
drivers/base/regmap/regmap-fsi.c | 231 +++++++++++++++++++++++++++++++
include/linux/regmap.h | 37 +++++
I thought the plan was to put this in the MFD since that's the only
user?


For the I2C responder regmap, yes, that's what I've done. The FSI regmap could be used anywhere in the future. We could switch a number of drivers to use the FSI regmap if desired, so I feel it's worth it to put it in the regmap properly.


Thanks,

Eddie