lvds基本调试流程:
nxp屏显参数是在c文件进行配置
+++ b/vendor/nxp-opensource/kernel_imx/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
@@ -84,6 +84,39 @@
compatible = "android,trusty-log-v1";
};
};
+ lvds0_panel_pwr: regulator-lvds-pwr {
+ compatible = "regulator-fixed";
+ regulator-name = "lvds-pwr";
+ pinctrl-0 = <&pinctrl_lvds>;
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ gpio = <&gpio4 20 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ regulator-always-on;
+ };
+
+ bl_lvds_pwr: regulator-bl-lvds {
+ compatible = "regulator-fixed";
+ regulator-name = "bl-lvds";
+ pinctrl-0 = <&pinctrl_bl_lvds>;
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ gpio = <&gpio5 5 GPIO_ACTIVE_HIGH>;
+ enable-active-high;