Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2826832lqp; Mon, 25 Mar 2024 10:15:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV1dGbLAhu1UW8dl4fkD483nwJC7deu/eZAfKMkudG1fhVoN0x3ZQLaRIsmveorsxBwNrwB8d7O77b+8OB0XMfemOH5oOKboyHjEEhKBg== X-Google-Smtp-Source: AGHT+IGNhAQyQPBZpyePQfqPn0/XqK47Y3Dcm7+jGPeV1/TW70HsKcSXImUdDCDv0Vzv/yJwAXN6 X-Received: by 2002:a17:90a:db58:b0:2a0:3c31:7d07 with SMTP id u24-20020a17090adb5800b002a03c317d07mr5445936pjx.48.1711386900294; Mon, 25 Mar 2024 10:15:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711386900; cv=pass; d=google.com; s=arc-20160816; b=WflnC+T0mtn+/moju2NQll2tgo+LPPuBUk87retBz9fLEItBbdPF1CyW4LGxKfu9A0 1rFrbMMtL285V7C6cEU0JJIaAxbPH19KqHR1XVt9GLo//VOzf4FLMsgXM7AqGPOdeUcx dvOdw4UgU9VE8MFviagturr0XokzcVNqAepipurGDzx/cVFfX6A86n6ip/7OPSgD072T D16O8gv9EvToa/QSTBcTn3i8VmAJxNLaDh8K5I9nync66FTNgvBtnbY8RKrKnibFfOIn ATO20Al++Y7ZalJEBmiyx/qVk8MU3jrILyOJn8xOa3+6C1gZcHrdT2vZdvqjFs3u+fTh gmgw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=P94WpazcthFHooNXweOqRe4bZaBx4ZOjrA7P4ZyrdQg=; fh=Am9mc325aPX+iwkYJarS67KOvnNK2KnDn5p1FcTbJDE=; b=Q4Uawb8QJK4cnqo5msZ8aDv8d/0JPJIZNNshkKZe4RF53zlnWwL/O4+xc/RZt5ZLIq AOIGwtWVVBxvAfSKW+6njpBCnXecGmmiXQAJlUnqlt5XdRBuVykuhNcUsfBhVwbVMwEw +OVAtpF129qMTJULo0c3SOeE78Rg4oNSYEIjc1+RwLsNRGiKH7S/rqUeIyKAJqIkqmR1 c/S3i3F+DNgFvSz/9aTjiOc2XzNAFRm5lHBxZ3W9rK/+eFwmThZ0Ancs1vp8SgbloRJf duzfWPNcdlgB7grS4lcWkHj5Ett3AG56ZS0dFHQfhR/2T9zPkFxU0+veygoWN0kSc8pR 4exA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="vMnjZA/Q"; 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-116575-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116575-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id q4-20020a17090a2e0400b0029feeb131d1si2779134pjd.1.2024.03.25.10.14.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 10:15:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-116575-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=@linaro.org header.s=google header.b="vMnjZA/Q"; 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-116575-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116575-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 420EEB652E9 for ; Mon, 25 Mar 2024 13:05:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C4BA37316F; Mon, 25 Mar 2024 08:51:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="vMnjZA/Q" Received: from mail-yw1-f175.google.com (mail-yw1-f175.google.com [209.85.128.175]) (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 964536E61C for ; Mon, 25 Mar 2024 06:38:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711348707; cv=none; b=hRWdM0PL5gO4ZnMZ2ag+j1q0dI4PLXi9XgmvKOYG/kYGjI5cnuR/VCh4fLENryM5kGVs1VfHG30soqJ/zvo1/td4WI9j6y1YYwGiOgamAbNAzATdzh9XD01eR5Xg+kAF1YE1aoUlXemx01pn+6ildGl3EnQkNgIaLkHUO7mYStk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711348707; c=relaxed/simple; bh=4i0LrcqQfdxh0wBkrbGzcOqHsBS9Fzn/wjjrEd4d4cI=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=lW8o6waHp3IHuLY+n0zHIfGL0sc0SQ8c40bjqmt+6qs8F+z7YC9CzuGmswhyle8QuaENU9GOyMuwn53aZe88watw3HxZEl6Pau8gCl/G1agK+BMWTNw2WVOFcFBWWxeGTZkASdTGIbcuUs3nWWxlabjDT7E6lbFVU0zWNsbtDAI= 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=vMnjZA/Q; arc=none smtp.client-ip=209.85.128.175 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-yw1-f175.google.com with SMTP id 00721157ae682-60a434ea806so42845137b3.3 for ; Sun, 24 Mar 2024 23:38:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711348703; x=1711953503; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=P94WpazcthFHooNXweOqRe4bZaBx4ZOjrA7P4ZyrdQg=; b=vMnjZA/Q00ASci/vz6dj2/ptPTqAD5xLRMXPo/oAaGYdW4Ge3ZyYXNWdIRaSUwF2pB 2d6rkdBEusloyrrUMDJKRrrj4jNH0xA2vipb5uciIPTDCErSq8MjgQxuWNS5CtxcW0UV dN6zCrIG1szm3s/oL9Y3127g1XPMZLj8wDGHg1BwfGuHhBT6Me+H07hfCnPA1d0GIrSv 7XvzDoEHYdchGxqQAzuC0pP4DIftVExrJ1UVNxwuVSw7kHdJmipITZzJbWnh0a6a5svb j4sbJCjLHjDDZfsB84N9lOo6wI/ebRzHX90xXzWCd80Fo9PqoNvnhG8A0yqgkeXKZiQX RH5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711348703; x=1711953503; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=P94WpazcthFHooNXweOqRe4bZaBx4ZOjrA7P4ZyrdQg=; b=byD/7Ts8rjO1aGJkuvSk250whOUojF00STYfTHJ0fYn0oQT1Gglu1hYs3VqPBmgSHV QyKDpOC1MC8489hNVOyGhQ34P7eQ/yU+eUvz8XbFM9CGXch5j6VR57Nnzv3K+CQIyN2+ QeFQujdReR58roj/FA/pdjT/t2DacA92v2lqk2cRyxaD+liEso0pbre24Dd46oJOcS4a W6kqg5RZZcZNMOttLS9ZvlnnXREpDxJMXzSI9tVIb1OxIsxB6W3K+L5uZ7dJ4+HtFZvE CYXakosdgLvLGNn+wtzgXTTzb/zMNCfueuL682JIlq2GrZQPIaqYXRaEEIC3eob3qyVb B4rw== X-Forwarded-Encrypted: i=1; AJvYcCWET5GX1E0iFheg41lBsEgl2DTl+Bc82rX17zTz8qTUl3nuM5N1RSn0L8islTryxkqS9HZMFiDjQCc9ecNRK6oXYI71myWOaG6TE10W X-Gm-Message-State: AOJu0YyuiHLhsqWeF5cdbswCcIachSOW28suKwdfcMnxwC7NIL9LrFNm IoXcORqhmgvY5zrAm1X+kzUbHGx5ZVIVS5ngqhkCvpPpAVQsVTSX/YTpprRZoy9S8iqeCh5A7jT iWpzM4gePMKF/CszePes+Zs/BcjeL05NGgOTHCA== X-Received: by 2002:a05:6902:103:b0:dcf:a4a9:98bd with SMTP id o3-20020a056902010300b00dcfa4a998bdmr4232188ybh.20.1711348703619; Sun, 24 Mar 2024 23:38:23 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240321092529.13362-1-quic_jkona@quicinc.com> <20240321092529.13362-2-quic_jkona@quicinc.com> <725471b1-46a9-43b0-bede-33f01c953d51@quicinc.com> In-Reply-To: <725471b1-46a9-43b0-bede-33f01c953d51@quicinc.com> From: Dmitry Baryshkov Date: Mon, 25 Mar 2024 08:38:12 +0200 Message-ID: Subject: Re: [PATCH V2 RESEND 1/6] dt-bindings: clock: qcom: Add SM8650 video clock controller To: Jagadeesh Kona Cc: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vladimir Zapolskiy , 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 , Krzysztof Kozlowski Content-Type: text/plain; charset="UTF-8" On Mon, 25 Mar 2024 at 08:08, Jagadeesh Kona wrote: > > > > On 3/21/2024 6:42 PM, Dmitry Baryshkov wrote: > > On Thu, 21 Mar 2024 at 11:26, Jagadeesh Kona wrote: > >> > >> Extend device tree bindings of SM8450 videocc to add support > >> for SM8650 videocc. While it at, fix the incorrect header > >> include in sm8450 videocc yaml documentation. > >> > >> Signed-off-by: Jagadeesh Kona > >> Reviewed-by: Krzysztof Kozlowski > >> --- > >> .../devicetree/bindings/clock/qcom,sm8450-videocc.yaml | 4 +++- > >> include/dt-bindings/clock/qcom,sm8450-videocc.h | 8 +++++++- > >> 2 files changed, 10 insertions(+), 2 deletions(-) > >> > >> diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml > >> index bad8f019a8d3..79f55620eb70 100644 > >> --- a/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml > >> +++ b/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml > >> @@ -8,18 +8,20 @@ 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,videocc-sm8450.h > >> + See also:: include/dt-bindings/clock/qcom,sm8450-videocc.h > > > > This almost pleads to go to a separate patch. Fixes generally should > > be separated from the rest of the changes. > > > > Thanks Dmitry for your review. > > Sure, will separate this into a separate patch in next series. > > >> > >> properties: > >> compatible: > >> enum: > >> - qcom,sm8450-videocc > >> - qcom,sm8550-videocc > >> + - qcom,sm8650-videocc > >> > >> reg: > >> maxItems: 1 > >> diff --git a/include/dt-bindings/clock/qcom,sm8450-videocc.h b/include/dt-bindings/clock/qcom,sm8450-videocc.h > >> index 9d795adfe4eb..ecfebe52e4bb 100644 > >> --- a/include/dt-bindings/clock/qcom,sm8450-videocc.h > >> +++ b/include/dt-bindings/clock/qcom,sm8450-videocc.h > >> @@ -1,6 +1,6 @@ > >> /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ > >> /* > >> - * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved. > >> + * Copyright (c) 2023-2024, Qualcomm Innovation Center, Inc. All rights reserved. > >> */ > >> > >> #ifndef _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8450_H > >> @@ -19,6 +19,11 @@ > >> #define VIDEO_CC_MVS1C_DIV2_DIV_CLK_SRC 9 > >> #define VIDEO_CC_PLL0 10 > >> #define VIDEO_CC_PLL1 11 > >> +#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 > > > > Are these values applicable to sm8450? > > > > No, the shift clocks above are part of SM8650 only. To reuse the > existing SM8550 videocc driver for SM8650 and to register these shift > clocks for SM8650, I added them here. At least it deserves a comment. > > Thanks, > Jagadeesh > > >> > >> /* VIDEO_CC power domains */ > >> #define VIDEO_CC_MVS0C_GDSC 0 > >> @@ -34,5 +39,6 @@ > >> #define CVP_VIDEO_CC_MVS1C_BCR 4 > >> #define VIDEO_CC_MVS0C_CLK_ARES 5 > >> #define VIDEO_CC_MVS1C_CLK_ARES 6 > >> +#define VIDEO_CC_XO_CLK_ARES 7 > >> > >> #endif > >> -- > >> 2.43.0 > >> > >> > > > > -- With best wishes Dmitry