* [PATCH 1/3] arm: dts: introduce config HAS_BANDGAP
[not found] <1366230574-31547-1-git-send-email-eduardo.valentin@ti.com>
@ 2013-04-17 20:29 ` Eduardo Valentin
2013-04-17 20:29 ` [PATCH 2/3] arm: dts: add bandgap entry for OMAP443x devices Eduardo Valentin
2013-04-17 20:29 ` [PATCH 3/3] arm: add bandgap entry for OMAP4460 devices Eduardo Valentin
2 siblings, 0 replies; 3+ messages in thread
From: Eduardo Valentin @ 2013-04-17 20:29 UTC (permalink / raw)
To: linux-arm-kernel
Introduce HAS_BANDGAP config entry. This config is a
boolean value so that arch code can flag is they
feature a bandgap device.
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Tony Lindgren <tony@atomide.com>
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-omap at vger.kernel.org
Cc: linux-kernel at vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
arch/arm/Kconfig | 3 +++
arch/arm/mach-omap2/Kconfig | 1 +
2 files changed, 4 insertions(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index abf4467..04abc7c 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -179,6 +179,9 @@ config ARCH_HAS_CPUFREQ
and that the relevant menu configurations are displayed for
it.
+config ARCH_HAS_BANDGAP
+ bool
+
config GENERIC_HWEIGHT
bool
default y
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index 9ef5e9e..c36b0e7 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -4,6 +4,7 @@ config ARCH_OMAP
config ARCH_OMAP2PLUS
bool "TI OMAP2/3/4/5 SoCs with device tree support" if (ARCH_MULTI_V6 || ARCH_MULTI_V7)
select ARCH_HAS_CPUFREQ
+ select ARCH_HAS_BANDGAP
select ARCH_HAS_HOLES_MEMORYMODEL
select ARCH_OMAP
select ARCH_REQUIRE_GPIOLIB
--
1.8.2.1.342.gfa7285d
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/3] arm: dts: add bandgap entry for OMAP443x devices
[not found] <1366230574-31547-1-git-send-email-eduardo.valentin@ti.com>
2013-04-17 20:29 ` [PATCH 1/3] arm: dts: introduce config HAS_BANDGAP Eduardo Valentin
@ 2013-04-17 20:29 ` Eduardo Valentin
2013-04-17 20:29 ` [PATCH 3/3] arm: add bandgap entry for OMAP4460 devices Eduardo Valentin
2 siblings, 0 replies; 3+ messages in thread
From: Eduardo Valentin @ 2013-04-17 20:29 UTC (permalink / raw)
To: linux-arm-kernel
This patch add the bandgap entry for OMAP4430 devices.
Cc: "Beno?t Cousson" <b-cousson@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: linux-omap at vger.kernel.org
Cc: devicetree-discuss at lists.ozlabs.org
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
arch/arm/boot/dts/omap443x.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/omap443x.dtsi b/arch/arm/boot/dts/omap443x.dtsi
index cccf39a..8d6c968 100644
--- a/arch/arm/boot/dts/omap443x.dtsi
+++ b/arch/arm/boot/dts/omap443x.dtsi
@@ -24,4 +24,8 @@
clock-latency = <300000>; /* From legacy driver */
};
};
+ bandgap {
+ reg = <0x4a002260 0x4 0x4a00232C 0x4>;
+ compatible = "ti,omap4430-bandgap";
+ };
};
--
1.8.2.1.342.gfa7285d
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 3/3] arm: add bandgap entry for OMAP4460 devices
[not found] <1366230574-31547-1-git-send-email-eduardo.valentin@ti.com>
2013-04-17 20:29 ` [PATCH 1/3] arm: dts: introduce config HAS_BANDGAP Eduardo Valentin
2013-04-17 20:29 ` [PATCH 2/3] arm: dts: add bandgap entry for OMAP443x devices Eduardo Valentin
@ 2013-04-17 20:29 ` Eduardo Valentin
2 siblings, 0 replies; 3+ messages in thread
From: Eduardo Valentin @ 2013-04-17 20:29 UTC (permalink / raw)
To: linux-arm-kernel
Include bandgap devices for OMAP4460 devices.
Cc: "Beno?t Cousson" <b-cousson@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: linux-omap at vger.kernel.org
Cc: devicetree-discuss at lists.ozlabs.org
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
arch/arm/boot/dts/omap4460.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/omap4460.dtsi b/arch/arm/boot/dts/omap4460.dtsi
index 7c2c23c..3808b5c 100644
--- a/arch/arm/boot/dts/omap4460.dtsi
+++ b/arch/arm/boot/dts/omap4460.dtsi
@@ -29,4 +29,13 @@
<0 55 0x4>;
ti,hwmods = "debugss";
};
+
+ bandgap {
+ reg = <0x4a002260 0x4
+ 0x4a00232C 0x4
+ 0x4a002378 0x18>;
+ compatible = "ti,omap4460-bandgap";
+ interrupts = <0 126 4>; /* talert */
+ ti,tshut-gpio = <86>;
+ };
};
--
1.8.2.1.342.gfa7285d
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-04-17 20:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1366230574-31547-1-git-send-email-eduardo.valentin@ti.com>
2013-04-17 20:29 ` [PATCH 1/3] arm: dts: introduce config HAS_BANDGAP Eduardo Valentin
2013-04-17 20:29 ` [PATCH 2/3] arm: dts: add bandgap entry for OMAP443x devices Eduardo Valentin
2013-04-17 20:29 ` [PATCH 3/3] arm: add bandgap entry for OMAP4460 devices Eduardo Valentin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).