Change-Id: I0d42d9ccd7ba09338c3074d1328ab5ec18079c27
Signed-off-by: WeiYong Bi <bivvy.bi@rock-chips.com>
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
status = "okay";
};
+&mipi_dsi_host {
+ status = "okay";
+
+ dsi_panel: panel@0 {
+ compatible = "simple-panel-dsi";
+ reg = <0>;
+ backlight = <&backlight>;
+ enable-gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
+ dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST)>;
+ dsi,format = <MIPI_DSI_FMT_RGB888>;
+ dsi,lanes = <4>;
+
+ delay,prepare = <120>;
+
+ disp_timings: display-timings {
+ native-mode = <&timing0>;
+
+ timing0: timing0 {
+ clock-frequency = <145000000>;
+ hactive = <1920>;
+ vactive = <1200>;
+ hback-porch = <16>;
+ hfront-porch = <24>;
+ vback-porch = <10>;
+ vfront-porch = <16>;
+ hsync-len = <10>;
+ vsync-len = <3>;
+ hsync-active = <0>;
+ vsync-active = <0>;
+ de-active = <0>;
+ };
+ };
+ };
+};
+
+&mipi_dphy {
+ rockchip,dsi-panel = <&dsi_panel>;
+ status = "okay";
+};
+
&pinctrl {
pmic {
pmic_int_l: pmic-int-l {