Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2585250lqb; Tue, 28 May 2024 04:50:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW1LYGYCrFU6/7wgAwJoji6IEwsMgE4i7KeB42jHBUa7A6Khwne2rYxfibLNYGQSEj7D8BP/4cFs0oAEJ/J74nXqZujs/ZH8xnlCtrtgA== X-Google-Smtp-Source: AGHT+IHt0E4G45ppbrCxUuxFW+ZiqGWcJRQ9GFy1Agi+RbbZ9+TMbqKQ7+0+EsqFi91HPKR6/Ruq X-Received: by 2002:a17:90a:e558:b0:2bd:d2f9:f1dc with SMTP id 98e67ed59e1d1-2bf5f207da7mr10287743a91.30.1716897009366; Tue, 28 May 2024 04:50:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716897009; cv=pass; d=google.com; s=arc-20160816; b=LTWk3t6/CljIlVhJOTppptiSAGwsL+XTBJdw/ejlD308llYo5axn/voNXADvs7/msh yiILz0Nezj9VgMynFBkpXrz5fPWrcUGQ8Yr1KAH+tWQB1WNGd0KG1Wj4r4MuhSMboEM6 wp1pKT8027M7j4eSJwya0DTABWTHy4r3MfHpDf8WyPpA6xhJMcZ/rdhB/2m4o7MGxEXA fT42aoy0ANruefcfms2CYsi+X3anls7uxpa5+Hc+5eaI8XxSmOo5VLPo+SQzwQjcbC3p uoT4peHEBKELYoRW41dvWj0z6uwcYxy04d1Ziu/fkNnMT/3TmZ2fZ6oG7/UpOYgdYdBr rcRw== 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=FTeZODrBa4bdaFZ6POX/gfQa2LaI2nSTzegeTz1IsWM=; fh=qN1Vvd3TEFs5whLlFtZoJ+Lx4sYOBYJu/DooioH13ds=; b=d0UB8B07jp00WhQhZ3eJjM1L2Q2zvlxBt9E/AROQ59XnoBaQzw/s8I+ceZMeMtNVrv UZyGuratddpP+bF9464IB9IeojAW75qtlORDI+okxdlvUXJFPtV04YeDEBdko7xGXq6Z iPlMZy3O64GqNLHbI4ZIRwnC4XqVw/qZcGePPEmESWzreaInqbOJU/F/JiuZRxKGBl/P UP73koh/ZTpx9vUiM0I8TBsLVvkgwPWyKVM1vnyg3+ITR0YmCpRamo1KdOq043NFlW6E k0qf8qGOexM+XEcqkbRlRE9ELfUpijHF7kWGMZLaQIcGJfRqYszaVgJyXlslqlsuO0qW e2Ew==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=nOXCFYb8; 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-192213-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192213-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2bf5fe62a95si7927447a91.134.2024.05.28.04.50.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 04:50:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192213-linux.lists.archive=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=nOXCFYb8; 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-192213-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192213-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5209B28653D for ; Tue, 28 May 2024 11:47:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3209916E86A; Tue, 28 May 2024 11:45:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="nOXCFYb8" 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 DAA8916DED1; Tue, 28 May 2024 11:45:10 +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=1716896712; cv=none; b=UZOlXhtUBvMKkvNzAlxOOkgbzTMld5B0qA+T5VkEXWQqIuEStFS/lFFgYgR1OEdbS0awPhJizCyiLnDwbxUICwIhKNub4onOllb8+2ye3s5itf5PTyUEQQhDUalFn0YEChgnTxb7kP3Ezc1VUL3PX3/b7gfh6yLnxiU4ZkcC7dw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716896712; c=relaxed/simple; bh=jEDNSva3XwM2d3agP2RSYVB6KDLWXeJkvigh9TM0wy0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=QGU3e/AMO5k66D8dn4/xEvDB0/2+D95V9xmk4NKaLoobuKA+yXWuybVifoOOjneTT2mfC42WkQJExX5jQAXJ6uBDLUCLAloi5VEwtR1//WyZsEpFjNoA8bvc57NfcTOSfb/78BLxe2r9v3nq7jUVZ0es/oX1aqYsnIXrCCXAwZ4= 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=nOXCFYb8; 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 44SBUQDd020826; Tue, 28 May 2024 11:45:07 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= FTeZODrBa4bdaFZ6POX/gfQa2LaI2nSTzegeTz1IsWM=; b=nOXCFYb86i9bT8c/ 7Qu38WRXK5Ycsx9steNPPMYBw/LtAx+5lw6jW11GY1zQqr/+FzSS7hpTBU8gb9rm ea6YlJ18IRx11AP5up4b/lFIGl14RbVq5USiP0HPSBR9MoZQHHqyOdQZBVO0uwx7 E2yt7cYxwRjXOHSZ65UlTseA3/CPCIqzlR6kZ0BJgRMJL5AzhmtkJu0lDeHDay7p TrX+UuSnHCoBn5IRe7EQd0C3+i136A9ypALLg80/JStG0zUleAqwekVxPyN7rW9M oadICLdYl8ve72v2yTmD3zxSUurDb6edTM5ukdTIg3WCb/QfE51aLHDQNWgGT5jV I2yJPA== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yba2h5wec-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 May 2024 11:45:06 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 44SBj2p2024407 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 May 2024 11:45:02 GMT Received: from hu-ajipan-hyd.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Tue, 28 May 2024 04:44:57 -0700 From: Ajit Pandey To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Vladimir Zapolskiy CC: , , , , Taniya Das , Jagadeesh Kona , Imran Shaik , Satya Priya Kakitapalli , Ajit Pandey Subject: [PATCH V3 8/8] arm64: dts: qcom: sm4450: add camera, display and gpu clock controller Date: Tue, 28 May 2024 17:12:54 +0530 Message-ID: <20240528114254.3147988-9-quic_ajipan@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240528114254.3147988-1-quic_ajipan@quicinc.com> References: <20240528114254.3147988-1-quic_ajipan@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: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: i4CPYSywcWjmch_VrJZBVbJ4ehvVr1dE X-Proofpoint-ORIG-GUID: i4CPYSywcWjmch_VrJZBVbJ4ehvVr1dE 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-05-28_08,2024-05-28_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 adultscore=0 malwarescore=0 priorityscore=1501 impostorscore=0 suspectscore=0 phishscore=0 bulkscore=0 mlxscore=0 lowpriorityscore=0 spamscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2405280089 Add device node for camera, display and graphics clock controller on Qualcomm SM4450 platform. Signed-off-by: Ajit Pandey --- arch/arm64/boot/dts/qcom/sm4450.dtsi | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm4450.dtsi b/arch/arm64/boot/dts/qcom/sm4450.dtsi index 8d75c4f9731c..ef448e13b8a0 100644 --- a/arch/arm64/boot/dts/qcom/sm4450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm4450.dtsi @@ -4,7 +4,10 @@ */ #include +#include +#include #include +#include #include #include #include @@ -388,6 +391,41 @@ gcc: clock-controller@100000 { <0>; }; + gpucc: clock-controller@3d90000 { + compatible = "qcom,sm4450-gpucc"; + reg = <0 0x3d90000 0 0xa000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_GPU_GPLL0_CLK_SRC>, + <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + + camcc: clock-controller@ade0000 { + compatible = "qcom,sm4450-camcc"; + reg = <0x0 0xade0000 0x0 0x20000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_CAMERA_AHB_CLK>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + + dispcc: clock-controller@af00000 { + compatible = "qcom,sm4450-dispcc"; + reg = <0 0x0af00000 0 0x20000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&gcc GCC_DISP_AHB_CLK>, + <&sleep_clk>, + <0>, + <0>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + qupv3_id_0: geniqup@ac0000 { compatible = "qcom,geni-se-qup"; reg = <0x0 0x00ac0000 0x0 0x2000>; -- 2.25.1