Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp249770lqt; Thu, 18 Apr 2024 14:02:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUd4K4bEByiuwoLx9oyWONIhBpjK2N92yngQT+21clAGvXIpk4DXjZCS8ZMRIg5vhAburpRyBRh7r6Jm46ev1DSzCTwL76Xpzf+SBlrLw== X-Google-Smtp-Source: AGHT+IHSBIX0q8Mwy6VE3UPYlRJBTCTRni9owp1HroL1gn9LSx+EHY/gU34BUMkc5PTlRXOxIB7L X-Received: by 2002:a05:6214:1148:b0:69b:17b2:df34 with SMTP id b8-20020a056214114800b0069b17b2df34mr187540qvt.63.1713474172939; Thu, 18 Apr 2024 14:02:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713474172; cv=pass; d=google.com; s=arc-20160816; b=0EoAxUaqnL/foqBPPBVVg4zBHWBjyvAkz+GMNoFl7bmGDP0Jw6F86JAULsIxpWzn50 7697/KDsGpyYuZWt+w5MZbTJrxAJBq9ig8krm+bxu0hL/MbPFO3RULOeTNhvBesMvvmH b+WZxeo1OCnbPlUxZsuwb3RNroVjyorb1xUQpff8KcEtf+ykKZwItpsMuHay+7eV7A87 4+Q1oWg87C5RuC+XcbmGVLxYBy2QoD0dTjHvVDWt779sAV7xuYKu51HVsc0RPYejqjKy gfj5vwuQkOhhpCRR1YoYVMy5ukrfstbTFXoMimwfIcP9VF85lZO87B41S5BOtKFDwC0S M3PQ== 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:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=K1Eg8XAotf29L29Zp7YHNAD+JmxvqCaer9g5b5fj8ko=; fh=+bi0pRSzdhtBwb6EWZ/wO39RYpj1lTpk21inQGyPI3Y=; b=hCHfk1M0BgeTM+dQ1UNGdL3iHrcWUycUMxIKKtxiHgHS4BlOLlbUT0Y1DzPXBqBrdB 1GSrkWVMZcXw6/ycYRixbQ34AGBdayc8FSAh9StwhGVMdfzAxmKNpCUFrVpLlhn7B1i8 UI3rs5DyRxQ8mtu+yd9QDsnebGQ0FJbcwKWPI6FoOn5+fUggvTlS0xxKFu+yqzd/Af65 YD+e9eU/ZEJvyrUoY0iWP4w9MBptynoMtmhXBIl0qR4WYH9xb5d/ReIRH7AkI2xuTHi8 U9ER93lj0tI9nTTBIQfKcYYmD+1AN4vheHEJ3eCccmwdIUFF9WojWwwEoxGvHPZMkBp/ hlSw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jb0WozuY; 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-150782-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150782-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id gy1-20020a056214242100b00696aca50514si2337995qvb.353.2024.04.18.14.02.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 14:02:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-150782-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jb0WozuY; 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-150782-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150782-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id DA2AD1C23000 for ; Thu, 18 Apr 2024 21:02:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D59B194C7C; Thu, 18 Apr 2024 21:01:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jb0WozuY" Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (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 B215B165FD6 for ; Thu, 18 Apr 2024 21:01:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713474113; cv=none; b=u0t6WsF94ZiAMSZeQoMDi+9rN6z6ZP33dmpWPtFsGO28t8r1noiT5Hd8Ghj2HYQ6NRbbJznE6TDsOa+OnurIwhG2Pc+aL1qXaLd0Vd+lq8+CSsxuobdzUozkacq/2/yca0pNd0609XA5XdFPz2bsQB09S5FzNzhtyQvVAYzLf/w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713474113; c=relaxed/simple; bh=7CdVP5Kj31ni265PFLdukb0vu5F9fG0Y+00FI3capLc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=WpS4C/iCJVgqR6JKIAnPKxFvbub2JJCtBprEPJY+FkIn1jgVpneivroAs4Z65qpUTF3yYiW+5W00AstUPUujbhjjcpY/8dPcnnJGyl0hLoR6TYMX+kd2WY3nTQ6VIftCTvfQ0WT6hoWZZ+B6lPSJyO5sPV48evKqexpGdQs5R4s= 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=jb0WozuY; arc=none smtp.client-ip=209.85.208.181 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-lj1-f181.google.com with SMTP id 38308e7fff4ca-2d87c661031so256221fa.0 for ; Thu, 18 Apr 2024 14:01:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713474110; x=1714078910; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=K1Eg8XAotf29L29Zp7YHNAD+JmxvqCaer9g5b5fj8ko=; b=jb0WozuYXi0p9JhP7epzMRfp6eV8eVBpuC7KZD5+2OTrjMYN1VJ9CR8wZLyVvStZ6I DM5QiA0u2e7Zc18r7gRKXwr1mJWzYgwLVqSoEADIWXXdbsMLyZwmgZeTyaM/csngA9cu hoY7PHegqXuB2Rux06QlP4bQkbEP53xozKTQzhw8x48IyXU+PqM97td6b9F2P388jnI5 Q/4WBBjSyv2KsMsl7csdHSfaS4WOVAS7FD5E8sjQ2bztUI13sKHWAfLYZ/6Cltm/OFGj 0Qd7kImULFKZJl5/FXnobUCB0dc4g2CKUvP8TzKs7qEUiCk7Vs50R1nrfMr0KLJz2kUo Dekw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713474110; x=1714078910; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=K1Eg8XAotf29L29Zp7YHNAD+JmxvqCaer9g5b5fj8ko=; b=K6DK36sovX4dq4qR4sGCK7aHl9NRHk4pEtg5V+cGWcbqN0VXfECpBavPLQgNtNsJHX xBJTVF+WlPl2dzarTFYHRDPIlQdgrt+g+0qMrtbXa9Gces1sNqBAbc8zNdLn/socak8/ sPk3FmySwaLEdOKlmCY77U3Iey/UX61Wme2wrafEPtTPYCbAU9+XjzVK/xIw4/50F5E1 zWCYnh0i8gTFKATgPJj7fjuJ7uahAaXlVgTwEX1hrQ13OUW+RyaI3aISLEsch/U3ZtyV b3aWB+LuDj+pqAY/PuWU0XhaUHyiVjZh8mHPNLiBvggUGFrkDreXo6aTMLDogu2COF6O y51w== X-Forwarded-Encrypted: i=1; AJvYcCU5kDzKLediThicz6e/jIPVFkaykkOTmaQoNbjTIJWYNTc1Ws6TH+e+FlE6plw7RjoTtMc+NxzLIGFl08RzFBUefVOs8BQexi4j/gTq X-Gm-Message-State: AOJu0YyFD7VjoVR1Clwy+7lZwKj8y3nmKsD8/7vOqHaqtKvuMDniczPm 1hkmHgD7lY4wo7adWWEzdy6fvY01DSlyAsiNsySr9WsFXpIoSYdE+8Yi4PKp4g8= X-Received: by 2002:ac2:464b:0:b0:519:69c6:29bb with SMTP id s11-20020ac2464b000000b0051969c629bbmr111728lfo.0.1713474109808; Thu, 18 Apr 2024 14:01:49 -0700 (PDT) Received: from [192.168.1.102] (88-112-131-206.elisa-laajakaista.fi. [88.112.131.206]) by smtp.gmail.com with ESMTPSA id e28-20020ac2547c000000b00515d407aaa0sm379193lfn.252.2024.04.18.14.01.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Apr 2024 14:01:49 -0700 (PDT) Message-ID: Date: Fri, 19 Apr 2024 00:01:48 +0300 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 V2 RESEND 1/6] dt-bindings: clock: qcom: Add SM8650 video clock controller Content-Language: en-US To: Jagadeesh Kona , Dmitry Baryshkov Cc: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , 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 References: <20240321092529.13362-1-quic_jkona@quicinc.com> <20240321092529.13362-2-quic_jkona@quicinc.com> <725471b1-46a9-43b0-bede-33f01c953d51@quicinc.com> From: Vladimir Zapolskiy In-Reply-To: <725471b1-46a9-43b0-bede-33f01c953d51@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hello Jagadeesh, On 3/25/24 08:07, 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. > In such case I'd strongly suggest to add a new qcom,sm8650-videocc.h file, and do #include qcom,sm8450-videocc.h in it, thus the new header will be really a short one. This will add pristine clarity. -- Best wishes, Vladimir