[5/9] arm64: dts: allwinner: pinebook: Make simplefb more consistent
diff mbox series

Message ID 20200119163104.13274-5-samuel@sholland.org
State New
Headers show
Series
  • [1/9] arm64: dts: allwinner: Enable button wakeup on Orange Pi PC2
Related show

Commit Message

Samuel Holland Jan. 19, 2020, 4:31 p.m. UTC
Boards generally reference the simplefb nodes from the SoC dtsi by
label, not by full path. simplefb_hdmi is already like this in the
Pinebook DTS. Update simplefb_lcd to match.

Signed-off-by: Samuel Holland <samuel@sholland.org>
---
 .../arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Comments

Maxime Ripard Jan. 21, 2020, 9:06 a.m. UTC | #1
On Sun, Jan 19, 2020 at 10:31:00AM -0600, Samuel Holland wrote:
> Boards generally reference the simplefb nodes from the SoC dtsi by
> label, not by full path. simplefb_hdmi is already like this in the
> Pinebook DTS. Update simplefb_lcd to match.
>
> Signed-off-by: Samuel Holland <samuel@sholland.org>

Applied, thanks!
Maxime

Patch
diff mbox series

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts
index 97e412fc4e4b..af902b565b0a 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts
@@ -41,12 +41,6 @@ 
 
 	chosen {
 		stdout-path = "serial0:115200n8";
-
-		framebuffer-lcd {
-			panel-supply = <&reg_dc1sw>;
-			dvdd25-supply = <&reg_dldo2>;
-			dvdd12-supply = <&reg_fldo1>;
-		};
 	};
 
 	gpio_keys {
@@ -302,6 +296,12 @@ 
 	regulator-name = "vcc-rtc";
 };
 
+&simplefb_lcd {
+	panel-supply = <&reg_dc1sw>;
+	dvdd25-supply = <&reg_dldo2>;
+	dvdd12-supply = <&reg_fldo1>;
+};
+
 &simplefb_hdmi {
 	vcc-hdmi-supply = <&reg_dldo1>;
 };