Revert "soc: imx8m: change to use platform driver"
authorLucas Stach <l.stach@pengutronix.de>
Mon, 28 Jun 2021 21:09:55 +0000 (23:09 +0200)
committerShawn Guo <shawnguo@kernel.org>
Thu, 15 Jul 2021 11:02:44 +0000 (19:02 +0800)
commitac34de14ac30ba4484d68f8845a54b6b6c23db42
tree7c26a9fc6f98442aa7ba5d37dcada364699004c9
parentfd8e83884fdd7b5fc411f201a58d8d01890198a2
Revert "soc: imx8m: change to use platform driver"

With the SoC matching changed to a platform driver the match data
is available only after other drivers, which may rely on it are
already probed. This breaks at least the CAAM driver on i.MX8M.
Revert the change until all those drivers have been audited and
changed to be able to eal with match data being available later
in the boot process.

Fixes: 7d981405d0fd ("soc: imx8m: change to use platform driver")
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Acked-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/soc-imx8m.c