ARM: config: Enable Android Sync on Linux
Naveen Kumar S [Fri, 6 Mar 2015 09:58:55 +0000 (14:58 +0530)]
Currently Android sync framework is used only in Android side,
however, it provides a generic synchronization framework that
can be used also in Linux.

This patch enables Android Sync framework on T124, T132 and T210
on Linux.

Bug 1601262

Change-Id: I46530a9b1b2245c0ddf8f7bc52b28af247350e14
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/677655
(cherry picked from commit 5998cc1d0d861986e34a74787650a79f3b1cd999)
Reviewed-on: http://git-master/r/714740
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>

arch/arm/configs/tegra12_defconfig
arch/arm64/configs/tegra13_defconfig

index 6eda4c4..7ea0f92 100644 (file)
@@ -363,7 +363,6 @@ CONFIG_VIDEO_OUTPUT_CONTROL=y
 CONFIG_FB=y
 CONFIG_TEGRA_GRHOST=y
 CONFIG_TEGRA_GRHOST_VI=m
-# CONFIG_TEGRA_GRHOST_SYNC is not set
 CONFIG_TEGRA_DC=y
 CONFIG_TEGRA_DSI=y
 CONFIG_TEGRA_DSI2EDP_SN65DSI86=y
@@ -508,6 +507,9 @@ CONFIG_SENSORS_JSA1127=y
 CONFIG_INA219=y
 CONFIG_INA230=y
 CONFIG_INA3221=y
+CONFIG_SYNC=y
+CONFIG_SW_SYNC=y
+CONFIG_SW_SYNC_USER=y
 CONFIG_TEGRA_MC_DOMAINS=y
 CONFIG_CLK_PALMAS=y
 CONFIG_CLK_AS3722=y
index 75d5dd0..ddc1ed9 100644 (file)
@@ -347,7 +347,6 @@ CONFIG_VIDEO_TEGRA=m
 CONFIG_FB=y
 CONFIG_TEGRA_GRHOST=y
 CONFIG_TEGRA_GRHOST_VI=m
-# CONFIG_TEGRA_GRHOST_SYNC is not set
 CONFIG_TEGRA_DC=y
 CONFIG_TEGRA_DSI=y
 CONFIG_TEGRA_DSI2EDP_SN65DSI86=y
@@ -497,6 +496,9 @@ CONFIG_SENSORS_CM3217=y
 CONFIG_INA219=y
 CONFIG_INA230=y
 CONFIG_INA3221=y
+CONFIG_SYNC=y
+CONFIG_SW_SYNC=y
+CONFIG_SW_SYNC_USER=y
 CONFIG_CLK_PALMAS=y
 CONFIG_CLK_AS3722=y
 CONFIG_TEGRA_IOMMU_SMMU=y