From patchwork Wed Oct 6 07:15:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Wiklander X-Patchwork-Id: 12538773 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94A7DC433F5 for ; Wed, 6 Oct 2021 07:18:54 +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 5FEAE61100 for ; Wed, 6 Oct 2021 07:18:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5FEAE61100 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uEdPoHfqK3k6qXObTfc+2KuVcUR47E0qVPEsLIlnUog=; b=qR7wVIoWLelGzF Vwq6RLt9HMvXr5uJPDoSm7fTWI8vKZsQqZb2MUucHeXls9l3id8fsAeGpVcEn+oEswcDf2kNHDmfh lEdRPBclEf+ef1k3MKivEe89kZNHIFUfHF2ymtK5CcuyS9EbIbWxx5zquVQOotvhdrOTjWogfM9Xf cD0fRJ2DHr9VNeylvJbLBX4SMUXp86bcmFpr19G0tRxuiAFm5rsZVPM80A54/njA58IK0PwGkecNs 4M+96iuQ+MfyyCNXXsdfQxMRAK8BA5xXUk55WLBIhekJ+8bHTT9UQGrhrquCGoTQG/T06m+8kl0go mh7eLRhb61ljRnJ+hmOA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mY1AJ-00DAh4-CA; Wed, 06 Oct 2021 07:16:36 +0000 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mY19k-00DAW2-LZ for linux-arm-kernel@lists.infradead.org; Wed, 06 Oct 2021 07:16:02 +0000 Received: by mail-lf1-x12f.google.com with SMTP id j5so6318073lfg.8 for ; Wed, 06 Oct 2021 00:15:59 -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=bL1vK0bJe9SYQdKHyy1dKB/mgq4Vvtr/CNZxPI/FnxsiDCl6Gxi+KPn3wk3CCXnX+i NNSZfXWkPFTeO43dCyDC5SKXojhCaUh6YCrXhbFyLoUDuc+PzPJFrqctTJmg4g2tTVSq sFXIZPcGmz6lEL4zwQqODImBDS90l6u5lj/lzqKa3mKgjNW/RZ1oEuPw6hHGtmuBsFZv MldsDpoMFwz2kDKAVvtXt3aZclN1NIpuP3D4BMSz+7XF0uY7LTe9NMfkPy4/Y25YFRPJ ieYI+zXAePfidQ5EKr9WP09uovQWWxTHnlUrCsXQMa0u2H3tbOpDTuFxawz0hjApOYiD wFdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=34AefANL0jQFcnGDgj/d0bhqIs4AuIhvKhLLf2qYWTffqWry6nhGLxbBF7G8656mab pQZLiMDn1BeweCyD88dvs4kYstoSQ9tuBr5wqr6sseRNLBnE2BwJrluxq7XHenygMTps EsUJTt5wFijIcwAooFHOTgqrptz2oWjHCGAQbLLNOP+SU+w4BE1DEUX2aejri9c2jpQA sPy4ddxwGgVU0Y2bgSe0WRyzJl2VvVVITNig8QvulI5dajaXIzyI12b1/hQaJCYrrG8f 9qtteXF892hIn7+YObkIUsnXXHI5RpJuB/Mb30CPAz55SE3mG6XM3s0XxQCK1SOBWBEb w7zQ== X-Gm-Message-State: AOAM530Xu8scVWPEMCEowt2FTdhKW9DHSII6kLm35H0JtrQcPvq5EBHm K6+f/ODdgKiucYZfxPA8/HV4OA== X-Google-Smtp-Source: ABdhPJzpzB5JRrdp7tnCsR2cXo+ygIAaSy54kKxlbtwQNa7gbPL0/HRWBJ+pQt3QCVmLyTCywx1+0w== X-Received: by 2002:a2e:8843:: with SMTP id z3mr18431449ljj.457.1633504558653; Wed, 06 Oct 2021 00:15:58 -0700 (PDT) Received: from jade.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id y7sm960376lfk.143.2021.10.06.00.15.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Oct 2021 00:15:58 -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 v6 2/6] dt-bindings: arm: optee: add interrupt property Date: Wed, 6 Oct 2021 09:15:42 +0200 Message-Id: <20211006071546.2540920-3-jens.wiklander@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211006071546.2540920-1-jens.wiklander@linaro.org> References: <20211006071546.2540920-1-jens.wiklander@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211006_001600_730332_47624315 X-CRM114-Status: GOOD ( 10.27 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Adds an optional interrupt property to the optee binding. Reviewed-by: Rob Herring Acked-by: Marc Zyngier Signed-off-by: Jens Wiklander Reviewed-by: Sumit Garg --- .../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>; }; };