The system reset controller (SRC) on i.MX51, i.MX53, and i.MX6q controls reset lines to the GPU, VPU, IPU, and OpenVG IP modules.
The following patches allow to link modules and SRC reset lines via phandle properties in the device tree. Drivers can then request their IP modules to be reset by the SRC. The IPU driver is made to use this mechanism during initialization, to improve robustness in the case of bootloaders leaving the IPU enabled. Fabio, does this help with your spurious interrupt issue? regards Philipp --- .../devicetree/bindings/reset/fsl,imx-src.txt | 45 +++++++++++++++++ .../bindings/staging/imx-drm/fsl-imx-drm.txt | 3 ++ arch/arm/boot/dts/imx51.dtsi | 6 +++ arch/arm/boot/dts/imx53.dtsi | 9 ++++ arch/arm/boot/dts/imx6q.dtsi | 3 ++ arch/arm/mach-imx/Kconfig | 1 + arch/arm/mach-imx/common.h | 3 +- arch/arm/mach-imx/mach-imx6q.c | 2 +- arch/arm/mach-imx/mm-imx5.c | 2 + arch/arm/mach-imx/src.c | 52 +++++++++++++++++++- drivers/staging/imx-drm/ipu-v3/ipu-common.c | 20 ++++++-- include/linux/imx-src.h | 6 +++ 12 files changed, 146 insertions(+), 6 deletions(-) _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
