Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3154087lqp; Tue, 26 Mar 2024 00:30:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV21JEMN4EMgBAofxt2FwxsEeVcxTW8WE95UtXi7UQGxHaw5eO7dH6xGTWhyWksQl65IANEq3QMOZZ5suKsMmiLuL36qJdHaR8Rve185A== X-Google-Smtp-Source: AGHT+IGCur8L2qvU4yzC8cmwpleL1bNWLnspYRhE9pbKT0fPY1VHE1Z7jTbcK/EuuZBXGoMps/Ha X-Received: by 2002:a05:6214:dcb:b0:690:f7b7:7e71 with SMTP id 11-20020a0562140dcb00b00690f7b77e71mr338409qvt.38.1711438225902; Tue, 26 Mar 2024 00:30:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711438225; cv=pass; d=google.com; s=arc-20160816; b=sKs8Q8yb/USmV+4KYEUyOTQbiITc40qfBAHhE13k1Pg3tqtZSxgbKdJSqS8Ydz7fRQ aVscEfogtNSFXL+cNC9JofjSD5VW59i6KExkBD2Qo/X/VcYH507RnZ6R6Cuw7seGQLtk Kdfa/RpT+l4qBD9irlwYo/cTQABQi7qpn2bKXGc0JZGQde4YNMN/5etKmhMjWq75Q8M4 XmaVWlPEe3TkAYW8FnDnyU9kQKD+5wo22x3Z+ip8L8M/QZvZQqSu2KKRZqUocb7eMqvw 66MGuRYSbZXOa/OhNUB50LKY+sS+p5qt7WOeYaOtJwSBgGmtNgh3x+PmEJdaK1w4igwc sAdQ== 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=NS0LFbGO6Diz+O55zW1kIhPFuGDQKse20XAQBsjLplY=; fh=4x1+GvxQ7XkuWQOFpyEjwW5Pf+2likpKVNKDMB2UHxo=; b=TQXgyE+MfRxDAAe/0Sznj3yugsVKrKtaff4YSsBGvgBK3HrJeUj0Cf9bzVAV42Y+A6 Cf62OZ9WI4W285HZ5WScLacTlcCixF/cLZBn9s8/WxnF3IggzQicUe19VGDTQTQkScpD qVOGK33PZi4+XUeywaHwIehSeXhDiRLXHzRVidikwbhoJmkHhI8dHsGeVqXsBvQgdVmq 0iNl5a89+TdZy3hkij4cYeeQr6f+p1MI1k+t7yiQEd/zYZkjNCnxucdikJfLEolOSHQz b2W1e3awNKD6XFHjagB8j8o3/BAmwRJlzM6RhcbHdgNti5hAmyowtGmkyKukIK/MpXbl fNmg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gzWsWrn8; 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-118459-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118459-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 mv9-20020a056214338900b0068f57292ab9si9063228qvb.123.2024.03.26.00.30.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 00:30:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118459-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=gzWsWrn8; 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-118459-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118459-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 908461C2F06D for ; Tue, 26 Mar 2024 07:30:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9AC651311B1; Tue, 26 Mar 2024 07:30:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gzWsWrn8" Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (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 CA517130A65 for ; Tue, 26 Mar 2024 07:30:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711438214; cv=none; b=CCnW7M5fd7KhH2H08AszplpyuxtIYjedHyA/UwZGT/3LhtKjYV8IN+/8FQC7C4d+4WlR+jjh8f0JXpsIT03YblY6M3TF0jNsikrcZAtA3JXH7n/vPtzwgWqFqLi33+M9vTiKN3bFGKFRmnUSsyocVfka0j+9eXPLUOppV8a7pS0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711438214; c=relaxed/simple; bh=qlXHSjD4oRu6T1ULa+mNDp9G2uRL5HO5IKVjGUSBBEE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=XHfGwJAokUAfY15rA/Zy7mvK0IzNsq3eVBecfkKI/PA3DzShcdCVRBnHnTGeduCj/Y5RpOUAiKlo1jIOplSCxTZhb6wCndBbMaOVam6Wjw3/njvi4DUQVocWjDRHOtZbBajgWSZBQdtte1y4ODP76qdAx/t9SmZDVNIF5M5k2XU= 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=gzWsWrn8; arc=none smtp.client-ip=209.85.208.45 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-f45.google.com with SMTP id 4fb4d7f45d1cf-56c147205b9so2631067a12.0 for ; Tue, 26 Mar 2024 00:30:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711438211; x=1712043011; 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=NS0LFbGO6Diz+O55zW1kIhPFuGDQKse20XAQBsjLplY=; b=gzWsWrn8dAydMAjU7M5cDpcTBdcnHaVjoRdketV9VXwlSsGTNdQIkXLPdc4CEpb+7f sHmRPLiArI51m4RlbuIjbwDb4vQ49AXZK28cTkQ+FbE8Ta9flaCfHb2gyWVbI5/gmqL5 RxLekNHaBbwq7/zmwTaWnCUwg5oNL1SxgFBiQ+oJdnxloqbPJyk/0EArPNIbtvagRrOG une/vVqWHx4gyrNATboIKL03rAqhUd9Rh4E1ZOQtxxj0tOrbcIyOREf4wp1zm3O1LM1b Fuaw4wyNd1bHBPI5RhGTuuJT8ueh4sdL6lvMsyJJV/cLgBM3AauOthFrcxR2usx8SpOn BJ7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711438211; x=1712043011; 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=NS0LFbGO6Diz+O55zW1kIhPFuGDQKse20XAQBsjLplY=; b=qidfgj1+WhkiDZbLmsW8UKbOkVRlaU07DPEC4lWoUBRkpmsAK3QF6P7qhoF7UAf1on NoRgijdCZqUn1gfVn+CXKaRuXpV53VkIQ3q9gbEzQvradrmtKG2rtHQ2yLCukuqLdMyb htVtjydlBsfpxwriXgsM9bCDZz0wmmAIEfjaXe865vRbIYfGRynKGF6zt8uNsUEYqa1N O46/VqtXoWqNWx+MLKBoqEzjao/foSTQTx/922zdZ7AknGerVT1rl8vqTcuPq+T9kFhp Sb7bf51TPd5J4lxAy6YSRcXAKAovY0xij7PSIFGCa8As1gC4lOBHzKZudXnq+yLWUUWX c4tQ== X-Forwarded-Encrypted: i=1; AJvYcCV64qppYg7RDNcE9qjMWjUGbI+9vet4dlp7uwgfK1cvWDW70S/8EZ+v+BygQmiF3kJ45gwWAZZezFabviUPMOXQ8YUgvR/LbGvqz0S5 X-Gm-Message-State: AOJu0Yw043ZR43pfBGury87PWBn0bdbcGfx9Gzg4QQlLI64m9EMyc6P5 40VFC6ifM7vU+GMdPIv061PDtD3GTqV+hkgweMQW1uWj4nPUc2Ofd+ifvfkKNpo= X-Received: by 2002:a50:9343:0:b0:566:59a2:7a10 with SMTP id n3-20020a509343000000b0056659a27a10mr696876eda.1.1711438211145; Tue, 26 Mar 2024 00:30:11 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.44]) by smtp.gmail.com with ESMTPSA id r1-20020aa7cb81000000b0056c052f9fafsm2969290edt.53.2024.03.26.00.30.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Mar 2024 00:30:10 -0700 (PDT) Message-ID: Date: Tue, 26 Mar 2024 08:30:08 +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 v4 3/4] dt-bindings: interconnect: add clock property to enable QOS on SC7280 To: Odelu Kukatla , Bjorn Andersson , Konrad Dybcio , Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Kees Cook , cros-qcom-dts-watchers@chromium.org, "Gustavo A . R . Silva" , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, quic_rlaggysh@quicinc.com, quic_mdtipton@quicinc.com References: <20240325181628.9407-1-quic_okukatla@quicinc.com> <20240325181628.9407-4-quic_okukatla@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/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjE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OgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240325181628.9407-4-quic_okukatla@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 25/03/2024 19:16, Odelu Kukatla wrote: > Added clock property to enable clocks required for accessing > qos registers. > > Signed-off-by: Odelu Kukatla > --- > .../bindings/interconnect/qcom,sc7280-rpmh.yaml | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/Documentation/devicetree/bindings/interconnect/qcom,sc7280-rpmh.yaml b/Documentation/devicetree/bindings/interconnect/qcom,sc7280-rpmh.yaml > index b135597d9489..950ecdd5252e 100644 > --- a/Documentation/devicetree/bindings/interconnect/qcom,sc7280-rpmh.yaml > +++ b/Documentation/devicetree/bindings/interconnect/qcom,sc7280-rpmh.yaml > @@ -35,6 +35,10 @@ properties: > reg: > maxItems: 1 > > + clocks: > + minItems: 1 > + maxItems: 2 Why is this flexible? Nothing in commit msg explains that. I gave the same talk twice, gave there examples, yet it is not enough... https://elixir.bootlin.com/linux/v6.8/source/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml#L132 > + > required: > - compatible > > @@ -57,6 +61,7 @@ unevaluatedProperties: false > > examples: > - | > + #include > interconnect { > compatible = "qcom,sc7280-clk-virt"; > #interconnect-cells = <2>; > @@ -69,3 +74,12 @@ examples: > #interconnect-cells = <2>; > qcom,bcm-voters = <&apps_bcm_voter>; If all devices have clocks, then you could add them here. It seems not all of them have clocks... Best regards, Krzysztof