From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C271BC7EE29 for ; Fri, 9 Jun 2023 08:54:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kITGA4ClxfOdLmbkq5V/mYem76yKq28U0s1tuiyaymQ=; b=lZmMbYfquyO4uw qwICDSOLBIYrB8Zbx/UMCFwnwr/aXlIYWC3MP4TkWM84N4ANTa8HoK8hoJ8iSBCAvIP4LCX+co419 xugz3yVVXHFm+Wouiuu7nBhRbWclogP0m498i928LB7Z/+Qtei3Jgq2vTK81tVqvslOCZfXsfI1yH +dG57tqipxPIDo3lQgTGfBbmcNXVGZXuSazwIoC0DPgPQahSDDsMiy1hOr4NUUgmGO2g/2HkSBKvJ OdkR1LC705KMqXsc5TEN31CLGA52bTBaJZwIlQOaFFsOPMR3+VwDr20ckpAlAPJr19J2FS8OoWjw3 Ly7/Vw6oOzpBxxi75TcA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q7XsY-00CJU9-1S; Fri, 09 Jun 2023 08:53:54 +0000 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q7XsV-00CJOx-1z for linux-arm-kernel@lists.infradead.org; Fri, 09 Jun 2023 08:53:52 +0000 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4f6454a21a9so1852483e87.3 for ; Fri, 09 Jun 2023 01:53:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686300827; x=1688892827; 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=hqc7b6Q+g/CohWxFaiQNgMOrW73y4+LWnJE4cKqKUVQ=; b=FVMYQZZ+1ggHUXFPybxhrwf6kWVwQQmoPV9TIm7dKxDQ1J5bYSGl8mCBYCduQC9tci oKQgkveQY6aiRKExaeSONPstmLY0FI/jDVcVovc50HNowcviUKAP6d75AttmGbb+5uRl LESds+hDmRKenoErLUuS4lZXDHAx5lB84S3s2w0UlETrpz2ESc79NEXBFxpzjO9k8DTJ LMC4ZHF/VwPAQEQ7mDZwYEsziK4x+WGZLUMyILKLGy2TYevjGB4OV7G2Cp6z+ycxhmXr +wLUXEd6RZKK1o8g4AtoIIhOwXfmfVls27+0lrISBDQG6WtArCKAMyzcyGgdlpHcZVAX buZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686300827; x=1688892827; 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=hqc7b6Q+g/CohWxFaiQNgMOrW73y4+LWnJE4cKqKUVQ=; b=iIuWye0Z/bt2yilAzDG8wAgaHYBU5X9UGtadrxQ7/ZkA+OvFMbVIMsWB/pCU1lZ0aD +NRCnqsvfG/Ss6DsHD0kK1wOY4MaB4MFOZo0quXHd1e72Gz4rhPLlcEHPyirpASfeK25 gY97kIQvemmZQpWxXPLFEunvsMZPEz5l3JZ/8MI91OQJmoncQ9AvC4bGu3BAxaI13+ch 1Ir52qfdCk36KEtRaEclvOH+CXBYPjoNHgqGpSEQP73eVepD5Xz5j2vQFcmgtRHIS0qS LRWV7JCWDjdtVbEW3n6lqCMlKcydpIeeXwIREN5phkM0vzsikbonQ9ciW6iFEmpWuwCs aCCw== X-Gm-Message-State: AC+VfDwBNl9YxudybOEkEGfIoTst/41lKXO6PgtxFNFLhQnO1dNeB7ns G9t90cAJfyuPHhYuGsFPM5rMZw== X-Google-Smtp-Source: ACHHUZ7qZqosiJP9Jkt7v4+WhBbhhZbxgDN9UMFeOJ5MeM8qzrGOivaF1ZgOUnhmsjiTBTGmjg5Hmg== X-Received: by 2002:a2e:9cc9:0:b0:2b0:2bf6:1448 with SMTP id g9-20020a2e9cc9000000b002b02bf61448mr585354ljj.47.1686300827402; Fri, 09 Jun 2023 01:53:47 -0700 (PDT) Received: from [192.168.1.101] (abyj190.neoplus.adsl.tpnet.pl. [83.9.29.190]) by smtp.gmail.com with ESMTPSA id b10-20020a2e988a000000b002ac7a25c001sm306894ljj.24.2023.06.09.01.53.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Jun 2023 01:53:47 -0700 (PDT) Message-ID: <316fd262-eeec-a2a4-cbc1-2c39935be87c@linaro.org> Date: Fri, 9 Jun 2023 10:53:45 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH 1/3] dt-bindings: arm-smmu: Add interconnect for qcom SMMUs Content-Language: en-US To: Parikshit Pareek , Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson Cc: Manivannan Sadhasivam , Dmitry Baryshkov , Marijn Suijten , Adam Skladowski , linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, "linux-kernel @ vger . kernel . org Prasanna Kumar" , Shazad Hussain References: <20230609054141.18938-1-quic_ppareek@quicinc.com> <20230609054141.18938-2-quic_ppareek@quicinc.com> From: Konrad Dybcio In-Reply-To: <20230609054141.18938-2-quic_ppareek@quicinc.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230609_015351_654645_9B50919F X-CRM114-Status: GOOD ( 16.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 9.06.2023 07:41, Parikshit Pareek wrote: > There are certain SMMUs on qcom SoCs, which need to set interconnect- > bandwidth, before accessing any MIMO mapped HW registers, and accessing > RAM during page table walk. Hence introduce the due bindings for > interconnects. > > Reported-by: Eric Chanudet > Signed-off-by: Parikshit Pareek > --- > .../devicetree/bindings/iommu/arm,smmu.yaml | 22 +++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > index ba677d401e24..75e00789d8c2 100644 > --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > @@ -327,6 +327,28 @@ allOf: > - description: interface clock required to access smmu's registers > through the TCU's programming interface. > > + - if: > + properties: > + compatible: > + contains: > + enum: > + qcom,sa8775p-smmu-500 > + then: > + properties: > + interconnects: This isn't specific to SA8775P.. I believe we could make it SMMU-generic.. > + minItems: 1 > + maxItems: 1 > + > + interconnect-names: > + minItems: 1 > + items: > + - const: tbu_mc > + > + icc_bw: No underscores in property names. > + $ref: /schemas/types.yaml#/definitions/int32 Can't we use OPP tables? They'd also allow for specifying required-opps. Konrad > + description: > + An integer expressing the interconnect bandwidth(MBps) to be set. > + > - if: > properties: > compatible: _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel