drivers: display: update MCUX ELCDIF driver to use new lcdif binding
Update MCUX ELCDIF driver to use new LCDIF bindings. This update also adds support for configuring the root clock of the ELCDIF module based on the pixel-clock property to the RT11xx SOC clock init, as this SOC series has this IP block Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
a4afa7d164
commit
746758d1f6
13 changed files with 175 additions and 161 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include <nxp/nxp_rt1064.dtsi>
|
||||
#include "mimxrt1064_evk-pinctrl.dtsi"
|
||||
#include <zephyr/dt-bindings/display/panel.h>
|
||||
|
||||
/ {
|
||||
model = "NXP MIMXRT1064-EVK board";
|
||||
|
@ -130,15 +131,22 @@ arduino_i2c: &lpi2c1 {};
|
|||
status = "okay";
|
||||
width = <480>;
|
||||
height = <272>;
|
||||
hsync = <41>;
|
||||
hfp = <4>;
|
||||
hbp = <8>;
|
||||
vsync = <10>;
|
||||
vfp = <4>;
|
||||
vbp = <2>;
|
||||
polarity = <3>;
|
||||
pixel-format = "bgr-565";
|
||||
data-buswidth = "16-bit";
|
||||
display-timings {
|
||||
compatible = "zephyr,panel-timing";
|
||||
hsync-len = <41>;
|
||||
hfront-porch = <4>;
|
||||
hback-porch = <8>;
|
||||
vsync-len = <10>;
|
||||
vfront-porch = <4>;
|
||||
vback-porch = <2>;
|
||||
de-active= <1>;
|
||||
pixelclk-active = <1>;
|
||||
hsync-active = <0>;
|
||||
vsync-active = <0>;
|
||||
clock-frequency = <9210240>;
|
||||
};
|
||||
pixel-format = <PANEL_PIXEL_FORMAT_BGR_565>;
|
||||
data-bus-width = "16-bit";
|
||||
pinctrl-0 = <&pinmux_lcdif>;
|
||||
pinctrl-names = "default";
|
||||
backlight-gpios = <&gpio2 31 GPIO_ACTIVE_HIGH>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue