From patchwork Tue May 16 11:45:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sricharan Ramabadhran X-Patchwork-Id: 9394 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp362772vqo; Tue, 16 May 2023 04:49:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5q9schwIAtuglAKTFTPUtgq5UD6wyne7faTthp5nH8gFB8SjPILhqOf7canlPsDil2tcmM X-Received: by 2002:a05:6a00:1996:b0:646:b165:1b29 with SMTP id d22-20020a056a00199600b00646b1651b29mr35578823pfl.23.1684237774903; Tue, 16 May 2023 04:49:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684237774; cv=none; d=google.com; s=arc-20160816; b=BCF0KyK/A7fOTLDDRYpags3HdJXhvWy7yP2vquLBS342dWP6O2Cyze0T0AVSupZEZu 9Tvl545M+agcQrQYxyZRT/KFm3mNb/zP2wFZtQe7vO99DdP0pC2y+zcsU9OaRJwqfH95 Es01CWSfMA9zyD5oC4dg32InAvFOLPEMg/XqeWdlbGmA1YyT/pRsC9ODlmXt2kcU3lXh D8+Gz+rmW8fSBAoWWiByEDBR/4+upe30GzEoL7NCjG8DWNj6uuW6yDdvwXG4aAI7Z+Cm iYoNw+fH4F0krFbOkNns64MzWc0egHc49RuNDqK5Q78xuJ58NMcAPY0XLwbWA5BtLmAT 82lw== 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=yHnqeEF1gNh/uwWLh9z7i1Wtz9AYfRFLB2K12IRmv6M=; b=PYTtyFdHAQzN8Y11pirZDfBHbwvmv7ZFoFhIlOWXbM+DFSbMMDlvewcsRJr8BmqMs+ 103aJMHovm3CuOIMHDd2ccBAmlacnqM0gSSyk0yWt79tdPD5FFFx82oMIZ3LN9OIngh6 4CTLfqWi+qQYvE7vSWGO/xdbKWObo1w6ctGLOyZ304+MjhIp1LAtk8hUOTno0f1jk6CY Nhu6DIo9K92G9DE+8zvU5JcLoImDc/j6DJ0MB11/NbPTnLchv4KDAFq4j9gD3Vi8U1DP q3NPpXyhowDuAik/VN5U5lIwFlImBQaQOhNlMAyqWwHfso2cnwNx1end+HTqFFZK5EvX WGRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=f1iBS3si; 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 g12-20020a63ad0c000000b0051b29733bc9si17969316pgf.715.2023.05.16.04.49.21; Tue, 16 May 2023 04:49:34 -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=f1iBS3si; 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 S232355AbjEPLqT (ORCPT + 99 others); Tue, 16 May 2023 07:46:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232428AbjEPLqR (ORCPT ); Tue, 16 May 2023 07:46:17 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CE5D4494; Tue, 16 May 2023 04:46:12 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34G9mOxW029807; Tue, 16 May 2023 11:45:52 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=yHnqeEF1gNh/uwWLh9z7i1Wtz9AYfRFLB2K12IRmv6M=; b=f1iBS3sixB/k35zCi3P/3ybE8T15DeBzsHpalnRr1d3lbDBtB/rHbMcsg/ye0kS90MOi wwi4ubvb6VqRgRX10qg4n8XCqdH3de1U1pn7pMByZoKIxxlJcNsTnbCfvczuf71nDP2K 4BLEgqqsUC2CvXo7443F0A69v/vM8VgZiLOsacMXhuynITJEHekK5nUWPeFgHbdpR4P6 BfAA62S8mo3QqYgexwH1GuXa6BQwd7ZlbwCcb3NHcSbLf1BCvx65PPAKyNdxFvSE6RDA xNig+rXi6JJ4F/zcNV+uyXQM0tkNbgMivzmB6GaY4KarNU4FYP6B8fvJPqK2Jr3iTR9i Uw== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qm36n0rdy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:45:52 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34GBjprI029977 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:45:51 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; Tue, 16 May 2023 04:45:45 -0700 From: Sricharan Ramabadhran To: , , , , , , , , , , , , , , , , , , , , Subject: [PATCH V5 0/8] Add minimal boot support for IPQ5018 Date: Tue, 16 May 2023 17:15:15 +0530 Message-ID: <20230516114523.3266419-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: nasanex01b.na.qualcomm.com (10.46.141.250) 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: tlelaXIWTupBJ-xtp_8hizZDKeXc57Z6 X-Proofpoint-ORIG-GUID: tlelaXIWTupBJ-xtp_8hizZDKeXc57Z6 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-16_04,2023-05-16_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxlogscore=873 spamscore=0 suspectscore=0 priorityscore=1501 malwarescore=0 phishscore=0 bulkscore=0 impostorscore=0 mlxscore=0 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305160100 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?1766051309425235588?= X-GMAIL-MSGID: =?utf-8?q?1766051309425235588?= The IPQ5018 is Qualcomm's 802.11ax SoC for Routers, Gateways and Access Points. This series adds minimal board boot support for ipq5018-mp03.1-c2 board. [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 (7): dt-bindings: arm64: Add IPQ5018 clock and reset clk: qcom: Add Global Clock controller (GCC) driver for IPQ5018 dt-bindings: pinctrl: qcom: Add support for ipq5018 pinctrl: qcom: Add IPQ5018 pinctrl driver 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 + .../bindings/pinctrl/qcom,ipq5018-tlmm.yaml | 127 + 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 | 10 +- drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/gcc-ipq5018.c | 3731 +++++++++++++++++ drivers/pinctrl/qcom/Kconfig | 10 + drivers/pinctrl/qcom/Makefile | 1 + drivers/pinctrl/qcom/pinctrl-ipq5018.c | 783 ++++ include/dt-bindings/clock/qcom,gcc-ipq5018.h | 183 + include/dt-bindings/reset/qcom,gcc-ipq5018.h | 122 + 16 files changed, 5363 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/qcom,ipq5018-gcc.yaml create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,ipq5018-tlmm.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 drivers/pinctrl/qcom/pinctrl-ipq5018.c create mode 100644 include/dt-bindings/clock/qcom,gcc-ipq5018.h create mode 100644 include/dt-bindings/reset/qcom,gcc-ipq5018.h