ARM64: foster: Add camera support
Frank Chen [Tue, 3 Nov 2015 21:48:00 +0000 (13:48 -0800)]
Even Foster does not have built-in cameras
we still need to create power service device
node for SCF in case user plug in an USB camera.

bug 200132491

Change-Id: Ic4f04953d146b9a0312b1fdac808b524bc78abea
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/827218
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

arch/arm64/boot/dts/tegra210-foster-e-p2530-common.dtsi
arch/arm64/boot/dts/tegra210-platforms/tegra210-foster-e-camera.dtsi [new file with mode: 0644]

index 3f8f888..c6c7780 100644 (file)
@@ -31,6 +31,7 @@
 #include "tegra210-platforms/tegra210-pinmux-drive-sdmmc-common.dtsi"
 #include "tegra210-platforms/tegra210-loki-e-comms.dtsi"
 #include "tegra210-platforms/tegra210-foster-e-pwm-fan.dtsi"
+#include "tegra210-platforms/tegra210-foster-e-camera.dtsi"
 #include "tegra210-platforms/tegra210-ers-hdmi-e2190-1100-a00.dtsi"
 #include "tegra210-platforms/tegra210-foster-e-thermal-fan-est.dtsi"
 #include "tegra210-platforms/tegra210-loki-e-keys-p2530-0032-e00.dtsi"
diff --git a/arch/arm64/boot/dts/tegra210-platforms/tegra210-foster-e-camera.dtsi b/arch/arm64/boot/dts/tegra210-platforms/tegra210-foster-e-camera.dtsi
new file mode 100644 (file)
index 0000000..9a9314a
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2015, NVIDIA CORPORATION.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/ {
+       tegra-camera-platform {
+               compatible = "nvidia, tegra-camera-platform";
+       };
+};