From patchwork Tue Feb 20 13:51:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagadeesh Kona X-Patchwork-Id: 203607 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp413563dyc; Tue, 20 Feb 2024 05:56:30 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXyf8kqxhqqbkg9X0nMXeO1u48WzDOzbCaAmF/AinDj5mmteAZjma0uPEg31dIy4ZRSw7fb03OusQDMGJpjXqqzffFaRw== X-Google-Smtp-Source: AGHT+IE2GO5Deh620e+HoAMHipqOpxk+7WJqDz15aHgmDNIAxmxoK9tYK8R6etmxyhVmPQK6AWoK X-Received: by 2002:ac8:7f03:0:b0:42d:d7b5:12c9 with SMTP id f3-20020ac87f03000000b0042dd7b512c9mr16613223qtk.54.1708437390271; Tue, 20 Feb 2024 05:56:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708437390; cv=pass; d=google.com; s=arc-20160816; b=ISCBDU160j1C8Ib16mVZoRwjYZr8O/wG1cpyiKxCRaA/6NHrsRvsPgQDS4ZrTiL9eb pgXJt0At9ImDbzB8hCs4Kl5RFG3ES5PyNKk/OCOzxEIl+R10Tmcz1dWHIgtDXGDFoAf8 lRzIgyPXv4vkZsmHfJeLVC+/MpnKnu18YNv1NvFMdd1sT26snhU/Q201GsMUBs07jMes gMkF1tt4f7sWR9R389RbCq7z2HHQUc88UhzLikVw089fYkCeiXp46iSYHqjh0iedOVOO Ro4FgNVGyDiQDS1fin4cIEa3hXgw8n9qcqzyBozanKa3gNCfqKp/wIxUbeZlzK9/JNzF 9/dw== 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=UhjFKiNRki/99OML80iIrD51VgdtAEFOMJZgY7O/Nb8=; fh=4XYZ/hTQ6m19h7ZOAGdlHb4+S68dOsj7VeIYUlU5LDQ=; b=M8Qvn/COBsbhLlO0bQzMMdSbkFXJjV1grbAiHT9ysAHtqx1xS5fxVvrpAwDb4GOfXY 86ce1B+dShr5lwv/kD2+2VpFR5n4DaObjFTvZ2kRv3UCYtRWS59HVk1UwLnmNCHjyNs6 jJzppGUCY12bwx5kvrLzvRid1zu/+E3WLf8u0JdnbgAFDwk8umVjRpxO9QhDfkqJYSgq NeI+TKURTJohShweyk4opsajHp7zK8f0+GvYlQCSIgJUGen3cEX6IRbKtlmvlqNCpJWs llsynq/HojnzT3J7GBnCVLfPSuOMP5NbZcNzov10JIdJG+ZVkr18L/ld3tCwOma7CP0z 3kxw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=FZZ65AZb; 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-73116-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73116-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id z8-20020ac875c8000000b0042e0b35554fsi4835337qtq.588.2024.02.20.05.56.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 05:56:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73116-ouuuleilei=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=FZZ65AZb; 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-73116-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73116-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D39C71C20FEF for ; Tue, 20 Feb 2024 13:55:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD12E745D1; Tue, 20 Feb 2024 13:53:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="FZZ65AZb" 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 8B50A6A325; Tue, 20 Feb 2024 13:53:39 +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=1708437220; cv=none; b=XiB9np3sRFj1DYk/XBUJU1AiXMYljy+RnL0X4N73I0sU73xdph1YKJVUPzOiH0hNocIqyn7ZNxlyBmBV/8Iv7r1Z30JrHVwntLz8MM7oOCrsoXzqswh/G1QRN7zKYaHQ9pIi21IiQm1dlWbr4OmK7j5bwp6c1Qom1KLrZXFSrgs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708437220; c=relaxed/simple; bh=TNfpLvMdNStE9AqTbWTwF3b2YGkCtpaxKCpkoEa/i3M=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=cXANRPNCN37xOr6JqOlULTVBExdghhQPou3ArjvaSAkx+yh9TQoZh3hHsqRvzxdSnxU3R+t7ZL/vMucHN4ijCHjnUCHw+7H30v/GFECYzRN6jxYuWiKHge5jMTiQPnjPXH30CNNsab+DyWO7Gm/uqQ83F5CtWI7+l/i/TKDH9Bg= 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=FZZ65AZb; 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.17.1.24/8.17.1.24) with ESMTP id 41KA9hZP004175; Tue, 20 Feb 2024 13:53:35 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=UhjFKiNRki/99OML80iIrD51VgdtAEFOMJZgY7O/Nb8=; b=FZ Z65AZbNU8PKRHHtGx3VgeV4pnKPhFrB9lfROoT89fbE71NuIckXqVZcB7lzoZFav ty2AyWULBnrZittNt98GYzhg79RC06Jh4RapC0j4RgFtrvpXYMdWPXbKu3RUdico dFkdSFhVSbXpoQq0AmF0uCkTUbBiyXLa/nvIQN14FUh8CX6916uLl5DgBSA1Kpyr lfbZ4dv2mLuJISlRockSSOWVt1m6exELrsiPnJYCMPP5D1UUKnNfV11dSqtzowwM xtkwY2gky3YvXg0AhrBeE5WbARoiAk+GEcuzW8YYQeXjwLUbgjqfUrNn1y2D6DH5 Slc1DcgWRCptYQa7TFUw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wct390d5g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 Feb 2024 13:53:35 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 41KDrZ8a014721 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 Feb 2024 13:53:35 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, 20 Feb 2024 05:53:29 -0800 From: Jagadeesh Kona To: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley CC: Vladimir Zapolskiy , Jagadeesh Kona , Taniya Das , , , , , Ajit Pandey , Imran Shaik , "Satya Priya Kakitapalli" Subject: [PATCH V2 6/6] arm64: dts: qcom: sm8650: Add video and camera clock controllers Date: Tue, 20 Feb 2024 19:21:21 +0530 Message-ID: <20240220135121.22578-7-quic_jkona@quicinc.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240220135121.22578-1-quic_jkona@quicinc.com> References: <20240220135121.22578-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: 3vrUu6f55cYx1hkwcn5212WZREaWYh4W X-Proofpoint-GUID: 3vrUu6f55cYx1hkwcn5212WZREaWYh4W 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-20_06,2024-02-20_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxscore=0 lowpriorityscore=0 mlxlogscore=999 malwarescore=0 clxscore=1015 spamscore=0 impostorscore=0 adultscore=0 suspectscore=0 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402200100 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791426444487152508 X-GMAIL-MSGID: 1791426444487152508 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 d488b3b3265e..7021941660da 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 @@ -3108,6 +3110,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>;