linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add VTT regulators for DDR3 AMx3xx Boards
@ 2014-05-05 19:58 Dave Gerlach
  2014-05-05 19:58 ` [PATCH 1/2] ARM: dts: am437x-gp-evm: Add vtt_fixed regulator Dave Gerlach
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dave Gerlach @ 2014-05-05 19:58 UTC (permalink / raw)
  To: linux-arm-kernel

The am335x-evmsk and am437x-gp-evm both have a gpio controlled regulator
for DDR3 VTT voltage. This is configured by boot loader and previously
just left at that but it is better to define a fixed regulator to control
the gpio so that the kernel is aware of it.

Previous discussion here [1].

Original am437x-gp-evm patch has been updated to reflect actual voltage
supplied by VTT regulator.

Regards,
Dave

[1] http://marc.info/?l=linux-omap&m=139819277623028&w=2

Dave Gerlach (2):
  ARM: dts: am437x-gp-evm: Add vtt_fixed regulator
  ARM: dts: am335x-evmsk: Add vtt_fixed regulator

 arch/arm/boot/dts/am335x-evmsk.dts  | 11 +++++++++++
 arch/arm/boot/dts/am437x-gp-evm.dts | 11 +++++++++++
 2 files changed, 22 insertions(+)

-- 
1.9.0

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] ARM: dts: am437x-gp-evm: Add vtt_fixed regulator
  2014-05-05 19:58 [PATCH 0/2] Add VTT regulators for DDR3 AMx3xx Boards Dave Gerlach
@ 2014-05-05 19:58 ` Dave Gerlach
  2014-05-05 19:58 ` [PATCH 2/2] ARM: dts: am335x-evmsk: " Dave Gerlach
  2014-05-06 16:50 ` [PATCH 0/2] Add VTT regulators for DDR3 AMx3xx Boards Tony Lindgren
  2 siblings, 0 replies; 4+ messages in thread
From: Dave Gerlach @ 2014-05-05 19:58 UTC (permalink / raw)
  To: linux-arm-kernel

The VTT regulator for DDR3 termination on the am437x-gp-evm is
controlled by a gpio. It is configured by the bootloader so here we
define an always-on, fixed voltage regulator to hold the gpio.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
 arch/arm/boot/dts/am437x-gp-evm.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
index df8798e..6e61e42 100644
--- a/arch/arm/boot/dts/am437x-gp-evm.dts
+++ b/arch/arm/boot/dts/am437x-gp-evm.dts
@@ -27,6 +27,17 @@
 		enable-active-high;
 	};
 
+	vtt_fixed: fixedregulator-vtt {
+		compatible = "regulator-fixed";
+		regulator-name = "vtt_fixed";
+		regulator-min-microvolt = <1500000>;
+		regulator-max-microvolt = <1500000>;
+		regulator-always-on;
+		regulator-boot-on;
+		enable-active-high;
+		gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>;
+	};
+
 	backlight {
 		compatible = "pwm-backlight";
 		pwms = <&ecap0 0 50000 PWM_POLARITY_INVERTED>;
-- 
1.9.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ARM: dts: am335x-evmsk: Add vtt_fixed regulator
  2014-05-05 19:58 [PATCH 0/2] Add VTT regulators for DDR3 AMx3xx Boards Dave Gerlach
  2014-05-05 19:58 ` [PATCH 1/2] ARM: dts: am437x-gp-evm: Add vtt_fixed regulator Dave Gerlach
@ 2014-05-05 19:58 ` Dave Gerlach
  2014-05-06 16:50 ` [PATCH 0/2] Add VTT regulators for DDR3 AMx3xx Boards Tony Lindgren
  2 siblings, 0 replies; 4+ messages in thread
From: Dave Gerlach @ 2014-05-05 19:58 UTC (permalink / raw)
  To: linux-arm-kernel

The VTT regulator for DDR3 termination on the am335x-evmsk is
controlled by a gpio. It is configured by the bootloader so here we
define an always-on, fixed voltage regulator to hold the gpio.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
 arch/arm/boot/dts/am335x-evmsk.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index ab23885..d6b8acb 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -57,6 +57,17 @@
 		enable-active-high;
 	};
 
+	vtt_fixed: fixedregulator at 3 {
+		compatible = "regulator-fixed";
+		regulator-name = "vtt";
+		regulator-min-microvolt = <1500000>;
+		regulator-max-microvolt = <1500000>;
+		gpio = <&gpio0 7 GPIO_ACTIVE_HIGH>;
+		regulator-always-on;
+		regulator-boot-on;
+		enable-active-high;
+	};
+
 	leds {
 		pinctrl-names = "default";
 		pinctrl-0 = <&user_leds_s0>;
-- 
1.9.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 0/2] Add VTT regulators for DDR3 AMx3xx Boards
  2014-05-05 19:58 [PATCH 0/2] Add VTT regulators for DDR3 AMx3xx Boards Dave Gerlach
  2014-05-05 19:58 ` [PATCH 1/2] ARM: dts: am437x-gp-evm: Add vtt_fixed regulator Dave Gerlach
  2014-05-05 19:58 ` [PATCH 2/2] ARM: dts: am335x-evmsk: " Dave Gerlach
@ 2014-05-06 16:50 ` Tony Lindgren
  2 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2014-05-06 16:50 UTC (permalink / raw)
  To: linux-arm-kernel

* Dave Gerlach <d-gerlach@ti.com> [140505 12:59]:
> The am335x-evmsk and am437x-gp-evm both have a gpio controlled regulator
> for DDR3 VTT voltage. This is configured by boot loader and previously
> just left at that but it is better to define a fixed regulator to control
> the gpio so that the kernel is aware of it.
> 
> Previous discussion here [1].
> 
> Original am437x-gp-evm patch has been updated to reflect actual voltage
> supplied by VTT regulator.

Thanks applying both into omap-for-v3.16/dt.

Tony

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-06 16:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-05 19:58 [PATCH 0/2] Add VTT regulators for DDR3 AMx3xx Boards Dave Gerlach
2014-05-05 19:58 ` [PATCH 1/2] ARM: dts: am437x-gp-evm: Add vtt_fixed regulator Dave Gerlach
2014-05-05 19:58 ` [PATCH 2/2] ARM: dts: am335x-evmsk: " Dave Gerlach
2014-05-06 16:50 ` [PATCH 0/2] Add VTT regulators for DDR3 AMx3xx Boards Tony Lindgren

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).