Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp380018lqm; Wed, 1 May 2024 03:41:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVg2fwr5i/oqHy7MqVpXORhI4BHXeJm3FlgYWMlvEgkmVwjZfpBGPR38deDPEgneFuxv1lu95bEHOQHq5S1Pxkun0TRUdSLaeQP+aqlrA== X-Google-Smtp-Source: AGHT+IHjsuoBL5VoSwUKLhUThU9qmA+UeBkRfRO1EdOFJcW07qxuVrsDIZ9paDiSJOKFvNnkdbaJ X-Received: by 2002:a17:906:7193:b0:a52:320a:6320 with SMTP id h19-20020a170906719300b00a52320a6320mr1512714ejk.51.1714560104129; Wed, 01 May 2024 03:41:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714560104; cv=pass; d=google.com; s=arc-20160816; b=VT87JEdKaMjG2HEEbgu6mFXyzlV24N0L8E4McALFVK93sxdKAWmy3zr7zj41iExt9y 3gKzUBdI7GtNlSGx4IOMgBsb4HOJvnAyOZbQ65kbq8B8d78inNex+X3tf7f+0wevb6bK eMs2kPFJAVwILceiAHgWldV/QhgGmY0wFiXXz/RI0WcgoLavbmrBaCRrqY7tPkfraQan 2EPFiRY2IL4P/Oe0ygqy/R4x3/uI50KE0Yu0t2W3JPccLXfQEMchDfzPFahoniUFnE2r nVb6KeokG2KKHjWzT1UL/T6VqZTz3v08ziWKTMt0Ppuy4ipfMe3tPBOrLEXUAfY3jc76 tkbg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=tnAXwpnJCfyBMxb2ERCfc2sWQTd2dlZbEzR3Sps3cGc=; fh=la7CdQ9MvGhxgAlxBZ57iN7otBYxjux5QlT/RZWHqSk=; b=ecEJHr52cN9DBVDoQedb1coyd1AJTBuCurz2UCWD8k9zS1/xYP8ZGU0hoOMp3w0pFn h3LupVCvt8laonIeoxYKQEu/Rr15Pi9D/flksZNEv3rZOAQOdSzXp9BGQZQBLaQNmvYs 41fxNPftcZo4tJPekvuJGG6FhLR2L33ZpmrRcvry2HqePb5u1eeXMz3IT0s9zeNUUY23 9jZpd8p1i0IXIetgBsOHt9fjbzbEJ49VA1X4rf84etLMgL65+gM3/M6NKKbUbjrsDSDg Q2f5g/LU85SqEglTQUSEMI36snsOaYeOVkRqh2Ds8Hf60PrsVDBpca51vZl8VcL4HTKT lBwA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wYXcL8zx; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-165149-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165149-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ku26-20020a170907789a00b00a556432239csi16445430ejc.617.2024.05.01.03.41.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 03:41:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165149-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wYXcL8zx; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-165149-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165149-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id AFB281F22A9E for ; Wed, 1 May 2024 10:41:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DC1E754FA1; Wed, 1 May 2024 10:41:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wYXcL8zx" Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 60B4E52F9C for ; Wed, 1 May 2024 10:41:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714560094; cv=none; b=O3lfrvVqUTCyrPUFFJMgal5NO6PbOe0I3+eDDseu/Yi2IP0X4zS5YtoGNDy6WmJNF8LSWNAtFCy+xQ8zmo+2Zvn2kV2nfyXZ1ji8liOm6wPVD9YWBKCrMn38ARuWT9jLDSjXRRa2Moi9MVnq6Ufw/GrccRri1pfcQ6oP60QeqEk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714560094; c=relaxed/simple; bh=/ZQIG/3uaLNNMu+Jaq1pWiCGUFBqLdO9PicLaF6MvLk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Ysmfr/YM5CzBIvbIiWxR/C+NA+LuUVbWU2lmqaV0YDJQLo8W9vku5HdZ8IoMPwfXPY3FLqGVnd5bWfG4lZduJvHjfxd0SWpVDioOX2ECNqFQmYI3Q2SJTdXcca/FxPd+51yzHQzKSre46RlkQ33mNq57jvxvUIDrusWTeDCHa9k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=wYXcL8zx; arc=none smtp.client-ip=209.85.128.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-41b5dd5af48so46777005e9.0 for ; Wed, 01 May 2024 03:41:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714560091; x=1715164891; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=tnAXwpnJCfyBMxb2ERCfc2sWQTd2dlZbEzR3Sps3cGc=; b=wYXcL8zx8FZQPqbO9RvL1JXAfm4RWFrs5VIluI3eq4BM1lHNiYM20BOy8QoQvkz21B ZZ67Vz0Ll0sk3yMP5psrVEKU0bcf4Yg+KvZJ9ZxfW4sPgpnrzd/yxXEWSs0t001VTfkP Ctdbp90ogzAv96hGo62lEX/XYr8sBIGR2lUZnwWw0TvX3pn+Q/u4srDbng6iyWQ1NNX0 mBUy3B+l2ASUa/oH3+Bfk2HOq+LFlNJKW41o/2P9bwvkXx/Oj7yfmvP3AKbmyDVWcNpp KQo1IKSBNUKsTP7EtjFkzjW3qXM1QtoWzBZT+SSZTex3FSO3+6PsbxgAenXISlPtFStY bSkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714560091; x=1715164891; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tnAXwpnJCfyBMxb2ERCfc2sWQTd2dlZbEzR3Sps3cGc=; b=VOunoTnuQ7NPPL4QrTlIhLeI7/LW6gF3uSsQ2Ze/bR/Vg2/z3Ot2tqQXYcMxaWhhk1 wgKiPOdC+COA+nMexxSi6zXemQSiPGCy2GHTH3F3lcOyjN2GRzcGcZtTZOlaXe2SvBMX KgGRVFFBzihrxWu0T6XrXYwqDTqVqSmSmoS4UWSW71ZyPIGAVW5KUBiIN10TiwyuQtpU yfJGmJdO2NYQMr/J3jd2mzDyhU4ja/z+KFsGBhBJ1kJH8okDuFdd9ItM85gEjzxdodP3 l67VkDCr/WhZkQjkcB6XNcVvDwq7GYQlws1NujynGXFsRZYfoiA/bqL+X8Q8O6hyk69g sudg== X-Forwarded-Encrypted: i=1; AJvYcCUGar9TNSMm9EwxUtXB5OH3e35RPaokTETMiW4iNCnxcHLcGYWCYYHIB/+q21+Uywj9JYxrrMgDs8QyvSvkZBSoBBKY5yE2vtNDjHDN X-Gm-Message-State: AOJu0YxmlB1XK/m41qoss3VT2/lnPA8IKA1AfqpxTEGl8x/Zfh9/aDBo iymR7PKq54VtOZHy5uu+J8l9a4WzN/YzVWiAAFbH0H+ZXsXbNl+8Xg+gW622GsI= X-Received: by 2002:a05:600c:1384:b0:416:6af1:27af with SMTP id u4-20020a05600c138400b004166af127afmr1596783wmf.35.1714560090610; Wed, 01 May 2024 03:41:30 -0700 (PDT) Received: from [192.168.0.102] ([176.61.106.227]) by smtp.gmail.com with ESMTPSA id a5-20020a05600c224500b0041aa79f27a0sm1775807wmm.38.2024.05.01.03.41.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 May 2024 03:41:30 -0700 (PDT) Message-ID: Date: Wed, 1 May 2024 11:41:28 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V3 2/8] dt-bindings: clock: qcom: Add SM8650 video clock controller To: Jagadeesh Kona , Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio , Vladimir Zapolskiy Cc: Bryan O'Donoghue , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Taniya Das , Satya Priya Kakitapalli , Ajit Pandey , Imran Shaik References: <20240430142757.16872-1-quic_jkona@quicinc.com> <20240430142757.16872-3-quic_jkona@quicinc.com> Content-Language: en-US From: Bryan O'Donoghue In-Reply-To: <20240430142757.16872-3-quic_jkona@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 30/04/2024 15:27, Jagadeesh Kona wrote: > 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 Extensibility +1 Reviewed-by: Bryan O'Donoghue