* [PATCH 1/2] ARM: tegra: enable PINCTRL_PALMAS config
@ 2013-08-21 12:34 Laxman Dewangan
2013-08-21 12:34 ` [PATCH 2/2] ARM: tegra: add Palmas pincontrol to Dalmore device tree Laxman Dewangan
0 siblings, 1 reply; 4+ messages in thread
From: Laxman Dewangan @ 2013-08-21 12:34 UTC (permalink / raw)
To: swarren
Cc: linux, linux-arm-kernel, devicetree, linux-tegra, linux-kernel,
Laxman Dewangan
PALMAS PMIC is used on Dalmore platform. Enable the pincontrol
driver for Palmas to configure pins of Palmas on desired state.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
---
arch/arm/configs/tegra_defconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig
index 8c284ff..e5012dc 100644
--- a/arch/arm/configs/tegra_defconfig
+++ b/arch/arm/configs/tegra_defconfig
@@ -128,6 +128,7 @@ CONFIG_SPI=y
CONFIG_SPI_TEGRA114=y
CONFIG_SPI_TEGRA20_SFLASH=y
CONFIG_SPI_TEGRA20_SLINK=y
+CONFIG_PINCTRL_PALMAS=y
CONFIG_GPIO_PCA953X_IRQ=y
CONFIG_GPIO_PALMAS=y
CONFIG_GPIO_TPS6586X=y
--
1.7.1.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] ARM: tegra: add Palmas pincontrol to Dalmore device tree
2013-08-21 12:34 [PATCH 1/2] ARM: tegra: enable PINCTRL_PALMAS config Laxman Dewangan
@ 2013-08-21 12:34 ` Laxman Dewangan
[not found] ` <1377088461-9499-2-git-send-email-ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Laxman Dewangan @ 2013-08-21 12:34 UTC (permalink / raw)
To: swarren
Cc: linux, linux-arm-kernel, devicetree, linux-tegra, linux-kernel,
Laxman Dewangan
Add Palmas pincontrol to Dalmore device tree and make following
configuration as default:
- Disable DVFS1 and DVFS2.
- Set GPIO6 to gpio mode.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
---
arch/arm/boot/dts/tegra114-dalmore.dts | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts
index 45056a2..44413dd 100644
--- a/arch/arm/boot/dts/tegra114-dalmore.dts
+++ b/arch/arm/boot/dts/tegra114-dalmore.dts
@@ -1009,6 +1009,19 @@
interrupt-parent = <&palmas>;
interrupts = <8 0>;
};
+
+ palmas_pinctrl {
+ compatible = "ti,tps65913-pinctrl";
+ pinctrl-names = "default";
+ pinctrl-0 = <&palmas_default>;
+
+ palmas_default: palams_pinctrl {
+ pin_gpio6 {
+ pins = "gpio6";
+ function = "gpio";
+ };
+ };
+ };
};
};
--
1.7.1.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-08-22 6:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-21 12:34 [PATCH 1/2] ARM: tegra: enable PINCTRL_PALMAS config Laxman Dewangan
2013-08-21 12:34 ` [PATCH 2/2] ARM: tegra: add Palmas pincontrol to Dalmore device tree Laxman Dewangan
[not found] ` <1377088461-9499-2-git-send-email-ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-08-21 17:29 ` Stephen Warren
[not found] ` <5214F8FD.3070003-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-08-22 6:16 ` Laxman Dewangan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox