* [PATCH 1/3] ARM: defconfig: replace MPU3050 driver on multi_v7
2016-12-27 12:05 [PATCH 0/3] MPU-3050 defconfig updates Linus Walleij
@ 2016-12-27 12:05 ` Linus Walleij
2016-12-27 12:05 ` [PATCH 2/3] ARM: defconfig: tegra: switch to MPU3050 IIO driver Linus Walleij
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Linus Walleij @ 2016-12-27 12:05 UTC (permalink / raw)
To: linux-arm-kernel
The multi_v7 config enable the MPU3050 gyro input driver, but
there is now a dedicated IIO gyro driver for the same component,
which is the right subsystem to handle this. Replace it in the
defconfig. As we want the full IIO featureset and as other v7
systems will likely enjoy using IIO for their sensor work (such
as the Android-to-IIO userspace HAL), we take this opportunity to
turn on the standard sensor HRtimer triggering.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
arch/arm/configs/multi_v7_defconfig | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index b01a43851294..a4607224289e 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -296,7 +296,6 @@ CONFIG_TOUCHSCREEN_WM97XX=m
CONFIG_INPUT_MISC=y
CONFIG_INPUT_MAX77693_HAPTIC=m
CONFIG_INPUT_MAX8997_HAPTIC=m
-CONFIG_INPUT_MPU3050=y
CONFIG_INPUT_AXP20X_PEK=m
CONFIG_INPUT_ADXL34X=m
CONFIG_SERIO_AMBAKMI=y
@@ -847,15 +846,18 @@ CONFIG_MEMORY=y
CONFIG_EXTCON=y
CONFIG_TI_AEMIF=y
CONFIG_IIO=y
+CONFIG_IIO_SW_TRIGGER=y
CONFIG_AT91_ADC=m
CONFIG_AT91_SAMA5D2_ADC=m
CONFIG_BERLIN2_ADC=m
CONFIG_EXYNOS_ADC=m
CONFIG_VF610_ADC=m
CONFIG_XILINX_XADC=y
+CONFIG_MPU3050_I2C=y
CONFIG_CM36651=m
CONFIG_AK8975=y
CONFIG_RASPBERRYPI_POWER=y
+CONFIG_IIO_HRTIMER_TRIGGER=y
CONFIG_PWM=y
CONFIG_PWM_ATMEL=m
CONFIG_PWM_ATMEL_HLCDC_PWM=m
--
2.9.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/3] ARM: defconfig: tegra: switch to MPU3050 IIO driver
2016-12-27 12:05 [PATCH 0/3] MPU-3050 defconfig updates Linus Walleij
2016-12-27 12:05 ` [PATCH 1/3] ARM: defconfig: replace MPU3050 driver on multi_v7 Linus Walleij
@ 2016-12-27 12:05 ` Linus Walleij
2016-12-27 12:05 ` [PATCH 3/3] ARM: defconfig: pxa: cut MPU3050 input driver Linus Walleij
2017-01-10 3:10 ` [PATCH 0/3] MPU-3050 defconfig updates Olof Johansson
3 siblings, 0 replies; 5+ messages in thread
From: Linus Walleij @ 2016-12-27 12:05 UTC (permalink / raw)
To: linux-arm-kernel
The Tegra is currently configured to use the old input driver for the
MPU-3050. Switch to the new IIO driver.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
arch/arm/configs/tegra_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig
index 844eeef5a509..f0efc854b5a2 100644
--- a/arch/arm/configs/tegra_defconfig
+++ b/arch/arm/configs/tegra_defconfig
@@ -120,7 +120,6 @@ CONFIG_TOUCHSCREEN_WM97XX=y
# CONFIG_TOUCHSCREEN_WM9713 is not set
CONFIG_TOUCHSCREEN_STMPE=y
CONFIG_INPUT_MISC=y
-CONFIG_INPUT_MPU3050=y
# CONFIG_LEGACY_PTYS is not set
# CONFIG_DEVKMEM is not set
CONFIG_SERIAL_8250=y
@@ -263,6 +262,7 @@ CONFIG_ARCH_TEGRA_114_SOC=y
CONFIG_ARCH_TEGRA_124_SOC=y
CONFIG_MEMORY=y
CONFIG_IIO=y
+CONFIG_MPU3050_I2C=y
CONFIG_AK8975=y
CONFIG_PWM=y
CONFIG_PWM_TEGRA=y
--
2.9.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] ARM: defconfig: pxa: cut MPU3050 input driver
2016-12-27 12:05 [PATCH 0/3] MPU-3050 defconfig updates Linus Walleij
2016-12-27 12:05 ` [PATCH 1/3] ARM: defconfig: replace MPU3050 driver on multi_v7 Linus Walleij
2016-12-27 12:05 ` [PATCH 2/3] ARM: defconfig: tegra: switch to MPU3050 IIO driver Linus Walleij
@ 2016-12-27 12:05 ` Linus Walleij
2017-01-10 3:10 ` [PATCH 0/3] MPU-3050 defconfig updates Olof Johansson
3 siblings, 0 replies; 5+ messages in thread
From: Linus Walleij @ 2016-12-27 12:05 UTC (permalink / raw)
To: linux-arm-kernel
The PXA defconfig compiles the legacy MPU3050 driver as a module,
but the device does not appear in device trees nor board files, so
remove this from the defconfig assuming it was a mistake to add it
in the first place.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
arch/arm/configs/pxa_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/configs/pxa_defconfig b/arch/arm/configs/pxa_defconfig
index e4314b1227a3..ce4660c79c7a 100644
--- a/arch/arm/configs/pxa_defconfig
+++ b/arch/arm/configs/pxa_defconfig
@@ -334,7 +334,6 @@ CONFIG_TOUCHSCREEN_TOUCHIT213=m
CONFIG_TOUCHSCREEN_PCAP=m
CONFIG_TOUCHSCREEN_ST1232=m
CONFIG_INPUT_MISC=y
-CONFIG_INPUT_MPU3050=m
CONFIG_INPUT_AXP20X_PEK=m
CONFIG_INPUT_UINPUT=m
CONFIG_INPUT_GPIO_ROTARY_ENCODER=m
--
2.9.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 0/3] MPU-3050 defconfig updates
2016-12-27 12:05 [PATCH 0/3] MPU-3050 defconfig updates Linus Walleij
` (2 preceding siblings ...)
2016-12-27 12:05 ` [PATCH 3/3] ARM: defconfig: pxa: cut MPU3050 input driver Linus Walleij
@ 2017-01-10 3:10 ` Olof Johansson
3 siblings, 0 replies; 5+ messages in thread
From: Olof Johansson @ 2017-01-10 3:10 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Dec 27, 2016 at 01:05:27PM +0100, Linus Walleij wrote:
> Here are three defconfig patches to the ARM SoC tree that replace
> the use of the partial input driver for MPU-3050 with the fully featured
> IIO replacement driver.
>
> Please apply these directly for defconfig updates post-v4.10-rc1.
>
> Linus Walleij (3):
> ARM: defconfig: replace MPU3050 driver on multi_v7
> ARM: defconfig: tegra: switch to MPU3050 IIO driver
> ARM: defconfig: pxa: cut MPU3050 input driver
Applied to next/defconfig. Thanks!
-Olof
^ permalink raw reply [flat|nested] 5+ messages in thread