arm: dt: tegra: tegratab: apply P1640 compass orientation
David Yu [Mon, 6 May 2013 08:36:51 +0000 (17:36 +0900)]
Bug 1278403
Bug 1281967

Change-Id: Ie97c29c158590e9d6feca71a05feaed6c79b87e5
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/225601
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

arch/arm/boot/dts/tegra114-tegratab.dts

index 57cd450..ecefe13 100644 (file)
                };
 
                /* Compass sensor */
-               akm8963@0d {
+               ak8963c@0d {
                        compatible = "ak,ak8963";
                        reg = <0x0d>;
-                       orientation = [00 01 00 ff 00 00 00 00 01];
+                       orientation = [00 ff 00 ff 00 00 00 00 ff];
                        config = "mpu";
                };
        };