Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2600400lqt; Mon, 22 Apr 2024 16:11:12 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVBBdLLM/eCHBQguZC9laVlrU2/4t4weo6C0UsTVP8KPlDmCkglepo3yfBVVHNTFs+pJ13qwU/aeLHQvE9GcmU+X/6HlAXXgDOIPvVh0A== X-Google-Smtp-Source: AGHT+IGSP3R1i0nI6K2PL1/cvz0GXp0crcRsx0SRIxSXDvKube2dN/DEkEEpQBOJ7MqSgGLRlbWb X-Received: by 2002:a05:6512:3142:b0:518:17ad:a6e0 with SMTP id s2-20020a056512314200b0051817ada6e0mr5570689lfi.51.1713827472488; Mon, 22 Apr 2024 16:11:12 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id mf22-20020a170906cb9600b00a51d3658a7asi6337260ejb.594.2024.04.22.16.11.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 16:11:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-154180-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=uDONaG6u; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-154180-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154180-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (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 3878B1F215F5 for ; Mon, 22 Apr 2024 23:11:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6930F16EBE4; Mon, 22 Apr 2024 23:05:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="uDONaG6u" Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (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 0902D16E868 for ; Mon, 22 Apr 2024 23:05:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713827124; cv=none; b=KMHL4OhYr9095yZ6rc6vqPALo8KPmszTKHZn+M6iSiBRtkBqkRkzNAdtiID0rg8UnSgyrt5zmnl+FRrV1Q7Rzyce0FrqNkfZ1vDLM0+9vP3QpMBm4ExiEFuYcChlKdFgOjMl+bwV36ugREqAmoNkoYy6gqB1Ec7xG2oIWg6mCME= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713827124; c=relaxed/simple; bh=wx/8T/vKCcaJWYUAQMxU2rZuG7A7Df188Vg4okM/Q7U=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=CI0SOrfX0AXgp6DIc6R5AqRPx4NcaB0orSF+/VnJQ8Ykb/xCJooqCVbKj0Z2mZ8jx6m5kiLh4qbeY2xKgujCqnOiJ3T7+4cQavynIPNvp9IwaFSBSpcjp946ifLnLm+oIzqzzz3+Fj5B+1ZxGQO283eLnSF0fRHt/E7HxxWY+hY= 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=uDONaG6u; arc=none smtp.client-ip=209.85.208.182 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-f182.google.com with SMTP id 38308e7fff4ca-2dd19c29c41so30590951fa.3 for ; Mon, 22 Apr 2024 16:05:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713827120; x=1714431920; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=7XaZIqxZMCjb4/3jfqVEEePAUTYmBS+nTMWBfjL7PcQ=; b=uDONaG6uEXy/lKQlehtz1xTBhu3zt2fbPg9VN/VT+LIqPurkHRn3LtoIYyGiI5VNPr Kr6OEM6Rup+IO3OoO/DxEMQdj+kYjZJmxhwT46opPCB6Q27+oChb8oaLh/kN7z5Ghntw fJTDNzpbCbEIGy6cIU26nqGCw23u6+HciDd2vHfkwrlYGEi2IBFA0HuCmZxBbZnxEa+z cj91mTWJKBIC9qgr+cO64peIUK0SHvhNCVhh7fHL4mB6sl9VBlzKvZZVuFXfiBjcXkZf zChW6fnhCnzzGiBFE2JULBAIwIDfdhppvGBChooh5BNo0ny7aqjYT7AEe08dkR4qvekP /20A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713827120; x=1714431920; h=content-transfer-encoding:in-reply-to: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=7XaZIqxZMCjb4/3jfqVEEePAUTYmBS+nTMWBfjL7PcQ=; b=eJiwr/hWO7SSGKaWoPC1zMzAizKHIwBLzJaNE1DtoVp1G562cE6nSAZEIDHE9Ekuvi /0E8+XFihoDfQnWba9crGtnb/g6xMn0pTLhI9SOLV1bw57AKQRnrJpyQ1H1s2lq6ggcT p1kF4ZinEI4tsPxsZ8Ntd5nKJJmX21k/G4iN5rYYyb5IOIc/AKOa6Qs0CiiMSwf9XiIy /lY6irNAi0TJSZ9XgOylsTTjgAFjJpy3uZ+dwoaDuyCvxhzd9tTx8KDZ2V/xze3K25wA WLtJeWuJlH+V1/4GKCIH7v2hSBNcVyYO0zSnQzLJ9ZTdGMGUQluQUe3Emzrl8g1+z2C9 DEeg== X-Forwarded-Encrypted: i=1; AJvYcCW5WuIyF/N6dkeK5YwZMTfm11lEDLcChyjgOcTV/d2X88OYPqkzJwtvztf7uoGwiol+zFCtCzBMOhwufJXiDUkN2dav5mLppqynJWp5 X-Gm-Message-State: AOJu0YzwZE7uRCJsQu73++iV0a9QRSy4Nz++uOeoP8nku77DcZqQk1ex v9W1fl9g1xrgEVuL2bfM87IpFDQQoaYoFfz0SLbpUIOFoNHuOqqwGZv8MohEzrs= X-Received: by 2002:a05:6512:200d:b0:519:6c2d:9bd7 with SMTP id a13-20020a056512200d00b005196c2d9bd7mr6183534lfb.20.1713827120237; Mon, 22 Apr 2024 16:05:20 -0700 (PDT) Received: from [172.30.204.103] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id fb11-20020a056512124b00b0051ab2cfece3sm1574247lfb.121.2024.04.22.16.05.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Apr 2024 16:05:19 -0700 (PDT) Message-ID: <5e2682bc-88cf-4aca-9e7d-205f4cfca989@linaro.org> Date: Tue, 23 Apr 2024 01:05:16 +0200 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 v9 4/6] clk: qcom: common: Add interconnect clocks support To: Varadarajan Narayanan , andersson@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, djakov@kernel.org, dmitry.baryshkov@linaro.org, quic_anusha@quicinc.com, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org References: <20240418092305.2337429-1-quic_varada@quicinc.com> <20240418092305.2337429-5-quic_varada@quicinc.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20240418092305.2337429-5-quic_varada@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/18/24 11:23, 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. > > However, there is a requirement to enable some NoC interface > clocks for accessing the peripheral controllers present on > these NoCs. Though exposing these as normal clocks would work, > having a minimalistic interconnect driver to handle these clocks > would make it consistent with other Qualcomm platforms resulting > in common code paths. This is similar to msm8996-cbf's usage of > icc-clk framework. > > Signed-off-by: Varadarajan Narayanan > --- One more thing that we don't seem to have squared out is how to handle sync_state. We can just jerryrig icc_sync_state in here, but I'm not sure how that goes with some floating ideas of clk_sync_state that have been tried in the past Konrad