[PATCH] ARM: dts: am3517-evm: Create dummy regulator to squelch noise

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There are several peripherals who generate some extra noise when
they don't have a regulator assigned to them.  This patch
creates a dummy regulator to reduce the noise.

Signed-off-by: Adam Ford <aford173@xxxxxxxxx>

diff --git a/arch/arm/boot/dts/am3517-evm.dts b/arch/arm/boot/dts/am3517-evm.dts
index d7eb6ad76c29..0d56c3f56a6d 100644
--- a/arch/arm/boot/dts/am3517-evm.dts
+++ b/arch/arm/boot/dts/am3517-evm.dts
@@ -31,6 +31,13 @@
                 regulator-max-microvolt = <3300000>;
         };
 
+	dummy_reg: dummy_reg {
+		compatible = "regulator-fixed";
+		regulator-name = "dummy_reg";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+	};
+
 	gpio-keys {
 		compatible = "gpio-keys-polled";
 		poll-interval = <100>;
@@ -127,7 +134,7 @@
 		status = "okay";
 		pinctrl-names = "default";
 		enable-gpios = <&gpio6 16 GPIO_ACTIVE_HIGH>;	/* gpio176, lcd INI */
-
+		vcc-supply = <&dummy_reg>;
 		port {
 			lcd_in: endpoint {
 				remote-endpoint = <&dpi_out>;
@@ -154,6 +161,7 @@
 	bl: backlight {
 		compatible = "pwm-backlight";
 		pinctrl-names = "default";
+		power-supply = <&dummy_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 +211,7 @@
 		reg = <0x21>;
 		gpio-controller;
 		#gpio-cells = <2>;
+		vcc-supply = <&dummy_reg>;
 	};
 };
 
-- 
2.17.1

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux