Add VTT regulators for DDR3 AMx3xx Boards
cover Add VTT regulators for DDR3 AMx3xx Boards
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(+)
Signature · 1 line
1.9.0
PATCH 1/2 ARM: dts: am437x-gp-evm: Add vtt_fixed regulator
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.
--- arch/arm/boot/dts/am437x-gp-evm.dts | 11 +++++++++++ 1 file changed, 11 insertions(+)
arch/arm/boot/dts/am437x-gp-evm.dts +11 -0
@@ -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>;
Signature · 1 line
1.9.0
PATCH 2/2 ARM: dts: am335x-evmsk: Add vtt_fixed regulator
In reply to Dave GerlachThe 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.
--- arch/arm/boot/dts/am335x-evmsk.dts | 11 +++++++++++ 1 file changed, 11 insertions(+)
arch/arm/boot/dts/am335x-evmsk.dts +11 -0
@@ -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>;
Signature · 1 line
1.9.0
cover Add VTT regulators for DDR3 AMx3xx Boards
In reply to Dave GerlachQuoted 9 lines · Dave Gerlach
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