[PATCH linux dev-4.7 1/2] ARM: configs: aspeed: Enable hwmon-iio bridge

Joel Stanley joel at jms.id.au
Wed Mar 29 13:28:00 AEDT 2017


On Tue, Mar 28, 2017 at 11:40 PM, Brad Bishop
<bradleyb at fuzziesquirrel.com> wrote:
> Some OpenBMC systems will be using iio-hwmon so enable it
> in our configs.
>
> Signed-off-by: Brad Bishop <bradleyb at fuzziesquirrel.com>

Looks good. Applied to dev-4.7.

Don't forget that the yocto images have their own version of the
configuration that you will need to update.

Cheers,

Joel

> ---
>  arch/arm/configs/aspeed_g4_defconfig | 1 +
>  arch/arm/configs/aspeed_g5_defconfig | 1 +
>  2 files changed, 2 insertions(+)
>
> diff --git a/arch/arm/configs/aspeed_g4_defconfig b/arch/arm/configs/aspeed_g4_defconfig
> index 45dee41..552297b 100644
> --- a/arch/arm/configs/aspeed_g4_defconfig
> +++ b/arch/arm/configs/aspeed_g4_defconfig
> @@ -127,6 +127,7 @@ CONFIG_I2C_ASPEED=y
>  CONFIG_W1=y
>  CONFIG_W1_MASTER_GPIO=y
>  CONFIG_W1_SLAVE_THERM=y
> +CONFIG_SENSORS_IIO_HWMON=y
>  CONFIG_SENSORS_MAX31785=y
>  CONFIG_SENSORS_LM75=y
>  CONFIG_SENSORS_NCT7904=y
> diff --git a/arch/arm/configs/aspeed_g5_defconfig b/arch/arm/configs/aspeed_g5_defconfig
> index 69d51f2..c5e7295 100644
> --- a/arch/arm/configs/aspeed_g5_defconfig
> +++ b/arch/arm/configs/aspeed_g5_defconfig
> @@ -126,6 +126,7 @@ CONFIG_I2C_ASPEED=y
>  CONFIG_W1=y
>  CONFIG_W1_MASTER_GPIO=y
>  CONFIG_W1_SLAVE_THERM=y
> +CONFIG_SENSORS_IIO_HWMON=y
>  CONFIG_SENSORS_MAX31785=y
>  CONFIG_SENSORS_LM75=y
>  CONFIG_SENSORS_NCT7904=y
> --
> 1.8.3.1


More information about the openbmc mailing list