Skip to content

drivers/hwmon/pmbus: Enable PMBUS and SENSORS_PMBUS as modules

Back in 55290d2f ("hwmon: Explicitly unset PMBUS") we did unset CONFIG_PMBUS:

    hwmon: Explicitly unset PMBUS
    
    SENSORS_PMBUS now depends on PMBUS, which is unset by default.  We
    previously enabled SENSORS_PMBUS, but none of the specific drivers
    that use it, so there seems little point in keeping it enabled.

First with the move of PMBus drivers to drivers/hwmon/pmbus SENSORS_PMBUS was set to default to y assuming PMBUS is selected.

Later on in upstream commit f2bab3eb ("hwmon: (pmbus) remove CONFIG_EXPERIMENTAL") pmbus was not considered anymore experimental.

So would it be now okay for amd64 to enable both CONFIG_PMBUS and CONFIG_SENSORS_PMBUS as modules.

Edit: Enable it on the top-level config for all architectures since this is a generic driver that would likely have some use on any architecture that enables I²C and hwmon.

Closes: #1103437

Note sure about the fact to make this as well labeled "Backport to 6.12". It is adding HW support so I think this will be ok.

Edited by Salvatore Bonaccorso

Merge request reports

Loading