Skip to content

Commit e1a8757

Browse files
MrVanstorulf
authored andcommitted
pmdomain: imx-gpcv2: Suppress bind attrs
The gpcv2 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 <[email protected]> Message-ID: <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
1 parent afb2a86 commit e1a8757

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/pmdomain/imx/gpcv2.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,6 +1437,7 @@ static struct platform_driver imx_pgc_domain_driver = {
14371437
.driver = {
14381438
.name = "imx-pgc",
14391439
.pm = &imx_pgc_domain_pm_ops,
1440+
.suppress_bind_attrs = true,
14401441
},
14411442
.probe = imx_pgc_domain_probe,
14421443
.remove = imx_pgc_domain_remove,
@@ -1549,6 +1550,7 @@ static struct platform_driver imx_gpc_driver = {
15491550
.driver = {
15501551
.name = "imx-gpcv2",
15511552
.of_match_table = imx_gpcv2_dt_ids,
1553+
.suppress_bind_attrs = true,
15521554
},
15531555
.probe = imx_gpcv2_probe,
15541556
};

0 commit comments

Comments
 (0)