Skip to content

Commit afb2a86

Browse files
MrVanUlf Hansson
authored andcommitted
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>
1 parent b04b981 commit afb2a86

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/pmdomain/imx/imx8m-blk-ctrl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,7 @@ static struct platform_driver imx8m_blk_ctrl_driver = {
894894
.name = "imx8m-blk-ctrl",
895895
.pm = &imx8m_blk_ctrl_pm_ops,
896896
.of_match_table = imx8m_blk_ctrl_of_match,
897+
.suppress_bind_attrs = true,
897898
},
898899
};
899900
module_platform_driver(imx8m_blk_ctrl_driver);

drivers/pmdomain/imx/imx8mp-blk-ctrl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -862,6 +862,7 @@ static struct platform_driver imx8mp_blk_ctrl_driver = {
862862
.name = "imx8mp-blk-ctrl",
863863
.pm = &imx8mp_blk_ctrl_pm_ops,
864864
.of_match_table = imx8mp_blk_ctrl_of_match,
865+
.suppress_bind_attrs = true,
865866
},
866867
};
867868
module_platform_driver(imx8mp_blk_ctrl_driver);

0 commit comments

Comments
 (0)