]> git.baikalelectronics.ru Git - kernel.git/commit
clk: imx8qxp-lpcg: Warn against devm_platform_ioremap_resource
authorLeonard Crestez <leonard.crestez@nxp.com>
Mon, 9 Dec 2019 20:56:28 +0000 (22:56 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 11 Dec 2019 08:06:10 +0000 (16:06 +0800)
commit46a5267ac479dc7308d6396c3b7231ed2daf7076
treebbdf1a62dd2a21261bf38aa5ca6fcb75b18ef4ff
parentc32608d4a4681bdee65a8601bef1487f6d99cde4
clk: imx8qxp-lpcg: Warn against devm_platform_ioremap_resource

On imx8 the LPCG nodes map entire subsystems and overlap peripherals,
this means that using devm_platform_ioremap_resource will cause many
devices to fail to probe including serial ports.

Well-meaning but boot-breaking patches were posted multiple times so add
a comment explaining this issue.

Suggested-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-imx8qxp-lpcg.c