* [PATCH 0/2] Add VTT regulators for DDR3 AMx3xx Boards
@ 2014-05-05 19:58 Dave Gerlach
[not found] ` <1399319909-53795-1-git-send-email-d-gerlach-l0cyMroinI0@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Dave Gerlach @ 2014-05-05 19:58 UTC (permalink / raw)
To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-omap-u79uwXL29TY76Z2rM5mHXA
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, Tony Lindgren,
bcousson-rdvid1DuHRBWk0Htik3J/w
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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <1399319909-53795-1-git-send-email-d-gerlach-l0cyMroinI0@public.gmane.org>]
* [PATCH 1/2] ARM: dts: am437x-gp-evm: Add vtt_fixed regulator [not found] ` <1399319909-53795-1-git-send-email-d-gerlach-l0cyMroinI0@public.gmane.org> @ 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-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-omap-u79uwXL29TY76Z2rM5mHXA Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, Tony Lindgren, bcousson-rdvid1DuHRBWk0Htik3J/w 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-l0cyMroinI0@public.gmane.org> --- 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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] ARM: dts: am335x-evmsk: Add vtt_fixed regulator [not found] ` <1399319909-53795-1-git-send-email-d-gerlach-l0cyMroinI0@public.gmane.org> 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-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-omap-u79uwXL29TY76Z2rM5mHXA Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, Tony Lindgren, bcousson-rdvid1DuHRBWk0Htik3J/w 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-l0cyMroinI0@public.gmane.org> --- 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@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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] Add VTT regulators for DDR3 AMx3xx Boards [not found] ` <1399319909-53795-1-git-send-email-d-gerlach-l0cyMroinI0@public.gmane.org> 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: Dave Gerlach Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-omap-u79uwXL29TY76Z2rM5mHXA, devicetree-u79uwXL29TY76Z2rM5mHXA, bcousson-rdvid1DuHRBWk0Htik3J/w * Dave Gerlach <d-gerlach-l0cyMroinI0@public.gmane.org> [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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ 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
[not found] ` <1399319909-53795-1-git-send-email-d-gerlach-l0cyMroinI0@public.gmane.org>
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).