From patchwork Tue Dec 5 06:09:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 17541 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp3238167vqy; Mon, 4 Dec 2023 22:11:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IHtp4pSXZaPpp8gcBtJb80H1SvGuyo9zbMVMHN+eU6180MopIOh53uDPT5eT/kIylC5zzts X-Received: by 2002:a17:902:6a88:b0:1d0:6ffd:6e90 with SMTP id n8-20020a1709026a8800b001d06ffd6e90mr2580692plk.136.1701756685910; Mon, 04 Dec 2023 22:11:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701756685; cv=none; d=google.com; s=arc-20160816; b=SkY47eW74o47b2SoLTjb5rrnQyQflkHh2R7IWot7r7MLT6HPv2oqiWUCVPAVhrNfV8 VjLDZ/Ap9jLvMnveHVpHha8CtojDtPT6qCWF27xL/XYvxo3WwGjQcgQxmsOq04czHJE0 UEr+MP7++GXteDsCkfijtqfLMipsveMQiLWZPB9Uhu82VpRYiZs2Xrr1Bws4qnsymkbD cHntvZvHjx7RQFOzmn2nTUHmFA6LvETbPAQsMEu53Yj0orxvoYZ6L470GQYry3rHPirn R0tDpOSMYjZfTJaWjBZfUua9KsPmp1OK+qD6AXf2dhFXCyg0Dm62Hk10aBIPeqs9NpRD PqkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=at1+xe4phxK+MdHVJ5zcS+DBk1A3GkNxsprxbjDuf0w=; fh=hBzWgvmtW0nuDyhGmbBgXuva5tN2LCNKOPJRQLDf5OI=; b=oqIe/MPjFI2+7HdtOvrp8uk4r0T6ZaBjHZ6l/EqomfTtfpg3Wy53M6o4gdCSODn5EG r5F+y9nyQtXzb1yz14hGcDFpTS6NuuGje9xx0ZbWynQmQyyYjtFNoyB7yZKrlCdrPTgV ZmAkh6Dp3rfP8rM/dcJf29YASHz7VSAhlLXrfoJw6iCHdWXPQKeQZhzj3EIA/28oA8Y7 ccq1R8nqMiHTE6Vn+bQGfg1yV581hUZTi6Bt6epyymHouh0jTZVU/kboxfRjEn3SkJC5 UtDbmMr2FubWAfrUfrXhYI48bdew6B0cFCMaTfnY7E6rbtDYYdHVm7V3Li9pDBxadoPJ tTDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HvwOIf8q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id v13-20020a170903238d00b001cfb55da13bsi2942567plh.332.2023.12.04.22.11.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 22:11:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HvwOIf8q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id CB94880215B2; Mon, 4 Dec 2023 22:11:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231447AbjLEGLH (ORCPT + 99 others); Tue, 5 Dec 2023 01:11:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344329AbjLEGKv (ORCPT ); Tue, 5 Dec 2023 01:10:51 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 492D1C3; Mon, 4 Dec 2023 22:10:57 -0800 (PST) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B55JgeP027966; Tue, 5 Dec 2023 06:10:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=at1+xe4phxK+MdHVJ5zcS+DBk1A3GkNxsprxbjDuf0w=; b=HvwOIf8q37itqwnh8nW56z0SvNS2yTd0cAT0AjakVOSQ6j9+MplP5jw0ujBdmGPq3Xnc wdI1+atd6KG5DurxptofJHCTjJmo2tL/ViPSs7mWYOuaH8Du+UZ59GfwoVA2mYSlJ3sS j/65q0PCDrscH1a6riP67UqFqD7+AKdp8YksG3LXWSodLsNgkiVRmbaBozDOviRtEbEv YZYo31Z8fYK0sVYVUWFkKa9D+UtCgH267GTHV8Gihv51sF3BYZRz0eCNLVwgOyAjsI31 jC+p7x0zpvdVsonf9RkQZ/uLqFSCDXCD7ciiTHEoJykh7Unh+TEkCHNp8/FzGWzq/a6f Rg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3usghcsv0q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 05 Dec 2023 06:10:53 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3B56ASVs002993 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 5 Dec 2023 06:10:28 GMT Received: from blr-ubuntu-253.qualcomm.com (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.1118.40; Mon, 4 Dec 2023 22:10:22 -0800 From: Sibi Sankar To: , , , , , CC: , , , , , , , , , , , Sibi Sankar Subject: [PATCH V3 0/4] clk: qcom: Introduce clocks drivers for X1E80100 Date: Tue, 5 Dec 2023 11:39:58 +0530 Message-ID: <20231205061002.30759-1-quic_sibis@quicinc.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 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: QtXztzxuLG0ZsbxQ1kZ3us6brGjAHNtT X-Proofpoint-GUID: QtXztzxuLG0ZsbxQ1kZ3us6brGjAHNtT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-05_03,2023-12-04_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=694 phishscore=0 adultscore=0 bulkscore=0 spamscore=0 lowpriorityscore=0 suspectscore=0 clxscore=1015 mlxscore=0 malwarescore=0 impostorscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2312050050 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 04 Dec 2023 22:11:22 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784421218717730029 X-GMAIL-MSGID: 1784421218717730029 This series adds initial clock support for the Qualcomm X1E80100 platform, aka Snapdragon X Elite. Our v1 post of the patchsets adding support for Snapdragon X Elite SoC had the part number sc8380xp which is now updated to the new part number x1e80100 based on the new branding scheme and refers to the exact same SoC. V3: * Rename gcc config to CLK_X1E80100_GCC [Krzysztof/Abel/Bryan]. * Pickup Rbs. v2: * Update the part number from sc8380xp to x1e80100. * Use shared ops in the x1e80100 gcc driver [Bryan]. * Inline clock names [Konrad] * Fix Kconfig [Krzysztof] * Pick-up Rbs from the list. Dependencies: None Release Link: https://www.qualcomm.com/news/releases/2023/10/qualcomm-unleashes-snapdragon-x-elite--the-ai-super-charged-plat Rajendra Nayak (4): dt-bindings: clock: qcom: Add X1E80100 GCC clocks clk: qcom: Add Global Clock controller (GCC) driver for X1E80100 dt-bindings: clock: qcom-rpmhcc: Add RPMHCC bindings for X1E80100 clk: qcom: rpmh: Add support for X1E80100 rpmh clocks .../bindings/clock/qcom,rpmhcc.yaml | 1 + .../bindings/clock/qcom,x1e80100-gcc.yaml | 72 + drivers/clk/qcom/Kconfig | 10 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/clk-rpmh.c | 26 + drivers/clk/qcom/gcc-x1e80100.c | 6807 +++++++++++++++++ include/dt-bindings/clock/qcom,x1e80100-gcc.h | 485 ++ 7 files changed, 7402 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/qcom,x1e80100-gcc.yaml create mode 100644 drivers/clk/qcom/gcc-x1e80100.c create mode 100644 include/dt-bindings/clock/qcom,x1e80100-gcc.h