From patchwork Fri May 21 13:40:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Etienne Carriere X-Patchwork-Id: 444688 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp993380jac; Fri, 21 May 2021 06:41:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOY4BhoJ/eixstW3sPCSPnTsOMgCV5aKiJhiXtFK8e9XgxgkBMH9RLUGbnkdl4w+AOvWvJ X-Received: by 2002:aa7:c542:: with SMTP id s2mr10987563edr.288.1621604472340; Fri, 21 May 2021 06:41:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621604472; cv=none; d=google.com; s=arc-20160816; b=aeYbcl1VeZwo6BTS4NVZtvkqXqg+HkrQkaWVA4FE519rFOTI7w6Bc+4TO4UVcPe2dq FDhAQMnPFHUw9JULsm7kJasOtFpERM6OBgNpOhtNCJ7s2+hw7YGfRc00Fl60KOJTFiVM WlOJFuUZ/2z3zeFI7dp4f8RzXxhCAxMrzJhRIDo3lC7btI9x3rKs5wK+6e4IMHrBACJq l76zH7TXXsh7PVjw6dXRrRNRIY25sWcHnkeLiNaWnW3Ab08uRX1Uo1KBZcsuQNB8IJfE Ykf5nhidXwX7Kcclc9rBQz3NAWuRuIfK/xNf9wMr722NFsvdj7fz2JCMmMr2dCHW0xHX H/JQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=IqnQwk+rzq8B5GCCfhlsvjspQ3NXPy3MftR2FeNfKC8=; b=U61vlNxSmpO/yeDrekSQNmfMOMgT4+2JSuqzO9X+elGPyW8fpZPJ9xe5WMzfTFIr8a UOwQ7xMfIhfrMYjwMsnUdvUJOnAOOCpL1nzWuMhw2fksOJvnGLaFjJzrRNpd6fAEOM79 QNXQWRPEnVymNyd1TREMBxeOrzjOXNJsu65izEFj+nO+SwF98ZgWtSa10kD6b/jYnFBr MwbhYyf3cfe3MIiczQ/TPgXilFLllbko8TwUj1oL40Du9hxyxwn1ozRHbw2sqDsfBkkP BZGUecgFMyJh5tus7m/L0eF8UxlW/nlUX+4hZbPh+qbWpMvaFG6GGtqStYkV7eWXQ2tZ EsrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=z8jWmpn3; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h6si1962996ejp.651.2021.05.21.06.41.11; Fri, 21 May 2021 06:41:12 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=z8jWmpn3; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236100AbhEUNma (ORCPT + 7 others); Fri, 21 May 2021 09:42:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236361AbhEUNm0 (ORCPT ); Fri, 21 May 2021 09:42:26 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F72AC06138A for ; Fri, 21 May 2021 06:41:03 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id l18-20020a1c79120000b0290181c444b2d0so616252wme.5 for ; Fri, 21 May 2021 06:41:03 -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; bh=IqnQwk+rzq8B5GCCfhlsvjspQ3NXPy3MftR2FeNfKC8=; b=z8jWmpn38ibayFo63Kby2WaNoWSM/qz0w50403AYtWu/IBs+VX3HJLuEvxrNM9weXR HQY+SqBtULKHjY7qWMFHjmSD/Z99jQaG8JjSmZl2PK84Y4m6lwTSg6ubUre4STc5fcEq iQNBq1VQoYuPfcNnDPgeB195yiM504N+kcMbjhnWyok+Lg62dQ2bV/fmZuAK75Sx72+f vir+sy+ZYfDqgRxzte5b5UGr/D1aGasXx15vN3i+y0JBKDeprU+R+ZoF1IZbMx9OfR/k +0PgdllHBphufXPXoCUArN/CzU1jQOVAqEaPXCxzjrfZgTtblXJ0KgPf07TF3JAhILqq Iqng== 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=IqnQwk+rzq8B5GCCfhlsvjspQ3NXPy3MftR2FeNfKC8=; b=ZncdnwAndytEou6MdqZiyz+DlbRGlO3IyHmW5sYqD+x1vwiosvj9dKmOH14tPozeKL msWfMNoDWFs5LtecgN7M/z2vava5wM0PoiEeCF78olN2PWKX2r+/bw/cahgshOCUqgFl 1wkMR+rtgs8VtndtAYWI8MNrnbOJbJZMqnc4jCvlX9OF7XqdyFCut1EpTPSeUeKyrd+8 lINiKqGABkkFLQnMSASCE4YtARd/gMNLZYsPqOMBlTIXKkMhNHOy0Yw6VBy1QBmOnhkk Ljx6KNQDNOm2zn3xPCTD/JobyQ4vxn16+S0twuycNfKPOGSvJemqulYHRm8EzDEDCMhh wT8Q== X-Gm-Message-State: AOAM533ufOW5+PxTPyomnWUV2/mlKGKQIQ849yRm59chjr3Bx5Pud7rF pI5vMfVjS86zQTrViRM97DXcuQ== X-Received: by 2002:a05:600c:218b:: with SMTP id e11mr9541462wme.12.1621604461758; Fri, 21 May 2021 06:41:01 -0700 (PDT) Received: from lmecxl0524.home (2a01cb058b850800205e07f10870202e.ipv6.abo.wanadoo.fr. [2a01:cb05:8b85:800:205e:7f1:870:202e]) by smtp.gmail.com with ESMTPSA id v3sm2161372wrr.19.2021.05.21.06.41.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 May 2021 06:41:01 -0700 (PDT) From: Etienne Carriere To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Sudeep Holla , Cristian Marussi , Vincent Guittot , Etienne Carriere , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH v2 2/4] dt-bindings: arm: scmi property mboxes is not mandatory Date: Fri, 21 May 2021 15:40:52 +0200 Message-Id: <20210521134055.24271-2-etienne.carriere@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210521134055.24271-1-etienne.carriere@linaro.org> References: <20210521134055.24271-1-etienne.carriere@linaro.org> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Since "arm,scmi-smc" compatible support, mboxes property is not mandated. This change fixes the DT bindings description accordingly. Cc: Rob Herring Cc: devicetree@vger.kernel.org Signed-off-by: Etienne Carriere --- Changes since v1: - New patch is the series. Addresses mboxes propery description. --- Documentation/devicetree/bindings/arm/arm,scmi.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/arm/arm,scmi.txt b/Documentation/devicetree/bindings/arm/arm,scmi.txt index 667d58e0a659..856d041b397e 100644 --- a/Documentation/devicetree/bindings/arm/arm,scmi.txt +++ b/Documentation/devicetree/bindings/arm/arm,scmi.txt @@ -15,10 +15,10 @@ Required properties: The scmi node with the following properties shall be under the /firmware/ node. - compatible : shall be "arm,scmi" or "arm,scmi-smc" for smc/hvc transports -- mboxes: List of phandle and mailbox channel specifiers. It should contain - exactly one or two mailboxes, one for transmitting messages("tx") - and another optional for receiving the notifications("rx") if - supported. +- mboxes: List of phandle and mailbox channel specifiers. When used, it should + contain exactly one or two mailboxes, one for transmitting messages + ("tx") and another optional for receiving the notifications("rx") if + supported. Mandated by compatible "arm,scmi". - shmem : List of phandle pointing to the shared memory(SHM) area as per generic mailbox client binding. - #address-cells : should be '1' if the device has sub-nodes, maps to From patchwork Fri May 21 13:40:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Etienne Carriere X-Patchwork-Id: 444689 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp993391jac; Fri, 21 May 2021 06:41:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3/ETSjUe15C4n9XuSBAWXJsyOEqV6Ag8XMXUKNZM1CeLwzMtcAZZQKXUIDcEcKWVd+mWU X-Received: by 2002:a17:906:d285:: with SMTP id ay5mr10316459ejb.418.1621604472784; Fri, 21 May 2021 06:41:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621604472; cv=none; d=google.com; s=arc-20160816; b=kwkXN8q0r4pOtMH5x2eTc+QITKCQ27TKPJ+LkK2NHhkHBUS6L8ZKSysqcQzjhQNbVn H8IbTL2Bhe4Ml/mDBQ/ljvdZG1KGyxN6RohYeF/LzeQldi1Osr9+3LFyui/cUspQXrnh gD+98n9op18JZr2inHniZg/mRgr4nZv5dRIWLZLMAjJhnuAR+62HG8PhcqDE8/qxrBBL fjlafU/hgU8H66Bv0puQdNxcyck4bX0lgDkRAdfftSWyo7PQ3jQPT753s/xb1oVr2D/s h2ZRumYAQwZp151fNLWPSTBkehpmdn2ylsxfQGYW+AqA5rZrQJoGm/Wax7jC9RPWDj89 J1fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=gdVy1JGSBoZuqI274R7n9JIUIxcN1AY4e4E1RFGG9Dg=; b=bBwKiLgbdPesVtcBWHDF5ysKwNSc5OIa+9BDcMNT6UzXUmVSBdeBa0AQ8IuN3078gl aZ/oDRnezCsnknxtdDZ6VL+uBWemNzXRPdemtDA166WeMbT8is0FXJzLGFBcWWIWyCpL 5Ej/pPQwdqBv678cNrAhH+UOfGN9+oxdzhcGjZ5Ogvzm8Yf/7frssd6ewg7CGchmezSH FSuvfHFDKWyX46mN1C/B0tD8yhfJSOoIyaTsH4qsu7o//Qy6jD8kYo5jXbhhH5riKBVT YAsRct45XRPcU65lYxIDUDQhxJPaP7pegJ7FlQAymUqyOQTzcJ4JoGGXYtJ/UUJYvFrT BKyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XT+WuJkP; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h6si1962996ejp.651.2021.05.21.06.41.12; Fri, 21 May 2021 06:41:12 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XT+WuJkP; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236361AbhEUNma (ORCPT + 7 others); Fri, 21 May 2021 09:42:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234235AbhEUNm1 (ORCPT ); Fri, 21 May 2021 09:42:27 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C95E0C06138C for ; Fri, 21 May 2021 06:41:03 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id y14so19045141wrm.13 for ; Fri, 21 May 2021 06:41:03 -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; bh=gdVy1JGSBoZuqI274R7n9JIUIxcN1AY4e4E1RFGG9Dg=; b=XT+WuJkP7kfD3oFoklO/xy+Oqoj/F309Q26ExLm+Q7Zls8oFptQ8oRbWO1h+PlpRol 6JoO9iVJhh4ij5bY/Nm7cJAXXGdcG9swCZmPEQRF0Z4JgkzDkAXGldbNq7p4QrIsPfLr NI2+dU5dIe/FD9YUM4BpO6noa1uS3P4onCp80vuEHKC/f0rf9NYG6weEf8ieh09zG5kT 1LtO4Ikk1vw4IzLb5MKIZIfTRyVJV9322p9kbGDuFpwWlkygyDDVPZI1XYH3BCX0bxwR 5nV2lMeKlOSi7jy69cDlsuC0jAeOwanGAPTtzghoFCGTuzJBG+UkE8U5BpFjaAAE84PJ Vd4Q== 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=gdVy1JGSBoZuqI274R7n9JIUIxcN1AY4e4E1RFGG9Dg=; b=ui5XvJPFGfBAIc/6LeUPpGe5usraLS25FQ1OhjrXVaiR1IOmhtgdEhzo8ExcZ3esik suP/Ptve3MQxJA5hTGbw8TDjeZ/pnmK7OXDw6bPATVE0jM5di/6QvBLle08T1C33ARFV KNVlH1w5HuWdTasvLJ0/TUg/9PiajtqvzawXzVb9vf2gpN6+WxzrzpevOrbxsJyLwqYa KVG6Ix6GU/sLspx8173CLmGooKhLOyCvcw2E52QFRvaWwg/Bekw/pKAAm8VUXw8m6krU hHObfA7/zx3CCfayLYhkcRwObi3PVAuTUJD/MOtrFedWftVR6/NqD3IdQPIs4Q/IxIJR oeWQ== X-Gm-Message-State: AOAM532i2zvb7rOnVBsl7MdUvWF8llXczIHBzEhJK5JEN9uSb3XLFqMx l2MZh78qexanlx2nhAXB9HhJFw== X-Received: by 2002:adf:ff88:: with SMTP id j8mr9367632wrr.427.1621604462401; Fri, 21 May 2021 06:41:02 -0700 (PDT) Received: from lmecxl0524.home (2a01cb058b850800205e07f10870202e.ipv6.abo.wanadoo.fr. [2a01:cb05:8b85:800:205e:7f1:870:202e]) by smtp.gmail.com with ESMTPSA id v3sm2161372wrr.19.2021.05.21.06.41.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 May 2021 06:41:02 -0700 (PDT) From: Etienne Carriere To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Sudeep Holla , Cristian Marussi , Vincent Guittot , Etienne Carriere , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH v2 3/4] dt-bindings: arm: OP-TEE as transport channel for SCMI messages Date: Fri, 21 May 2021 15:40:53 +0200 Message-Id: <20210521134055.24271-3-etienne.carriere@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210521134055.24271-1-etienne.carriere@linaro.org> References: <20210521134055.24271-1-etienne.carriere@linaro.org> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Introduce compatible "linaro,scmi-optee" for SCMI transport channel based on an OP-TEE service invocation. Cc: Rob Herring Cc: devicetree@vger.kernel.org Signed-off-by: Etienne Carriere --- Changes since v1: - Removed modification regarding mboxes property description. --- Documentation/devicetree/bindings/arm/arm,scmi.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/arm/arm,scmi.txt b/Documentation/devicetree/bindings/arm/arm,scmi.txt index 856d041b397e..ccab2ef6f6ec 100644 --- a/Documentation/devicetree/bindings/arm/arm,scmi.txt +++ b/Documentation/devicetree/bindings/arm/arm,scmi.txt @@ -14,7 +14,8 @@ Required properties: The scmi node with the following properties shall be under the /firmware/ node. -- compatible : shall be "arm,scmi" or "arm,scmi-smc" for smc/hvc transports +- compatible : shall be "arm,scmi" or "arm,scmi-smc" for smc/hvc transports, + or "linaro,scmi-optee" for OP-TEE transport. - mboxes: List of phandle and mailbox channel specifiers. When used, it should contain exactly one or two mailboxes, one for transmitting messages ("tx") and another optional for receiving the notifications("rx") if