From 7b19c162790d442c27a6a8a5748636e62ebb4b47 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=83=AD=E6=AF=85?= Date: Mon, 24 Mar 2014 22:15:41 +0800 Subject: [PATCH] defconfig: add sensor support p977: fix sensor orientation --- arch/arm/boot/dts/rk3288-p977.dts | 2 +- arch/arm/configs/rockchip_defconfig | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) mode change 100755 => 100644 arch/arm/configs/rockchip_defconfig diff --git a/arch/arm/boot/dts/rk3288-p977.dts b/arch/arm/boot/dts/rk3288-p977.dts index 635f475debf9..667eb5beb0c5 100755 --- a/arch/arm/boot/dts/rk3288-p977.dts +++ b/arch/arm/boot/dts/rk3288-p977.dts @@ -211,7 +211,7 @@ irq-gpio = <&gpio8 GPIO_A0 IRQ_TYPE_LEVEL_LOW>; irq_enable = <1>; poll_delay_ms = <30>; - layout = <1>; + layout = <8>; }; sensor@0d { compatible = "ak8963"; diff --git a/arch/arm/configs/rockchip_defconfig b/arch/arm/configs/rockchip_defconfig old mode 100755 new mode 100644 index e52be7a81187..5a16bd5f25d0 --- a/arch/arm/configs/rockchip_defconfig +++ b/arch/arm/configs/rockchip_defconfig @@ -297,7 +297,12 @@ CONFIG_INPUT_MISC=y CONFIG_INPUT_KEYCHORD=y CONFIG_INPUT_UINPUT=y CONFIG_INPUT_GPIO=y -# CONFIG_SENSOR_DEVICE is not set +# CONFIG_GS_LIS3DH is not set +# CONFIG_GS_MMA7660 is not set +# CONFIG_GS_LSM303D is not set +# CONFIG_COMPASS_DEVICE is not set +# CONFIG_GYROSCOPE_DEVICE is not set +# CONFIG_HALL_DEVICE is not set # CONFIG_SERIO is not set # CONFIG_VT is not set # CONFIG_LEGACY_PTYS is not set -- 2.34.1