From patchwork Tue Feb 6 11:31:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagadeesh Kona X-Patchwork-Id: 197328 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1477554dyb; Tue, 6 Feb 2024 03:40:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IFH+cUdbjghQ4JAT1Vu1pAO1XfeAVCOXIU+9IbQgea9d7DZqNR1GWUfhLNTseT0ctSYcU1g X-Received: by 2002:a17:902:f809:b0:1d9:d300:a683 with SMTP id ix9-20020a170902f80900b001d9d300a683mr1070479plb.30.1707219657120; Tue, 06 Feb 2024 03:40:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707219657; cv=pass; d=google.com; s=arc-20160816; b=lQtwkEh6hJaEHLGdZHhZ9FI1BY69Sxd8ytqvwAMNCiXsfV9vJNW0fY+GRcmt1OVCfI nRNgOMJrzY0yuldND9YoemhtuofD0rV97RjSTxu5O/srWm4FUGjWEkwBKIPgJyEy59VJ pyPpD/22u2OqVAtLEiS+AP94B6z3yRCHC7KJZvybLovScjIrC2zqPFADaBFbGu8i7YY0 KHKo+6bTOKeAIWsoPIZkTSyxFFQsi2BBoknaZJ3tGxjQobV+DJ5cqGE/2skmq/o2BJ5V hNVjzNVMymW+Dyc5UV7F0e0oLiwTGI5QyBvUaFB9IMqQtNynpe0EFUGcjRgTnYVqBvH/ l2yg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=E4k5345QOidUYeqmeDW+O1v6o7xV0leCEXUtllXhijA=; fh=LjbDLzDjRg1UNsIcHo6y6MQh0t48uGARZu+2ukS0C8g=; b=HdhkSh9mDDNJOSXUa9CrddfzDiNQp4MD1mvAJVJrJU7BdABTXUW2Uq5fQd5ID1b+KV Ci7XMcBM0cy0Yi115SC1UGDkuKYyR7Ewzgn+WMreGRevlq92Qis2X/2mOlHbh/HH7h9n CRH1+pLwbEPohCMfxAf4eWlgNpKNZAESMfE6RyYaNCFOiLcYNL1lbIvMBiCWVRpArWjB 0z83ETedwHqpLlQIu2k+ppyMDO9GGbFYOHmg8d18LunPKlC8M/ZA57uNVwqf1ebhSmo4 z9aEIbYlxpzH7dPrpTEp3pYf9k1ACu8opOTPve1UQ8IX5pGklb6y9je/BhNJwmnOwjqw TW+Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=pSLNGsH7; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-54785-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54785-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=1; AJvYcCXBI5ENZyhjN6pShWNKeUkbHKLQJTp0SZoJSgF0FbXVNOCRRCs45Zn0io0pCbzA6vkXtDXShFq8ySSTGx0HWYbSXnNWxA== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ix13-20020a170902f80d00b001d8d18196b9si1498725plb.404.2024.02.06.03.40.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 03:40:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54785-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=pSLNGsH7; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-54785-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54785-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E1C77285202 for ; Tue, 6 Feb 2024 11:40:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E451133421; Tue, 6 Feb 2024 11:32:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="pSLNGsH7" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 43D78133406; Tue, 6 Feb 2024 11:32:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707219162; cv=none; b=noyOFS68lyjA+uY8tW+VTmk3n/0/16BPDr/GV9BoEgM65WITZJxV56A29Q+/eUVYYBMKGHyV1DeTtucfOtLVa/pm6oee14Oep81teBTP0VR4UAymYoaSRHhqMqivcpA2grtVAB7WkKri7WTGj3rDM3o7ZhcvT4s3DJi4lsGZHp4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707219162; c=relaxed/simple; bh=N79rJzM8GDHrhhzgeLlRgFnL/Nib/s4RpPCU7DyNa60=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=SS2sGhOQ/NTX2qILGkk2goyMIs2kiNAQRq61xhiytIsaAtdPsY45FIe2AUOPEtutCy0EWvkfVE6WWhONxblo0Dt85oVk/pcVXAaHw6GLdYMtokyiS3X7EtWvR5C1wCpzERwOOIW9Qd0GgM9yXz08Jmu8QY6P4ycKznn9h99WGSY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=pSLNGsH7; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 416Acmo8007922; Tue, 6 Feb 2024 11:32:37 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-transfer-encoding:content-type; s= qcppdkim1; bh=E4k5345QOidUYeqmeDW+O1v6o7xV0leCEXUtllXhijA=; b=pS LNGsH7vo3ArMM++M+RdRPjHKGYm5w3mrr9+fkOquxqDP6N4SPmOkCMr65idgmOsY QQcXEHRmBhrH/EziRjTa7egrPrLgnwPMPfccwgz0Lv3PlDEvECxN5EYobIyObQff N9fQ8oJ3Xck5JTrKYPHSr/IMgIRtn5aNnDN2o+uHM/QcqaDiGlieu1URwnkhS29I hCIaLsmdOgjnOcOdpebUfWWEpSH37fzSuof2XrgwEd6l8apVrITei3QduDZATJsO v2UwtMU1iGNCflc9H/jcnR/aPrbnojVvQq22PEcKzd6dCafOgMv/S3c5P9g4cwvy nnAjgoXP8BleZDO1MnDg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w3k6g83km-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 06 Feb 2024 11:32:37 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 416BWaZb025091 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 6 Feb 2024 11:32:36 GMT Received: from hu-jkona-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.1118.40; Tue, 6 Feb 2024 03:32:31 -0800 From: Jagadeesh Kona To: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley CC: Vladimir Zapolskiy , Taniya Das , , , , , Imran Shaik , "Ajit Pandey" , Jagadeesh Kona Subject: [PATCH 5/5] arm64: dts: qcom: sm8650: Add video and camera clock controllers Date: Tue, 6 Feb 2024 17:01:45 +0530 Message-ID: <20240206113145.31096-6-quic_jkona@quicinc.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240206113145.31096-1-quic_jkona@quicinc.com> References: <20240206113145.31096-1-quic_jkona@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: ec4kAiHTRhS6zVDVLaZe2SuL7F8hvsPy X-Proofpoint-GUID: ec4kAiHTRhS6zVDVLaZe2SuL7F8hvsPy X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-06_04,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 lowpriorityscore=0 phishscore=0 priorityscore=1501 clxscore=1015 impostorscore=0 mlxscore=0 bulkscore=0 adultscore=0 spamscore=0 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402060081 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790149558909390363 X-GMAIL-MSGID: 1790149558909390363 Add device nodes for video and camera clock controllers on Qualcomm SM8650 platform. Signed-off-by: Jagadeesh Kona --- arch/arm64/boot/dts/qcom/sm8650.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi index c455ca4e6475..0469dd6e119c 100644 --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi @@ -4,6 +4,8 @@ */ #include +#include +#include #include #include #include @@ -3100,6 +3102,32 @@ opp-202000000 { }; }; + videocc: clock-controller@aaf0000 { + compatible = "qcom,sm8650-videocc"; + reg = <0 0x0aaf0000 0 0x10000>; + clocks = <&bi_tcxo_div2>, + <&gcc GCC_VIDEO_AHB_CLK>; + power-domains = <&rpmhpd RPMHPD_MMCX>; + required-opps = <&rpmhpd_opp_low_svs>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + + camcc: clock-controller@ade0000 { + compatible = "qcom,sm8650-camcc"; + reg = <0 0x0ade0000 0 0x20000>; + clocks = <&gcc GCC_CAMERA_AHB_CLK>, + <&bi_tcxo_div2>, + <&bi_tcxo_ao_div2>, + <&sleep_clk>; + power-domains = <&rpmhpd RPMHPD_MMCX>; + required-opps = <&rpmhpd_opp_low_svs>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + mdss: display-subsystem@ae00000 { compatible = "qcom,sm8650-mdss"; reg = <0 0x0ae00000 0 0x1000>;