pmdomain: imx8m[p]-blk-ctrl: Suppress bind attrs

The blk ctrl drivers on imx8m series are registered as platform
devices and this opens the possibility of reloading the driver
at runtime.

But this doesn't actually work. There are some hardware sequence
dependecy between blk ctrl and gpc, also power domains are used
by other peripherals, so fix this by explicitly suppressing bind
attrs.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Message-ID: <20241206112731.98244-1-peng.fan@oss.nxp.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
Peng Fan 2024-12-06 19:27:30 +08:00 committed by Ulf Hansson
parent b04b981f3a
commit afb2a86f00
2 changed files with 2 additions and 0 deletions

View File

@ -894,6 +894,7 @@ static struct platform_driver imx8m_blk_ctrl_driver = {
.name = "imx8m-blk-ctrl",
.pm = &imx8m_blk_ctrl_pm_ops,
.of_match_table = imx8m_blk_ctrl_of_match,
.suppress_bind_attrs = true,
},
};
module_platform_driver(imx8m_blk_ctrl_driver);

View File

@ -862,6 +862,7 @@ static struct platform_driver imx8mp_blk_ctrl_driver = {
.name = "imx8mp-blk-ctrl",
.pm = &imx8mp_blk_ctrl_pm_ops,
.of_match_table = imx8mp_blk_ctrl_of_match,
.suppress_bind_attrs = true,
},
};
module_platform_driver(imx8mp_blk_ctrl_driver);