ARM: dts: imx53-ppd: Add fixed-regulator information
authorSebastian Reichel <sebastian.reichel@collabora.co.uk>
Thu, 28 Jun 2018 16:36:38 +0000 (18:36 +0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 3 Jul 2018 05:57:44 +0000 (13:57 +0800)
Add information about 3V3 power rail to avoid kernel warnings,
that dummy regulators have been added.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx53-ppd.dts

index 3aa6f693fa9fb51a02c2c1300849f979bf2b56c3..30bbe0d740ee8e114d31c891481905e54cf7eeea 100644 (file)
                regulator-always-on;
        };
 
+       reg_3v3: regulator-3v3 {
+               /* TPS54320 */
+               compatible = "regulator-fixed";
+               regulator-name = "3V3";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               regulator-always-on;
+       };
+
+       reg_3v3_lcd: regulator-3v3-lcd {
+               /* MIC2009 */
+               compatible = "regulator-fixed";
+               regulator-name = "LCD_3V3";
+               vin-supply = <&reg_3v3>;
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               regulator-always-on;
+       };
+
        pwm_bl: backlight {
                compatible = "pwm-backlight";
                pwms = <&pwm2 0 50000>;
                                     234 237 239 242 244 247 249 252 255>;
                default-brightness-level = <0>;
                enable-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
+               power-supply = <&reg_3v3_lcd>;
        };
 
        leds {
 
        usbphy2: usbphy2 {
                compatible = "usb-nop-xceiv";
+               vcc-supply = <&reg_3v3>;
                reset-gpios = <&gpio4 4 GPIO_ACTIVE_LOW>;
                clock-names = "main_clk";
                clock-frequency = <24000000>;
 
        usbphy3: usbphy3 {
                compatible = "usb-nop-xceiv";
+               vcc-supply = <&reg_3v3>;
                reset-gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
                clock-names = "main_clk";
 
 
        panel-lvds0 {
                compatible = "nvd,9128";
+               power-supply = <&reg_3v3_lcd>;
 
                port {
                        panel_in_lvds0: endpoint {
        };
 };
 
+&usbphy0 {
+       vcc-supply = <&reg_3v3>;
+};
+
+&usbphy1 {
+       vcc-supply = <&reg_3v3>;
+};
+
 &audmux {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_audmux>;
 &fec {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_fec>;
+       phy-supply = <&reg_3v3>;
        phy-mode = "rmii";
        phy-reset-gpios = <&gpio2 16 GPIO_ACTIVE_LOW>;
        status = "okay";