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=-15.7 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 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 1E5A9C49EA2 for ; Tue, 22 Jun 2021 08:42:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 07F5B6134F for ; Tue, 22 Jun 2021 08:42:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230392AbhFVIoO (ORCPT ); Tue, 22 Jun 2021 04:44:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230222AbhFVIoN (ORCPT ); Tue, 22 Jun 2021 04:44:13 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D825C06175F for ; Tue, 22 Jun 2021 01:41:57 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id m3so12232077wms.4 for ; Tue, 22 Jun 2021 01:41:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XA1+Rp5LATzXW9X3kNyiTeCwcY/WbQj5ki86deqlRUU=; b=sye6DyVz9MMCkgM9C3JDj8Y0rVLYcm0XFgOqxYtiFqjc0BWAP68Nw1Ylqdc9NUyYee sZXg1PYVnjy5I+wWdRUXEpdzFjOxlwZgj2WyykKs7elysMO6C+3JUpwfiTCIQLrB9Eet FjEnoZjoTbDeVAQr90p8EgEn6M80nF8C5dk/xrqA4fpnO76UQfMNRN2PGpqSX0tqdloG obFLjnP/UYZJ4ot5zDO1/PX6gCNCH+lA0eqkXpGwo/6v+yprO4aMEGGwwgRy668Heclh xxFLKLBe5xUKAzE9xKZtuGjwjQUASGc5TFa5s+jqI/7ikvjmxVl8yJOromKXOhXe6mSF ruBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XA1+Rp5LATzXW9X3kNyiTeCwcY/WbQj5ki86deqlRUU=; b=BSqGi4BA6Mqn/99WGnQgfG6RaWYPkP8iv6Gkz+mqjJC143cHKqpwgeXEjR5c1D7dqw eEeNvvrxOdXiq0P+jqgPTDYf/COjcdmWe2MWAvx2df/uWd7THTGFQXCManf2Hs3nUk2E vSTF+t8KDTLRBYhiebSKk6s/wdBX4rEFpfqzx2WgfVcAnou11uNCzmCFIESyLQDNj3xe BgGEc+WyaiYigzT+KH6lkYlRch2Kg97A6Ko0yheF9Ei5yclRd/oBuKu/LXSVoYBRuVyM 9FAb8CYhuDNLPU44+zyFO4XfclnTPnHE1Fw087E8xQaMgSbcpzeocJpKCadzYsmKF7d0 tiNg== X-Gm-Message-State: AOAM533+zD5H9kPmq9bePhtIk2rIBM1+W+AyntkEf28Sum0hPVzbIirV Tmlxzgo4pnzDOhhHNfuNLOa+wPTNJl/+26ZmphtNWQ== X-Google-Smtp-Source: ABdhPJxyCBE2yf8JDZ6qOcKTBwdJou1Exjeh1KfsRwQRi8kJtfXDva4rXzVv5tE/owN4PIcSyHguZ6uWW6Xf0QPDVs0= X-Received: by 2002:a1c:7219:: with SMTP id n25mr3008537wmc.3.1624351315897; Tue, 22 Jun 2021 01:41:55 -0700 (PDT) MIME-Version: 1.0 References: <20210616103649.2662395-1-jens.wiklander@linaro.org> <20210616103649.2662395-4-jens.wiklander@linaro.org> <20210616160557.GB3472903@robh.at.kernel.org> In-Reply-To: <20210616160557.GB3472903@robh.at.kernel.org> From: Jens Wiklander Date: Tue, 22 Jun 2021 10:41:45 +0200 Message-ID: Subject: Re: [PATCH v2 3/7] dt-bindings: arm: optee: add interrupt property To: Rob Herring Cc: Linux Kernel Mailing List , Linux ARM , OP-TEE TrustedFirmware , Devicetree List , Linux Doc Mailing List , Jerome Forissier , Etienne Carriere , Sumit Garg , Vincent Guittot , Jonathan Corbet , Ard Biesheuvel , Marc Zyngier Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 16, 2021 at 6:06 PM Rob Herring wrote: > > On Wed, Jun 16, 2021 at 12:36:45PM +0200, Jens Wiklander wrote: > > Adds an optional interrupt property to the optee binding. > > > > Signed-off-by: Jens Wiklander > > --- > > .../devicetree/bindings/arm/firmware/linaro,optee-tz.yaml | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml b/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml > > index c931b030057f..3efbe11b637d 100644 > > --- a/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml > > +++ b/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml > > @@ -24,6 +24,9 @@ properties: > > for the reference implementation maintained by Linaro. > > const: linaro,optee-tz > > > > + interrupts: > > + maxItems: 1 > > + > > method: > > description: The method of calling the OP-TEE Trusted OS. > > $ref: /schemas/types.yaml#/definitions/string-array > > @@ -37,6 +40,10 @@ properties: > > in drivers/tee/optee/optee_smc.h > > const: hvc > > > > +required: > > + - compatible > > + - method > > + > > This should go in the first patch. OK, that will be covered when I rebase the next patch set on what's now be78329717e4 ("dt-bindings: arm: firmware: Convert linaro,optee-tz to json schema") in linux-next. Thanks, Jens > > > additionalProperties: false > > > > examples: > > @@ -45,5 +52,6 @@ examples: > > optee { > > compatible = "linaro,optee-tz"; > > method = "smc"; > > + interrupts = <0 187 4>; > > }; > > }; > > -- > > 2.31.1 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=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 3D9FFC2B9F4 for ; Tue, 22 Jun 2021 08:43:47 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 0F8F96134F for ; Tue, 22 Jun 2021 08:43:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0F8F96134F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org 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=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jfBizJJ1F7KUKaveOaR+Ka/2/1smsbd+julDk6hWsOI=; b=KDzkbAZSB8LzgH uxTtCjHaGBLRXOqEZs1Dwfp66JPeG6XCvrww8NoVNwq/2HXF8cBukcw8obqYM7QojPUTApHrDq4ER kViIq0ZQDfBIbvP8GOzML6KaJoVdnIsl7IhEwa7sNCxPx1rpPG6dqyRUXYB+cHS9hrn26nqVdaMo1 N7woXlpaYuhz+aExguQ//jaBxYKbxVhUvI3ZZ/wTb6CBlHPjq5cDFJoGkAX32qykhxQNUMxweqecC nTUUFU2W/160mQX1lACTcBdWf64iEADeNzZwKNL4ubOwkaU8eNIC03+NMyxlkPq0p25KBykJ6P83k IxxMzc9A+UsM5Gf/Nw1g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lvbyr-006H7k-LS; Tue, 22 Jun 2021 08:42:01 +0000 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lvbyo-006H6J-FY for linux-arm-kernel@lists.infradead.org; Tue, 22 Jun 2021 08:41:59 +0000 Received: by mail-wm1-x32d.google.com with SMTP id w13so5611919wmc.3 for ; Tue, 22 Jun 2021 01:41:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XA1+Rp5LATzXW9X3kNyiTeCwcY/WbQj5ki86deqlRUU=; b=sye6DyVz9MMCkgM9C3JDj8Y0rVLYcm0XFgOqxYtiFqjc0BWAP68Nw1Ylqdc9NUyYee sZXg1PYVnjy5I+wWdRUXEpdzFjOxlwZgj2WyykKs7elysMO6C+3JUpwfiTCIQLrB9Eet FjEnoZjoTbDeVAQr90p8EgEn6M80nF8C5dk/xrqA4fpnO76UQfMNRN2PGpqSX0tqdloG obFLjnP/UYZJ4ot5zDO1/PX6gCNCH+lA0eqkXpGwo/6v+yprO4aMEGGwwgRy668Heclh xxFLKLBe5xUKAzE9xKZtuGjwjQUASGc5TFa5s+jqI/7ikvjmxVl8yJOromKXOhXe6mSF ruBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XA1+Rp5LATzXW9X3kNyiTeCwcY/WbQj5ki86deqlRUU=; b=Rw3PlMx+CdMURw3PDShWb4T+/cBpOtK5n2Lk5ROWAf6+gJB6jp+2cmIWg1K0sIT37i 2sGi9VggXKBI+pwcG+z2VmrJ5jMFFyI3MiBPXXN4iAQCwJa12umAs/fffa+pgjwJcgSd xa7Xk44vJVA2oKYROGfyRs7hr0riJVIES1LW0PA5d3lzEkRjMPCwxYukNdBIDdti+zx2 9pQX9MEFPVox7vplIFbmBNCpWAx8UKXkJ+NfCrCugL6ecWRLWBjeiLyZBQ4dVvwBQl5z /Hm42tCDvJ5mBMLqudykfaPaWpbfNMOMniovQCPo497UfpRRwMlnp/lI6q+yh/B+yr3A rHRw== X-Gm-Message-State: AOAM530rxPR7Ccq9pfGrQiIeDG6FRN4Mu2QDyUqvzb95/YdHtHIJ8mXN Yfm8M8sHndRJ92dnRZpHrwPkj3aNfmPjfcrk4yoD0g== X-Google-Smtp-Source: ABdhPJxyCBE2yf8JDZ6qOcKTBwdJou1Exjeh1KfsRwQRi8kJtfXDva4rXzVv5tE/owN4PIcSyHguZ6uWW6Xf0QPDVs0= X-Received: by 2002:a1c:7219:: with SMTP id n25mr3008537wmc.3.1624351315897; Tue, 22 Jun 2021 01:41:55 -0700 (PDT) MIME-Version: 1.0 References: <20210616103649.2662395-1-jens.wiklander@linaro.org> <20210616103649.2662395-4-jens.wiklander@linaro.org> <20210616160557.GB3472903@robh.at.kernel.org> In-Reply-To: <20210616160557.GB3472903@robh.at.kernel.org> From: Jens Wiklander Date: Tue, 22 Jun 2021 10:41:45 +0200 Message-ID: Subject: Re: [PATCH v2 3/7] dt-bindings: arm: optee: add interrupt property To: Rob Herring Cc: Linux Kernel Mailing List , Linux ARM , OP-TEE TrustedFirmware , Devicetree List , Linux Doc Mailing List , Jerome Forissier , Etienne Carriere , Sumit Garg , Vincent Guittot , Jonathan Corbet , Ard Biesheuvel , Marc Zyngier X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210622_014158_560029_1EE19AA4 X-CRM114-Status: GOOD ( 20.81 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 On Wed, Jun 16, 2021 at 6:06 PM Rob Herring wrote: > > On Wed, Jun 16, 2021 at 12:36:45PM +0200, Jens Wiklander wrote: > > Adds an optional interrupt property to the optee binding. > > > > Signed-off-by: Jens Wiklander > > --- > > .../devicetree/bindings/arm/firmware/linaro,optee-tz.yaml | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml b/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml > > index c931b030057f..3efbe11b637d 100644 > > --- a/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml > > +++ b/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml > > @@ -24,6 +24,9 @@ properties: > > for the reference implementation maintained by Linaro. > > const: linaro,optee-tz > > > > + interrupts: > > + maxItems: 1 > > + > > method: > > description: The method of calling the OP-TEE Trusted OS. > > $ref: /schemas/types.yaml#/definitions/string-array > > @@ -37,6 +40,10 @@ properties: > > in drivers/tee/optee/optee_smc.h > > const: hvc > > > > +required: > > + - compatible > > + - method > > + > > This should go in the first patch. OK, that will be covered when I rebase the next patch set on what's now be78329717e4 ("dt-bindings: arm: firmware: Convert linaro,optee-tz to json schema") in linux-next. Thanks, Jens > > > additionalProperties: false > > > > examples: > > @@ -45,5 +52,6 @@ examples: > > optee { > > compatible = "linaro,optee-tz"; > > method = "smc"; > > + interrupts = <0 187 4>; > > }; > > }; > > -- > > 2.31.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel