From patchwork Wed May 3 10:59:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taniya Das X-Patchwork-Id: 89709 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1237532vqo; Wed, 3 May 2023 04:04:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7w+w20PnmSwZH3gq4jwt/Hk0ZVlccfQqOSJpWeY4Gg6c0ODWaUBmzgdcU6+SBnJ/YzTeQB X-Received: by 2002:a05:6a00:1515:b0:63d:2aac:7b88 with SMTP id q21-20020a056a00151500b0063d2aac7b88mr31163079pfu.25.1683111883355; Wed, 03 May 2023 04:04:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683111883; cv=none; d=google.com; s=arc-20160816; b=R8WHqSnd7NEVXz0TLx6pSmPmZFjdaj8urSSvF6/3n+k3A97TCkWGOETZqorZ2J2GZ0 aGKzvCeVUJGrqtTYjo/NDLut4L16QziRJjQ8LIxarzWVt+vtHhc8dP3FD3fnWiLc6Fcs Q5o4jeTK0QOSX5wU0MzNzx+KBmezLwdZkLprEj7XTJH8FihNxE8no9GotkeDDWq4OkiN Q8O1n1MdS+ELp34w643Gr5zWC4/nW5MEOBG5Doj5bsjcXT/WVv8onOodVS5iZDTJNN84 8kBZDlDUyyiyCqVzpeBHJPjEe61WHiGNEyALbBz/U0c4mGgBNVea97+g+c54a2JKFtfe h3wA== 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=8jiLRyU6DTRkvpNPRSNdAkJ9zIZ0h5pDGG4GXsWSb8E=; b=p76V/UIKpJvvdny7lQfdwEe0NzfYHljqL+p0J9MoQ0/DqXnqOTfuGfTp8bEo9i8+6U n9wZDdodwnRtdT72r5j7KW3nd09A8OQhe/R5OR/6JToLzcjJeqnq2RMZ0r+DC4mT7Fnh cAPmqI/1fm75gwpdASdpbGvXQZaE4pGPnWNCC5wsQEqcGT1KAy6OCmIwk8J7oBwW3Jof k0OXcKhJIgJP8rrrHxeiYAc7TjtO9ri/04pbBAEk/N3u5Ki38uCv+6TbRIpigG3d7Lpt PGd7rcNZhkrBoDeuQe0PhzpQ0CYE/xQYsxz07qvOk4n6ciroyooYWARqUFGoop0tOv93 JaYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=W0C0Bbwy; 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 a28-20020aa78e9c000000b0063d26262efasi33424875pfr.187.2023.05.03.04.04.29; Wed, 03 May 2023 04:04:43 -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=W0C0Bbwy; 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 S230141AbjECLAv (ORCPT + 99 others); Wed, 3 May 2023 07:00:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230075AbjECLAp (ORCPT ); Wed, 3 May 2023 07:00:45 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A969C59E2; Wed, 3 May 2023 04:00:25 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3439oW1R020552; Wed, 3 May 2023 11:00:22 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=8jiLRyU6DTRkvpNPRSNdAkJ9zIZ0h5pDGG4GXsWSb8E=; b=W0C0BbwyHc6dy8SZPn5ox7dDDpSRxS3s7o/t9mi1KF1ZFz5yzuX+hXz960LI7JS+tfAe XILo+y+fkhdoJKROCkp+xK5s2HV9LQqXKgnGzu6SsHwN3u1oIP8ATc7qecBMRp5tctaF yiFpc/QtFOfIrBPNyq7niK9lbB+Oo3uYg+5xUsarrqxhIn2O8OSjHUyspuc/SuBSM6l1 TkRwX8eGJo8l5KuTh78rEC6NUT1xTHEfgSjZ60P6E9kQTmU7ywF80UvAXy9d0iRc9fdp 9S2/FYaAK1MlK0teu2lFO9fdB1OBRpDc6isRGNS2GL+UMtfuPEccHofGkxgoUkkW79Rb LA== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qbeb2s593-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 03 May 2023 11:00:21 +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 343B0L3W023647 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 3 May 2023 11:00:21 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; Wed, 3 May 2023 04:00:16 -0700 From: Taniya Das To: Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Andy Gross , Michael Turquette CC: Bjorn Andersson , Konrad Dybcio , Taniya Das , , , , , , Subject: [PATCH V3 3/3] arm64: dts: qcom: sm8450: Add video clock controller Date: Wed, 3 May 2023 16:29:37 +0530 Message-ID: <20230503105937.24911-4-quic_tdas@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230503105937.24911-1-quic_tdas@quicinc.com> References: <20230503105937.24911-1-quic_tdas@quicinc.com> MIME-Version: 1.0 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: NJCku49CYpp3rWN4BDWAEVguUAlhp-Jm X-Proofpoint-GUID: NJCku49CYpp3rWN4BDWAEVguUAlhp-Jm 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-03_06,2023-05-03_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 impostorscore=0 spamscore=0 bulkscore=0 mlxscore=0 phishscore=0 malwarescore=0 adultscore=0 clxscore=1015 priorityscore=1501 mlxlogscore=954 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2305030092 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?1764870726321073194?= X-GMAIL-MSGID: =?utf-8?q?1764870726321073194?= Add device node for video clock controller on Qualcomm SM8450 platform. Signed-off-by: Taniya Das --- 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 @@ gcc: clock-controller@100000 { "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>;