]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
ARM: tegra: dt: Configure PK0 as GPIO input
authorNeil Patel <neilp@nvidia.com>
Thu, 27 Mar 2014 16:32:25 +0000 (12:32 -0400)
committerMrutyunjay Sawant <msawant@nvidia.com>
Fri, 11 Apr 2014 08:58:12 +0000 (01:58 -0700)
PK0 will be used to trigger a SW interrupt rather than an OC
throttling event to soc_therm.

Bug 1468546

Change-Id: I5caf4e6c5bf70fefa5384aa67da0988fbafa92a5
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/387843
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
arch/arm/boot/dts/tegra124-platforms/tegra124-tn8-gpio-e1780-1100-a02.dtsi
arch/arm/boot/dts/tegra124-platforms/tegra124-tn8-gpio-p1761-1470-a00.dtsi
arch/arm/boot/dts/tegra124-platforms/tegra124-tn8-pinmux-e1780-1100-a02.dtsi
arch/arm/boot/dts/tegra124-platforms/tegra124-tn8-pinmux-p1761-1470-a00.dtsi

index cd5fd38cd1e908a7da4b20cabc387bd281472f40..50cd1a28a063cc57ada20b4e1c65bc6d6fb9888e 100644 (file)
@@ -1,3 +1,21 @@
+/*
+ * Copyright (c) 2014, 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, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ */
+
 #include <dt-bindings/gpio/tegra-gpio.h>
 
 / {
@@ -13,6 +31,7 @@
                                        TEGRA_GPIO(I, 5)
                                        TEGRA_GPIO(I, 6)
                                        TEGRA_GPIO(J, 0)
+                                       TEGRA_GPIO(K, 0)
                                        TEGRA_GPIO(K, 2)
                                        TEGRA_GPIO(K, 3)
                                        TEGRA_GPIO(N, 7)
index 186d6c37b207e986817876d3935a985b0498d7f8..f05b36795b91ff9d429daa13171c2ec401850189 100644 (file)
@@ -29,6 +29,7 @@
                                        TEGRA_GPIO(I, 1)
                                        TEGRA_GPIO(I, 6)
                                        TEGRA_GPIO(J, 0)
+                                       TEGRA_GPIO(K, 0)
                                        TEGRA_GPIO(K, 2)
                                        TEGRA_GPIO(K, 5)
                                        TEGRA_GPIO(N, 7)
index ee46bc5f3abc63da86206c41b039378fe7899896..262f6075e60d0f199d8946a79f25b75eb55c9d08 100644 (file)
@@ -1,3 +1,21 @@
+/*
+ * Copyright (c) 2014, 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, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ */
+
 #include <dt-bindings/pinctrl/pinctrl-tegra.h>
 
 / {
 
                        pk0 {
                                nvidia,pins = "pk0";
-                               nvidia,function = "soc";
+                               nvidia,function = "safe";
                                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
                                nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;
index 0a7caa9d505d6679a0dad2cc7a5f037dcf8ee9fe..4455eb1058b74536242d1b6f6456f9240cd4ec58 100644 (file)
@@ -1,3 +1,21 @@
+/*
+ * Copyright (c) 2014, 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, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ */
+
 #include <dt-bindings/pinctrl/pinctrl-tegra.h>
 
 / {
 
                        pk0 {
                                nvidia,pins = "pk0";
-                               nvidia,function = "soc";
+                               nvidia,function = "safe";
                                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
                                nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;