Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp357528lqp; Wed, 12 Jun 2024 03:55:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVS1vCiFK3Ve/I97dWSs+gmCgl0PU17ZPopN5iG+xKstziH1bligmHnJKUMfPwohBnKcMi6VFtC7xyqGDsntLQJ9fe0HoOISUjEpO1FJg== X-Google-Smtp-Source: AGHT+IHwGkyRZouZpVe4N+ZfQDHZDLEjaC0KdQN6wekhhbvaU3/+barC/A+vMqQd4TIQbXq/5nZJ X-Received: by 2002:a17:902:e88e:b0:1f8:3c47:9da6 with SMTP id d9443c01a7336-1f83c47b297mr16651505ad.69.1718189753941; Wed, 12 Jun 2024 03:55:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718189753; cv=pass; d=google.com; s=arc-20160816; b=B9od+8S86H5EiPDckFENqAKex6WWvUSLLr8QyPiKN6vkDtKmhr+WgNIIbTA42GAMsE LOyyZyJUPHHo4D5VHrilHrqfSatLOp3gvnFGdpoOpw0LRsGB5bjSEBcMdKck7a2NrrA5 ucT+A5cy42dCkE74FaGVih4mb1K6mQiYQKrNo+ft3qeYC/9FQthnLcbdyj/PKMNQTboW 1EXI7h47sS+wfNkvvsEo7r/mxNuLakaQ0Jlw0ZMfbun8qecog0k2AkEO1RE/uTnkAbsc oqfp/y53uasbX6tHBvQQEHoRTDyOhaPk4ODeoWz6RxRuB5vAOlA5+nHS2GMdJ1WyCnqT w+Yg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=4ma9Kyn9FJKgFigLN7ddq39QMpoKRLbZLYPJH+SGcDE=; fh=5MM6e59qLEYlHXmOcZoTB1hHalKEW/N1bzaIRx/XobM=; b=ka+eLohpBAygU+jUM/u1v5D9CN7QPVYQUeVzvM4iClrHpIpZDbjEyTsmOntIYVcdNw gGhVdmOTRBzMPayDhqji8zitRT4MkxYQr2bysyFq6gnC//LFTN3PN7c48KK//fx+XgP5 zuYbFFG6Z2e1MB9nr6jxSrLGK175FBGjuNIQDyd4ZcgwgRsDoH+i0pCTsMraEddb9PML nenvDYbEYB4BCtZwHvGsKY+E3IyCH3gh8SWyW5oTGFjLHgxFmiQ7Fr0j7jWwHf6ssVmr r/SQ9xQBHbNrKmSfsRzKOQ3eTrYIgP1f2ISqOwoh7PeojEQSiQ3p2SmYfAwRSTN16Xyg KuUQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=AQtnzPBl; 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-211377-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211377-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. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f83e17ccd6si9824385ad.341.2024.06.12.03.55.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 03:55:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211377-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=AQtnzPBl; 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-211377-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211377-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 51EB6B22038 for ; Wed, 12 Jun 2024 10:50:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B862316FF23; Wed, 12 Jun 2024 10:48:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="AQtnzPBl" 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 5432C16F29E; Wed, 12 Jun 2024 10:48:52 +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=1718189333; cv=none; b=lDGaAJ4w4g9Jz9g+GdBpOZPAOOxVljhP7SFGMKFXQkSTGE0Vb/0Hb9YqxB4vnhjz75bpWrKRL5Sgi/h0q5vWEVXK8bf1vlAond/y017qf1NVZTu1wB9uPmw/66F4ebX2s6NlYZvQ9dBg8DUuYRqxcvLSAAn6NCMEJxTQB7vy65U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718189333; c=relaxed/simple; bh=hIwm+uNdMyT9mPlfqHTylLq0DdSOapRvMvMNOVfV6Gk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=k3EfFozalKxGB0mQeQ6yfAtx581Hn0toZuTJd0a2q9b8rtJ5sq/kjn/GBKKCib22pUooKtUN8Oay07E5E2ZmLezGf9N9VgqhjKaMMD+a+aL0Q06+Pda2362HWyErseVwE4WRUYXOS2M2Q2cjmBxjNoqV4gjtd+ab0RF1DH74Gjs= 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=AQtnzPBl; 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 (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45CA7A1O028814; Wed, 12 Jun 2024 10:48:48 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= 4ma9Kyn9FJKgFigLN7ddq39QMpoKRLbZLYPJH+SGcDE=; b=AQtnzPBlGqTdiXxD A93wkbBBrjGDultJgOSDnz7eK6y3we8sa2l7jQ6ITtlXX0JIxkiJk4+PcOhPRtvU sJk6YXduf8kP/COfFmpxx1G86WrSzD/aaSaNwUIK1wES9iV4jW4LzntatiBbtI9g S4ls3GOe1LN59h/aEuZKvk2/TMXpzRDbjDrP3rYDBC5WduE9Hbpk/fUPxaivkOg6 n5KM/WsFwzfhjdWtOWiTXaO3M603SpWET5E+yJpOA/PuKKVJFdLc8mVuRSST6B5r OOZsU86wfW1/bOrE7d/kIupKYhIvL1DD2aJPm4RprO4/+o7N/0C1/dNeEAAg6iCR DxbYYA== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ymfh3a1mj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jun 2024 10:48:48 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 45CAmlUC001292 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jun 2024 10:48:47 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.1544.9; Wed, 12 Jun 2024 03:48:42 -0700 From: Taniya Das Date: Wed, 12 Jun 2024 16:17:48 +0530 Subject: [PATCH 7/8] arm64: dts: qcom: Add support for multimedia clock controllers Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20240612-sa8775p-mm-clock-controllers-v1-7-db295a846ee7@quicinc.com> References: <20240612-sa8775p-mm-clock-controllers-v1-0-db295a846ee7@quicinc.com> In-Reply-To: <20240612-sa8775p-mm-clock-controllers-v1-0-db295a846ee7@quicinc.com> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Konrad Dybcio , Bartosz Golaszewski CC: , , , , , X-Mailer: b4 0.14-dev-f7c49 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: m1HPtNZSaBasGzd0QsWUhNASMT2FnfXl X-Proofpoint-GUID: m1HPtNZSaBasGzd0QsWUhNASMT2FnfXl X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-12_06,2024-06-12_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 lowpriorityscore=0 spamscore=0 malwarescore=0 suspectscore=0 clxscore=1015 bulkscore=0 phishscore=0 adultscore=0 mlxscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406120078 Add support for video, camera, display0 and display1 clock controllers on SA8775P platform. Signed-off-by: Taniya Das --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 59 +++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index 3808fafd6bec..b1acd2b74d09 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -6,8 +6,11 @@ #include #include #include +#include +#include #include #include +#include #include #include #include @@ -2904,6 +2907,47 @@ llcc: system-cache-controller@9200000 { interrupts = ; }; + videocc: clock-controller@abf0000 { + compatible = "qcom,sa8775p-videocc"; + reg = <0x0 0x0abf0000 0x0 0x10000>; + clocks = <&gcc GCC_VIDEO_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&sleep_clk>; + power-domains = <&rpmhpd SA8775P_MMCX>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + + camcc: clock-controller@ade0000 { + compatible = "qcom,sa8775p-camcc"; + reg = <0x0 0x0ade0000 0x0 0x20000>; + clocks = <&gcc GCC_CAMERA_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&sleep_clk>; + power-domains = <&rpmhpd SA8775P_MMCX>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + + dispcc0: clock-controller@af00000 { + compatible = "qcom,sa8775p-dispcc0"; + reg = <0x0 0x0af00000 0x0 0x20000>; + clocks = <&gcc GCC_DISP_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&sleep_clk>, + <0>, <0>, <0>, <0>, + <0>, <0>, <0>, <0>; + power-domains = <&rpmhpd SA8775P_MMCX>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + pdc: interrupt-controller@b220000 { compatible = "qcom,sa8775p-pdc", "qcom,pdc"; reg = <0x0 0x0b220000 0x0 0x30000>, @@ -3438,6 +3482,21 @@ cpufreq_hw: cpufreq@18591000 { #freq-domain-cells = <1>; }; + dispcc1: clock-controller@22100000 { + compatible = "qcom,sa8775p-dispcc1"; + reg = <0x0 0x22100000 0x0 0x20000>; + clocks = <&gcc GCC_DISP_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&sleep_clk>, + <0>, <0>, <0>, <0>, + <0>, <0>, <0>, <0>; + power-domains = <&rpmhpd SA8775P_MMCX>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + ethernet1: ethernet@23000000 { compatible = "qcom,sa8775p-ethqos"; reg = <0x0 0x23000000 0x0 0x10000>, -- 2.45.2