diff mbox

[v3] ARM: dts: am3517-evm: Add 'vdd_io_reg' regulator references

Message ID 20180704015057.15952-1-woods.technical@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Derald D. Woods July 4, 2018, 1:50 a.m. UTC
There are a few peripherals that generate some extra noise when they
don't have a regulator assigned to them.  This patch assigns them to
their actual tps65023 regulator 'vdd_io_reg' (VDCDC2).

Signed-off-by: Derald D. Woods <woods.technical@gmail.com>
Signed-off-by: Adam Ford <aford173@gmail.com>
---

v3:
- Remove unnecessary 'pwm-supply' entry from dmtimer-pwm section

v2:
- Fix comment

---
 arch/arm/boot/dts/am3517-evm.dts | 3 +++
 1 file changed, 3 insertions(+)

Comments

Adam Ford July 4, 2018, 2:37 a.m. UTC | #1
On Tue, Jul 3, 2018 at 8:51 PM Derald D. Woods
<woods.technical@gmail.com> wrote:
>
> There are a few peripherals that generate some extra noise when they
> don't have a regulator assigned to them.  This patch assigns them to
> their actual tps65023 regulator 'vdd_io_reg' (VDCDC2).
>
Acked-by: Adam Ford <aford173@gmail.com>
> Signed-off-by: Derald D. Woods <woods.technical@gmail.com>
> Signed-off-by: Adam Ford <aford173@gmail.com>
> ---
>
> v3:
> - Remove unnecessary 'pwm-supply' entry from dmtimer-pwm section
>
> v2:
> - Fix comment
>
> ---
>  arch/arm/boot/dts/am3517-evm.dts | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm/boot/dts/am3517-evm.dts b/arch/arm/boot/dts/am3517-evm.dts
> index d7eb6ad76c29..d2d25294f490 100644
> --- a/arch/arm/boot/dts/am3517-evm.dts
> +++ b/arch/arm/boot/dts/am3517-evm.dts
> @@ -127,6 +127,7 @@
>                 status = "okay";
>                 pinctrl-names = "default";
>                 enable-gpios = <&gpio6 16 GPIO_ACTIVE_HIGH>;    /* gpio176, lcd INI */
> +               vcc-supply = <&vdd_io_reg>;
>
>                 port {
>                         lcd_in: endpoint {
> @@ -154,6 +155,7 @@
>         bl: backlight {
>                 compatible = "pwm-backlight";
>                 pinctrl-names = "default";
> +               power-supply = <&vdd_io_reg>;
>                 pinctrl-0 = <&backlight_pins>;
>                 pwms = <&pwm11 0 5000000 0>;
>                 brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
> @@ -203,6 +205,7 @@
>                 reg = <0x21>;
>                 gpio-controller;
>                 #gpio-cells = <2>;
> +               vcc-supply = <&vdd_io_reg>;
>         };
>  };
>
> --
> 2.18.0
>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/am3517-evm.dts b/arch/arm/boot/dts/am3517-evm.dts
index d7eb6ad76c29..d2d25294f490 100644
--- a/arch/arm/boot/dts/am3517-evm.dts
+++ b/arch/arm/boot/dts/am3517-evm.dts
@@ -127,6 +127,7 @@ 
 		status = "okay";
 		pinctrl-names = "default";
 		enable-gpios = <&gpio6 16 GPIO_ACTIVE_HIGH>;	/* gpio176, lcd INI */
+		vcc-supply = <&vdd_io_reg>;
 
 		port {
 			lcd_in: endpoint {
@@ -154,6 +155,7 @@ 
 	bl: backlight {
 		compatible = "pwm-backlight";
 		pinctrl-names = "default";
+		power-supply = <&vdd_io_reg>;
 		pinctrl-0 = <&backlight_pins>;
 		pwms = <&pwm11 0 5000000 0>;
 		brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
@@ -203,6 +205,7 @@ 
 		reg = <0x21>;
 		gpio-controller;
 		#gpio-cells = <2>;
+		vcc-supply = <&vdd_io_reg>;
 	};
 };