Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2847742pxb; Sat, 25 Sep 2021 20:32:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMatJSBcu42O9+ccUEx8UqfOW2jUQ6PqgqlWqvJVtHoX4f5/zgO+b3ZNHvdkZj6siqjz6k X-Received: by 2002:a50:cf01:: with SMTP id c1mr10004350edk.94.1632627171386; Sat, 25 Sep 2021 20:32:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632627171; cv=none; d=google.com; s=arc-20160816; b=DaoubRiCVW1hZtWDL0t7JjbWQEc0Z1LAEe/gvBRKgqqIskQDYjPl683DAWgZR+QIkZ 6bRnLRCUxYv8j9O7gDicW36xl/t/ExDJhmOErWVqNJ7N7Wx/0YGBGLMv5uoknue9kKU9 cIAJh2I2816OMgc34rfHAjoZr+iCao7Nb+jJOqRy3X7uOQkFXipMTfZZrUH4eGQRLzZC GgPigkBL4sSwiU1/3sHgNyqpWGPHz+YkKrDfMwrPhyuIXE9aKa1SgVOXGf3tMpQtkmjf ru3h8+gs5bNlmKY9TP32SKVa8PIlYiunVTz99AmejKtaFyy7kihf7ere+pGvuW2cuySZ mI5A== 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=vo0aLcIPkvf9CXtKatF9duJ791wz3p7PX/ogKz/9z0E=; b=YJ7/0/NlgvabaxJ6OMto+snk37Qmr7UaKN6wMO+t2ps1urZlkqTFWRhKsestsUwZyq 0OEVGfYwPMwmoHHU2pOsaPEXLODVMT0y5ZQTCSsVL/aczTGNuevPnFIPomT/6b2Bmf+e vp8LB0uX3KXqDrfhVG1ur3nvpV5gaROdV99S3nqyMOWf66xc3fbPPwnv9ILatO+xtKL4 G6XcziAWHKG1zih4moOgKLuauWnAaiDl76nzEixlqxljSOSU0HJO7Rk/JR8ktqydthzv sdtI65D2mUwy4lenDlNVQJp8xPTPNnSCwIPecZzD48fUHLcTftvDTfG65OY6wsJquPcU jRkQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 o6si14108652eju.171.2021.09.25.20.32.28; Sat, 25 Sep 2021 20:32:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S230482AbhIZDcr (ORCPT + 99 others); Sat, 25 Sep 2021 23:32:47 -0400 Received: from inva020.nxp.com ([92.121.34.13]:55132 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230422AbhIZDco (ORCPT ); Sat, 25 Sep 2021 23:32:44 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id E38AB1A34BB; Sun, 26 Sep 2021 05:31:07 +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 ABBF71A34BD; Sun, 26 Sep 2021 05:31:07 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id F3401183AD0B; Sun, 26 Sep 2021 11:31:05 +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 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 v5 2/4] remoteproc: imx_rproc: Add IMX_RPROC_SCU_API method Date: Sun, 26 Sep 2021 11:07:08 +0800 Message-Id: <1632625630-784-3-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1632625630-784-1-git-send-email-shengjiu.wang@nxp.com> References: <1632625630-784-1-git-send-email-shengjiu.wang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(+) 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 { -- 2.17.1