[RK3399] + [Android 9.0] MIPI屏
5 E币
成为会员,免费下载资料
文件大小:467.22 KB
上传者:龙仔
时间:2023-01-31 05:42:12
下载量:0
设备树
背光 PWM 结点
backlight: backlight {
status = "okay";
enable-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>;
compatible = "pwm-backlight";
pwms = <&pwm0 0 20000 1>;
brightness-levels = <0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
... 232 233 234 235 236 237 238 239
240 241 242 243 244 245 246 247
248 249 250 251 252 253 254 255>;
default-brightness-level = <200>;
};
dsi
&dsi {
status = "okay";
//rockchip,lane-rate = <1000>;
dsi_panel: panel@0 {
status = "okay";
compatible = "simple-panel-dsi";
reg = <0>;
backlight = <&backlight>;
power-supply = <&vcc3v3_s0>;
//reset-gpios = <&gpio1 RK_PB1 GPIO_ACTIVE_LOW>;
//enable-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&lcd_rst_gpio>;
reset-delay-ms = <40>;
enable-delay-ms = <40>;
prepare-delay-ms = <40>;
unprepare-delay-ms = <40>;
disable-delay-ms = <40>;
dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_EOT_PACKET)>;
dsi,format = ;
展开》
折叠》