[opensuse-kernel] [PATCH] config: armv7hl/arm64: Enable TI INA2xx current/voltage sensors
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> --- The I2C connected TI INA219 can be found on a lot of small breakout boards, e.g. from Adafruit and would be nice to have supported. config/arm64/default | 2 +- config/armv7hl/default | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/arm64/default b/config/arm64/default index b56082ebb8..35c7e6ae69 100644 --- a/config/arm64/default +++ b/config/arm64/default @@ -7024,7 +7024,7 @@ CONFIG_ENVELOPE_DETECTOR=m # CONFIG_EXYNOS_ADC is not set CONFIG_HI8435=m CONFIG_HX711=m -# CONFIG_INA2XX_ADC is not set +CONFIG_INA2XX_ADC=m CONFIG_LTC2485=m # CONFIG_MAX1027 is not set CONFIG_MAX11100=m diff --git a/config/armv7hl/default b/config/armv7hl/default index fa6a252063..287a37b11d 100644 --- a/config/armv7hl/default +++ b/config/armv7hl/default @@ -7747,7 +7747,7 @@ CONFIG_DA9150_GPADC=m CONFIG_ENVELOPE_DETECTOR=m CONFIG_EXYNOS_ADC=m CONFIG_HI8435=m -# CONFIG_INA2XX_ADC is not set +CONFIG_INA2XX_ADC=m # CONFIG_IMX7D_ADC is not set CONFIG_LP8788_ADC=m CONFIG_LTC2485=m -- 2.12.0 -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Fri, 07 Apr 2017 03:05:25 +0200, Stefan Brüns wrote:
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> --- The I2C connected TI INA219 can be found on a lot of small breakout boards, e.g. from Adafruit and would be nice to have supported.
In general, it's better to make clear which kernel is targeted to. thanks, Takashi
config/arm64/default | 2 +- config/armv7hl/default | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/config/arm64/default b/config/arm64/default index b56082ebb8..35c7e6ae69 100644 --- a/config/arm64/default +++ b/config/arm64/default @@ -7024,7 +7024,7 @@ CONFIG_ENVELOPE_DETECTOR=m # CONFIG_EXYNOS_ADC is not set CONFIG_HI8435=m CONFIG_HX711=m -# CONFIG_INA2XX_ADC is not set +CONFIG_INA2XX_ADC=m CONFIG_LTC2485=m # CONFIG_MAX1027 is not set CONFIG_MAX11100=m diff --git a/config/armv7hl/default b/config/armv7hl/default index fa6a252063..287a37b11d 100644 --- a/config/armv7hl/default +++ b/config/armv7hl/default @@ -7747,7 +7747,7 @@ CONFIG_DA9150_GPADC=m CONFIG_ENVELOPE_DETECTOR=m CONFIG_EXYNOS_ADC=m CONFIG_HI8435=m -# CONFIG_INA2XX_ADC is not set +CONFIG_INA2XX_ADC=m # CONFIG_IMX7D_ADC is not set CONFIG_LP8788_ADC=m CONFIG_LTC2485=m -- 2.12.0
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Am 08.04.2017 um 11:32 schrieb Takashi Iwai:
On Fri, 07 Apr 2017 03:05:25 +0200, Stefan Brüns wrote:
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> --- The I2C connected TI INA219 can be found on a lot of small breakout boards, e.g. from Adafruit and would be nice to have supported.
In general, it's better to make clear which kernel is targeted to.
It was based on the half-updated master branch. I've rebased it onto my updates.
config/arm64/default | 2 +- config/armv7hl/default | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
armv7hl lpae and armv6hl were missing - added.
diff --git a/config/arm64/default b/config/arm64/default index b56082ebb8..35c7e6ae69 100644 --- a/config/arm64/default +++ b/config/arm64/default @@ -7024,7 +7024,7 @@ CONFIG_ENVELOPE_DETECTOR=m # CONFIG_EXYNOS_ADC is not set CONFIG_HI8435=m CONFIG_HX711=m -# CONFIG_INA2XX_ADC is not set +CONFIG_INA2XX_ADC=m
INA2XX_ADC is documented to be exclusive with SENSORS_INA2XX, so I've disabled the latter (also for armv6hl), which now differs from the other architectures. At least the ARM configs are consistent now.
CONFIG_LTC2485=m # CONFIG_MAX1027 is not set CONFIG_MAX11100=m [snip]
Patch queued along with the remaining 4.11 updates. Thanks! I usually enable all new I2C/SPI sensors as modules, but I noticed there's more armv7hl ADC IIO drivers missing. Patch queued for IMX7D_ADC. Further cleanup patches appreciated. Another issue I need to look into is that linux-tools has a build regression for Kernel:HEAD due to some IIO_GRAVITY constant: https://build.opensuse.org/package/show/devel:tools/linux-tools In addition to iio-tools I had packaged libiio and just enabled ARM builds: https://build.opensuse.org/package/show/hardware/libiio Neither package is included in Factory at this time. Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (3)
-
Andreas Färber
-
Stefan Brüns
-
Takashi Iwai