Patch "clk: qcom: gcc-sc8280xp: add cxo as parent for three ufs ref clks" has been added to the 6.0-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

    clk: qcom: gcc-sc8280xp: add cxo as parent for three ufs ref clks

to the 6.0-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:
     clk-qcom-gcc-sc8280xp-add-cxo-as-parent-for-three-uf.patch
and it can be found in the queue-6.0 subdirectory.

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



commit 890d079282f573b1b87b1180c7450515913e44ae
Author: Shazad Hussain <quic_shazhuss@xxxxxxxxxxx>
Date:   Tue Nov 15 20:59:56 2022 +0530

    clk: qcom: gcc-sc8280xp: add cxo as parent for three ufs ref clks
    
    [ Upstream commit f6abcc21d94393801937aed808b8f055ffec8579 ]
    
    The three UFS reference clocks, gcc_ufs_ref_clkref_clk for external
    UFS devices, gcc_ufs_card_clkref_clk and gcc_ufs_1_card_clkref_clk for
    two PHYs are all sourced from CXO.
    
    Added parent_data for all three reference clocks described above to
    reflect that all three clocks are sourced from CXO to have valid
    frequency for the ref clock needed by UFS controller driver.
    
    Fixes: d65d005f9a6c ("clk: qcom: add sc8280xp GCC driver")
    Link: https://lore.kernel.org/lkml/Y2Tber39cHuOSR%2FW@xxxxxxxxxxxxxxxxxxxx/
    Signed-off-by: Shazad Hussain <quic_shazhuss@xxxxxxxxxxx>
    Tested-by: Johan Hovold <johan+linaro@xxxxxxxxxx>
    Reviewed-by: Johan Hovold <johan+linaro@xxxxxxxxxx>
    Tested-by: Andrew Halaney <ahalaney@xxxxxxxxxx>
    Reviewed-by: Andrew Halaney <ahalaney@xxxxxxxxxx>
    Reviewed-by: Brian Masney <bmasney@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20221115152956.21677-1-quic_shazhuss@xxxxxxxxxxx
    Reviewed-by: Bjorn Andersson <andersson@xxxxxxxxxx>
    Signed-off-by: Stephen Boyd <sboyd@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/clk/qcom/gcc-sc8280xp.c b/drivers/clk/qcom/gcc-sc8280xp.c
index a2f3ffcc5849..fd332383527f 100644
--- a/drivers/clk/qcom/gcc-sc8280xp.c
+++ b/drivers/clk/qcom/gcc-sc8280xp.c
@@ -5364,6 +5364,8 @@ static struct clk_branch gcc_ufs_1_card_clkref_clk = {
 		.enable_mask = BIT(0),
 		.hw.init = &(const struct clk_init_data) {
 			.name = "gcc_ufs_1_card_clkref_clk",
+			.parent_data = &gcc_parent_data_tcxo,
+			.num_parents = 1,
 			.ops = &clk_branch2_ops,
 		},
 	},
@@ -5432,6 +5434,8 @@ static struct clk_branch gcc_ufs_card_clkref_clk = {
 		.enable_mask = BIT(0),
 		.hw.init = &(const struct clk_init_data) {
 			.name = "gcc_ufs_card_clkref_clk",
+			.parent_data = &gcc_parent_data_tcxo,
+			.num_parents = 1,
 			.ops = &clk_branch2_ops,
 		},
 	},
@@ -5848,6 +5852,8 @@ static struct clk_branch gcc_ufs_ref_clkref_clk = {
 		.enable_mask = BIT(0),
 		.hw.init = &(const struct clk_init_data) {
 			.name = "gcc_ufs_ref_clkref_clk",
+			.parent_data = &gcc_parent_data_tcxo,
+			.num_parents = 1,
 			.ops = &clk_branch2_ops,
 		},
 	},



[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