defconfig: add sensor support
author郭毅 <gy@rock-chips.com>
Mon, 24 Mar 2014 14:15:41 +0000 (22:15 +0800)
committer郭毅 <gy@rock-chips.com>
Mon, 24 Mar 2014 14:17:54 +0000 (22:17 +0800)
p977:       fix sensor orientation

arch/arm/boot/dts/rk3288-p977.dts
arch/arm/configs/rockchip_defconfig [changed mode: 0755->0644]

index 635f475debf942042e61a8d64dcb10ffcc2e725d..667eb5beb0c54f4a7df061595ee5a5732f1da176 100755 (executable)
                irq-gpio = <&gpio8 GPIO_A0 IRQ_TYPE_LEVEL_LOW>;
                irq_enable = <1>;
                poll_delay_ms = <30>;
-               layout = <1>;
+               layout = <8>;
        };
        sensor@0d {
                compatible = "ak8963";
old mode 100755 (executable)
new mode 100644 (file)
index e52be7a..5a16bd5
@@ -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