Skip to content
Snippets Groups Projects
Commit 2a4ebc3d authored by Dmitry Petrov's avatar Dmitry Petrov
Browse files

arm:dts:nallino: add parallel display support

Hard code timings for the FX050053DSSWBG01 display, which is used on
NALLINO S 5.0 OF PCT device out of box, in device tree.
parent 658530bf
No related branches found
No related tags found
2 merge requests!455CI: Update gitlab-ci,!393arm:dts:nallino, santino-lt: add parallel display support
...@@ -47,8 +47,10 @@ aliases { ...@@ -47,8 +47,10 @@ aliases {
rtc0 = &rtc; rtc0 = &rtc;
rtc1 = &snvs_rtc; rtc1 = &snvs_rtc;
}; };
backlight: backlight { mxcfb {}; // needed for kernel flavor detection. see prepare-xml2dto.sh.
backlight {
compatible = "pwm-backlight"; compatible = "pwm-backlight";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_bl_on>; pinctrl-0 = <&pinctrl_bl_on>;
...@@ -64,25 +66,6 @@ gfplatdetect: gfplatdetect { ...@@ -64,25 +66,6 @@ gfplatdetect: gfplatdetect {
compatible = "guf,imx6ull-platdetect"; compatible = "guf,imx6ull-platdetect";
}; };
panel: panel {
compatible = "guf,panel-dt";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lcd_enable>;
enable-gpios = <&gpio4 11 GPIO_ACTIVE_HIGH>;
backlight = <&backlight>;
status = "disabled";
// The flags are not set by gfxml2dto yet
// so hardcode them for now
bus-flags = <0x04>;
port {
panel_in: endpoint {
remote-endpoint = <&display_out>;
};
};
};
regulators { regulators {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <1>; #address-cells = <1>;
...@@ -241,7 +224,7 @@ eeprom: eeprom@50 { ...@@ -241,7 +224,7 @@ eeprom: eeprom@50 {
bus-id = <0>; bus-id = <0>;
flags = <0x80>; /* AT24_FLAG_ADDR16 */ flags = <0x80>; /* AT24_FLAG_ADDR16 */
}; };
pmic: pf1550@8 { pmic: pf1550@8 {
compatible = "fsl,pf1550"; compatible = "fsl,pf1550";
reg = <0x08>; reg = <0x08>;
...@@ -599,7 +582,7 @@ pinctrl_lcd_enable: lcdeneablegrp { ...@@ -599,7 +582,7 @@ pinctrl_lcd_enable: lcdeneablegrp {
MX6UL_PAD_NAND_WP_B__GPIO4_IO11 0x80000000 MX6UL_PAD_NAND_WP_B__GPIO4_IO11 0x80000000
>; >;
}; };
pinctrl_bl_on: blongrp { pinctrl_bl_on: blongrp {
fsl,pins = < fsl,pins = <
MX6UL_PAD_NAND_READY_B__GPIO4_IO12 0x80000000 MX6UL_PAD_NAND_READY_B__GPIO4_IO12 0x80000000
...@@ -686,14 +669,34 @@ MX6ULL_PAD_SNVS_TAMPER0__GPIO5_IO00 0x80000000 /*PF1550 INT*/ ...@@ -686,14 +669,34 @@ MX6ULL_PAD_SNVS_TAMPER0__GPIO5_IO00 0x80000000 /*PF1550 INT*/
&lcdif { &lcdif {
assigned-clocks = <&clks IMX6UL_CLK_LCDIF_PRE_SEL>; assigned-clocks = <&clks IMX6UL_CLK_LCDIF_PRE_SEL>;
assigned-clock-parents = <&clks IMX6UL_CLK_PLL5_VIDEO_DIV>; assigned-clock-parents = <&clks IMX6UL_CLK_PLL5_VIDEO_DIV>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lcdif_dat pinctrl-0 = <&pinctrl_lcdif_dat
&pinctrl_lcdif_ctrl>; &pinctrl_lcdif_ctrl>;
display = <&display0>;
status = "okay"; status = "okay";
port { display0: displ {
display_out: endpoint { bits-per-pixel = <24>;
remote-endpoint = <&panel_in>; bus-width = <24>;
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <29232000>;
hactive = <800>;
vactive = <480>;
hfront-porch = <40>;
hback-porch = <40>;
hsync-len = <48>;
vback-porch = <29>;
vfront-porch = <13>;
vsync-len = <3>;
hsync-active = <1>;
vsync-active = <1>;
de-active = <1>;
pixelclk-active = <1>;
};
}; };
}; };
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment