arm64: dts: imx8mn-bsh-smm-s2/pro: add simple-framebuffer
Subsystems (2)
PATCH RESEND v2 1/1 arm64: dts: imx8mn-bsh-smm-s2/pro: add simple-framebuffer
Add a simple-framebuffer node for U-Boot to further fill and activate.
Co-developed-by Michael Trimarchi <[email protected]>
Signed-off-by Michael Trimarchi <[email protected]>
Signed-off-by Dario Binacchi <[email protected]>
---
Changes in v2:
- Fix the warnings:
(ranges_format): /chosen:ranges: empty "ranges" property but its #address-cells (1) differs from / (2) (ranges_format): /chosen:ranges: empty "ranges" property but its #size-cells (1) differs from / (2) by setting both #address-cells and #size-cells to 2.
.../freescale/imx8mn-bsh-smm-s2-display.dtsi | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+)
arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-display.dtsi +28 -0
@@ -4,6 +4,34 @@ */ / { + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + framebuffer-panel0 { + compatible = "simple-framebuffer"; + clocks = <&clk IMX8MN_CLK_DISP_PIXEL_ROOT>, /* lcdif */ + <&clk IMX8MN_CLK_DISP_APB_ROOT>, + <&clk IMX8MN_CLK_DISP_AXI_ROOT>, + <&clk IMX8MN_VIDEO_PLL1>, + <&clk IMX8MN_CLK_DISP_AXI_ROOT>, /* pgc_dispmix */ + <&clk IMX8MN_CLK_DISP_APB_ROOT>, + <&clk IMX8MN_CLK_DISP_AXI>, + <&clk IMX8MN_CLK_DISP_APB>, + <&clk IMX8MN_SYS_PLL2_1000M>, + <&clk IMX8MN_SYS_PLL1_800M>, + <&clk IMX8MN_CLK_DSI_CORE>, /* mipi_disi */ + <&clk IMX8MN_CLK_DSI_PHY_REF>; + + power-domains = <&disp_blk_ctrl IMX8MN_DISPBLK_PD_LCDIF>, + <&disp_blk_ctrl IMX8MN_DISPBLK_PD_MIPI_DSI>; + dvdd-supply = <®_3v3_dvdd>; + avdd-supply = <®_v3v3_avdd>; + status = "disabled"; + }; + }; + backlight: backlight { compatible = "pwm-backlight"; pwms = <&pwm1 0 700000 0>; /* 700000 ns = 1337Hz */
Signature · 1 line
2.43.0
Shawn Guo
AppliedQuoted 5 lines · Dario Binacchi
Add a simple-framebuffer node for U-Boot to further fill and activate.
Co-developed-by Michael Trimarchi <[email protected]>Signed-off-by Michael Trimarchi <[email protected]>Signed-off-by Dario Binacchi <[email protected]>
Applied, thanks!