Message ID | 20240123-gcc-ao-support-v1-2-6c18d5310874@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-35650-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp455779dyi; Tue, 23 Jan 2024 08:35:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IGqqthLxDFvkc3zNacxHXwc1J0vAXku6EnMmnIoxVrr3EEaWP28aEv1DG5ezvsGJFdguwsg X-Received: by 2002:a05:6870:c98d:b0:214:a06d:8b5a with SMTP id hi13-20020a056870c98d00b00214a06d8b5amr156147oab.88.1706027719920; Tue, 23 Jan 2024 08:35:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706027719; cv=pass; d=google.com; s=arc-20160816; b=SqhG13yAVUhY2wVpzLrFaPg+Zs7XmD9pMf8diQNCtR/yD1ICiYmYd+AMmyMLOx/0uP CBeUZXMrDo7Bls6OUTkPBSz2rmPoMbkl7EA6EG+eqwzIdZUrUmsr7k96gUxPjVaLOeOg y8qReasbQKAVtV5UwLs3e8WKczlQ5BSCabpVXnzNlh/YqtU1Ckx5pP0l7C9FCD+gtJB4 St89k2YfAjY43xRhKrDVncQTLBc+uXnUK+t95jmTyW9+RjNnAvjELUuSMCT7/XNbVdxp GLUC8y5A0cAEyqoiVH2gRAAeZCFN0FZiEBhL6LHUlk939MQdWC2Je1Nlaj0pbqJOl8am YtQw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=lUEbNMFM/zB5Pkpa3oaipzSV2zThPkjqo/WNshFlnoU=; fh=vBb4L6/bubUm5k/aHF3VmLLu+f3LaPNttQ2bQhjs24k=; b=xTEhOybNC+Y/pIVIV74HleDIeK9XL3OFgeGkW57j5fZq2jV7fQDXtt4TqfStmJUBbe 6fP75bVUveXDV/PG8zVNTd6EGH5F4oo9gQOllwt5oIw5d+jUxzI9TdCLGSegl+IDT5Tk rSnFQdGXZNqnr50lmi+AnXmvFq+MycBESFmjV12JpgKXTe6uPDqZc20hlMFspga4LPud tLc+ESN/mKuawG3g6rIdyWoeJ34Bj0pWKQOPiGbkcamlYlyxZbapmGXcCc/e0cOhq05m o2sp5XY2YCQjojT9FOpBU9j5XsCrMkt9sojyPlmGV+Z6MpqbObEbPxVAlKH5hmjyCnyt enrA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VpIGMe9g; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-35650-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35650-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id f1-20020a63dc41000000b005be3683ec6asi10125724pgj.184.2024.01.23.08.35.19 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 08:35:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-35650-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VpIGMe9g; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-35650-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35650-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id ED94A2838F3 for <ouuuleilei@gmail.com>; Tue, 23 Jan 2024 16:35:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A533D7FBCC; Tue, 23 Jan 2024 16:34:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="VpIGMe9g" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B53A27FBB2; Tue, 23 Jan 2024 16:34:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706027673; cv=none; b=jFQrU+y0Qjv9RodvuHt3ZG8anKtmqZkRcnm5sqoyF/x5NBMf9egQ3Xvy2VpxZMQKQwmsrtfoeV61/X1FjZ1DAaWUIekFB8hytdLXODdfQI6nXas9vYKOg0LLl4A7QfuAXB14AkjrtBMVHwe2VdiM5K/HtUSwuuoRG4r4/wGPiP0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706027673; c=relaxed/simple; bh=SVd9nc7aLxCe8vSZUpkEU3kGca1nprnW6wmKmwxafpE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=ZwqepE3jj44CTtcHDcCu9O1KKordmsqBAHjkyBe43Dul40MUDgmBz1DmASJQ5BMe2PNdQ9HDS1DtZOkf1+bhSa8pxEp7CD2zsG6Lxkrv1c2kWETl1k4uttKIGId7Gw1zOIJwk81nddidpfZUcqsykz05MWqpeJXSh+3DoRqAiN8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=VpIGMe9g; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40NBOjat009514; Tue, 23 Jan 2024 16:34:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:references:in-reply-to:to :cc; s=qcppdkim1; bh=lUEbNMFM/zB5Pkpa3oaipzSV2zThPkjqo/WNshFlnoU =; b=VpIGMe9gm+iedENPgoSYvzAmZFvRAw4T9TY2ECz+/uVvku5qdOy9SdGKkBw 2vcLr41/iPEWnmdA6hxjaCF4kGHBsQi1yqU73J0ke8km93jIjXKJ47OgBVH5Boh0 kSe/WEIfAKIVhwrT+l+apGeLm+b7re3CADQlepcjGknkEJtMZngav+wlfTnfJzy6 h/Yn3Ptbj7M6A2dUaDdi3KyS4RflZrOUkmWHCz4+kZnX3aQnDlxgwHO5Y/SMcuqo tg5Aa8I0OFl5QyyaB3u9wd42YP6zAbWKDBwqWPoN7A67TsOcSmpuDza/MAYnW1m8 md5iRhzFk3o2j++/BfvDEoYnl/w== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vt73m1k61-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Jan 2024 16:34:28 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40NGYRFC008616 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Jan 2024 16:34:27 GMT Received: from hu-skakitap-hyd.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Tue, 23 Jan 2024 08:34:22 -0800 From: Satya Priya Kakitapalli <quic_skakitap@quicinc.com> Date: Tue, 23 Jan 2024 22:04:08 +0530 Subject: [PATCH 2/3] clk: qcom: gcc-sm8150: Add gcc_parents_0_ao support Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20240123-gcc-ao-support-v1-2-6c18d5310874@quicinc.com> References: <20240123-gcc-ao-support-v1-0-6c18d5310874@quicinc.com> In-Reply-To: <20240123-gcc-ao-support-v1-0-6c18d5310874@quicinc.com> To: Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>, "Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Taniya Das <quic_tdas@quicinc.com> CC: <linux-arm-msm@vger.kernel.org>, <linux-clk@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Ajit Pandey <quic_ajipan@quicinc.com>, Imran Shaik <quic_imrashai@quicinc.com>, "Jagadeesh Kona" <quic_jkona@quicinc.com>, Satya Priya Kakitapalli <quic_skakitap@quicinc.com> X-Mailer: b4 0.12.4 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: E28FmpfCPIAnpn4T5zdfwsBs93bVeFRk X-Proofpoint-ORIG-GUID: E28FmpfCPIAnpn4T5zdfwsBs93bVeFRk X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-23_09,2024-01-23_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 mlxlogscore=596 priorityscore=1501 suspectscore=0 phishscore=0 clxscore=1015 mlxscore=0 spamscore=0 impostorscore=0 adultscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401230122 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788899721902915234 X-GMAIL-MSGID: 1788899721902915234 |
Series |
clk: qcom: gcc-sm8150: Add gcc_parents_0_ao support
|
|
Commit Message
Satya Priya Kakitapalli
Jan. 23, 2024, 4:34 p.m. UTC
Add active_only support for gcc_parents_0, this is needed because
some of the clocks under it are critical which would vote on xo
blocking the suspend.
Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
---
drivers/clk/qcom/gcc-sm8150.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
Comments
On Tue, 23 Jan 2024 at 18:35, Satya Priya Kakitapalli <quic_skakitap@quicinc.com> wrote: > > Add active_only support for gcc_parents_0, this is needed because > some of the clocks under it are critical which would vote on xo > blocking the suspend. The kernel should be able to work with older DT files. Please add support for using bi_tcxo as a fallback. > > Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com> > --- > drivers/clk/qcom/gcc-sm8150.c | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) > > diff --git a/drivers/clk/qcom/gcc-sm8150.c b/drivers/clk/qcom/gcc-sm8150.c > index 05d115c52dfe..2a0608c5a104 100644 > --- a/drivers/clk/qcom/gcc-sm8150.c > +++ b/drivers/clk/qcom/gcc-sm8150.c > @@ -123,6 +123,12 @@ static const struct clk_parent_data gcc_parents_0[] = { > { .hw = &gpll0_out_even.clkr.hw }, > }; > > +static const struct clk_parent_data gcc_parents_0_ao[] = { > + { .fw_name = "bi_tcxo_ao", .name = "bi_tcxo_ao" }, > + { .hw = &gpll0.clkr.hw }, > + { .hw = &gpll0_out_even.clkr.hw }, > +}; > + > static const struct parent_map gcc_parent_map_1[] = { > { P_BI_TCXO, 0 }, > { P_GPLL0_OUT_MAIN, 1 }, > @@ -222,8 +228,8 @@ static struct clk_rcg2 gcc_cpuss_ahb_clk_src = { > .freq_tbl = ftbl_gcc_cpuss_ahb_clk_src, > .clkr.hw.init = &(struct clk_init_data){ > .name = "gcc_cpuss_ahb_clk_src", > - .parent_data = gcc_parents_0, > - .num_parents = ARRAY_SIZE(gcc_parents_0), > + .parent_data = gcc_parents_0_ao, > + .num_parents = ARRAY_SIZE(gcc_parents_0_ao), > .flags = CLK_SET_RATE_PARENT, > .ops = &clk_rcg2_ops, > }, > > -- > 2.25.1 > >
On 1/23/24 17:34, Satya Priya Kakitapalli wrote: > Add active_only support for gcc_parents_0, this is needed because > some of the clocks under it are critical which would vote on xo > blocking the suspend. > > Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com> > --- Is there a need to keep gcc_cpuss_ahb_clk_src around? Do we do any ratesetting on it? Should we ever turn it off? Konrad
On 1/23/2024 11:17 PM, Konrad Dybcio wrote: > > > On 1/23/24 17:34, Satya Priya Kakitapalli wrote: >> Add active_only support for gcc_parents_0, this is needed because >> some of the clocks under it are critical which would vote on xo >> blocking the suspend. >> >> Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com> >> --- > > Is there a need to keep gcc_cpuss_ahb_clk_src around? Do we do any > ratesetting on it? Should we ever turn it off? > The branch clocks under gcc_cpuss_ahb_clk_src are critical clocks, which are running at 19.2Mhz causing vote on XO during suspend. As of now no rate setting is happening but this rcg is useful to get the exact rates from debugfs. Hence this change is needed to avoid XO shutdown issues.
On 1/25/24 06:49, Satya Priya Kakitapalli (Temp) wrote: > > On 1/23/2024 11:17 PM, Konrad Dybcio wrote: >> >> >> On 1/23/24 17:34, Satya Priya Kakitapalli wrote: >>> Add active_only support for gcc_parents_0, this is needed because >>> some of the clocks under it are critical which would vote on xo >>> blocking the suspend. >>> >>> Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com> >>> --- >> >> Is there a need to keep gcc_cpuss_ahb_clk_src around? Do we do any >> ratesetting on it? Should we ever turn it off? >> > > The branch clocks under gcc_cpuss_ahb_clk_src are critical clocks, which are running at 19.2Mhz causing vote on XO during suspend. As of now no rate setting is happening but this rcg is useful to get the exact rates from debugfs. Hence this change is needed to avoid XO shutdown issues. So, if I underderstood you correctly, this clock serves no purpose other than getting rate? In this case, I'd say we should de-register it from the clock driver and use debugcc [1] (contributions welcome!) for precise measurements. Konrad [1] https://github.com/linux-msm/debugcc
On 1/25/2024 3:25 PM, Konrad Dybcio wrote: > > > On 1/25/24 06:49, Satya Priya Kakitapalli (Temp) wrote: >> >> On 1/23/2024 11:17 PM, Konrad Dybcio wrote: >>> >>> >>> On 1/23/24 17:34, Satya Priya Kakitapalli wrote: >>>> Add active_only support for gcc_parents_0, this is needed because >>>> some of the clocks under it are critical which would vote on xo >>>> blocking the suspend. >>>> >>>> Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com> >>>> --- >>> >>> Is there a need to keep gcc_cpuss_ahb_clk_src around? Do we do any >>> ratesetting on it? Should we ever turn it off? >>> >> >> The branch clocks under gcc_cpuss_ahb_clk_src are critical clocks, >> which are running at 19.2Mhz causing vote on XO during suspend. As of >> now no rate setting is happening but this rcg is useful to get the >> exact rates from debugfs. Hence this change is needed to avoid XO >> shutdown issues. > > So, if I underderstood you correctly, this clock serves no purpose other > than getting rate? > > In this case, I'd say we should de-register it from the clock driver and > use debugcc [1] (contributions welcome!) for precise measurements. > Although currently there is no rate-setting happening now, its better to keep the rcg modelling as is, considering that it might be needed if some use case arises in future.
On 5.02.2024 09:37, Satya Priya Kakitapalli (Temp) wrote: > > On 1/25/2024 3:25 PM, Konrad Dybcio wrote: >> >> >> On 1/25/24 06:49, Satya Priya Kakitapalli (Temp) wrote: >>> >>> On 1/23/2024 11:17 PM, Konrad Dybcio wrote: >>>> >>>> >>>> On 1/23/24 17:34, Satya Priya Kakitapalli wrote: >>>>> Add active_only support for gcc_parents_0, this is needed because >>>>> some of the clocks under it are critical which would vote on xo >>>>> blocking the suspend. >>>>> >>>>> Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com> >>>>> --- >>>> >>>> Is there a need to keep gcc_cpuss_ahb_clk_src around? Do we do any >>>> ratesetting on it? Should we ever turn it off? >>>> >>> >>> The branch clocks under gcc_cpuss_ahb_clk_src are critical clocks, which are running at 19.2Mhz causing vote on XO during suspend. As of now no rate setting is happening but this rcg is useful to get the exact rates from debugfs. Hence this change is needed to avoid XO shutdown issues. >> >> So, if I underderstood you correctly, this clock serves no purpose other >> than getting rate? >> >> In this case, I'd say we should de-register it from the clock driver and >> use debugcc [1] (contributions welcome!) for precise measurements. >> > > Although currently there is no rate-setting happening now, its better to keep the rcg modelling as is, considering that it might be needed if some use case arises in future. We don't tend to solve imaginary problems, please lay out what it would be used for, if at all. Then, we can assess whether it's necessary. Konrad
On 2/5/2024 5:03 PM, Konrad Dybcio wrote: > On 5.02.2024 09:37, Satya Priya Kakitapalli (Temp) wrote: >> On 1/25/2024 3:25 PM, Konrad Dybcio wrote: >>> >>> On 1/25/24 06:49, Satya Priya Kakitapalli (Temp) wrote: >>>> On 1/23/2024 11:17 PM, Konrad Dybcio wrote: >>>>> >>>>> On 1/23/24 17:34, Satya Priya Kakitapalli wrote: >>>>>> Add active_only support for gcc_parents_0, this is needed because >>>>>> some of the clocks under it are critical which would vote on xo >>>>>> blocking the suspend. >>>>>> >>>>>> Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com> >>>>>> --- >>>>> Is there a need to keep gcc_cpuss_ahb_clk_src around? Do we do any >>>>> ratesetting on it? Should we ever turn it off? >>>>> >>>> The branch clocks under gcc_cpuss_ahb_clk_src are critical clocks, which are running at 19.2Mhz causing vote on XO during suspend. As of now no rate setting is happening but this rcg is useful to get the exact rates from debugfs. Hence this change is needed to avoid XO shutdown issues. >>> So, if I underderstood you correctly, this clock serves no purpose other >>> than getting rate? >>> >>> In this case, I'd say we should de-register it from the clock driver and >>> use debugcc [1] (contributions welcome!) for precise measurements. >>> >> Although currently there is no rate-setting happening now, its better to keep the rcg modelling as is, considering that it might be needed if some use case arises in future. > We don't tend to solve imaginary problems, please lay out what it would be > used for, if at all. Then, we can assess whether it's necessary. Okay, I'll de-register this RCG.
diff --git a/drivers/clk/qcom/gcc-sm8150.c b/drivers/clk/qcom/gcc-sm8150.c index 05d115c52dfe..2a0608c5a104 100644 --- a/drivers/clk/qcom/gcc-sm8150.c +++ b/drivers/clk/qcom/gcc-sm8150.c @@ -123,6 +123,12 @@ static const struct clk_parent_data gcc_parents_0[] = { { .hw = &gpll0_out_even.clkr.hw }, }; +static const struct clk_parent_data gcc_parents_0_ao[] = { + { .fw_name = "bi_tcxo_ao", .name = "bi_tcxo_ao" }, + { .hw = &gpll0.clkr.hw }, + { .hw = &gpll0_out_even.clkr.hw }, +}; + static const struct parent_map gcc_parent_map_1[] = { { P_BI_TCXO, 0 }, { P_GPLL0_OUT_MAIN, 1 }, @@ -222,8 +228,8 @@ static struct clk_rcg2 gcc_cpuss_ahb_clk_src = { .freq_tbl = ftbl_gcc_cpuss_ahb_clk_src, .clkr.hw.init = &(struct clk_init_data){ .name = "gcc_cpuss_ahb_clk_src", - .parent_data = gcc_parents_0, - .num_parents = ARRAY_SIZE(gcc_parents_0), + .parent_data = gcc_parents_0_ao, + .num_parents = ARRAY_SIZE(gcc_parents_0_ao), .flags = CLK_SET_RATE_PARENT, .ops = &clk_rcg2_ops, },