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=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 420DEC433E0 for ; Tue, 22 Dec 2020 14:57:26 +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 E9B6A229C6 for ; Tue, 22 Dec 2020 14:57:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E9B6A229C6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=dFxkf+6fS476U8hMpdqSH/Y7TTFjhhtj3BoT4vLGRRY=; b=IpjU6f7UM+k1dcpnZjvofnM0vS Ak6s61de24sfxmVr3ciSyfNXEJ7GVd4coOhaf4duBF+ACC6RYPGWZoEa2Q3H3hb4kFa4WRdLWZE2b uP5h5GjPeLHfwzjwXHyOkdXnHbQEsYee/2FLTI59+9RE+IuBxrL2K+jTjMQjZF1Pq9nj6CeioAXbg 7krqYacuEIqvuKEd4eudLyBeJhgyp5BT6Gg0Ob1owZigLnjRISEJCkFwqgZWbDCpSxf0OepGIIcCD mAwGdzWfEKnSWZNER9Vx/isdamkzu+WMv9IJwF2v5GVIkQ61nJsm3Kdlko0nrCxGv/ymqBueI9/h4 miLqeG4w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1krj5F-0001NU-7j; Tue, 22 Dec 2020 14:56:17 +0000 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1krj5A-0001M8-Nh for linux-arm-kernel@lists.infradead.org; Tue, 22 Dec 2020 14:56:13 +0000 Received: by mail-pf1-x436.google.com with SMTP id f9so8586354pfc.11 for ; Tue, 22 Dec 2020 06:56:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qYGBC9zMCBAhxRIfYfL2yra0LwNo/ANDyVaaTy3nkS0=; b=BmmyXlz6/KcNEo8rqZSNyZivFxGIo4J6QVw4jK0OpdutU8TYHe+dc8JbFMYr8GaT+m Ljzpm5hYMNo1Z2kYdeXQcnYvOn6D/NIJQlGTCnySi8btnlt84gS7r1HT4FRi3WJEAa5f EZ7uSGwbtqTwJuxv2cdDKCG40oa8i2lVw0YUn3QD/R3dWJ0nZUiyq3/C7s29W7+i4vD8 AaKF9ru9qYpgIis1ivAWSQQ4DMPVbV4pJI2GX+e6OdPaVIDXcOSEbT3PawMopG7WXiYk X9Xkk3V+KesH/c3KCxkCNldRYqY7R1g0AFI6oWb/syAdsIOQXPJy2XycMy46/8REvzgy 3vxg== 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=qYGBC9zMCBAhxRIfYfL2yra0LwNo/ANDyVaaTy3nkS0=; b=OpnifYPNdg+L02EmsCsYzro/bs8vMpE0XUVkRM69QwvJ5ALyoITSGu8VfWvUUDZAbF r4fdQwz+SF2VPR/rCYV0wnIPNG60azcjHYgum8nzigAI5dpzsx0V1DYWDMVf8ng3njdR q3hGul7bArEO+COnhXlYxXJ/Ug5IhQm0e22XVD7H/SdrbxYyO46uYiwqf95sHuNtLS17 9hL8LiyopDfl2t6mOZ8FxHBcfsV1Z7s8UocSt3pMNWP7L0aA2oKWAxPQkKaU1KE4Tht9 vz3hy4dgOE4auDQ92iAnsJvsI7QuUWR0MKa9VngGmnGpHjdndB+ysBRICiMslBdcjfFr O9Pw== X-Gm-Message-State: AOAM533BMZyGCXnZ0gzJ+/nDqoqLaqjYbcSb+ROs15Pmgsm50u+YQcZp ozcAetv60Xq5cnBTy36ebqQ= X-Google-Smtp-Source: ABdhPJxSxAh0+8dTxByYiL69Y441y0mrB6Fztl+KT+uYawlPEg2KT6aZxbdNJxrQ97fMg1g9FcvyEA== X-Received: by 2002:a63:2347:: with SMTP id u7mr19888187pgm.189.1608648970940; Tue, 22 Dec 2020 06:56:10 -0800 (PST) Received: from stbsrv-and-01.and.broadcom.net ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id k15sm21340349pfp.115.2020.12.22.06.56.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Dec 2020 06:56:10 -0800 (PST) From: Jim Quinlan To: Sudeep Holla , bcm-kernel-feedback-list@broadcom.com, jim2101024@gmail.com, james.quinlan@broadcom.com Subject: [PATCH v4 1/2] dt-bindings: arm: Add optional interrupt to smc/hvc SCMI transport Date: Tue, 22 Dec 2020 09:56:02 -0500 Message-Id: <20201222145603.40192-2-jim2101024@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201222145603.40192-1-jim2101024@gmail.com> References: <20201222145603.40192-1-jim2101024@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201222_095612_785612_2D2FE529 X-CRM114-Status: GOOD ( 14.56 ) 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: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Rob Herring , open list , "open list:SYSTEM CONTROL & POWER/MANAGEMENT INTERFACE Mes..." MIME-Version: 1.0 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 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 "a2p" 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 b5ce5b39bb9c..667d58e0a659 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 "a2p". + See Documentation/devicetree/bindings/mailbox/mailbox.txt for more details about the generic mailbox controller and client driver bindings. -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel