Message ID | 20230915021509.25773-8-quic_tengfan@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp1134699vqi; Fri, 15 Sep 2023 08:36:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFxcbBN5AAx19gdO8fsklJSMtT4t9dmWofjb01o/lYZgq1BgVybisu1/JC+0JRtCcbDifef X-Received: by 2002:a05:6a20:7d9e:b0:159:f71f:4083 with SMTP id v30-20020a056a207d9e00b00159f71f4083mr2535296pzj.6.1694792171561; Fri, 15 Sep 2023 08:36:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694792171; cv=none; d=google.com; s=arc-20160816; b=k3iVhCEc0nWlU/pAw4B8LbYOIraW2RXTqdWOVBDk13XAtrip9p7+gjbzbiYlgVlkqE q/mix2dstfjoXrQaV2OxaJOV6eIVAm9ja0wUqSTSjsAA2Q3QbP86rMPUDxrc4gtoIItk WCqcAYQaBu9BXXcgNXWRyGjHGaD0CYWmr6puXMg8T//ue7rio2JmfovglN91mbBkOkGs lmW1fg6fc9VmjNpmSam8zRQiYpshDFzPb7XePs0jsD5R2AKG81S6ooyb/wrs5geNGZuN 76pHzg2d6+wIEQIhDiXHMygn5Ps9QABMARdFaum9Zet2OPYc/fu3rHsGFnB2DcSVOP4N vIwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=RfcSn8vu5RTTXLjOhky4VgVIYlInq5/5xqXLxLisrRA=; fh=kvHbCkgRP6viBHpJ0OtLRYaO+qhnne7I9PnQ+SbnkQc=; b=sFf2FzCH0Eg5en49CriNgxK3Ok6DaKxT13tbCrCfuKEZ8Yt1Ec479TnOzhcPR3EOiJ dYuhcTPsutaV2FBIv1vVghTgB2ACgFkaSXjDYcvWRn9LiNUV3sH+WJ2ZwwikjWp3pXBA VOV+KtESW+O7wb4yiJboGQVJZT87mwQvlNgeBB0sPPeqmd5Lw3B34jKOTFIuyJBWAgn0 NQHzkPqkRqeAqgJD1lt2N4HAvggi5rzTG4xM2F5TBFcRnG+ci7vSUA3GM8yoGedmr0PM ja+ChCOFz/12UqV6SzDNHhnv1jDdtobuRcF5bWkru+uRumZWZeQGnpL3kcgtw4yV+rCG vZ8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ZSGsWZST; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id y21-20020a634b15000000b00565f20a03f3si3314219pga.774.2023.09.15.08.35.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 08:36:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ZSGsWZST; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 2E83A837D96E; Thu, 14 Sep 2023 19:17:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231802AbjIOCRK (ORCPT <rfc822;pwkd43@gmail.com> + 33 others); Thu, 14 Sep 2023 22:17:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231811AbjIOCRC (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 14 Sep 2023 22:17:02 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A69832703; Thu, 14 Sep 2023 19:16:56 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38F2D7ta030564; Fri, 15 Sep 2023 02:16:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=RfcSn8vu5RTTXLjOhky4VgVIYlInq5/5xqXLxLisrRA=; b=ZSGsWZSTvjTE3Z4EQg6XB1qjUMPf0iYYneoQf1obdiW5L9PIzl6lw17mGmCSYUgypgMa X3OakY/eeqSeVRgb0nbK5rGC/GRWoWcSiQ72Gx/LE0l0b9bp1zShmx2dj4Q1gP0wda89 j8qXvVi17/4x2RiP9tft2g4Hr5lu6pKNJRT6J68xLuTnrRqiNmktBfAIeaoiRWB/7JZU MythOwvh2Cp+qrthAtOV7D/jTwFOXxaJwT/iWXu5ToThcDXY7Ir28ZSig6WSPxagrOtm PvNzDyOluAK+V0/d5RdGRNT1v6v9EukDbaKHkdL2M5MCc9sQhjr5mse0IZYXzFL/xDps cQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t4e9br0a7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Sep 2023 02:16:31 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38F2GUEK006087 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Sep 2023 02:16:30 GMT Received: from tengfan2-gv.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.1118.36; Thu, 14 Sep 2023 19:16:21 -0700 From: Tengfei Fan <quic_tengfan@quicinc.com> To: <will@kernel.org>, <robin.murphy@arm.com>, <joro@8bytes.org>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>, <agross@kernel.org>, <andersson@kernel.org>, <konrad.dybcio@linaro.org>, <catalin.marinas@arm.com> CC: <geert+renesas@glider.be>, <arnd@arndb.de>, <neil.armstrong@linaro.org>, <nfraprado@collabora.com>, <rafal@milecki.pl>, <peng.fan@nxp.com>, <linux-arm-kernel@lists.infradead.org>, <iommu@lists.linux.dev>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-arm-msm@vger.kernel.org>, <quic_tsoni@quicinc.com>, <quic_shashim@quicinc.com>, <quic_kaushalk@quicinc.com>, <quic_tdas@quicinc.com>, <quic_tingweiz@quicinc.com>, <quic_aiquny@quicinc.com>, <kernel@quicinc.com>, Ajit Pandey <quic_ajipan@quicinc.com>, Tengfei Fan <quic_tengfan@quicinc.com> Subject: [PATCH v2 6/8] arm64: dts: qcom: sm4450: Add RPMH and Global clock controller Date: Fri, 15 Sep 2023 10:15:07 +0800 Message-ID: <20230915021509.25773-8-quic_tengfan@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230915021509.25773-1-quic_tengfan@quicinc.com> References: <20230915021509.25773-1-quic_tengfan@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain 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-ORIG-GUID: KVwv5v0ZwRyktl6hTX4g-_mKEOWq_SgX X-Proofpoint-GUID: KVwv5v0ZwRyktl6hTX4g-_mKEOWq_SgX X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-15_02,2023-09-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 malwarescore=0 bulkscore=0 mlxscore=0 spamscore=0 mlxlogscore=964 phishscore=0 priorityscore=1501 clxscore=1015 lowpriorityscore=0 adultscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309150018 Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 14 Sep 2023 19:17:40 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777103101134896625 X-GMAIL-MSGID: 1777118396074685292 |
Series |
soc: qcom: Add uart console support for SM4450
|
|
Commit Message
Tengfei Fan
Sept. 15, 2023, 2:15 a.m. UTC
From: Ajit Pandey <quic_ajipan@quicinc.com> Add device node for RPMH and Global clock controller on Qualcomm SM4450 platform. Signed-off-by: Ajit Pandey <quic_ajipan@quicinc.com> Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com> --- arch/arm64/boot/dts/qcom/sm4450.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
Comments
在 9/15/2023 3:22 PM, Krzysztof Kozlowski 写道: > On 15/09/2023 04:15, Tengfei Fan wrote: >> From: Ajit Pandey <quic_ajipan@quicinc.com> >> >> Add device node for RPMH and Global clock controller on Qualcomm >> SM4450 platform. >> >> Signed-off-by: Ajit Pandey <quic_ajipan@quicinc.com> >> Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com> > > Warnings in your code: > sm4450-qrd.dtb: clock-controller@100000: clocks: [[28, 0], [29]] is too > short > > > > Best regards, > Krzysztof > Hi Krzyszrof, Want to know how did you find this warning? I cannot find this warning when I do dt check(make ARCH=arm64 DT_CHECKER_FLAGS=-m dtbs_check) or kernel compile(make -j8 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- Image.gz dtbs modules).
On 18/09/2023 12:34, Tengfei Fan wrote: > > > 在 9/15/2023 3:22 PM, Krzysztof Kozlowski 写道: >> On 15/09/2023 04:15, Tengfei Fan wrote: >>> From: Ajit Pandey <quic_ajipan@quicinc.com> >>> >>> Add device node for RPMH and Global clock controller on Qualcomm >>> SM4450 platform. >>> >>> Signed-off-by: Ajit Pandey <quic_ajipan@quicinc.com> >>> Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com> >> >> Warnings in your code: >> sm4450-qrd.dtb: clock-controller@100000: clocks: [[28, 0], [29]] is too >> short >> >> >> >> Best regards, >> Krzysztof >> > Hi Krzyszrof, > Want to know how did you find this warning? > I cannot find this warning when I do dt check(make ARCH=arm64 > DT_CHECKER_FLAGS=-m dtbs_check) or kernel compile(make -j8 ARCH=arm64 > CROSS_COMPILE=aarch64-linux-gnu- Image.gz dtbs modules). > I just applied dependencies and these patches, and run dtbs_check. Best regards, Krzysztof
diff --git a/arch/arm64/boot/dts/qcom/sm4450.dtsi b/arch/arm64/boot/dts/qcom/sm4450.dtsi index 0d1d39197d77..df59027a2f93 100644 --- a/arch/arm64/boot/dts/qcom/sm4450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm4450.dtsi @@ -3,6 +3,8 @@ * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved. */ +#include <dt-bindings/clock/qcom,rpmh.h> +#include <dt-bindings/clock/qcom,sm4450-gcc.h> #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/soc/qcom,rpmh-rsc.h> @@ -367,6 +369,22 @@ apps_bcm_voter: bcm-voter { compatible = "qcom,bcm-voter"; }; + + rpmhcc: clock-controller { + compatible = "qcom,sm4450-rpmh-clk"; + #clock-cells = <1>; + clock-names = "xo"; + clocks = <&xo_board>; + }; + }; + + gcc: clock-controller@100000 { + compatible = "qcom,sm4450-gcc"; + reg = <0x0 0x00100000 0x0 0x1f4200>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>; }; tcsr_mutex: hwlock@1f40000 {