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: 1397762 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=broadcom.com header.i=@broadcom.com header.a=rsa-sha256 header.s=google header.b=SNJ4CRno; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4CVxT86v9zz9sSf for ; Wed, 11 Nov 2020 05:38:36 +1100 (AEDT) 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.