Patch "soc: imx: imx8mp-blk-ctrl: register HSIO PLL clock as bus_power_dev child" has been added to the 6.4-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    soc: imx: imx8mp-blk-ctrl: register HSIO PLL clock as bus_power_dev child

to the 6.4-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     soc-imx-imx8mp-blk-ctrl-register-hsio-pll-clock-as-b.patch
and it can be found in the queue-6.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 99208626377ae451b76deafef4e913e0d2703310
Author: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
Date:   Mon Jul 17 16:54:09 2023 +0200

    soc: imx: imx8mp-blk-ctrl: register HSIO PLL clock as bus_power_dev child
    
    [ Upstream commit 53cab4d871690c49fac87c657cbf459e39c5b93b ]
    
    The blk-ctrl device is deliberately placed outside of the GPC power
    domain as it needs to control the power sequencing of the blk-ctrl
    domains together with the GPC domains.
    
    Clock runtime PM works by operating on the clock parent device, which
    doesn't translate into the neccessary GPC power domain action if the
    clk parent is not part of the GPC power domain. Use the bus_power_device
    as the parent for the clock to trigger the proper GPC domain actions on
    clock runtime power management.
    
    Fixes: 2cbee26e5d59 ("soc: imx: imx8mp-blk-ctrl: expose high performance PLL clock")
    Reported-by: Yannic Moog <Y.Moog@xxxxxxxxx>
    Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
    Tested-by: Yannic Moog <y.moog@xxxxxxxxx>
    Signed-off-by: Shawn Guo <shawnguo@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/soc/imx/imx8mp-blk-ctrl.c b/drivers/soc/imx/imx8mp-blk-ctrl.c
index 870aecc0202ae..1c1fcab4979a4 100644
--- a/drivers/soc/imx/imx8mp-blk-ctrl.c
+++ b/drivers/soc/imx/imx8mp-blk-ctrl.c
@@ -164,7 +164,7 @@ static int imx8mp_hsio_blk_ctrl_probe(struct imx8mp_blk_ctrl *bc)
 	clk_hsio_pll->hw.init = &init;
 
 	hw = &clk_hsio_pll->hw;
-	ret = devm_clk_hw_register(bc->dev, hw);
+	ret = devm_clk_hw_register(bc->bus_power_dev, hw);
 	if (ret)
 		return ret;
 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux