From patchwork Fri Feb 17 07:58:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kathiravan Thirumoorthy X-Patchwork-Id: 13144386 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 334ACC64EC4 for ; Fri, 17 Feb 2023 08:00:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=NX5mv+cG+iGlOXmuxQH4/PdTz5z3JgqWQkB3DzFf4Iw=; b=NnEKVraHRAlo2W VuJQZhGky3fNKJ4w+QNYZzL/SJTBjenqCyUGbHePEAd+ezRDEveepAMtYpYQCQUeXEnj2JR0CjsMj LI9wcxNezQNmTizZMo41wbLVM49CpNCL+2PM5Xa6H6IqRPAudZU3YUm4CoXu5MCodFMVvmGJw8lKG a0h6pd+dUW+Ri/ObYOedhXP0Jsu3oLyBtbzhdzD3iIBGa+iuX7nRVfMv/mQzb5yZPl9m7oqbyTkVk FoP+JiMJesJ4j2cjuQ3JpyNJYHavEEqYdyfobdRb3NamMBmeEKFLA9XuTitp0upGuJ+Q9eBZjwdih zdoj/r6KuiJ2l2nDJ1Qw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pSveM-00DAms-Kp; Fri, 17 Feb 2023 07:59:22 +0000 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pSveJ-00DAkz-9e for linux-arm-kernel@lists.infradead.org; Fri, 17 Feb 2023 07:59:21 +0000 Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31H6njMW032718; Fri, 17 Feb 2023 07:59:04 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=atTOba3DoPktzAxeQejU5J8tEASc46CldSOKKnhdwBM=; b=o3vEPWveAMmf76idgOrDKpSpCKqaNszjMkshNocshq711Y/xLMtYl5WJDP3khD0R8mKJ Fq5elKQAWrpX+IpKDEQcCTD9sC9fmfgmUEkc7vvn5lTRRtgtqLHEBbjUF7m5AKP9QLW5 80juozblWOwGRwWpqHfUUYg8SIJr88buRUHr4UJbChsb86aCEUrI0KS1Gx+dbu8LKDR4 hAZJvSHSuMdlGK1upcvyBr9LRIB9Lfc1v0UKe0CiXoxdY55Pn87Ph2TA5CMg5NawzM+3 2zNbpJRyHIfslVbfJpRIjZiIsJNgbIr4Tv3+A7vUPMsHDyKa7ZsPI92MHX7R3OLox9tv Mg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3nsxe7s3dr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Feb 2023 07:59:03 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 31H7x2lf015995 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Feb 2023 07:59:02 GMT Received: from kathirav-linux.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.986.41; Thu, 16 Feb 2023 23:58:54 -0800 From: Kathiravan T To: , , , , , , , , , , , , , , , , , , , , , , , CC: , , Kathiravan T Subject: [PATCH V5 0/7] Add minimal boot support for IPQ5332 Date: Fri, 17 Feb 2023 13:28:28 +0530 Message-ID: <20230217075835.460-1-quic_kathirav@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-GUID: uWj3EmFqdElMsp2gEbCDP4yinRMQua5u X-Proofpoint-ORIG-GUID: uWj3EmFqdElMsp2gEbCDP4yinRMQua5u 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-17_04,2023-02-16_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 phishscore=0 adultscore=0 spamscore=0 suspectscore=0 malwarescore=0 mlxlogscore=570 impostorscore=0 mlxscore=0 priorityscore=1501 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170071 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230216_235919_502422_75ECAA35 X-CRM114-Status: GOOD ( 18.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The IPQ5332 is Qualcomm's 802.11ax SoC for Routers, Gateways and Access Points. This series adds minimal board boot support for ipq5332-mi01.2 board. Also, this series depends on the below patch https://lore.kernel.org/linux-arm-msm/20230120082631.22053-1-quic_kathirav@quicinc.com/ Changes in V5: - Dropped the clock-names from binding and DTS - Detailed change log is present in respective patches - V4 can be found at https://lore.kernel.org/linux-arm-msm/20230208155232.11500-1-quic_kathirav@quicinc.com/ Changes in V4: - Dropped the pinctrl driver and its binding, since it is already part of linux-next/master - Detailed change log is present in respective patches - V3 can be found at https://lore.kernel.org/linux-arm-msm/20230206071217.29313-1-quic_kathirav@quicinc.com/ Changes in V3: - Detailed change log is present in respective patches - V2 can be found at https://lore.kernel.org/linux-arm-msm/20230130114702.20606-1-quic_kathirav@quicinc.com/ Changes in V2: - Rebased on linux-next/master - Dropped the 'dt-bindings: mmc: sdhci-msm: add IPQ5332 compatible', since it is already part of linux-next/master - Added a new patch 'clk: qcom: ipq5332: mark GPLL4 as critical temporarily' - Detailed change log is present in respective patches - V1 can be found at https://lore.kernel.org/linux-arm-msm/20230125104520.89684-1-quic_kathirav@quicinc.com/ Kathiravan T (7): clk: qcom: Add STROMER PLUS PLL type for IPQ5332 dt-bindings: clock: Add Qualcomm IPQ5332 GCC clk: qcom: add Global Clock controller (GCC) driver for IPQ5332 SoC dt-bindings: qcom: add ipq5332 boards dt-bindings: firmware: qcom,scm: document IPQ5332 SCM arm64: dts: qcom: add IPQ5332 SoC and MI01.2 board support arm64: defconfig: Enable IPQ5332 SoC base configs .../devicetree/bindings/arm/qcom.yaml | 7 + .../bindings/clock/qcom,ipq5332-gcc.yaml | 53 + .../bindings/firmware/qcom,scm.yaml | 1 + arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/ipq5332-mi01.2.dts | 75 + arch/arm64/boot/dts/qcom/ipq5332.dtsi | 263 ++ arch/arm64/configs/defconfig | 2 + drivers/clk/qcom/Kconfig | 8 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/clk-alpha-pll.c | 11 + drivers/clk/qcom/clk-alpha-pll.h | 1 + drivers/clk/qcom/gcc-ipq5332.c | 3813 +++++++++++++++++ include/dt-bindings/clock/qcom,ipq5332-gcc.h | 356 ++ 13 files changed, 4592 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/qcom,ipq5332-gcc.yaml create mode 100644 arch/arm64/boot/dts/qcom/ipq5332-mi01.2.dts create mode 100644 arch/arm64/boot/dts/qcom/ipq5332.dtsi create mode 100644 drivers/clk/qcom/gcc-ipq5332.c create mode 100644 include/dt-bindings/clock/qcom,ipq5332-gcc.h