From patchwork Thu Aug 26 12:30:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Wiklander X-Patchwork-Id: 503010 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT 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 D2856C00143 for ; Thu, 26 Aug 2021 12:30:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BE57B610CD for ; Thu, 26 Aug 2021 12:30:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241371AbhHZMbc (ORCPT ); Thu, 26 Aug 2021 08:31:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241093AbhHZMbb (ORCPT ); Thu, 26 Aug 2021 08:31:31 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 237C3C0613CF for ; Thu, 26 Aug 2021 05:30:44 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id p15so4820990ljn.3 for ; Thu, 26 Aug 2021 05:30:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iDycTN9yyDhhTwc3Srtfw/Rl+6JzgcjoQzGWlzOIGrY=; b=nlXC4jk7imssziF4BZGKjdqHB/e4Rwx+jmB/xJpnO+gQjFcrnSB9voLWQJ4SVgBZsR yStK/gYOR1npSKgWdsOLRVqHr9SjxNrqB3oV+U9xtDrB5Y69puy0TGH2igM3RzqPkfx5 AkuZR9phcFzVh5FDfJcC3HwtYUz4P7F+AEMVM7tlp3yyWiQjEzSSp+lsQdxB5SUd+HBM kCXOpRjX5V3ViBIl91HhYKoLJU+m+uUpq3Vsep8K1JY9rAINAZn2Fyxy/qX5Cc1TbPXa dSnKDyB1WRM5n0GLEJUcUBOqReTT4RksS3qMFHyjpkLzl9QUUUu1upn81OhRMba8/8JM W17A== 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:mime-version:content-transfer-encoding; bh=iDycTN9yyDhhTwc3Srtfw/Rl+6JzgcjoQzGWlzOIGrY=; b=KUuZOBI8UM3gRA+hCbwqg0agc68xBTs2bVhKShAxoFcyLIVHvUry6sKS1BUP7TQQvk KobyqKPSPjdcxsPJ336Of8NhHnNsFmpBWZKP2in6Ujx98YLety9+LdpSWYnQ5T0ynyj/ apTA3cQWpQzvNvYIS4o3tJh1o2+3LVKfCjufXzSnGtRzOlqOK/9xm1uf4rlIHc7El5i+ 7Q1RtezLytfiJWsni+5sWjumvaIaSdZniuch/X5dy7nKpI82w/y76D0/dJ+le7kmsOvi sIA/xh7xRf1hcTU5ilPHWx46mDr4gokiVWPbZ9W8F6uKddhm+nMh7qVFJJiktGnDyNQx MGDw== X-Gm-Message-State: AOAM531kv2o1lYV0HCMJ0u9FWN/EFIm/TjNfya2slYbEP51Ok8Ac8ncw q5DezLBDxqfo3NGb45JuhLruGQ== X-Google-Smtp-Source: ABdhPJwQarP4Db9P6Gby/P9D9O3LQjajC9XAwpMTb5ACajA13QjU8NsTAlw1UOTlR0tnGBNT0NFpHA== X-Received: by 2002:a2e:91d0:: with SMTP id u16mr2862869ljg.324.1629981041954; Thu, 26 Aug 2021 05:30:41 -0700 (PDT) Received: from jade.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id j21sm332283ljh.87.2021.08.26.05.30.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Aug 2021 05:30:41 -0700 (PDT) From: Jens Wiklander To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, op-tee@lists.trustedfirmware.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org Cc: Jerome Forissier , Etienne Carriere , Sumit Garg , Vincent Guittot , Rob Herring , Jonathan Corbet , Ard Biesheuvel , Marc Zyngier , Jens Wiklander , Rob Herring Subject: [PATCH v5 2/6] dt-bindings: arm: optee: add interrupt property Date: Thu, 26 Aug 2021 14:30:28 +0200 Message-Id: <20210826123032.1732926-3-jens.wiklander@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210826123032.1732926-1-jens.wiklander@linaro.org> References: <20210826123032.1732926-1-jens.wiklander@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Adds an optional interrupt property to the optee binding. Reviewed-by: Rob Herring Acked-by: Marc Zyngier Signed-off-by: Jens Wiklander --- .../devicetree/bindings/arm/firmware/linaro,optee-tz.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml b/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml index c24047c1fdd5..40c9f1901e3f 100644 --- a/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml +++ b/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml @@ -24,6 +24,12 @@ properties: compatible: const: linaro,optee-tz + interrupts: + maxItems: 1 + description: | + This interrupt which is used to signal an event by the secure world + software is expected to be edge-triggered. + method: enum: [smc, hvc] description: | @@ -46,6 +52,7 @@ examples: optee { compatible = "linaro,optee-tz"; method = "smc"; + interrupts = <0 187 1>; }; };