Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3977DC05027 for ; Mon, 20 Feb 2023 13:45:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232262AbjBTNpQ (ORCPT ); Mon, 20 Feb 2023 08:45:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232244AbjBTNpO (ORCPT ); Mon, 20 Feb 2023 08:45:14 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEC801D91B; Mon, 20 Feb 2023 05:44:54 -0800 (PST) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31K5EKYc005194; Mon, 20 Feb 2023 13:44:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=jYkMyl5gn5qrmoMjcdhJ36GQx7v+D5e0l0Jxxi0TnHw=; b=pcbG2htr2uJpUGADtincUG51VoBWLTL9IrLOG9tNrvGpX0SFDxuMI3+7J371z6oz1yGY NkOtUJ91rycEar/3KISAORBXpQT6UvXHQwWOdVVeAon9plgzoQ1x+3ldV3vem4UhE1v0 3JnWMcTXPDnThwo3JfL02HhyhBWGDQsP8NQLJCbw1t+x3zCpqJmRFWf7INNRqLRW4dju yPagXy8K0a29/oCnWptiU5GJ0+nIevbXYxw2m5Uxaeyt8FDVj8AhZ7vcbg8dl2v9IeVy Xe8IAMAk3WajgGZUAw+FM6e7BtKtSJsyG213h3vE5H7pFFNZt/Tqvq06n6mTL0AGwFPI JQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3nubb1u629-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 Feb 2023 13:44:42 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 31KDifrc016945 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 Feb 2023 13:44:41 GMT Received: from [10.216.11.20] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Mon, 20 Feb 2023 05:44:32 -0800 Message-ID: <1ec15d17-9079-5577-757c-8113e394edef@quicinc.com> Date: Mon, 20 Feb 2023 19:14:29 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH 6/7] clk: qcom: gcc-ipq9574: Add PCIe related clocks Content-Language: en-US To: Sricharan Ramabadhran , , , , , , , , , , , , , , , , , , , , , CC: , , , , References: <20230214164135.17039-1-quic_devipriy@quicinc.com> <20230214164135.17039-7-quic_devipriy@quicinc.com> <0d5f6df8-bb44-f9fe-8d5c-50e488ae4c53@quicinc.com> From: Devi Priya In-Reply-To: <0d5f6df8-bb44-f9fe-8d5c-50e488ae4c53@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: afA5-XwtB0vxNeg9OKtxq-cn1MIxu_hV X-Proofpoint-GUID: afA5-XwtB0vxNeg9OKtxq-cn1MIxu_hV X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-20_11,2023-02-20_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 suspectscore=0 adultscore=0 lowpriorityscore=0 spamscore=0 bulkscore=0 mlxlogscore=999 malwarescore=0 priorityscore=1501 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302200125 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/17/2023 2:13 PM, Sricharan Ramabadhran wrote: > Hi Devi, > > On 2/14/2023 10:11 PM, Devi Priya wrote: >> Add the clocks needed for enabling PCIe in IPQ9574 >> >> Co-developed-by: Anusha Rao >> Signed-off-by: Anusha Rao >> Signed-off-by: Devi Priya >> --- >>   drivers/clk/qcom/gcc-ipq9574.c | 76 ++++++++++++++++++++++++++++++++++ >>   1 file changed, 76 insertions(+) >> >> diff --git a/drivers/clk/qcom/gcc-ipq9574.c >> b/drivers/clk/qcom/gcc-ipq9574.c >> index b2a2d618a5ec..1bf33d582dc2 100644 >> --- a/drivers/clk/qcom/gcc-ipq9574.c >> +++ b/drivers/clk/qcom/gcc-ipq9574.c >> @@ -1538,6 +1538,24 @@ static struct clk_regmap_phy_mux >> pcie0_pipe_clk_src = { >>       }, >>   }; >> +static struct clk_branch gcc_pcie0_pipe_clk = { >> +    .halt_reg = 0x28044, >> +    .halt_check = BRANCH_HALT_DELAY, >> +    .clkr = { >> +        .enable_reg = 0x28044, >> +        .enable_mask = BIT(0), >> +        .hw.init = &(struct clk_init_data){ >> +            .name = "gcc_pcie0_pipe_clk", >> +            .parent_hws = (const struct clk_hw *[]) { >> +                &pcie0_pipe_clk_src.clkr.hw >> +            }, >> +            .num_parents = 1, >> +            .flags = CLK_SET_RATE_PARENT, >> +            .ops = &clk_branch2_ops, >> +        }, >> +    }, >> +}; >> + > >   Also, this patch should come before your phy driver updates. Sure got it, will reorder the patches in V2 > > Regards, >  Sricharan > Best Regards, Devi Priya