Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp416426lqj; Sun, 2 Jun 2024 04:45:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUJC+9V30MFNW5mOXUm8g/2AyTPLjErF/Vqp64dlcT9WlsfSYA5LFFt1fh1Ph1nna9+ucz474iJSST9a7bN3ldEwPIjf8Cd9HWJVBa8rg== X-Google-Smtp-Source: AGHT+IFcwVTXrZ4xMOSrhEnEPYf/rpClWYHCA6KshmOn+rLSX5husCA/4/X04jY5yf76d0m0YhVS X-Received: by 2002:a05:6870:440d:b0:24d:9c4d:f609 with SMTP id 586e51a60fabf-2508c118a80mr7725902fac.38.1717328756205; Sun, 02 Jun 2024 04:45:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717328756; cv=pass; d=google.com; s=arc-20160816; b=raXHZblV0F/DAAClzFziTnUHZuZZ4xLvOx4CrlOGISvqDlKqtymHTIZhNmMNeVEdwR XCfhO1Y7MiOLICmor9XLpfcwESsUlmkoHxTgKHjY0V27+J+Ajvix4iZ17tEBaBiZ9Jp5 qsqSJ3lPuRcbnfAGqqR74WoEm8rZ1W24EYgWUR8GOB4UU1v/zHj2BFKyHMR9U/fNGX/5 tPdwG02DxJwKUezb4WJ8+dJ0hz8aBPFU6CYV+J/N7b7aR/6U1ed9Up1M/WnxXt4uu1S0 sWqR+Uig3KvuNbj56XagEuS53MatnyTLXOL+4uFkOmODKDaMT56w2+kR862X/es5LUfR rN4w== 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=+AI5dwdTcT+UIMStiAGspnQyamt3LjclaJcqW7Dt8Co=; fh=8SGr2ECmx5s+KMCYH3TfCqXTO9l/XDMqjQg1Wm7nzLo=; b=Sgl5z+jn6uLYBYAX/Y/3d4rY3cselamDO4z3Lca5sh9bIL5xQpXSKRPzTy0HVP+cYF MFvuE3slvkAS6DKbdwtzqnfmEmsj1q07RaZgFAK0j/EcWW7C9KEZRWLqwxThxRKX/s7O e2qswN5I5SUjeclpPWMu1CsmVJ7z5sEF2dp+BMG0II8VaPmpLSyV3gKjvgSBsyYiVvod xtymaqUbiNxEWgWeIaEjDX6nJ6GUevpsjO1K0PGB5A2nhuTT1J6/r3mzt7Su5cT12423 zVp9ENFD3T2sVKS29kDiTT/nmVfQeM/emy1ZjNqgo5Ue4HB+suAH11Oa3D2KMYM6i5N9 Cz9g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=A3ahFpoS; 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-198214-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198214-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 d2e1a72fcca58-70242d571adsi4732090b3a.311.2024.06.02.04.45.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 04:45:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198214-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=A3ahFpoS; 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-198214-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198214-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 761052821CF for ; Sun, 2 Jun 2024 11:45:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0E2F539FED; Sun, 2 Jun 2024 11:45:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="A3ahFpoS" 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 8A7251862A; Sun, 2 Jun 2024 11:45:26 +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=1717328728; cv=none; b=MIxjsqyXrdeDC0FEvS4fE6ir5270gydR5eKdqoRxB3slMe6fk69WpeTWQG6TxLqdgHKHkA6KX6jewJ/NOMwQDDhusa9314oyWb6zjF8BCfohfkJeBhMl3PwGbE7LzZ4xIBATvxNw+/HD3fcg294yNCTaz+HgaZQ5mrVdix1+rEs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717328728; c=relaxed/simple; bh=2oKuUzpq9svnFaqrMsaJRiN3RYhK+lD3Ld/4pJiU3Rs=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=JxaDjTODRcG8tjKPdtkRP6mqD/3l9qje7I66uFGTpaOC4G4+pAQKalvs1wT0IYQpBQwYU5LMygB6NsYeRNdAzdBaRDTcm5HYFbRqPTV260+8VqKLNaF7o0a06RTfD30QeHTcQ8q/r53gsGYzMlJg9USgxW4i6PuNcn9W9pqHTHI= 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=A3ahFpoS; 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 (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 452Bi3vs010059; Sun, 2 Jun 2024 11:45:22 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= +AI5dwdTcT+UIMStiAGspnQyamt3LjclaJcqW7Dt8Co=; b=A3ahFpoS9BtKb7Kk j8dOSVbDvzD9kbwySYunsXvtFvVNYrBGMm+5JlFcg5dR1l87fH6WuUYJ7itT4068 icoS1SS2cGCFpXwZhMYFS1ySlhelq0w5pu3ISnBqZ9Xc28QI+ohxtxOYITCRVeB6 eh8arRPbOWc/3fAPpMua77lBp+vDM32nVCD23nOqX2JVeBWGNwPLJN0AL+C3U6g8 d6PZIx5/qHADiNRbmAFKJ08FWabh4KOCobPBisif2ZdZZTS6rz4wDrI/2lQkpWK6 GrOn7p1AQfrFInSu+2R40GFy02cB7r+exivuar28R1JVr/bwwMEIT9sY3s5wY5/l bXzlrQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yfw7dj0m6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 02 Jun 2024 11:45:21 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 452BjKvD021702 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 2 Jun 2024 11:45:20 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:14 -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 , "Bryan O'Donoghue" , Krzysztof Kozlowski Subject: [PATCH V4 2/8] dt-bindings: clock: qcom: Add SM8650 video clock controller Date: Sun, 2 Jun 2024 17:14:33 +0530 Message-ID: <20240602114439.1611-3-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: Oqt4KhLZfx8Uo2ZQk0cKg_0QlAGFtCeg X-Proofpoint-GUID: Oqt4KhLZfx8Uo2ZQk0cKg_0QlAGFtCeg 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 suspectscore=0 mlxlogscore=999 impostorscore=0 malwarescore=0 phishscore=0 adultscore=0 clxscore=1015 bulkscore=0 priorityscore=1501 lowpriorityscore=0 spamscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406020099 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 Reviewed-by: Bryan O'Donoghue Reviewed-by: Krzysztof Kozlowski --- .../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 b135aa2e9f06..8ce5972a65d5 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