lede/target/linux/ipq807x/patches-5.15/0158-clk-qcom-ipq8074-add-hw-controlled-flag.patch
2022-09-13 10:45:32 +08:00

39 lines
1.4 KiB
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From 18d04f5cae30725ffa0c1c025f6beb1821c46857 Mon Sep 17 00:00:00 2001
From: Praveenkumar I <ipkumar@codeaurora.org>
Date: Tue, 13 Jun 2017 15:31:34 +0530
Subject: [PATCH 3/3] clk: qcom: ipq8074: add hw controlled flag
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
These RCGs are hw controlled so add the
CLK_RCG2_HW_CONTROLLED flag.
Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
(cherry picked from commit 9a025b8271a95a80e9e769b89154b98b263be860)
Signed-off-by: Praveenkumar I <ipkumar@codeaurora.org>
Change-Id: Ic5da1551bf46921890955312026b9175a42fe14e
---
drivers/clk/qcom/gcc-ipq8074.c | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/clk/qcom/gcc-ipq8074.c
+++ b/drivers/clk/qcom/gcc-ipq8074.c
@@ -643,6 +643,7 @@ static struct clk_rcg2 pcnoc_bfdcd_clk_s
.freq_tbl = ftbl_pcnoc_bfdcd_clk_src,
.hid_width = 5,
.parent_map = gcc_xo_gpll0_gpll0_out_main_div2_map,
+ .flags = CLK_RCG2_HW_CONTROLLED,
.clkr.hw.init = &(struct clk_init_data){
.name = "pcnoc_bfdcd_clk_src",
.parent_names = gcc_xo_gpll0_gpll0_out_main_div2,
@@ -1317,6 +1318,7 @@ static struct clk_rcg2 system_noc_bfdcd_
.freq_tbl = ftbl_system_noc_bfdcd_clk_src,
.hid_width = 5,
.parent_map = gcc_xo_gpll0_gpll6_gpll0_out_main_div2_map,
+ .flags = CLK_RCG2_HW_CONTROLLED,
.clkr.hw.init = &(struct clk_init_data){
.name = "system_noc_bfdcd_clk_src",
.parent_names = gcc_xo_gpll0_gpll6_gpll0_out_main_div2,