MPU-3050 defconfig updates
Subsystems (2)
cover MPU-3050 defconfig updates
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
arch/arm/configs/multi_v7_defconfig | 4 +++- arch/arm/configs/pxa_defconfig | 1 - arch/arm/configs/tegra_defconfig | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-)
Signature · 1 line
2.9.3
PATCH 1/3 ARM: defconfig: replace MPU3050 driver on multi_v7
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.
--- arch/arm/configs/multi_v7_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
arch/arm/configs/multi_v7_defconfig +3 -1
@@ -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
Signature · 1 line
2.9.3
PATCH 2/3 ARM: defconfig: tegra: switch to MPU3050 IIO driver
In reply to Linus WalleijThe Tegra is currently configured to use the old input driver for the MPU-3050. Switch to the new IIO driver.
--- arch/arm/configs/tegra_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/configs/tegra_defconfig +1 -1
@@ -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
Signature · 1 line
2.9.3
PATCH 3/3 ARM: defconfig: pxa: cut MPU3050 input driver
In reply to Linus WalleijThe 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.
--- arch/arm/configs/pxa_defconfig | 1 - 1 file changed, 1 deletion(-)
arch/arm/configs/pxa_defconfig +0 -1
@@ -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
Signature · 1 line
2.9.3
Olof Johansson
Appliedcover MPU-3050 defconfig updates
In reply to Linus WalleijQuoted 10 lines · Linus Walleij
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 onmulti_v7
ARM: defconfig: tegra: switch to MPU3050 IIO driver
ARM: defconfig: pxa: cut MPU3050 input driver
Applied to next/defconfig. Thanks!
-Olof