Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1867922rdb; Tue, 3 Oct 2023 03:44:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGbh+xQ7Vja9niss8YYhG3FK4enVwpjd/7o4b9hnv3mfwIvtUB0mdmE/SItqikfAcT4mq9I X-Received: by 2002:a05:6830:451c:b0:6c6:4843:2abc with SMTP id i28-20020a056830451c00b006c648432abcmr9891001otv.18.1696329881365; Tue, 03 Oct 2023 03:44:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696329881; cv=none; d=google.com; s=arc-20160816; b=R5T8sDq31RzMKS5rCBsR5KBr2F95vdDd6JW27Jb6U52iNVxLDHYMhfg9D3Fxm76pT1 xqsVx1Mf1MY/bk+UmIakJ85CcH16DFclpyDJHhzWnLTsikoOqrcNJv4HU4ivUhuMP2Bs pW5uC/wn+gZIoTU7EdpTp2+nMi/YtGkEyV9NwNKqBYQJ3HIEffes/aHBjmN7sXyUH1n6 gZcE/TMK/cStHWSYs6QyTcZzi+PGlPHVbf91f9nj4HJe+x0PBhPxr81KVvgOAAUh1lxh fZQtYDN1XtpYM+nJpfQeIv4IjTYjMiCA6b09Dwop5HyNvIjSdUvpGUbm/4nQrq1EmeHq 6V/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=TIjwmw/oH3vzJhBt3R2jQsL/epr7RbdjFFZ4HfTNk28=; fh=serObLGHJCgpyZ2Z6deKnc0LVmmOsq7jMcQQSaUpQ/U=; b=FUKDfkBA9J+RPVlsGOVKCoqFPL1jmtOxNCg7QbynnUx/4XReHC+8zFOZ1vfKHkSRU7 E7GmxzjvkI1/Uo9Bxf/NDqE0dLDuuC1okARaSg2aYeS+XrdL6BSY6mDSoYB/xK+SbQ3j uB7IpvVfVhimBjFTU5iwNggBT+wRxhUJMVPs1dZN5uUxIOa5FWDVjLU2TRAYwrh8q9so F2PGBq32GMPYUXVn7Dfm+5WKXeXHUYY/A+JZZt/Fa+7YMsyeaRv47TEKgeQWOy8yLxUn QgRLFOpNI/0UIE2eNtD5qPnTdfXN5pU4ECrvP6LD6k09NT3plU+jqAWPUDtdI64UmW/y MGMg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id t29-20020a63b25d000000b00578daf0f3a5si1106318pgo.873.2023.10.03.03.44.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 03:44:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id DBE2D801BFC4; Tue, 3 Oct 2023 03:44:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231149AbjJCKoO (ORCPT + 99 others); Tue, 3 Oct 2023 06:44:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230215AbjJCKoL (ORCPT ); Tue, 3 Oct 2023 06:44:11 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8E9CAAC; Tue, 3 Oct 2023 03:44:08 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C27DDC15; Tue, 3 Oct 2023 03:44:46 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D69413F5A1; Tue, 3 Oct 2023 03:44:06 -0700 (PDT) Date: Tue, 3 Oct 2023 11:44:04 +0100 From: Sudeep Holla To: Nikunj Kela Cc: cristian.marussi@arm.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v4 3/4] dt-bindings: arm: Add new compatible for smc/hvc transport for SCMI Message-ID: <20231003104404.o7yxg3y7dn7uhrq4@bogus> References: <20230718160833.36397-1-quic_nkela@quicinc.com> <20230911194359.27547-1-quic_nkela@quicinc.com> <20230911194359.27547-4-quic_nkela@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230911194359.27547-4-quic_nkela@quicinc.com> X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 03 Oct 2023 03:44:39 -0700 (PDT) On Mon, Sep 11, 2023 at 12:43:58PM -0700, Nikunj Kela wrote: > Introduce compatible "qcom,scmi-hvc-shmem" for SCMI smc/hvc > transport channel for Qualcomm virtual platforms. > The compatible mandates a shared memory channel. > > Signed-off-by: Nikunj Kela > Acked-by: Krzysztof Kozlowski > --- > .../devicetree/bindings/firmware/arm,scmi.yaml | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml > index 8d54ea768d38..4090240f45b1 100644 > --- a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml > +++ b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml > @@ -45,6 +45,9 @@ properties: > - description: SCMI compliant firmware with OP-TEE transport > items: > - const: linaro,scmi-optee > + - description: SCMI compliant firmware with Qualcomm hvc/shmem transport > + items: > + - const: qcom,scmi-hvc-shmem Can it be simply "qcom,scmi-smc" for 2 reasons ? 1. We don't support SMC/HVC without shmem, so what is your argument to add '-shmem' in the compatible here ? 2. The exact conduit(SMC/HVC) used is detected runtime, so I prefer to keep '-smc' instead of '-hvc' in the compatible just to avoid giving an illusion that HVC is the conduit chosen here based on the compatible. It can be true for other reason but I don't want to mislead here by using HVC. > > interrupts: > description: > @@ -320,6 +323,15 @@ allOf: > required: > - linaro,optee-channel-id > > + - if: > + properties: > + compatible: > + contains: > + const: qcom,scmi-hvc-shmem > + then: > + required: > + - shmem > + > examples: > - | > firmware { > -- > 2.17.1 > -- Regards, Sudeep