From patchwork Fri Jun 16 10:17:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sricharan Ramabadhran X-Patchwork-Id: 10888 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1230474vqr; Fri, 16 Jun 2023 03:26:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ56eAFInheOL1TTLX9dYV5bzvnhkhiVqoG2TlAwBgXPJunosRuDGC6vFDzlz8nkRxcuAVQg X-Received: by 2002:a05:6830:20d5:b0:6a6:4ef2:7c98 with SMTP id z21-20020a05683020d500b006a64ef27c98mr1651264otq.31.1686911200979; Fri, 16 Jun 2023 03:26:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686911200; cv=none; d=google.com; s=arc-20160816; b=fJpWDXWuF2ArL+yUWMrGUnZjoNi0E+b7c77MqgBHSHgHjMVQLJP+5sIHRNni7ynX36 fnci4hDoxq1yoWi6Q8I+BqzuLzH1f4CvaBVh0T6hsRVrdZxZUR5xqMUEVGogZq2Msx9V /FyKGWLXLc3JjB9dKM8AX5R0HHfkGctDOvsH7Ovaf1SI+zVfNv2OeikQSzxyvxFxy/+y mC/MBxa24IkzNfgVfNPIz4lgODZbs15D8Xo2Cz1cRIaaqaEWiRGMzP28B7/GWWaTFWRK O3BtMewACQzeUryw351ymVeFEDBA/vFmG+CKAQ6OVyc446kW9v3lvj8G65Y0pzw2UxrK KTkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=m8kPc9d9jNfYMEBZ5M2e7hd+7edRZABBkT3WcDYBIdU=; b=NQLw+INIYgGk3VgdlFQr5j+5oYy3FFs14cMHiB7bQYudKxOXoxbHVdX/vjKSBSNbhg qtOwJJqehEMeMYV20ckgnBdXp2IfnwB1DAGvmMGVDT+fKIv09PhU71cyfFJhPiMFrUBV g6IB4Nqmyfq3twDp64ohcT0Vb1WhCfYmb0ufgDCIKj+weoszRqRrm5n73bcI7HwYOb8b hcdzZ8KIN/nq4qnBCoZ/7lqKGO5fj07oapWe3DGpPEjG9k+fkn6gGgBCMLrdNaOTVztC VImoaL/ghej/+A9SHxytFBmaNA3ib7qXObuNjTkZErXOELnG06g/eAaNXlp5nYjhCvgq JBJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=G3DGAO9h; 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 p8-20020a637408000000b0054fdcd2edbfsi4359166pgc.831.2023.06.16.03.26.28; Fri, 16 Jun 2023 03:26:40 -0700 (PDT) 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=G3DGAO9h; 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 S1343765AbjFPKTo (ORCPT + 99 others); Fri, 16 Jun 2023 06:19:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343509AbjFPKTT (ORCPT ); Fri, 16 Jun 2023 06:19:19 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC90830EB; Fri, 16 Jun 2023 03:18:43 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35G9Oss6024993; Fri, 16 Jun 2023 10:18:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=m8kPc9d9jNfYMEBZ5M2e7hd+7edRZABBkT3WcDYBIdU=; b=G3DGAO9hY619zGD1xFB3izaJhOay19E81JB/Dw74bFhR13V6TPyVX2EcAgEGEWOa1Tgy XDr9TlSOTSSjh0sz/ZCOK6N7tHN9HaNFdPxhVMadYIhZDKK/iLwGEylewsJV+oFIVApM m/4KU8ZmiVXh2ou2ZnrgNAS2oT/8BY6iXsZ2CwNYZ78TTsMqKvof42y8vkyujaNlFjA7 UEbsP3Rs8ZJEN5+KDIYFqRSyI/uH0u6EJsjwxCAseGywyhAujlRs91LSxQ83oS6f5P5a JLbgjVQfqwUPjz4Sh4JUPZvu498udzqYOiDmxB803Sq+YEVjHbF8LsLSQRVf/T7nsQw1 HQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3r8n09g3my-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 16 Jun 2023 10:18:20 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 35GAIIZd025395 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 16 Jun 2023 10:18:18 GMT Received: from win-platform-upstream01.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Fri, 16 Jun 2023 03:18:10 -0700 From: Sricharan Ramabadhran To: , , , , , , , , , , , , , , , , , , , , , Subject: [v11 0/6] Add minimal boot support for IPQ5018 Date: Fri, 16 Jun 2023 15:47:43 +0530 Message-ID: <20230616101749.2083974-1-quic_srichara@quicinc.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: n9BIRPl3_X1BtaxgPYgMOaK0ttFNG2Qf X-Proofpoint-ORIG-GUID: n9BIRPl3_X1BtaxgPYgMOaK0ttFNG2Qf X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-16_06,2023-06-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 bulkscore=0 clxscore=1015 impostorscore=0 lowpriorityscore=0 suspectscore=0 phishscore=0 mlxlogscore=867 spamscore=0 priorityscore=1501 malwarescore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306160092 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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?1768854599561580476?= X-GMAIL-MSGID: =?utf-8?q?1768854599561580476?= The IPQ5018 is Qualcomm's 802.11ax SoC for Routers, Gateways and Access Points. This series adds minimal board boot support for ipq5018-rdp432-c2 board. [v11] Fixed patch 2/6 , just to move ftbl_apss_axi_clk_src to user Picked up 'Acked-by: Konrad Dybcio ' [v10] Dropped patches 3,4 for pinctrl (was picked by Linus) Fixed hex number style in patch 2 as per Konrad's comments. [v9] Change only in patch 2/8 Sorted the headers and cleaned the unwanted ones Added trailing comma for .parent_hws member Removed the hunk touching ipq5332 kconfig (unintentionally) [v8] Changed only in patch 4/8 Fixed Kconfig to add COMPILE_TEST and removed header of.h. Instead using mod_devicetable.h. Added Linus reviewed-by [v7] Fixed tz reserved region size in patch 7/8 [v6] Fixed patch [4/8] pinctrl driver for rebase issue. [v5] Added Reviewed-by tags from Krzysztof Kozlowski. Changed patch [6/8] with [1] since its already Acked Rebased patch [4/8] on top of [2] and fixed other comments Fixed commit log for patch [7/8] Fixed comments for patch [2/8] [1] https://patchwork.kernel.org/project/linux-arm-msm/patch/1678164097-13247-4-git-send-email-quic_mmanikan@quicinc.com/ [2] https://lore.kernel.org/r/1683718725-14869-1-git-send-email-quic_rohiagar@quicinc.com [v4] Fixed all comments for clocks, schema, dts Added Reviewed-by tags. [v3] Fixed all comments for clocks, schema fixes Picked up Reviewed-by from Bjorn for pinctrl driver [v2] Fixed all comments and rebased for TOT. Manikanta Mylavarapu (1): dt-bindings: scm: Add compatible for IPQ5018 Sricharan Ramabadhran (5): dt-bindings: arm64: Add IPQ5018 clock and reset clk: qcom: Add Global Clock controller (GCC) driver for IPQ5018 dt-bindings: qcom: Add ipq5018 bindings arm64: dts: Add ipq5018 SoC and rdp432-c2 board support arm64: defconfig: Enable IPQ5018 SoC base configs .../devicetree/bindings/arm/qcom.yaml | 7 + .../bindings/clock/qcom,ipq5018-gcc.yaml | 63 + .../bindings/firmware/qcom,scm.yaml | 1 + arch/arm64/boot/dts/qcom/Makefile | 1 + .../arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts | 72 + arch/arm64/boot/dts/qcom/ipq5018.dtsi | 250 ++ arch/arm64/configs/defconfig | 3 + drivers/clk/qcom/Kconfig | 8 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/gcc-ipq5018.c | 3724 +++++++++++++++++ include/dt-bindings/clock/qcom,gcc-ipq5018.h | 183 + include/dt-bindings/reset/qcom,gcc-ipq5018.h | 122 + 12 files changed, 4435 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/qcom,ipq5018-gcc.yaml create mode 100644 arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts create mode 100644 arch/arm64/boot/dts/qcom/ipq5018.dtsi create mode 100644 drivers/clk/qcom/gcc-ipq5018.c create mode 100644 include/dt-bindings/clock/qcom,gcc-ipq5018.h create mode 100644 include/dt-bindings/reset/qcom,gcc-ipq5018.h