summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLiu Ying <victor.liu@nxp.com>2017-04-20 11:08:32 +0800
committerAnson Huang <Anson.Huang@nxp.com>2017-06-09 22:19:29 +0800
commitf0c1acdfdefbc1d46ae034cae56c17fbf24bb268 (patch)
tree33062601a4863d063b11cf3b5d2f6e3c6c4b5590 /arch
parent7bf12c98cc834f9e2ab7350c94af6ff91c9e0f03 (diff)
MLK-14665 video: fbdev: mxc: mipi dsi: Customize gpio reset function
The mxc display driver framework doesn't support deferral probe. The following initialization process may cause the mipi dsi driver deferral probe, however. pinctrl-imx6 - arch_initcall gpio-mxc - subsys_initcall gpio-reset - arch_initcall This patch customizes gpio reset function so that we can remove the code to use the reset logic provided by the gpio-reset driver. Also, the gpio-reset driver is not in the upstreaming kernel, so it would be good not to use it if possible. Signed-off-by: Liu Ying <victor.liu@nxp.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/imx6qdl-sabresd.dtsi10
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
index 04e0d2b6d9c6..d56c067c0a28 100644
--- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
@@ -280,13 +280,6 @@
compatible = "fsl,mxc_v4l2_output";
status = "okay";
};
-
- mipi_dsi_reset: mipi-dsi-reset {
- compatible = "gpio-reset";
- reset-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
- reset-delay-us = <50>;
- #reset-cells = <0>;
- };
};
&audmux {
@@ -965,7 +958,8 @@
disp_id = <1>;
lcd_panel = "TRULY-WVGA";
disp-power-on-supply = <&reg_mipi_dsi_pwr_on>;
- resets = <&mipi_dsi_reset>;
+ reset-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
+ reset-delay-us = <50>;
status = "okay";
};