[PATCH 1/2] pmdomain: imx8m[p]-blk-ctrl: Suppress bind attrs
Ulf Hansson
ulf.hansson at linaro.org
Tue Dec 10 06:01:58 PST 2024
On Fri, 6 Dec 2024 at 12:28, Peng Fan (OSS) <peng.fan at oss.nxp.com> wrote:
>
> From: Peng Fan <peng.fan at nxp.com>
>
> 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 at nxp.com>
Applied for next, thanks!
Kind regards
Uffe
> ---
> drivers/pmdomain/imx/imx8m-blk-ctrl.c | 1 +
> drivers/pmdomain/imx/imx8mp-blk-ctrl.c | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/drivers/pmdomain/imx/imx8m-blk-ctrl.c b/drivers/pmdomain/imx/imx8m-blk-ctrl.c
> index 23db85b7aa9e..912802b5215b 100644
> --- a/drivers/pmdomain/imx/imx8m-blk-ctrl.c
> +++ b/drivers/pmdomain/imx/imx8m-blk-ctrl.c
> @@ -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);
> diff --git a/drivers/pmdomain/imx/imx8mp-blk-ctrl.c b/drivers/pmdomain/imx/imx8mp-blk-ctrl.c
> index e3a0f64c144c..411dd548c67c 100644
> --- a/drivers/pmdomain/imx/imx8mp-blk-ctrl.c
> +++ b/drivers/pmdomain/imx/imx8mp-blk-ctrl.c
> @@ -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);
> --
> 2.37.1
>
More information about the linux-arm-kernel
mailing list