Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp919377lqp; Thu, 21 Mar 2024 22:45:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWUHVjuaahW6UQ92rcA7KXDgmlRjZNMwCtrNMstGFdV1Y8GzGi6NzsS70SgIrsixS466gW2R9aVLNlze9C3vbDT7hkJuWeJLa88XA+poQ== X-Google-Smtp-Source: AGHT+IG0bh4W4wFqWoIvoIZHkJULJ4ER3H1bMGW1fpBeLO9Fw9qdFWDbHX3AfVBUsBQkrMIizXZi X-Received: by 2002:a50:99d0:0:b0:568:1444:af5f with SMTP id n16-20020a5099d0000000b005681444af5fmr1111397edb.4.1711086352603; Thu, 21 Mar 2024 22:45:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711086352; cv=pass; d=google.com; s=arc-20160816; b=kbefebcgGXoS8fR36o6SJxYAcpxi92IjKC4l1ApdrMPlYRN30wyiK3ImUYiDk92dT9 6zFLO738+gAkoWdnElIjztmr0JgpZhe+6kpHKUhZnk69tH4lEo+0s+U1lwjsa5FlWMQ0 FgKbrRUNT3P0pbtjnF9TA/EuLJ8SXmYYrTo0lxWNW8H6x6eMAXYSNudVNhST9HojA+2X ZyoYOW5Tuo7UX1u7Z4KDRqBLNS3IlomqqiOpj1HCMQUVgT7R6RP4lv2UtbUtImRkT/sh Ojdm/JMjCJBZQfrV2tf2LgqkQo+0ym29XNLNmFb4AT2P5S5a/JSQUvtbv3l3MO2kbQI9 z9sg== 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:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=MkFAmC+2FK4ht3eTsZWzjqwcgcYA/tAPnTXmCidIbM4=; fh=FSjc/AENFOnTVR8STyHcHZWkJgFSo/cmOqFW9zk0YP4=; b=bhxdvRPd0N2oYrs9DD8xUHx2T/48b3Kpt/CcA4gq0FFvPbKUtX05dw8rgifiogX5VL azQYB4M5Mdo5/qea0As8v+epGD2UwrLvfS2KSQyXmdk4/GQacTQWISHH1Vlap1L/9WYA 3gwZXwGHuuRdh7uAR6mveYFI5zP6aPjrwKfjgg/qzSz5yytztCt2vJNuglWz1Zly+She 0W8jmPvQdh/EfgYVfaHDo0Iwewn+L6aKTmFjVFTCf7cedFF5ls12Vhi59Dk7cLKcflkN 0TbN68ODE7+tcKAC/KQWhA4hz+LyM7fjhU6lGq5mhCenIt2hZBMjX7zl1vfEvcanw36Z f0Uw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aqtN94WJ; 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-110966-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110966-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id fj18-20020a0564022b9200b005682b03ea46si574257edb.59.2024.03.21.22.45.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 22:45:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-110966-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=pass header.i=@linaro.org header.s=google header.b=aqtN94WJ; 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-110966-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110966-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 305A21F22953 for ; Fri, 22 Mar 2024 05:45:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0902CC153; Fri, 22 Mar 2024 05:45:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="aqtN94WJ" Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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 5447ABA27 for ; Fri, 22 Mar 2024 05:45:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711086339; cv=none; b=fSVf9bOXLbLDQPN/5r1lumJo9X1H9TnDB5nG5bKd7Jv14ytGKjQSU+r0vjVaWLOU8O0meiNe7ExjbyJ3eolhjqlTuSuVwWvnrp7059EFvQ54SDL1GgR+ZDooZOHahTuiA+OpYJ/MyMfb/RLktbTzeIdKIzqzRTVcsSBLmwJ4Gf4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711086339; c=relaxed/simple; bh=m+xtxXrjwcetnFQbzF9BIF47u1pNPnKMbu4D+kyqqkY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ZTudCgp01LVVnoKr8tdnlwg98XkbYUJQulIWQgN/7E+8DLSl042AJvxum4djdSG1s2AznuW6hl0a97wzGR9wgkz2vm93O8aDBAloQxbH+vqSXvWd1dz3AzvOZGWwfYgcvz2G3NOly0uTl1ppEXVhKo0uHoO1ORYGvvJJpBjKRcg= 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=aqtN94WJ; arc=none smtp.client-ip=209.85.221.42 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-wr1-f42.google.com with SMTP id ffacd0b85a97d-341950a6c9aso1199938f8f.1 for ; Thu, 21 Mar 2024 22:45:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711086336; x=1711691136; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=MkFAmC+2FK4ht3eTsZWzjqwcgcYA/tAPnTXmCidIbM4=; b=aqtN94WJkgZa16Klhyj86sGvFzw6J7NI4ZbB2A0yqO7RLmdlS7Zwj4hubjUOCPSmPk ACE8Vdwa2R8oUsQlZRj1N/Gxe2Kt51nyI9NBrjjoHGrl1NfDfegrQ+9w5Bavir1q1Vdp YD6Bfqm5cK0Qr0kBgGmyAGiJui5JjAgdk0DiYChis0UiJkkuYNa3x5XBf9+gDjcvE8FI YXERXnXg+ZrlRYhdvJxdEgdVktaauHsS612RqSrMvdZ/DCoK63ZTE2lkzPQRhK1bbRY0 UOLpgLEym3y7q2TUsTN6aZOvQ40Ukao/pAFBSXs3G1Yf4vzYGdkz8qYO9GEt46XTV2xk Yx4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711086336; x=1711691136; h=content-transfer-encoding:in-reply-to:autocrypt: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=MkFAmC+2FK4ht3eTsZWzjqwcgcYA/tAPnTXmCidIbM4=; b=rniAkQyMkoSoE3UhCr0t9s5CVQKhad4fF8JC/aAnVBD1eH7P1RWd2HDFKsCft+QZ6R sUaTH+xscbv3rKqSkynVdhKGCiIv2Y34sGDcojGzd39ac7KuqP57vuTon8ZdJwXXRCuO iTcYS598dfGJhVnlpD/kZkm/Bprz+yU5ywoNDWBEdpLxausl4oSrjMd9cK7GXc8fcM2r hS/hBHENRxBgKGgdvExRaxq9UdxXluAhx/s7drX47hQeg07bSPD+xTAKpMeJyChCcA2B C29EaSBT7rLnLZ4RJvIbaYGfJrEJGvZPOf9EkIkbOp9j3rG6yl95r6eH6SaLPnj/NUhn JLtQ== X-Forwarded-Encrypted: i=1; AJvYcCV0DSwjVR1JzNpBGLE30arErAdldV1APp4OCkTk0uzIG2nmcbVmapq81v7nv6F63JaTB4wRF27XbtwqX+68hoG65/7nJ0COh/i/VBh8 X-Gm-Message-State: AOJu0YwkP104RAaqqoXn+qlOW9mYkxKCZ6aSykX5fHbwTv9VH+mQo2Pt r2EokT3y4weY89A1qqbGkUV4vHxDRklhT48d2IyH0xDtMEtqy2PApMpdAH9qTsQ= X-Received: by 2002:adf:ec8f:0:b0:33e:cf4d:c583 with SMTP id z15-20020adfec8f000000b0033ecf4dc583mr892321wrn.16.1711086335711; Thu, 21 Mar 2024 22:45:35 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id i23-20020a170906115700b00a46cc25b550sm639326eja.5.2024.03.21.22.45.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Mar 2024 22:45:35 -0700 (PDT) Message-ID: Date: Fri, 22 Mar 2024 06:45:33 +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 Cc: 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> <4079ddcf-425d-4194-93b8-ee113864541e@linaro.org> 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/G23PcowM1CwPurC8sAVsQb9KmwTGh7r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iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 21/03/2024 10:56, Varadarajan Narayanan wrote: > On Thu, Mar 21, 2024 at 08:25:15AM +0100, Krzysztof Kozlowski wrote: >> 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. > > Earlier IPQ9574 PCIe patches were NAK-ed when these were exposed > as clocks. Please refer to the following discussions > > https://lore.kernel.org/linux-arm-msm/CAA8EJpq0uawrOBHA8XHygEpGYF--HyxJWxKG44iiFdAZZz7O2w@mail.gmail.com/ > https://lore.kernel.org/linux-arm-msm/CAA8EJppabK8j9T40waMv=t-1aksXfqJibWuS41GhruzLhpatrg@mail.gmail.com/ > > Dmitry had said > > I'd kindly suggest implementing the NoC attachment > properly. In the end, other Qualcomm platforms use ICC > drivers, so by following this pattern we will have more > common code paths. > > > Hence posted these patches to get feedback. Then explain the rationale in commit msg. Best regards, Krzysztof