Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp2089774lqa; Tue, 30 Apr 2024 07:58:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXeQIFDFSM47hlqJSJattoAyiTO1jGhzWxwSwZgyUsiejMjSGdeDNZUKi8aEHD9Kjibi2qMbM8n00u62XYYTZH1aIlbKaLsAa0e+RBkxw== X-Google-Smtp-Source: AGHT+IHcdSh9J4X0gUUENHH0zlF8Ov997YqkrPr4T/9Qfr0wz4wu1oJ1QHv9I++1B2FJk8yWUDOS X-Received: by 2002:a17:902:b08c:b0:1e6:622c:7bb4 with SMTP id p12-20020a170902b08c00b001e6622c7bb4mr15769122plr.19.1714489115697; Tue, 30 Apr 2024 07:58:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714489115; cv=pass; d=google.com; s=arc-20160816; b=bhB+zLyMzPGBBQofHOCFw4IBXDSMmvCW/hMMSujO8nV6SMaSxBal7yS+brvwUGtLAC AOeVhw/bgwbP1bZ5v2ENsdHjOw7srGMOpLmiGs6X0YqbUckUtH/RIrJwl2v5FxZMB70N TY03j6UwqC/d/lgEzFTKv4WNtGUqk6bApY6DOaX/V7HyBX0LtU2SOdsAhH42i/ysK+jQ yTA3dHd1Gs/KN1g6wD0zicuoF7MvpiOkZiJw8CQlSZYugdw+trr7MacqJ/GxBQDak4Z5 aLR5dIzYZk5fwxgu/H8KegzOZukLLThyYuWPdLGDZ4ql+p22z8HeSmiOHFgVJYeoWbMm L3fw== 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=eAL7wCtJct7LcH/+jakyDHDf4kvWFw1lEsDJyiJ4HBM=; fh=oPPk1bFX2UC8PZ20ubFmrUwhvbby39o1X+lIuE9xnNk=; b=AtVnUY8hBNfJ9NYy4LIhQiesDfqFEQ22o0tPuY8nXpklXX70CqeftKm+AMYI2ddcbm 8/q+EDj3hkL4I5p256TvbFXdzNcNA416WQaUKxLZiCL5PElQNL4o7JgMMmPKTEyG99nV pfEkeXj1Q+JCuS8B12wGuHcVuG0+7+Xewgd2ayysdJz8BJappIV4PiwToYFsD/+X5TpQ juhGthu62glsaPUg+v5qZbHqaCAKaKD0wlhtSDckQ9s6SHp0LDbrH7qgkyhTNEZnDNjc hiUzIlXtYrurR1JvF3fYJDB0mqVmCy2frnfCycucJCC0rUvo9gY6CSWuReHggGcfz1dR bPvg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=XM+HBCLx; 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-164157-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164157-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id t3-20020a1709028c8300b001e43ec925dbsi21241231plo.187.2024.04.30.07.58.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 07:58:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164157-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=XM+HBCLx; 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-164157-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164157-linux.lists.archive=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5497FB24CF6 for ; Tue, 30 Apr 2024 14:37:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A84561527A6; Tue, 30 Apr 2024 14:31:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="XM+HBCLx" 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 88A1819066D; Tue, 30 Apr 2024 14:31:07 +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=1714487468; cv=none; b=atWI4IBFDfquRn0Kt5zJP0kl9UeGvqv3aIHCnu+EDZkghSoHUFgi6c9bwT09Oe+Rqb5qX+JPIPG6ER73K38T2Yq71Vch3i+BLc/KpwzeYKOtZZfWidVAcLgFjWzZS2xC6wbwQVwE/PHTwuyXKMKLhNg8ojsLPLED4jkYW2Cwjkg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714487468; c=relaxed/simple; bh=2Sb2dB3plDhDej922dw23WRBHWFAdzbIPgxjOHua/24=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=gESG2MVLIxn5hV5/fOpC2h0ggHXIpCCHSbngSdzQzHaz9/UxuEwrSWfB4u6hUCWUDgPZpiekE5dErrVo3X6JsSR/zQpIWjZ0urUlM2OSS/sA+PlDeZP0KrhVFpEccg4i8UeFjnWsIxXnmp0gORC63Kdf+lvBf6p0j6qpZuAEzhg= 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=XM+HBCLx; 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.18.1.2/8.18.1.2) with ESMTP id 43UDrMOG005699; Tue, 30 Apr 2024 14:31:03 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=eAL7wCtJct7LcH/+jakyDHDf4kvWFw1lEsDJyiJ4HBM=; b=XM +HBCLxcKY8fGftaqvwx8q1FUkS5AgoDjndP1KUuiX9RjEOtJs8F0Opr6QSbRguOO eZJti2rC+2Jw+kv2HLQBh8+s/U5NV6LN2vGcqeOsKP6pPY4/4MeWcR3R78ZOJvWJ 2HBtpmAR2KIil28Qzphz1ZeS8e/qyz2fzOamKs8jyz4w4Ae0fA87jU483fRHtGv1 NjBNYRnyZpp0cl671/+Nt/l00LKjPl3WOE5fUlc1ZdwhEQuoR0QGfdE4BY+D7QWD +1HLTchE+BJRuJic6MQtA6W0O2VpL1VFXXdNSm9scVebyrQkv54OuVTkxpeex3I/ 6UBfVGq6/wURhadaojBA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xtvf7h1em-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Apr 2024 14:31:02 +0000 (GMT) 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 43UEV2Km031090 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Apr 2024 14:31:02 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.1544.9; Tue, 30 Apr 2024 07:30:56 -0700 From: Jagadeesh Kona To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio , Vladimir Zapolskiy CC: Bryan O'Donoghue , , , , , Taniya Das , Jagadeesh Kona , "Satya Priya Kakitapalli" , Ajit Pandey , Imran Shaik Subject: [PATCH V3 8/8] arm64: dts: qcom: sm8650: Add video and camera clock controllers Date: Tue, 30 Apr 2024 19:57:57 +0530 Message-ID: <20240430142757.16872-9-quic_jkona@quicinc.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240430142757.16872-1-quic_jkona@quicinc.com> References: <20240430142757.16872-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 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: pGqyF1Q2sqQTZdukAZD23eVTk023Kl3l X-Proofpoint-ORIG-GUID: pGqyF1Q2sqQTZdukAZD23eVTk023Kl3l X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-04-30_08,2024-04-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 impostorscore=0 lowpriorityscore=0 mlxlogscore=999 priorityscore=1501 phishscore=0 mlxscore=0 adultscore=0 bulkscore=0 clxscore=1015 suspectscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404300103 Add device nodes for video and camera clock controllers on Qualcomm SM8650 platform. Signed-off-by: Jagadeesh Kona Reviewed-by: Vladimir Zapolskiy --- arch/arm64/boot/dts/qcom/sm8650.dtsi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi index 8e0c1841f748..18f955ec588b 100644 --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi @@ -4,10 +4,12 @@ */ #include +#include #include #include #include #include +#include #include #include #include @@ -3309,6 +3311,30 @@ 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>; + #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>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + mdss: display-subsystem@ae00000 { compatible = "qcom,sm8650-mdss"; reg = <0 0x0ae00000 0 0x1000>; -- 2.43.0