Message ID | 20230509172148.7627-4-quic_tdas@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp3056238vqo; Tue, 9 May 2023 10:34:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7zHqnRL5NPPPnLWbzamC1/EBCkpqQBQRuQu+XylgfwqZXoZPuRV6Y43JeFetL9f3El/37J X-Received: by 2002:a17:90b:46cd:b0:250:6119:6c1f with SMTP id jx13-20020a17090b46cd00b0025061196c1fmr9660454pjb.19.1683653672104; Tue, 09 May 2023 10:34:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683653672; cv=none; d=google.com; s=arc-20160816; b=sUlU8Qea7G3dHwcZ24qUkidU4p4nTL5vkgujxm2VxvNdF0m5KKiB6UAIg0/brO+/v9 lJZFIYmbyXwj3tc985pxTrZLEZXvwGl1gbnx9T1MBFYyZQBZEpahf+KY3w6NUwlYiD+7 ERAev0ajPGAARbSxA+YkmxWf2vyQzkK8U2wjC+/8SpPJrDFd9U3KN3Cosez9jbdN3Un4 R6kKTOz0WBCY2YgiQx5MloDkTTrCKGxSUFQtrA0oQDKtrE4vnDEtmm67PzcviSjhzDwf mPGF5AcAVW43FQ27aC6jDEn7GYnuZqA61ijJ0eJ45pIsNbbNXquGIaluZFZ1PAXUorBB +tlg== 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=N690EkHL2jERDbkzv9IJC+1w8aZCLf4RDqrFl417RdY=; b=rSG+/YLFTQrRH+MLf78esmWsSGUMuflQ70aa+e46g6hKn6/iEiVTmyMbjwn3L3L/9y Ie1yur+hwLCX9UwjaTdSeVMlohXWxSvFIA2CpUmwsEqYtVzbFnSwC1+c9RJIs+jBf/5E 0gycFoOLPptlwi2lQvrWJAEcg9zF+NYrcCQyYbLnTeXK5S8bK5Um1gJ1kuv/E9nTedtu TX0Rf1NgUgw+SPx4hpXhPZLlaHgOyeeo/RlzQ6D1OJGigW5I3flThq9zAy6OcGmuuQCQ IDs5wlpx66QzQUMXoB9ZRFsMj5HwAGl7CDd7DmwwOr8Yr7leVDGvOe1Dpb27hxCJsao/ aqug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Sv6OIaJu; 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 lx6-20020a17090b4b0600b0024e4df1b2e3si16618639pjb.123.2023.05.09.10.34.19; Tue, 09 May 2023 10:34:32 -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=Sv6OIaJu; 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 S234944AbjEIRWh (ORCPT <rfc822;baris.duru.linux@gmail.com> + 99 others); Tue, 9 May 2023 13:22:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234934AbjEIRWa (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 9 May 2023 13:22:30 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E99584699; Tue, 9 May 2023 10:22:28 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 349Ggc7l005734; Tue, 9 May 2023 17:22:25 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=N690EkHL2jERDbkzv9IJC+1w8aZCLf4RDqrFl417RdY=; b=Sv6OIaJuWMpQIU54UmjlAWc6IgDc+0D7qz4d221nNIWctTTAe8kyjPfJsp6lBWOU5nrY 0S3F5BEK6/HNKSDIOhmg10FFJQrIgJa6pLlSyzfVRQpd02lWDgBzYoim33y525U2hJK0 U9vavR1Y5kW6fHXY2/6BOfEUUmJsxp8S/vf6zjVJ47VBwAdW+qDxX3B9O0hRwV3VPKPb H6f7Qy47Maj2J4pg6KIP5pnOqWoQJhS3LtAAkiDDm41TPjTWF+Ya+lDPkHD0dDbJyI7F UAE1mSR+ECG0xt5a2vPizYE6TkyNABEOqzgEChdUrYiJ6XQim5J9SBZNhwnk8qWNgxtM zg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qf77ktf6v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 May 2023 17:22:25 +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 349HMPT5023879 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 9 May 2023 17:22:25 GMT Received: from hu-tdas-hyd.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.42; Tue, 9 May 2023 10:22:20 -0700 From: Taniya Das <quic_tdas@quicinc.com> To: Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Andy Gross <agross@kernel.org>, Michael Turquette <mturquette@baylibre.com> CC: Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Taniya Das <quic_tdas@quicinc.com>, <linux-arm-msm@vger.kernel.org>, <linux-clk@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <quic_skakitap@quicinc.com>, <quic_jkona@quicinc.com> Subject: [PATCH V4 3/3] arm64: dts: qcom: sm8450: Add video clock controller Date: Tue, 9 May 2023 22:51:48 +0530 Message-ID: <20230509172148.7627-4-quic_tdas@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230509172148.7627-1-quic_tdas@quicinc.com> References: <20230509172148.7627-1-quic_tdas@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain 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: 44pGCFyUs_FLiQedIVevmAHeqeDxGg9o X-Proofpoint-ORIG-GUID: 44pGCFyUs_FLiQedIVevmAHeqeDxGg9o X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-09_10,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 malwarescore=0 suspectscore=0 adultscore=0 mlxlogscore=961 lowpriorityscore=0 phishscore=0 impostorscore=0 spamscore=0 clxscore=1015 bulkscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305090144 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765438832933240794?= X-GMAIL-MSGID: =?utf-8?q?1765438832933240794?= |
Series |
Add video clock controller driver for SM8450
|
|
Commit Message
Taniya Das
May 9, 2023, 5:21 p.m. UTC
Add device node for video clock controller on Qualcomm SM8450 platform.
Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
---
Changes since V3:
- None.
Changes since V2:
- No changes.
Changes since V1:
- No changes.
arch/arm64/boot/dts/qcom/sm8450.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
Comments
On 9.05.2023 19:21, Taniya Das wrote: > Add device node for video clock controller on Qualcomm SM8450 platform. > > Signed-off-by: Taniya Das <quic_tdas@quicinc.com> > --- > Changes since V3: > - None. > > Changes since V2: > - No changes. > > Changes since V1: > - No changes. > > arch/arm64/boot/dts/qcom/sm8450.dtsi | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi > index 595533aeafc4..00ff8efa53c7 100644 > --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi > @@ -756,6 +756,18 @@ > "usb3_phy_wrapper_gcc_usb30_pipe_clk"; > }; > > + videocc: clock-controller@aaf0000 { Nodes should be sorted by unit address. This one belongs before cci@ac15000. > + compatible = "qcom,sm8450-videocc"; > + reg = <0 0x0aaf0000 0 0x10000>; > + clocks = <&rpmhcc RPMH_CXO_CLK>, > + <&gcc GCC_VIDEO_AHB_CLK>; Older SoCs used to provide a vote on XO_A for videocc ahb_clk_src, I'd assume that's now taken care of internally? Konrad > + power-domains = <&rpmhpd SM8450_MMCX>; > + required-opps = <&rpmhpd_opp_low_svs>; > + #clock-cells = <1>; > + #reset-cells = <1>; > + #power-domain-cells = <1>; > + }; > + > gpi_dma2: dma-controller@800000 { > compatible = "qcom,sm8450-gpi-dma", "qcom,sm6350-gpi-dma"; > #dma-cells = <3>;
Thanks for the review. On 5/10/2023 1:47 AM, Konrad Dybcio wrote: > > > On 9.05.2023 19:21, Taniya Das wrote: >> Add device node for video clock controller on Qualcomm SM8450 platform. >> >> Signed-off-by: Taniya Das <quic_tdas@quicinc.com> >> --- >> Changes since V3: >> - None. >> >> Changes since V2: >> - No changes. >> >> Changes since V1: >> - No changes. >> >> arch/arm64/boot/dts/qcom/sm8450.dtsi | 12 ++++++++++++ >> 1 file changed, 12 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi >> index 595533aeafc4..00ff8efa53c7 100644 >> --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi >> @@ -756,6 +756,18 @@ >> "usb3_phy_wrapper_gcc_usb30_pipe_clk"; >> }; >> >> + videocc: clock-controller@aaf0000 { > Nodes should be sorted by unit address. > This one belongs before cci@ac15000. Yes, my bad, will update in the next patchset. > >> + compatible = "qcom,sm8450-videocc"; >> + reg = <0 0x0aaf0000 0 0x10000>; >> + clocks = <&rpmhcc RPMH_CXO_CLK>, >> + <&gcc GCC_VIDEO_AHB_CLK>; > Older SoCs used to provide a vote on XO_A for videocc ahb_clk_src, > I'd assume that's now taken care of internally? > Yes, it is taken care internally. > Konrad >> + power-domains = <&rpmhpd SM8450_MMCX>; >> + required-opps = <&rpmhpd_opp_low_svs>; >> + #clock-cells = <1>; >> + #reset-cells = <1>; >> + #power-domain-cells = <1>; >> + }; >> + >> gpi_dma2: dma-controller@800000 { >> compatible = "qcom,sm8450-gpi-dma", "qcom,sm6350-gpi-dma"; >> #dma-cells = <3>;
diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 595533aeafc4..00ff8efa53c7 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -756,6 +756,18 @@ "usb3_phy_wrapper_gcc_usb30_pipe_clk"; }; + videocc: clock-controller@aaf0000 { + compatible = "qcom,sm8450-videocc"; + reg = <0 0x0aaf0000 0 0x10000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_VIDEO_AHB_CLK>; + power-domains = <&rpmhpd SM8450_MMCX>; + required-opps = <&rpmhpd_opp_low_svs>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + gpi_dma2: dma-controller@800000 { compatible = "qcom,sm8450-gpi-dma", "qcom,sm6350-gpi-dma"; #dma-cells = <3>;