[PATCH v6 8/9] misc: smpro-misc: Add Ampere's Altra SMpro misc driver
Arnd Bergmann
arnd at arndb.de
Tue Mar 8 00:16:06 AEDT 2022
On Mon, Mar 7, 2022 at 9:32 AM Quan Nguyen <quan at os.amperecomputing.com> wrote:
> > diff --git a/drivers/mfd/smpro-mfd.c b/drivers/mfd/smpro-mfd.c
> > index a7cd64bf9eaa..5611dd30f8f4 100644
> > --- a/drivers/mfd/smpro-mfd.c
> > +++ b/drivers/mfd/smpro-mfd.c
> > @@ -28,6 +28,7 @@ static const struct regmap_config simple_word_regmap_config = {
> > static const struct mfd_cell smpro_devs[] = {
> > MFD_CELL_NAME("smpro-hwmon"),
> > MFD_CELL_NAME("smpro-errmon"),
> > + MFD_CELL_NAME("smpro-misc"),
>
> [Lee Jones]
> Misc is a Linuxisum which are not allowed in DT.
>
> What does this driver actually do?
>
> [Quan]
> This drivers is to report the boot progress to BMC and allow BMC to
> configure the Soc Power Limit of Ampere's Altra family processor.
That doesn't sound like it should be platform specific at all, but rather
a generic BMC interface. I see you already have the openbmc list on Cc,
so I assume the right people can see this. Presumably this is a BMC that
already runs on openbmc and can have a platform-independent interface
for doing this.
Arnd
More information about the openbmc
mailing list