Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp282614lqp; Thu, 21 Mar 2024 00:25:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVT+res1V9q9nWppwOiX1RVwmaFBJfa6I96a14uFet6AwW2CRNkGkKlpUpa3U2btR+DqLiJ/+wJLsyvx8jq50C2f2YhgesQGk7Bm32WXQ== X-Google-Smtp-Source: AGHT+IFKEVJBqPeY8CKsrzLNlRb7znTbGcHlJn3fHvF1m/pgtlxnmksZlguyqrn1A5dXU5fAuyNv X-Received: by 2002:a05:6870:7996:b0:221:9013:d783 with SMTP id he22-20020a056870799600b002219013d783mr8367801oab.34.1711005935762; Thu, 21 Mar 2024 00:25:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711005935; cv=pass; d=google.com; s=arc-20160816; b=b5pu8eMy1QXSlzXZbICJ1VlN/fYRkQkI4S7W8QJ5C4Qpog7NQVff+L3qrTqU4R63LX NH0YOITJr3s1zTZRBn/Xl9gqBEPHGac7oyHs/KJSUnNO59wP0D+7WjeDH8UtjNqwzG5I bWLSkK7LHNCzhaa0MXaLJ7yi7121zNaJqbM4oqi2rYWIF8q1rQU7E+C4DKgh8wheJu3I ReF5KSiTjPmNc5fe5Z7GofaalgrU5waRZqWF1TxKCKXxcGT8I02gX7ufYYldWBxyZOYa /YAWJo65iZ5ojUCs7ctd0v3AWq7suFJmBNYohs2S71RD0Sbp2I5NivuAkzXxV+S3FkId 5/sg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=dW/DVr6H9lxXs8kj3uemHI4cq9jKqtvmA1r7vUJK6aQ=; fh=NrTYTztt9TnBVe4Sq+AFQJyU59XMhXGDddoViF2h0Xs=; b=uzIeW6DdqY5fFMUH/4fYTtFHUbdKXAig6zOUboIHqX69xM6oVkPZfGELYClbCn17f2 oVKq3myGHF4+m90KlklX6irIMUG3Y/nn7ZxK05whzDmpIfUZNJap8THyy5NvDRYpEOEU iUc3RVY9mQmhA4KJxf8NJs1GIvVtBQlojZmrXk3mHxzd+vIIDQNi/FWKz35NEZikGd8i BAUblG9RTIi+/u80iUVcQpHk2uMDKKw7B0N0BzPG2kOaHUssnR6+IOWg5kOeLIMAdTaA 9Vc9F4xC1kCAyhCcJmuGoaGa6Btond/Mgnpj1ewnfmmcuVLBsEzcWN+yeaGfOQEBgltn gmsA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CEC1ytEu; 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-109729-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109729-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. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id m17-20020a056a00081100b006e746052ea5si5145460pfk.27.2024.03.21.00.25.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 00:25:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-109729-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CEC1ytEu; 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-109729-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109729-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 EA927B2175A for ; Thu, 21 Mar 2024 07:25:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2E0F457307; Thu, 21 Mar 2024 07:25:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="CEC1ytEu" Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.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 6E3844DA10 for ; Thu, 21 Mar 2024 07:25:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711005921; cv=none; b=P+VVzK3PXTEO0vVF/vHwO5dH+2VjgV+OdqdvrlSs7DKdjjWy/QfzMd9TLzyE3cZ8MNGIhp+MRxTdiICu80J6shP1iIU+pQWGp+gLMwXPtKusGcHwsT1Qkd/+ZerSzmCKRdbs6u7ObSLoOGhSHbWXmmZPOiC34tI73RNq6X1K2Ro= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711005921; c=relaxed/simple; bh=SQYENTXYS/IBQjccIXgLfwO104lv0QCzfCjn0Q0BqZU=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=D3N2sbRGXr1HNqHiRB+VqwnK52Jrt72r4O39bCHz0+uYBqkfzPEZEWp0Gc86Ne2AxFwp3XqX0vYwiuyiVMwJ552Lpv4gKpVbjvZxWkvAVnXOQjjMUgSRvk66bS3wghXdegIij0AqTFCRaq+0PoKsfSnFOQZ+dUsQljrYLemuq/U= 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=CEC1ytEu; arc=none smtp.client-ip=209.85.208.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-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-56b85146589so1180407a12.0 for ; Thu, 21 Mar 2024 00:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711005918; x=1711610718; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=dW/DVr6H9lxXs8kj3uemHI4cq9jKqtvmA1r7vUJK6aQ=; b=CEC1ytEu7SS2BPDZYPJMOdzoU7nwGASq0KL5485UxTcAsVKR4OHVwctE88JphJghc0 0qx9nkxz+WqIkwZRW66oH8XaPxixHaGJL4qzWQTmNvfhN+Jcx6ykqnPc4yR2q5J1rJmp e+YsmfNLwQIPi0YrhxVkMrOGb9OcFOtd5kfObrfmInsVf6DuUd7FjCMvmoUSls86iVoa aJ9in6HL6VYbVOR27p6L/LCpNv9psMSlXE38JEgDZ9BdUmwOUKJTcqMdsKd1fEZfED6c VA5dMTN+EJziuv8M1wsizMIMIat4H02Xg1sjNu65DD13BfN3K30qPpOLL64HSMY8Xcsd TaLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711005918; x=1711610718; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dW/DVr6H9lxXs8kj3uemHI4cq9jKqtvmA1r7vUJK6aQ=; b=l8R/MpFwtxp5ICTOQ0HsVLHd4tzlm0P0n2TubKrQdKqzepdo9SgtUGxKlMM4MSlmXA 1oedTDuHVFxbhKklN+tWVPNC6V3Cy0UrCm2zwKMpfTY3KVBKPq66l4ypeRzZ8TsmhlS0 JzcmgOjz4t7Eqm8n6tWCqV3wupXMTM2Y2G4qn1nZaklQmmsU4HZ3hrikKu2/eShZbQEV +d03eVawkae/Tp1UJ+tBw9VPS9tj9M+Wc6nyXkJsKuYoSzEZU1XR4fJny1B/iQLCMYBh Y68dLdrpmGui/cSMdOhfW4Vp1tiNvjUPI9Or2Q7EzYPsspIu9kxPAp080mxbKsfjcyNj cpaA== X-Forwarded-Encrypted: i=1; AJvYcCX9k5yKVmv3+2Gp2nSrC9aRCmJGydy79Bb7XAfETCgdcRa6l0T9wsdE5CSZ4ghMp+90tve3imQOCk9OlFvGqz35wo1RmQ68g/gRgKtc X-Gm-Message-State: AOJu0YwVmRT5g5PW2AFu4fdEsITinYo1mGQZt5rZ3sOWVSwLD6fyggSw otds34NLUoeIHaPgWZ4pSC7a4XPDrAql2wzMhLw3GnULSvhpf9+zTFJWRb96Yrw= X-Received: by 2002:a50:9b4c:0:b0:567:efec:6d81 with SMTP id a12-20020a509b4c000000b00567efec6d81mr1755502edj.11.1711005917779; Thu, 21 Mar 2024 00:25:17 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id fe4-20020a056402390400b00567e27c72c4sm7707124edb.62.2024.03.21.00.25.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Mar 2024 00:25:17 -0700 (PDT) Message-ID: <4079ddcf-425d-4194-93b8-ee113864541e@linaro.org> Date: Thu, 21 Mar 2024 08:25:15 +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 2/2] clk: qcom: add IPQ9574 interconnect clocks support To: Varadarajan Narayanan , andersson@kernel.org, konrad.dybcio@linaro.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, djakov@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org References: <20240321043149.2739204-1-quic_varada@quicinc.com> <20240321043149.2739204-3-quic_varada@quicinc.com> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks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9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240321043149.2739204-3-quic_varada@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 21/03/2024 05:31, Varadarajan Narayanan wrote: > Unlike MSM platforms that manage NoC related clocks and scaling > from RPM, IPQ SoCs dont involve RPM in managing NoC related > clocks and there is no NoC scaling. If these are clocks, expose them as clocks, not as interconnects. > > However, there is a requirement to enable some NoC interface > clocks for accessing the peripheral controllers present on > these NoCs. > > Hence adding a minimalistic interconnect driver that can enable > the relevant clocks. This is similar to msm8996-cbf's usage of > icc-clk framework. > > Signed-off-by: Varadarajan Narayanan > --- > arch/arm64/boot/dts/qcom/ipq9574.dtsi | 2 + DTS is always, ALWAYS, separate. > drivers/clk/qcom/gcc-ipq9574.c | 75 ++++++++++++++++++++++++++- > 2 files changed, 76 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi > index 7f2e5cbf3bbb..efffbd085715 100644 > --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi > +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi > @@ -11,6 +11,7 @@ > #include > #include > #include > +#include Keep the order, Best regards, Krzysztof