From patchwork Wed Sep 8 09:10:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 507912 Delivered-To: patch@linaro.org Received: by 2002:a02:8629:0:0:0:0:0 with SMTP id e38csp424212jai; Wed, 8 Sep 2021 02:34:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzX36CNU+JjUAhAwzaYLNRGak/zZoc3Hy3Y3bOLsegWc1qp0UpoOLTwzNKk48dHH9PNGxiB X-Received: by 2002:a05:6e02:1c27:: with SMTP id m7mr1964140ilh.190.1631093645510; Wed, 08 Sep 2021 02:34:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631093645; cv=none; d=google.com; s=arc-20160816; b=BuIfA2Om/hhh/zoQ4B8UXvRarC3w99waPfKM3KdAOKVt4TtEF/nuIDAWwUESZCzyi6 nZdZgFQi7oqQFfvOraoccsk3cUI8raVgxtNGpWsOw45j7nVf1gSly4nAPTQs8ycICnZK 1/TkF5nRdHoRbLJccElVgcvuY1p3DH0pbeXF/dFaQKU/6GfTDMQ31JlR5KdjLjBx7RgZ JTA9oWk5l0z3U/7yFmWRwLB1Xrg7Dnfu5l0Zs9v6IFybIwDmhoOQYw9+d3unmYw7kJMp iZjXlzu4zQmSWDV+EZxfuLlcv5yX5K89voJ7DLb+2ACJdIOPOxVe0W9qrswPVxlae+kV fM+Q== 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; bh=3z4YHhxazw7lXr17ftmA20wbWmBtUV05hS/Xxbx3+p8=; b=irDRkmtGD8JBi/4T38XDckuDxc/+OC/nB42k6+CH5TAKm3tT4aFqgtKUqQeKHiD7+2 O2H79aXto1ee3Ded3JpMKEobDvfb4auDZ/uL+IEY58M7VoHlcI0jyjBvqKoyZPB/yEAb Xg6Js6FFcySin5d69g7l4N28VH2I5ARKjfreD8iyVVTkv0WIYDj1He7Vm3CtaY1g6ZRU SqUyfBptWvm0au4xx/nKfP7/x0Bxk8/AhmPb+bvrpmMCaSGoxgV/KDiZ9EP6D0byoBzs WiXL6kKtO8fBTyhQ/bhNBivGnCz5KSSG3gEoyf/0lPqwZQ9akt+35+R4xd3EEHaz0h5D TWDQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b16si1542798ior.73.2021.09.08.02.34.04; Wed, 08 Sep 2021 02:34:05 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348611AbhIHJfI (ORCPT + 6 others); Wed, 8 Sep 2021 05:35:08 -0400 Received: from inva020.nxp.com ([92.121.34.13]:56156 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347584AbhIHJfH (ORCPT ); Wed, 8 Sep 2021 05:35:07 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 724031A2F17; Wed, 8 Sep 2021 11:33:58 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 39B571A00A3; Wed, 8 Sep 2021 11:33:58 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 7100A183AD26; Wed, 8 Sep 2021 17:33:56 +0800 (+08) From: Shengjiu Wang To: ohad@wizery.com, bjorn.andersson@linaro.org, mathieu.poirier@linaro.org, robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, daniel.baluta@nxp.com Cc: linux-imx@nxp.com, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, shengjiu.wang@gmail.com Subject: [PATCH v4 2/4] remoteproc: imx_rproc: Add IMX_RPROC_SCU_API method Date: Wed, 8 Sep 2021 17:10:53 +0800 Message-Id: <1631092255-25150-3-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1631092255-25150-1-git-send-email-shengjiu.wang@nxp.com> References: <1631092255-25150-1-git-send-email-shengjiu.wang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On i.MX8QM and i.MX8QXP, most devices are controlled by System Control Unit, so add IMX_RPROC_SCU_API method for these platform. Signed-off-by: Shengjiu Wang Reviewed-by: Mathieu Poirier --- drivers/remoteproc/imx_rproc.h | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.1 diff --git a/drivers/remoteproc/imx_rproc.h b/drivers/remoteproc/imx_rproc.h index 23d8e808d27f..1c7e2127c758 100644 --- a/drivers/remoteproc/imx_rproc.h +++ b/drivers/remoteproc/imx_rproc.h @@ -22,6 +22,8 @@ enum imx_rproc_method { IMX_RPROC_MMIO, /* Through ARM SMCCC */ IMX_RPROC_SMC, + /* Through System Control Unit API */ + IMX_RPROC_SCU_API, }; struct imx_rproc_dcfg {