From patchwork Tue Nov 10 18:38:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Quinlan X-Patchwork-Id: 323125 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=-12.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, MIME_HEADER_CTYPE_ONLY, MIME_NO_TEXT, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, T_TVD_MIME_NO_HEADERS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 B6071C388F7 for ; Tue, 10 Nov 2020 18:38:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 634EB20797 for ; Tue, 10 Nov 2020 18:38:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="SNJ4CRno" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731323AbgKJSif (ORCPT ); Tue, 10 Nov 2020 13:38:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730859AbgKJSie (ORCPT ); Tue, 10 Nov 2020 13:38:34 -0500 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8AFB7C0613D4 for ; Tue, 10 Nov 2020 10:38:34 -0800 (PST) Received: by mail-pg1-x543.google.com with SMTP id e21so10968544pgr.11 for ; Tue, 10 Nov 2020 10:38:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=UJhU4WTd3sWYPtNfFfIjvSBbBMzcQ0J+IvVrXBj76fc=; b=SNJ4CRnoaZSGlVOtq4+yTjHmWXtMP/0ijWuLbF84UrDGjXHcJs6zVs15T6+4YT/P7B hLaC7vp/mr4fN0SVxpGJYzpQhhWFIPWvYN5aNLL2BWi7M3CfHIu8VngZeZI4SNyw7mxh JsSJZYlRLgavTTJmC6dafxaHUStqPt21adTKc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=UJhU4WTd3sWYPtNfFfIjvSBbBMzcQ0J+IvVrXBj76fc=; b=LTHMbpF157nMqVRavPgXUCUxZDu8mGdIRzRGTW6Lmkj8KagxYmy04Qta6TWZgmilqr lfwD/XkigcFatpiIgThBeLqQB2qEHz4WZF2ADYTi/H7UnjOPDrAie5Ji9QXyI8cKM0wF RMFAahbqmgwwywzfUTEgt0gpUCXcdwQD8UY4V7Wievv/vIWydWDXOAEcGq+s1MLUgn+k pAuwQaICAPAF8jmU0punB6Cw1f5eFRRJaE0NsVt4BWAVde7Qs4Zrm7qxbbLI5LK52o9d qEq6P6hqSj4tpovB/llG82ISJaBG9BflMu2z4kZ27UwsBqMsWaJWOxrE11/P96Q3LnXW LjXw== X-Gm-Message-State: AOAM530qsWel68RPBDZMHlTTajzD7pCBXi8Aaca4dMDWg3fXyVYqU5cd eFrq16SNqH6p0EYpzU1HK4ag3Q== X-Google-Smtp-Source: ABdhPJyDR3hKTxRpvz3324qWgO4F9Hamwr7Zo3ygOm90DTbBAvv2FuEpIPSSR37iLeBGysZrTqYohQ== X-Received: by 2002:a63:6bc7:: with SMTP id g190mr17694395pgc.250.1605033513876; Tue, 10 Nov 2020 10:38:33 -0800 (PST) Received: from stbsrv-and-01.and.broadcom.net ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id x18sm9187988pfi.206.2020.11.10.10.38.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Nov 2020 10:38:33 -0800 (PST) From: Jim Quinlan To: Sudeep Holla , bcm-kernel-feedback-list@broadcom.com, james.quinlan@broadcom.com Cc: Rob Herring , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v1 1/2] dt-bindings: arm: Add optional interrupt to smc/hvc SCMI transport Date: Tue, 10 Nov 2020 13:38:18 -0500 Message-Id: <20201110183827.19731-1-james.quinlan@broadcom.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This change allows the SCMI "platform" to use the smc/hvc transport and to optionally indicate the completion of an SCMI message with an interrupt. This is in contrast to the nominal case where the return of the SMC call indicates message completion. Signed-off-by: Jim Quinlan --- Documentation/devicetree/bindings/arm/arm,scmi.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/arm,scmi.txt b/Documentation/devicetree/bindings/arm/arm,scmi.txt index 55deb68230eb..d3b0c9f387fe 100644 --- a/Documentation/devicetree/bindings/arm/arm,scmi.txt +++ b/Documentation/devicetree/bindings/arm/arm,scmi.txt @@ -31,6 +31,14 @@ Optional properties: - mbox-names: shall be "tx" or "rx" depending on mboxes entries. +- interrupts : when using smc or hvc transports, this optional + property indicates that msg completion by the platform is indicated + by an interrupt rather than by the return of the smc call. This + should not be used except when the platform requires such behavior. + +- interrupt-names : the name must be "msg-serviced". + + See Documentation/devicetree/bindings/mailbox/mailbox.txt for more details about the generic mailbox controller and client driver bindings.