From patchwork Thu Nov 12 17:56:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Quinlan X-Patchwork-Id: 1399190 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=QCtcclVQ; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4CX8S1459jz9sPB for ; Fri, 13 Nov 2020 04:56:49 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726451AbgKLR4q (ORCPT ); Thu, 12 Nov 2020 12:56:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726363AbgKLR4p (ORCPT ); Thu, 12 Nov 2020 12:56:45 -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 929F9C0613D1 for ; Thu, 12 Nov 2020 09:56:45 -0800 (PST) Received: by mail-pg1-x543.google.com with SMTP id e21so4802053pgr.11 for ; Thu, 12 Nov 2020 09:56:45 -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:in-reply-to:references; bh=G0rtwpshQP4CvZoXtSrINXeaaTyhi9gtdzm3vrsa7Jo=; b=QCtcclVQrZrHji82U6pADdEBzX7gbK/kKps+EqrI5zcDXdoVCFq6efUeFAHWe//l73 vDzsrXOWOfj5Fuzd7aMOXfmVTui78p5HeK8X76DOtHpZlMCeOuxxnyrfinmU9bbwmRiS fCiBLYMhEMo2MCN4huGmBaOAqxlSan/oneVZE= 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:in-reply-to :references; bh=G0rtwpshQP4CvZoXtSrINXeaaTyhi9gtdzm3vrsa7Jo=; b=V9hd4VlYlW26fyyt2atrVuAddsHlzScPWM/iqw3uCh97MO/sggxN5lhAXDlQJsyP2N pFCJsfvuZC4uVR/wf5PjA1be3jYBd9/QAYOmeqydM5lyk/mb/2d0Ozw66cr3wyCcRzZJ XS6xTBnOUAICd88Df9ewwjSNDhxioLLxOxzLUkQv6I6Dulbi2bJpWCiAXqkj9qLL0+aj M0WBGiflUIFOqNwg1+4VyTfErtIGLYYrdKYWxe5IMa1zn9TWbEx3l9WWDVsT2PZ7uale LDga11now+XJpAJXaoCzC99+bCK0SynqRXgMbWFmi82IjM3jRDnVbhNTye369N8ilsze KVuQ== X-Gm-Message-State: AOAM532mZ1LhTFo0p2PScVdH05Kni5SrdyRg78/M+YPDw/87UidlY/0i epEQJ7+/IYJn3r/a4Viu21BjRw== X-Google-Smtp-Source: ABdhPJz6YHBPKKNS65iez8Ig62Aka9vOolx+PyDURQLNlxhIv9GWjtN+d3iJccwWZIGiaDB0IapN7A== X-Received: by 2002:a63:e:: with SMTP id 14mr577062pga.426.1605203804834; Thu, 12 Nov 2020 09:56:44 -0800 (PST) Received: from stbsrv-and-01.and.broadcom.net ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id q18sm6817303pfs.150.2020.11.12.09.56.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 09:56:44 -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 v2 1/2] dt-bindings: arm: Add optional interrupt to smc/hvc SCMI transport Date: Thu, 12 Nov 2020 12:56:26 -0500 Message-Id: <20201112175632.42234-2-james.quinlan@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201112175632.42234-1-james.quinlan@broadcom.com> References: <20201112175632.42234-1-james.quinlan@broadcom.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org In normal use of smc/hvc transport in SCMI the message completion is indicated by the return of the SMC call. This commit provides for an optional interrupt named "message-serviced" which is used instead to indicate the completion of a message. 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..7cdad11f40b1 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 : if "interrupts" is present, interrupt-names must also + be present and have the value "message-serviced". + See Documentation/devicetree/bindings/mailbox/mailbox.txt for more details about the generic mailbox controller and client driver bindings.