From: 郭毅 Date: Mon, 24 Mar 2014 14:15:41 +0000 (+0800) Subject: defconfig: add sensor support X-Git-Tag: firefly_0821_release~5864 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7b19c162790d442c27a6a8a5748636e62ebb4b47;p=firefly-linux-kernel-4.4.55.git defconfig: add sensor support p977: fix sensor orientation --- 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