From nobody Tue Oct 7 12:27:28 2025 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 BD3A12D97AC; Thu, 10 Jul 2025 12:29:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752150568; cv=none; b=rfeVaJOMxaWh1bNTUJhihBoWz+jDE9w50qGP6daPz9TErEX1BldjPGX2dzpfhgnViofPUDDXkxHHY8qeRgATp6rf3W88rgdWziIj3yZXcGhSpoNn9wrSdoJkOgROwsveXFEeGGcHEN71ecdU94/YxAyMTuTjT12yqlZywaYnXfY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752150568; c=relaxed/simple; bh=A6fmsinEWLen4l325/JiOd1W2FSS5NRkrUlZh5HTTHw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=dFUWyPAsJ3targsMkhV9bHCh99yau1erxMyVoWfS+VyHaiDVnypbrSoRp/H3mgeXw5pbulcvrlJC5SF3XCzoQRoDZ12MEsiROgUZ03WGlEgxmrF5QULjibMMPaG1GZSJtDrh7bnZdZlMtaEh7YsFYJOZe29FHw061kHTXS1nGFM= 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=EP7ZOR3W; arc=none smtp.client-ip=205.220.180.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="EP7ZOR3W" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 56A9Q3GS011549; Thu, 10 Jul 2025 12:29:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= UExxIFxGp38oXDEuMI5pTQb8sX00ZAIl5IRVblIp4jg=; b=EP7ZOR3WZu28k05U RO8QdR4Iha3g3Y89uAmZyGM3wH/+2HS0tejZDRQ5Mg2aJZsHIYx/ii/VzmiaZ/do kRY9NwLz43X7Be/bEXEdwP7Mb8G0EZesTCrSmf1ZYPwqaDRqoKlv0X3A5vN68zyu ugwL5Bx9AJq9r3sRf3qFMzt7Txkc8+KIBoroMEaYcBDoYmRRf3iSM4tO5YmyeZnT 4NWBIuJy+bf4aSoIt7wsyW8FHnj7KPNE78rDcnkkPCxlTg5T3eRMw2tppTa8t8sJ HvFYe45/Rz7za7WAfvqdSYgQMMuVnzQ3Z2YbJixNeonWywnZVV2u8flW07KTo9Tn FGipRg== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 47smafmvad-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 10 Jul 2025 12:29:17 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 56ACTG9X024878 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 10 Jul 2025 12:29:16 GMT Received: from nsssdc-sh01-lnx.ap.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.10; Thu, 10 Jul 2025 05:29:10 -0700 From: Luo Jie Date: Thu, 10 Jul 2025 20:28:12 +0800 Subject: [PATCH v3 04/10] clock: qcom: gcc-ipq5424: Add gpll0_out_aux clock Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID: <20250710-qcom_ipq5424_nsscc-v3-4-f149dc461212@quicinc.com> References: <20250710-qcom_ipq5424_nsscc-v3-0-f149dc461212@quicinc.com> In-Reply-To: <20250710-qcom_ipq5424_nsscc-v3-0-f149dc461212@quicinc.com> To: Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Michael Turquette , Stephen Boyd , Anusha Rao , Konrad Dybcio , "Philipp Zabel" , Richard Cochran , Catalin Marinas , Will Deacon CC: , , , , , , , , , , , , Luo Jie X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1752150528; l=1324; i=quic_luoj@quicinc.com; s=20250209; h=from:subject:message-id; bh=A6fmsinEWLen4l325/JiOd1W2FSS5NRkrUlZh5HTTHw=; b=HFHjND5d9SNur3ccTbad7ZO6d7XLzqwcHmGxEbILHVBwYiC8q8FBGHR+CJYIA1XIqJUd68HHz /Zfcuozc+/NCF9KzXXubAwA0owC58vWif5/5R73qIWP8y8/G4rij7mJ X-Developer-Key: i=quic_luoj@quicinc.com; a=ed25519; pk=pzwy8bU5tJZ5UKGTv28n+QOuktaWuriznGmriA9Qkfc= X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Authority-Analysis: v=2.4 cv=ZJ/XmW7b c=1 sm=1 tr=0 ts=686fb21d cx=c_pps a=JYp8KDb2vCoCEuGobkYCKw==:117 a=JYp8KDb2vCoCEuGobkYCKw==:17 a=GEpy-HfZoHoA:10 a=IkcTkHD0fZMA:10 a=Wb1JkmetP80A:10 a=COk6AnOGAAAA:8 a=PgHBclK_Yek0rHWKhOgA:9 a=QEXdDO2ut3YA:10 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-ORIG-GUID: dCM5LEGDIx2IYHQfp_PNQ9gqIl1_XTYF X-Proofpoint-GUID: dCM5LEGDIx2IYHQfp_PNQ9gqIl1_XTYF X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNzEwMDEwNiBTYWx0ZWRfXzWOd/LE6Axh4 4FkXkQdjyJSTZ9caQgXYF+w1agN9k2qOH6i9ycnAwsBEWR534/uPJtw2Ge9oQTS/jjFKEHRlBDl 1gtlr6uuNB9MzmX9dzkqbtSupZU+Zbpya1RbSaGiJtSIbIxYYl0DOLmZ4nT+R/Vv+BfbDHGr92u W2iYUdvoKxfjf1VOkNudX8OrB42xYwtZVn7GuIYroOlOIZO/p/AQ7sMLr9AZN2cQ1rCaMB0kwvZ fZfpCNC4YN/6OUDCvTfTs5wZcTO6R+5lLyTS5MK4BFdmVGR8i1EZ92A8eDt0OK+DrcCGfvPcpGu COBgrWpbtdPOLTAd4uy8S0uJhr8D+1UaTcFQt/LRyD5OaTS/9SvlGVydjBP/qXz50ENSqoLTimr NKA5w0Fu+/lIgH3Bohuo9F6blwEzr6xjpxEYwnCx+QtPdJ+fS6dDksdvoT4ac85zO1VdOehy X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.7,FMLib:17.12.80.40 definitions=2025-07-10_02,2025-07-09_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 impostorscore=0 spamscore=0 adultscore=0 clxscore=1015 bulkscore=0 phishscore=0 priorityscore=1501 mlxscore=0 lowpriorityscore=0 suspectscore=0 malwarescore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505280000 definitions=main-2507100106 The clock gpll0_out_aux acts as the parent clock for some of the NSS (Network Subsystem) clocks. Signed-off-by: Luo Jie --- drivers/clk/qcom/gcc-ipq5424.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/drivers/clk/qcom/gcc-ipq5424.c b/drivers/clk/qcom/gcc-ipq5424.c index 3a01cb277cac..370e2e775044 100644 --- a/drivers/clk/qcom/gcc-ipq5424.c +++ b/drivers/clk/qcom/gcc-ipq5424.c @@ -79,6 +79,20 @@ static struct clk_fixed_factor gpll0_div2 =3D { }, }; =20 +static struct clk_alpha_pll_postdiv gpll0_out_aux =3D { + .offset =3D 0x20000, + .regs =3D clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT], + .width =3D 4, + .clkr.hw.init =3D &(const struct clk_init_data) { + .name =3D "gpll0_out_aux", + .parent_hws =3D (const struct clk_hw *[]) { + &gpll0.clkr.hw + }, + .num_parents =3D 1, + .ops =3D &clk_alpha_pll_postdiv_ro_ops, + }, +}; + static struct clk_alpha_pll gpll2 =3D { .offset =3D 0x21000, .regs =3D clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_NSS_HUAYRA], @@ -2934,6 +2948,7 @@ static struct clk_regmap *gcc_ipq5424_clocks[] =3D { [GPLL2] =3D &gpll2.clkr, [GPLL2_OUT_MAIN] =3D &gpll2_out_main.clkr, [GPLL4] =3D &gpll4.clkr, + [GPLL0_OUT_AUX] =3D &gpll0_out_aux.clkr, }; =20 static const struct qcom_reset_map gcc_ipq5424_resets[] =3D { --=20 2.34.1