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 X-Spam-Level: X-Spam-Status: No, score=-11.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 32670C2D0A8 for ; Wed, 23 Sep 2020 20:55:45 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CC9FB2068E for ; Wed, 23 Sep 2020 20:55:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="suOK/wGx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CC9FB2068E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=r4VOmTVmg3JtNLyelvXozRXPwuwWpMIsNPlBe/SSpzs=; b=suOK/wGxymgdxNl3VRRZEIeAK 6wvSrv4HHZtOvSDqiJxFmztE//vBPf8ZkTEw8E6LPI8+p9Q4OI76vMzhNDPl38Qbwh6rhQpwvEoui 4qGyJCcld8mIMvpbjdAibYXHHEMYUIsnBLhIIdnbNTADkfcG6vtUTJl5ZYH2pUJWYWNwNCZWcMozx eAIqdbC7fGmQAqcs2e79lmhrx72zcwP3UU6Z7l70yN4OO8FGbuIcsEikH56O+mKa5+EdUsQqZD0eE SJ+iRc4D8z+T9obuy5YL3njdpmwleJ8Hs9Oy9YXXwMwobkeuRJw7CnGB3Z8lbY3o/Jz+qY1qdsOO8 MbsU2246w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kLBmf-00011p-J0; Wed, 23 Sep 2020 20:54:37 +0000 Received: from mail-il1-f194.google.com ([209.85.166.194]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kLBmd-000113-HL for linux-arm-kernel@lists.infradead.org; Wed, 23 Sep 2020 20:54:36 +0000 Received: by mail-il1-f194.google.com with SMTP id q4so979365ils.4 for ; Wed, 23 Sep 2020 13:54:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=d+sz3hgQEAMMDOvG0RAlSgcLLpJYw3j9zk3rcGcy++0=; b=FgC1AUQJyrjuoxaSg0kqmxpKkLgQyqhS8Jiqs122zHmD7e0dI8M15lyS6Oczz0lGro evXN9q2i1pQs0TV4Q2DvbjQxl+XCJIDCJFBrw7XjPbuaQUanCIqNz2lubDZACWOMdUlZ sVxfMCujwb0q+B5viTePn0mKae/We3W8XjZtEvIsQ5B1fz19ARS9Ze+hG0Et918VQ/YC JTZ+WgmNveTURLSq1dWrNJJen05/XP0JkpDen6SRzvT8i1SpB2bDuRN66ueAk/1RC1AU Ms0YhHM8DuoWPu43aCCCj8QVO9ECnZbzGoLfMCtr+zJljjzLMLWLCcbWAujlRQ6k/S2I wWnw== X-Gm-Message-State: AOAM533uolUJI2GeqUaau8sv81o8uWpITcgk+YjcDZbOmxTmPv1uvAXO WjagnrYsufgEvvU6ZTK+Lw== X-Google-Smtp-Source: ABdhPJwhB3U+7nGpX1fOCxLfZQPy0Ana+7kdT7ZxdZzgBNG61Fg1tLqg9BV4if/p+1kRC6H1Is5gRQ== X-Received: by 2002:a05:6e02:f48:: with SMTP id y8mr1415364ilj.103.1600894474882; Wed, 23 Sep 2020 13:54:34 -0700 (PDT) Received: from xps15 ([64.188.179.253]) by smtp.gmail.com with ESMTPSA id x1sm386462ilo.50.2020.09.23.13.54.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Sep 2020 13:54:34 -0700 (PDT) Received: (nullmailer pid 1290212 invoked by uid 1000); Wed, 23 Sep 2020 20:54:33 -0000 Date: Wed, 23 Sep 2020 14:54:33 -0600 From: Rob Herring To: Peter Hilber Subject: Re: [RFC PATCH 6/7] dt-bindings: arm: Add virtio transport for SCMI Message-ID: <20200923205433.GB1285024@bogus> References: <20200918162311.254564-1-peter.hilber@opensynergy.com> <20200918165558.257086-1-peter.hilber@opensynergy.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200918165558.257086-1-peter.hilber@opensynergy.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200923_165435_579365_233209CB X-CRM114-Status: GOOD ( 18.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, mikhail.golubev@opensynergy.com, souvik.chakravarty@arm.com, igor.skalkin@opensynergy.com, virtio-dev@lists.oasis-open.org, Jason Wang , "Michael S. Tsirkin" , linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, anton.yakovlev@opensynergy.com, sudeep.holla@arm.com, jean-philippe@linaro.org, alex.bennee@linaro.org, linux-arm-kernel@lists.infradead.org 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 Fri, Sep 18, 2020 at 06:55:58PM +0200, Peter Hilber wrote: > From: Igor Skalkin > > Document the properties for arm,scmi-virtio compatible nodes. The > backing virtio SCMI device is described in patch [1]. > > [1] https://lists.oasis-open.org/archives/virtio-comment/202005/msg00096.html > > Co-developed-by: Peter Hilber > Signed-off-by: Peter Hilber > Signed-off-by: Igor Skalkin > --- > .../devicetree/bindings/arm/arm,scmi.txt | 38 ++++++++++++++++++- > 1 file changed, 36 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/arm/arm,scmi.txt b/Documentation/devicetree/bindings/arm/arm,scmi.txt > index 55deb68230eb..844ff3c40a49 100644 > --- a/Documentation/devicetree/bindings/arm/arm,scmi.txt > +++ b/Documentation/devicetree/bindings/arm/arm,scmi.txt > @@ -13,6 +13,9 @@ the device tree. > Required properties: > > The scmi node with the following properties shall be under the /firmware/ node. > +Some properties are specific to a transport type. > + > +shmem-based transports (mailbox, smc/hvc): > > - compatible : shall be "arm,scmi" or "arm,scmi-smc" for smc/hvc transports > - mboxes: List of phandle and mailbox channel specifiers. It should contain > @@ -21,6 +24,17 @@ The scmi node with the following properties shall be under the /firmware/ node. > supported. > - shmem : List of phandle pointing to the shared memory(SHM) area as per > generic mailbox client binding. > + > +Virtio transport: > + > +- compatible : shall be "arm,scmi-virtio". > +- virtio_transport : phandle of the virtio device. This device must support one > + virtqueue for transmitting commands ("tx", cmdq), and, > + optionally, one more virtqueue for receiving notifications > + and delayed responses ("rx", eventq). Isn't what the virtio device provides discoverable? We don't have virtio protocols in DT for anything else. Why is SCMI special? Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel