diff mbox

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

Message ID 1490706638-5782-2-git-send-email-bradleyb@fuzziesquirrel.com
State Accepted, archived
Headers show

Commit Message

Brad Bishop March 28, 2017, 1:10 p.m. UTC
Some OpenBMC systems will be using iio-hwmon so enable it
in our configs.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
---
 arch/arm/configs/aspeed_g4_defconfig | 1 +
 arch/arm/configs/aspeed_g5_defconfig | 1 +
 2 files changed, 2 insertions(+)

Comments

Joel Stanley March 29, 2017, 2:28 a.m. UTC | #1
On Tue, Mar 28, 2017 at 11:40 PM, Brad Bishop
<bradleyb@fuzziesquirrel.com> wrote:
> Some OpenBMC systems will be using iio-hwmon so enable it
> in our configs.
>
> Signed-off-by: Brad Bishop <bradleyb@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
diff mbox

Patch

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