From: ywj Date: Fri, 4 Apr 2014 03:37:14 +0000 (+0800) Subject: update rk3288-p977.dts for compass orientation X-Git-Tag: firefly_0821_release~5620 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=287dbefa77b1e50f036118c583a4316f9c83f8f8;p=firefly-linux-kernel-4.4.55.git update rk3288-p977.dts for compass orientation --- diff --git a/arch/arm/boot/dts/rk3288-p977.dts b/arch/arm/boot/dts/rk3288-p977.dts index 871c5de0b476..a9a452111292 100755 --- a/arch/arm/boot/dts/rk3288-p977.dts +++ b/arch/arm/boot/dts/rk3288-p977.dts @@ -346,7 +346,7 @@ orientation-y= <0>; orientation-z= <1>; irq-gpio = <&gpio8 GPIO_A0 IRQ_TYPE_LEVEL_LOW>; - mpu-debug = <1>; + mpu-debug = <0>; }; /* ak8963:compass@0d{ @@ -367,11 +367,11 @@ reg = <0x0d>; compass-bus = <0>; compass-adapt_num = <0>; - compass-orientation = <1 0 0 0 1 0 0 0 1>; - orientation-x= <1>; + compass-orientation = <0 1 0 1 0 0 0 0 1>; + orientation-x= <0>; orientation-y= <0>; - orientation-z= <1>; - compass-debug = <1>; + orientation-z= <0>; + compass-debug = <0>; }; };