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: 5540 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp757784wrn; Fri, 17 Feb 2023 00:01:10 -0800 (PST) X-Google-Smtp-Source: AK7set/mhPmTAaXr3+GXyD+mjGNZ063DzOrB+pFIS6Eo0IuthnEhccRgyfK0zflpzis2e8sBw+B1 X-Received: by 2002:a05:6a20:3946:b0:c7:60ad:9af7 with SMTP id r6-20020a056a20394600b000c760ad9af7mr2752808pzg.1.1676620869871; Fri, 17 Feb 2023 00:01:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676620869; cv=none; d=google.com; s=arc-20160816; b=RMw2dcIPtSctzxQLLCTbz6sQ4QTW7DtEj8ZJjbNjczGjjv/tIrqN6+c8tP3maZ2dyL DI0Jlgc7SqZL57wKB2Z4J+geSQ3OMzbxjNUMeNdNoJps6pYR9FJrEffyAVzEZ41mNTdZ OMV1jznG/A7H8iPp3dlSGeU+pQN8vlbh0nfFWDAZ5pHLdU5zp3hU1lKPXGtyzfIQYGbp FLi6DAHsQQUfBRPtXkH4hGrXXsm6XApDGJZl6eBYvVgiA6Pi60kQI4yvGuquGm/X+JbF A3RvHQo4plSbdkrkQBG7xTxdqfHOcUckeR3hui0npG8JmTVRetUVNi7F1DUUctlA3iwn 0XlA== 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=atTOba3DoPktzAxeQejU5J8tEASc46CldSOKKnhdwBM=; b=efjA7PtgTZW7rdEPNVoEXcnbc1AH97+bUclfEYsekV6NRAgzrHJt/8IeA8BYOpXvHC zpSMrBJjleOCiA2cFQK+ifiM6g81kyACRwkXfjCnf7yuB5aagIDHRajJILfhyjImBts1 asFJBxRsG6MUNM9q3DfO4yXsJniK2CSkaMM/BscR5TK04slEZwSgVKkT2ouhCiW4v9EY s4YSALXbBtxLoIu2uE8AG4MppXL1/JCIVjjYhbpTapCyzyEPJNWYhztziu1t4KRyJxmC GqyMvPrK5AO4B05IseRQyfK2WLrD0IpgnlB2j0XfEppDdcy23b4qzRT6A3O0ADJ8uM8q VKJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=o3vEPWve; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p1-20020a635b01000000b004e775cc7557si3777154pgb.527.2023.02.17.00.00.57; Fri, 17 Feb 2023 00:01:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=o3vEPWve; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229771AbjBQH71 (ORCPT + 99 others); Fri, 17 Feb 2023 02:59:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjBQH7Z (ORCPT ); Fri, 17 Feb 2023 02:59:25 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1972F54D05; Thu, 16 Feb 2023 23:59:24 -0800 (PST) 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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758064405082731246?= X-GMAIL-MSGID: =?utf-8?q?1758064405082731246?= 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