From patchwork Mon Jan 30 12:55:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devi Priya X-Patchwork-Id: 4711 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2162491wrn; Mon, 30 Jan 2023 04:57:38 -0800 (PST) X-Google-Smtp-Source: AK7set/ErEqob4NGGpW0wGo4nFrwxC3rrc7pqYneQQRjwAz0VwaH+k4CgYEy6MBgxuPTYJSpjHf5 X-Received: by 2002:a17:902:d14b:b0:194:d609:e1ca with SMTP id t11-20020a170902d14b00b00194d609e1camr6464175plt.54.1675083458394; Mon, 30 Jan 2023 04:57:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675083458; cv=none; d=google.com; s=arc-20160816; b=E2tiX/15omwXSq6tHbeJUBfdMsZdJIQF6G7naAVKBvXlk4sS7DiTNuhVXtcB8xHPfv JeKZFfRL/HWQqx5H3u/sU5SirhjYJB7E2EI0nuf/grUan72n8dVnmTxdrnpIxdmnP0wM PZwb8L1wJlIg5R8dUNmb9UlCzR6V5HgIbilTfcoEr7qCGuabp0NaKvusPK84zecIi6jB uHYNBjaACyQfx66mD9wx0sEa/sACBz4NmBbut+2m0qQ+EuMd96CmwdlDygw1M0ziD4Yg VxgrSUGidN2VaVwXtGZxx9SneCrUmPJ4EiZMFoHb9+aOI7Ju2Squ0qIPKOE5Vb/oRZhP JelA== 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=081hhb1xu20Ax/S4B5L14JjuI9A+K1VwD+7hio7vcKA=; b=u9AB5/Ac5lU/aPc6gu1rp3aUbC5eIV8HYxPBS3tAZVdgahOf3nf3u1KrWbrp3MEOd4 cTVRbxszmR1WR6cNi0cGLotITqVyb0cLvCCBpiEzdrp0bFDMxeWBKSSlqOz1MDMKYkK0 +iLJHWAiu1KPJD+DP81KBgFUZPeWgDKEM6RR0BMM4xiOGhfmhqLxDlybYqM6vbux2Dy4 soVnFZUQdRGDJ9Tg7oS8MxL4J5OwJDodDkN5Xfmt1d4N6aavCtwyRXT4/QT8DDB5pN+e IH8E1k7AV6uxktl9cOn7JSvXGCAhQuYF4J2dUMkRTc7HZk0XDUvTScB5CInYUiv9wq3q /r3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="Sm7L/CIz"; 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 d21-20020a170902729500b0019262c18328si12277285pll.14.2023.01.30.04.57.25; Mon, 30 Jan 2023 04:57:38 -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="Sm7L/CIz"; 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 S236944AbjA3M4g (ORCPT + 99 others); Mon, 30 Jan 2023 07:56:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236937AbjA3M4e (ORCPT ); Mon, 30 Jan 2023 07:56:34 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92C4C367CA; Mon, 30 Jan 2023 04:56:33 -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 30UBUcgY022003; Mon, 30 Jan 2023 12:56:10 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=081hhb1xu20Ax/S4B5L14JjuI9A+K1VwD+7hio7vcKA=; b=Sm7L/CIzDtgTvDPOJSMfRAxxppAQ11VyVeGhg2f8/Ymn2ruH+eh77Ayx2HEZaXT0K27O CoogoegLAYj5E7dOnJqJZuIyUUufH+bfgjtHXIcQdJxS91VPgm/ptiIZ4p4a6IWuSBqz GLuhIx5r459coZO6XvV3oNCOPv38MgQjRCnPcu95UwpAnszYQgS2DdzGmAeakU8zukUx /p21jHdVesVDHu2MyPmgyio60P2j2rXBsFvkwmMIB0CYERmFMj1zrq17etX2u2PHcpa8 aiLoZpFu4tNdE7QeZp+lrI5JZVhRnY8CiIO6ZekKw2kw4FL6Am+NJ6/+slWpFlMH5sTC XA== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3nctqgkxs6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Jan 2023 12:56:10 +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 30UCu1am014630 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Jan 2023 12:56:01 GMT Received: from devipriy-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.36; Mon, 30 Jan 2023 04:55:53 -0800 From: devi priya To: , , , , , , , , , , , , , , , , , , , , , CC: , , , , , , Subject: [PATCH V3 0/7] Add minimal boot support for IPQ9574 Date: Mon, 30 Jan 2023 18:25:21 +0530 Message-ID: <20230130125528.11509-1-quic_devipriy@quicinc.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: SN-LGbd0NzQluwgSsrKwmLY5T7bD9tJR X-Proofpoint-ORIG-GUID: SN-LGbd0NzQluwgSsrKwmLY5T7bD9tJR X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-30_10,2023-01-30_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 bulkscore=0 clxscore=1015 priorityscore=1501 impostorscore=0 lowpriorityscore=0 phishscore=0 mlxscore=0 adultscore=0 malwarescore=0 mlxlogscore=739 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301300124 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?1756452312491633370?= X-GMAIL-MSGID: =?utf-8?q?1756452312491633370?= The IPQ9574 is Qualcomm's 802.11ax SoC for Routers, Gateways and Access Points. This series adds minimal board boot support for ipq9574-al02-c7 board Posting V3 series, considering the previously posted version as V2 Changes in V3: - Rebased on linux-next/master - Dropped the 'dt-bindings: mmc: sdhci-msm: Document the IPQ9574 compatible' since it is already part of the linux-next/master - Detailed change log is added in the respective patches - V2 can be found at https://lore.kernel.org/linux-arm-msm/f81e4605-9111-7f70-abb3-72067d68f8e2@quicinc.com/ devi priya (7): dt-bindings: Add ipq9574 clock and reset definitions clk: qcom: Add Global Clock Controller driver for IPQ9574 dt-bindings: pinctrl: qcom: Add support for IPQ9574 pinctrl: qcom: Add IPQ9574 pinctrl driver dt-bindings: arm: qcom: Add ipq9574 compatible arm64: dts: qcom: Add ipq9574 SoC and AL02 board support arm64: defconfig: Enable IPQ9574 SoC base configs .../devicetree/bindings/arm/qcom.yaml | 7 + .../bindings/clock/qcom,ipq9574-gcc.yaml | 72 + .../bindings/pinctrl/qcom,ipq9574-tlmm.yaml | 137 + arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/ipq9574-al02-c7.dts | 78 + arch/arm64/boot/dts/qcom/ipq9574.dtsi | 285 ++ arch/arm64/configs/defconfig | 2 + drivers/clk/qcom/Kconfig | 8 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/gcc-ipq9574.c | 4302 +++++++++++++++++ drivers/pinctrl/qcom/Kconfig | 11 + drivers/pinctrl/qcom/Makefile | 1 + drivers/pinctrl/qcom/pinctrl-ipq9574.c | 861 ++++ include/dt-bindings/clock/qcom,ipq9574-gcc.h | 213 + include/dt-bindings/reset/qcom,ipq9574-gcc.h | 164 + 15 files changed, 6143 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/qcom,ipq9574-gcc.yaml create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,ipq9574-tlmm.yaml create mode 100644 arch/arm64/boot/dts/qcom/ipq9574-al02-c7.dts create mode 100644 arch/arm64/boot/dts/qcom/ipq9574.dtsi create mode 100644 drivers/clk/qcom/gcc-ipq9574.c create mode 100644 drivers/pinctrl/qcom/pinctrl-ipq9574.c create mode 100644 include/dt-bindings/clock/qcom,ipq9574-gcc.h create mode 100644 include/dt-bindings/reset/qcom,ipq9574-gcc.h base-commit: e2f86c02fdc96ca29ced53221a3cbf50aa6f8b49