[PATCH v1 1/9] gpio: gxp: Add HPE GXP GPIO

Hawkins, Nick nick.hawkins at hpe.com
Thu Apr 27 07:53:07 PDT 2023




> This is not information which should be reported through a gpio driver.
> Besides, the functions don't exist at this point in the series,
> and there should be no extern declarations in source files.

> If you want to model fan or psu information through gpio, drop
> the hwmon drivers and implement reading the status here, then use
> the existing gpio-fan hwmon driver to report it in the hwmon subsystem.

Thank you for the feedback Guenter,

I see how it is possible to use gpio-fan for the fan. As for the gxp-psu
Hwmon driver can I model the gpio-fan driver to get the necessary
gpio information for power supplies?

-Nick Hawkins


More information about the linux-arm-kernel mailing list