Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp416777lqj; Sun, 2 Jun 2024 04:46:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWwPodQlchNfiIxYp8li9my1grJ8x3SHTbEy5MwFM5uedkPewViEtxIogyLm52ITdK4nXTQdnlFeNKiKm056BTldR1yVOl+w4oKue4DOQ== X-Google-Smtp-Source: AGHT+IG39XekFKjsZFPgmEuCg4KHrqB+A50hEjs2XNOs3VpCBLVwmzL8QYRSVihPzXAbGYgIZSxk X-Received: by 2002:a05:6808:2117:b0:3c7:50ac:c570 with SMTP id 5614622812f47-3d1e35b900amr8474148b6e.44.1717328818925; Sun, 02 Jun 2024 04:46:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717328818; cv=pass; d=google.com; s=arc-20160816; b=dlLi76q3rh2RcSoe44ycIvgsuwHU8VeGGKRvjdAWgGjiraKWwHHyejA01KsMyBtoVs rzuxoteeElGkppsrMPkL2jjMcf7bqLaNpQQn/a2OWoHZFqeXoys58KXD+RBdKFZVe96S qw0Io1m5yk5Afw3NrD+JhafyLmdNOv0dPA4aXpJa0s0c9YuePYVmBusyrByCskoS72Lz y2AdO7yJYD7uuztCVhlCk2e2vcWAMduGlNenQbYco/475z3V6gcs3+S+8o00ELUIEZHI FAggmDmVGhofbqY9iNsaKKJOoZMMj5s0qun/dHk/Fq1/3XC6iKRx3jUCkMuXO09mo4m1 tg7w== 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=exztgzZs3OuubtANSB9eFm6gpGLwNC2z8voJ1HVHl0g=; fh=JvyOz6tV+8Z+m8ZBgbJ7w3r5na/ew0FTvgiGsL8Gkww=; b=SmYhnnR5gxLFPezd9bzuMO5ahlYqbDa4EOcxe0X2lQtzL4viTUUxWNZLEULvascmMD R/e9vTyWWja2g+oo50SoVR/7uTgJHWtIp09idHaR4f3xRyxne7TqEVW8KOe+0kKSaHnz 7K56umNX/7r13f4dM3b6+Hk0Ri45cXxhfBpb7YuvdnVvcvz1PUZfBZEqPkWcf2pyF1v1 IMtGvoHPrcJ/AXixsJpQytWTGKN79DYzcO8lUEjTBJHEFy3Cncg/qUqrhhYBtKEC+uX9 IYsT73hTzflSml/MB2Js0kWZN1Abd7pNIjyZvffzqzsgKjxMgku2xVFou5XfwAU85hjv 6HCQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=h6h4b9wX; 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-198219-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198219-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6ae4a7424b3si46188896d6.181.2024.06.02.04.46.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 04:46:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198219-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=h6h4b9wX; 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-198219-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198219-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A23A41C20EA7 for ; Sun, 2 Jun 2024 11:46:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D93B43BBDE; Sun, 2 Jun 2024 11:46:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="h6h4b9wX" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 92BD039FFE; Sun, 2 Jun 2024 11:45:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717328760; cv=none; b=QGqZNK0IexgKN75HZQdj16PHMUEhuZjYL8tzjhuUotW7fPzvFBcFF/j2HbEH881UB23Vx/Rptp4b1jW+RCIjQKtXx+IO4fT0wXHEa1SLy5FVgu/c3ah6LoWAZQ4wnv1pZZtoDZ/QJowKlwkCFcrwa8vxVe9Ev0OmAfXIGmYcxpo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717328760; c=relaxed/simple; bh=1UI4sAYafKNzNcveCUCONTjOn68DMUAIek7OUkdFFjM=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YTMaw8/TaXaUivYJG7jZAKnLwbc6AURz/3y7jhR8dl1bEIJPZqqpzMDhFSe4hJmDB06sTU5TdHiAdJyso0niw3Ab0pXhe4n2MQ8mR8Da/Mtmftm0o0AvSWn3nI5Ebfv0WonpYv4j+4s1xleP3+iubd9CZrGPMiC93V7nmtUMbSk= 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=h6h4b9wX; arc=none smtp.client-ip=205.220.180.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 (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4529hIG0023230; Sun, 2 Jun 2024 11:45:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= exztgzZs3OuubtANSB9eFm6gpGLwNC2z8voJ1HVHl0g=; b=h6h4b9wXVDMlUera xl+ltgP1eHvV7d3KhMbZE0MIN4YXCxhymXgMGl1qhUWyy0LlGdlg0Q6epdZ6f8ME gM/YaKw/ibQ+BPWuYlYibMVzjczVxcGZtBxcpj15QieGVHkyIEvtT6SWUWlcMLF6 JBKR4WuzGmpUbaxlTwcCLbikUVvmhu/M8KGErTUQbQNywkaisP6J7w1MIW+tk2hD zIdNk9sivBV/u0h8gE9sFYYAqfZtOaFZKnBS+euBvdYIejECc1Rj/vGRUf+tanD9 NoVnS8yZ+RaSLm6cfRgg/f7H0Oqq+Rpdb0yrFxtasRf/ab8Z/wMRNnRy1SUy+57p Nz5WTQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yfw4d21ae-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 02 Jun 2024 11:45:54 +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 452Bjr2D024280 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 2 Jun 2024 11:45:53 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; Sun, 2 Jun 2024 04:45:48 -0700 From: Jagadeesh Kona To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio CC: Vladimir Zapolskiy , , , , , Taniya Das , Jagadeesh Kona , "Satya Priya Kakitapalli" , Ajit Pandey , Imran Shaik Subject: [PATCH V4 8/8] arm64: dts: qcom: sm8650: Add video and camera clock controllers Date: Sun, 2 Jun 2024 17:14:39 +0530 Message-ID: <20240602114439.1611-9-quic_jkona@quicinc.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240602114439.1611-1-quic_jkona@quicinc.com> References: <20240602114439.1611-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-ORIG-GUID: bi5tbRWgBomQe2Sk7uhy3wp5KxFyw8o2 X-Proofpoint-GUID: bi5tbRWgBomQe2Sk7uhy3wp5KxFyw8o2 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-06-01_19,2024-05-30_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 mlxscore=0 adultscore=0 impostorscore=0 bulkscore=0 spamscore=0 phishscore=0 clxscore=1015 mlxlogscore=999 suspectscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406020100 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 336c54242778..d964762b0532 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 @@ -3315,6 +3317,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