From patchwork Wed Nov 3 09:02:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Wiklander X-Patchwork-Id: 516726 Delivered-To: patches@linaro.org Received: by 2002:ad5:5208:0:0:0:0:0 with SMTP id p8csp392881iml; Wed, 3 Nov 2021 02:03:03 -0700 (PDT) X-Received: by 2002:a2e:5c5:: with SMTP id 188mr8692981ljf.345.1635930183291; Wed, 03 Nov 2021 02:03:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635930183; cv=none; d=google.com; s=arc-20160816; b=eXXG/6lV4Sd5neT9h4JOZPO8hbuEWU1ZVcyIzbFmmyHc5avIcKPsKQCZ/Sf77gXxpZ 6nphfaB5fRgy0bkivPe8HOdpY46+jTqexT4FZzAOYXW1aNatpBolKrL+K98rByJ/3K6j C0uV/AY9GiQhQb3Et/JvpihpIPML/Mn2pH/wWTL30pcrKU/XYBqaXnkWj+PvKHHgVVKS Dy/LCQnTvr4E4YBY8zm1U+APiVLfOiN59LyvkrJFSeB+hJb/aku5pSQbZJJsvVRD6TUA HyumFb9ibkTrov6O2NUUcY4ZSxAOhcekevKpGB74rgLIppmFXMTDCuJfm3sBVOYfgmIS 0kQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=l1pD+W54nOd1j1DXeZbD9xPUudJRVhA/hpogE5bgZ98=; b=j40tm9UnVu17Bgi/nbT/worFyWLlkt0g0FAYivfTkxdTSvWNapXhfJK5dMdK5YqQqJ sNZHkHKrAPSyBr//1edChVzyiqUIMbmLIotvxxk41QIZSaite0SvEq3crZgg8Rzmhqje iOVLkP3FfycqvvKIDix1vaQR+sooR3qdyOMqm56FkyrqcYadPIzrg2t2dVp1ekwra+kI 4S+p/J8Nc5BXM+6aLLzxpWkZ6kzQ8HxvQWcXpHK+BDe5bPS+t2OnAMMKEzcbOZvcOuRk Qiz/9bh5FG6GVcDfmgQ9qR4T/G4JdABAp34tMI7iThkOpKPtgk18fluwkY9HmDRwqMl0 0j2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W5gPWqqL; spf=pass (google.com: domain of jens.wiklander@linaro.org designates 209.85.220.41 as permitted sender) smtp.mailfrom=jens.wiklander@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id f3sor347272lfr.96.2021.11.03.02.03.03 for (Google Transport Security); Wed, 03 Nov 2021 02:03:03 -0700 (PDT) Received-SPF: pass (google.com: domain of jens.wiklander@linaro.org designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W5gPWqqL; spf=pass (google.com: domain of jens.wiklander@linaro.org designates 209.85.220.41 as permitted sender) smtp.mailfrom=jens.wiklander@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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=l1pD+W54nOd1j1DXeZbD9xPUudJRVhA/hpogE5bgZ98=; b=W5gPWqqL/vTOCl0ikB/He/Iy6BoWQ0Gn8ugg0PNm8wupYGpo3e3eYLEgb8FY7ldvGX SRZwUJZfVue7mJEnOViHYc5X47Nq4voUBE0a6OKSX1+9QfkYFN4uQqrdLMkZVNR3F9N7 TOuMBzYeHww3ZNADfeU5FhHlGZTqIJ1qt0w+qIfIQW7lQVvoR9DqcvAbS1kP72xCyigx xwgokiBrHPHXFukSLrcvKyzI7ZOyyvV4IkmOvR7UbiTLAX31A0jLsCpEmT5P0amhTJog 0z5ls78qhhdpnV23dt541mOYqsEvNuF93jRuriu0cjnGHxp1yw6kSnLz2yf0Lt0cO3Y5 J6qg== 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=l1pD+W54nOd1j1DXeZbD9xPUudJRVhA/hpogE5bgZ98=; b=y5qknh31sOL1ogfz1BgrBAMtSEvuN20oLnxxRfiPB3LE7OAen9vYj03G1XdZXWvvZj I5t/5683Qe+UohD6mZv7uh+OdXy0vArBuExzIZ36ahpX+U5fd1Jl+yNM/GxTKr6j/LVf xiBuN+SDvaJk8gjZTCtpyt8laimvzUVKjQq1ntBwZGdiLVS7LKXM9t9riswW83jBwUsY yVR/3KEv+FeQnyw5fxHFxh9hR00ZRWn70T6rw2yBhrMPka7wVoyomehmpqpxu/UNDqc0 sbXJRAueQOkf3kPxE18DP0U1Hgfyjjonj5FbhM5D5ZyeGbcILwqaquNQEGWDqZcWdqBA vIfw== X-Gm-Message-State: AOAM533cmYMGJ7b+5qbaEBrTq3gJDpMJJ1tz23gOIYV7wIaai+ruAueA WDT16HS7RS7gW/g8XCzlH4OGCvCD X-Google-Smtp-Source: ABdhPJwnUcDDLnd9SouT4svV7Vbgm80iZWY9qCLuCd/a2zGcE97Tfy89TXyAetWh/lcgVSZCknb11A== X-Received: by 2002:a05:6512:310c:: with SMTP id n12mr25109316lfb.688.1635930182929; Wed, 03 Nov 2021 02:03:02 -0700 (PDT) Return-Path: Received: from jade.urgonet (h-94-254-48-165.A175.priv.bahnhof.se. [94.254.48.165]) by smtp.gmail.com with ESMTPSA id w16sm124373lfr.233.2021.11.03.02.03.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Nov 2021 02:03:02 -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.vankeirsbilck@kuleuven.be, Jens Wiklander , Rob Herring Subject: [PATCH v8 2/6] dt-bindings: arm: optee: add interrupt property Date: Wed, 3 Nov 2021 10:02:51 +0100 Message-Id: <20211103090255.998070-3-jens.wiklander@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211103090255.998070-1-jens.wiklander@linaro.org> References: <20211103090255.998070-1-jens.wiklander@linaro.org> MIME-Version: 1.0 Adds an optional interrupt property to the optee binding. Reviewed-by: Sumit Garg Reviewed-by: Rob Herring Acked-by: Marc Zyngier Signed-off-by: Jens Wiklander --- .../devicetree/bindings/arm/firmware/linaro,optee-tz.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.31.1 diff --git a/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml b/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml index c24047c1fdd5..9a426110a14a 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: | @@ -42,10 +48,12 @@ additionalProperties: false examples: - | + #include firmware { optee { compatible = "linaro,optee-tz"; method = "smc"; + interrupts = ; }; };