Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp2087492lqa; Tue, 30 Apr 2024 07:54:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWkIfz/2slMmiMAOkqYVp69c9w9sTPd3aIxQ7OH/7pxQWs9AYb0Yu+UsyW9c0YnACH6//ZmNFazAkU9xLml5H3eJSTqOzHcyLgJZC7/tg== X-Google-Smtp-Source: AGHT+IFeP9ZIAgK/TznO0FfRE9GhqNHX64jsIhru2hvOk7/f1Am4qL7VzueU79ZyXV/UTL0Sb+xR X-Received: by 2002:a17:90b:b06:b0:2ac:23ec:6a54 with SMTP id bf6-20020a17090b0b0600b002ac23ec6a54mr14923689pjb.38.1714488872298; Tue, 30 Apr 2024 07:54:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714488872; cv=pass; d=google.com; s=arc-20160816; b=ejNETLwtplCu7uERyFfxe3aUWsR3lSOAw65UAW7RTaBHKNHfEyhgLlje46OcAd2JkY HXPgXKcx9QfpVJ3ovukAvBioTVddB/z9clP4mT2H/mBSc5gIwxUr7XikSgPlaFv5c72D maqdKX3RRgV3Ru2pl7nSLz4iZWedPVrcoaNolMkPe93X0uCrmYhqkJzLoaHw2NNbsVhx PKisBRUl7mdDHkrlkHkG6rDhjrV81X94n0JrGWpXiGIORY6/hhYxTuXiJY3e340Gsx0e qKIhFHlz7fxsrDtAlY5015B9ydumm8YNgkQ+gph/PAczA+AR0UqF/WDSSAC3b3thQZ1N AcbA== 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=0oUE2xkR1suGk9gLtMS1UZqz6bXTRiFytMT+ynxDOy8=; fh=oPPk1bFX2UC8PZ20ubFmrUwhvbby39o1X+lIuE9xnNk=; b=l8UzDxpfVQvm0wnNfbwKsdpUA20bHsNNvu2gjMsmQgtgvscLlHpttKZL8ly/gnV1jE cbec7kx0rwE6gFaPYImBEutoLbhd5UJtzzM52lGqX6nY4urp0cE5jyaR6tTRxVqmgANx YGB6ZcOoJrLbePJITD7UbbB6dfL952CTRXavG6z0ERQJD9C5wahmGQ6fa/XH8txazt3J buFQCY3MlS0xafa9RCNQgJ/LjDKnrlkBO0Nl666JjDgviVdM+gGgbJlmV1k3HQBpQtLR alk/B9Cgj/qM1e2OrQjf1icbanOYniFTuHt/sIZK3DQj3lMyrOJtIJxDHnzk8k/jbG3l Q4hA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=NGi2Dk7E; 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-164148-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164148-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 z15-20020a63e54f000000b005e4c83e4f41si21832941pgj.183.2024.04.30.07.54.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 07:54:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164148-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=NGi2Dk7E; 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-164148-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164148-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 82373B23ACA for ; Tue, 30 Apr 2024 14:35:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A9B6176FB8; Tue, 30 Apr 2024 14:30:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="NGi2Dk7E" 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 BAC5B152782; Tue, 30 Apr 2024 14:30:36 +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=1714487438; cv=none; b=mX01H2hjOcVfpdo6HilXCJt/rowl6BUpoCwrZnHyuu9RsOAWRL1reRveiM5njvZ9YOQPFe63VHI6mT16YBlPFvdOkLqNvR5lebTbOK3cRfU0eDd2NcUpfcknGmOPcPqgijBIP0Tpv+LlVb7jmAJWvbPCrR1FxmEaDI6pjKW3/90= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714487438; c=relaxed/simple; bh=OqQSiVxO3HHYjrY+m/uSpBgsc4eDZkKVD/Wh+0XPBlU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=dBD8YoJtBxS1lI9V3JTGEfA3S01xvnpbxkJdgktC2p5I4qf0KEAYkfx3cEp3JiE/Wt8CnfnXcRaNs8++G+Pj6d7XUtzOeIaRqTEOcbh+LjF3P5Ns8Fqw1MHpELaW/i1+g/FsUA+eAujAhZ113cjFkL8Aiqx51MCqvmHcw+c/Bzw= 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=NGi2Dk7E; 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 (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 43U37fLm013470; Tue, 30 Apr 2024 14:30:29 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=0oUE2xkR1suGk9gLtMS1UZqz6bXTRiFytMT+ynxDOy8=; b=NG i2Dk7ECPkXOx/BY6ZbJ+Migbo3PIH+0zaSKpEA9lTbsz2W8sHHPcpQ7rXF2lJrh1 n7L7YQFIE+KGt/zoqfelYE6CRJTBSrowsQLJ7pMC3tMwd80DsaOBqKb7tmFpRl1v 4y+GBam7o4LRHWTDXS+d6AVC0CHjgcCluPSdm84he/yil/pEEXpf9u6JVFpav/qJ sx3oSjvrN4ezWDZ2VLdf0EyQ8GiSRGOO6veFzLy1nKpzJA9nuzv8N07qvfUHAXEb 9H97DR5Kg9QqbefAdPFqKlj7xJBG9B8ggTJoxFCcu1lZNuLe7olVpCAKRJKgfaRX ZBAwp0ogFWyiJ89THzjw== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xtrep1n2w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Apr 2024 14:30:29 +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 43UEUSHH030862 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Apr 2024 14:30:28 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:22 -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 2/8] dt-bindings: clock: qcom: Add SM8650 video clock controller Date: Tue, 30 Apr 2024 19:57:51 +0530 Message-ID: <20240430142757.16872-3-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: dMChtsJJ-zWpN3yAjY4I-2Ng8OUfUVj9 X-Proofpoint-ORIG-GUID: dMChtsJJ-zWpN3yAjY4I-2Ng8OUfUVj9 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 impostorscore=0 adultscore=0 spamscore=0 suspectscore=0 mlxlogscore=999 mlxscore=0 phishscore=0 clxscore=1015 malwarescore=0 bulkscore=0 lowpriorityscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404300103 SM8650 video clock controller has most clocks same as SM8450, but it also has few additional clocks and resets. Add device tree bindings for the video clock controller on Qualcomm SM8650 platform by defining these additional clocks and resets on top of SM8450. Signed-off-by: Jagadeesh Kona --- .../bindings/clock/qcom,sm8450-videocc.yaml | 6 ++++- .../dt-bindings/clock/qcom,sm8650-videocc.h | 23 +++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 include/dt-bindings/clock/qcom,sm8650-videocc.h diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml index 78a1bb5be878..922e95c61778 100644 --- a/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml @@ -8,18 +8,22 @@ title: Qualcomm Video Clock & Reset Controller on SM8450 maintainers: - Taniya Das + - Jagadeesh Kona description: | Qualcomm video clock control module provides the clocks, resets and power domains on SM8450. - See also:: include/dt-bindings/clock/qcom,sm8450-videocc.h + See also:: + include/dt-bindings/clock/qcom,sm8450-videocc.h + include/dt-bindings/clock/qcom,sm8650-videocc.h properties: compatible: enum: - qcom,sm8450-videocc - qcom,sm8550-videocc + - qcom,sm8650-videocc reg: maxItems: 1 diff --git a/include/dt-bindings/clock/qcom,sm8650-videocc.h b/include/dt-bindings/clock/qcom,sm8650-videocc.h new file mode 100644 index 000000000000..4e3c2d87280f --- /dev/null +++ b/include/dt-bindings/clock/qcom,sm8650-videocc.h @@ -0,0 +1,23 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ +/* + * Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved. + */ + +#ifndef _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8650_H +#define _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8650_H + +#include "qcom,sm8450-videocc.h" + +/* SM8650 introduces below new clocks and resets compared to SM8450 */ + +/* VIDEO_CC clocks */ +#define VIDEO_CC_MVS0_SHIFT_CLK 12 +#define VIDEO_CC_MVS0C_SHIFT_CLK 13 +#define VIDEO_CC_MVS1_SHIFT_CLK 14 +#define VIDEO_CC_MVS1C_SHIFT_CLK 15 +#define VIDEO_CC_XO_CLK_SRC 16 + +/* VIDEO_CC resets */ +#define VIDEO_CC_XO_CLK_ARES 7 + +#endif -- 2.43.0