Revert "Revert "iio: proximity: SAR Stable Setting V1.2.3""
wahsu [Mon, 9 Nov 2015 16:21:15 +0000 (00:21 +0800)]
This reverts commit 607950189dae3f5696b4c1985eae05e7420c66c6.

Change-Id: I56856f155f1d0411ad3632275da3044963d1ff07
Signed-off-by: wahsu <wahsu@nvidia.com>
Reviewed-on: http://git-master/r/830776
GVS: Gerrit_Virtual_Submit
Reviewed-by: Eric Chuang <echuang@nvidia.com>

arch/arm64/boot/dts/tegra210-platforms/tegra210-hawkeye-sensor-p2290-1100-a00.dtsi

index 68aba29..a046402 100644 (file)
                        SAR_proximity_flags = <0>;
                        SAR_touch_flags = <0>;
                        deferred_resume_ms = <3000>;
-                       gpio_sar_dev = "SAR_touch";
                        os_options = <0>;
-                       stream_mode = <2>;
+                       stream_mode = <0>;
+                       gpio_sar_dev_assert = "SAR_proximity";
+                       gpio_sar_dev_deassert = "SAR_proximity";
                        263suspend_0 = [01 0D 01 FF];
                        263suspend_1 = [03 0B 00 0A 0A FF FF FF];
                        263suspend_2 = [01 09 10 FF];
                        263suspend_6 = [03 0A FF FF FF FF FF FF];
                        263suspend_7 = [01 0B 0F FF];
                        263suspend_8 = [FF FF];
-                       263init_0 = [05 09 80 04 10 07 0F FF 04 FF FF FF];
-                       263init_1 = [01 0D 07 FF];
+                       263init_0 = [05 09 80 02 10 07 0F FF 04 FF FF FF];
+                       263init_1 = [01 0D 01 FF];
                        263init_2 = [01 01 00 FF];
-                       263init_3 = [05 07 1D 0A 0C 00 11 FF FF FF FF FF];
+                       263init_3 = [05 07 1D 0A 0C 00 A2 FF FF FF FF FF];
                        263init_4 = [04 08 B2 D9 D8 00 FF FF FF FF];
-                       263init_5 = [08 0A 08 03 03 03 0C 00 64 14 FF FF FF FF FF FF FF FF];
-                       263init_6 = [03 0B 00 A5 B4 FF FF FF];
+                       263init_5 = [08 0A 08 FF FF FF 0C 00 64 14 FF FF FF FF FF FF FF FF];
+                       263init_6 = [03 0B 00 01 7D FF FF FF];
                        263en_prox_0 = [01 09 10 FF];
                        263en_prox_1 = [FF FF];
                        263en_prox_2 = [FF FF];
                        263en_prox_3 = [FF FF];
                        263en_prox_4 = [FF FF];
-                       263en_prox_5 = [02 09 00 54 FF FF];
+                       263en_prox_5 = [02 09 00 C0 FF FF];
                        263en_prox_6 = [FF FF];
                };
        };