1
0
Fork 0
Commit Graph

3 Commits (redonkable)

Author SHA1 Message Date
Fancy Fang 52b052f64e LF-218 reset: dispmix: remove dev when init mmio regmap
Remove dev for mmio regmap init can forbid the
regmap to create entries for this device under
the /sys/kernel/debug/regmap/ directory which
can avoid hang issue when access the registers
if no display connected to it.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
2019-12-17 17:24:34 +08:00
Guoniu.zhou 7a139f7c25 reset: imx8m: Correct clock name for dispmix driver
devm_regmap_init_mmio_clk() will try to get clock by matching
clock-names property in dts with its clk_id. So the clock name
should be identical to name which clock registered. Otherwise,
devm_regmap_init_mmio_clk() will fail with -ENOENT error.

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
2019-11-25 15:45:07 +08:00
Fancy Fang 6d73c7f3ae reset: Add driver for dispmix reset
This is an reset driver to implement a reset controller
device DISPMIX on IMX8MM and IMX8MN platforms. Dispmix
reset is used to reset or enable related buses and clks
for the submodules in DISPMIX.

All the dispmix resets are divided into three subgroups:
sft_rstn, clk_en and mipi_rst, and each of them contains
several reset lines to control several different modules
on and off in DISPMIX which doesn't require the standard
reset flow, but only line assert and deassert operations.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
2019-11-25 15:45:06 +08:00