Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp348976pxb; Wed, 8 Sep 2021 02:39:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlH6K2q6IZLH/rjI+7TPVujn4gI+FOXIp4uuH7PtjVUEZgtee5EJbeGTNtIsHIxY7Lptkh X-Received: by 2002:a17:906:1c41:: with SMTP id l1mr3091894ejg.13.1631093959177; Wed, 08 Sep 2021 02:39:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631093959; cv=none; d=google.com; s=arc-20160816; b=QaMhcVkP2QWf5qbtyG4YMF/igYqQnHjntiwtrUnqpGZusxddFjm8xoQi46gEGS/AFY HV6OxC0+k4qKy9rjYzzd9IY7+ZKJ5SKRCGHpqMtur4FXRjRclHlsGMstI/Tdy8fbhrmy 8RPB3lyM0zMiVjuiSFgqda8zeSyhvHfOuaI5Huc+i4u8Lbvz5OsrzmhoMMw+0m/LU5wE ac5pnMnd5JSk4oarDtvOAXWtAbw6YB4vMMuhLRGEty1dboAhzlZKX1b7WaRIRaQDeYbq 7qP8sV/UsZ2aYxvrhlNqzSAmuA7UYKTfIYKNNdE5qHlpS6j+ZFainChiuRXjs5CeCuZJ /Yhw== 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=0kzFHHXluwtuYzuw8MpC8yaBSJ1pXReOou9VaaHZzHBbO6X826iiRdeBTvmqegZVC6 L28SodnPpk+7dg4cZnPDzc8q+DgPTIONHWXXWR02zYy4f03iMo4fF2zdyVa/stsORV4e 0Rp04e79KBv0uRhiZYdfVnJWKdbNLz2DeasJhknBVug3TUGEcYFriWkjfZypwnmqG1jQ Krn8zKemVHR6yh1DIbgYOKScHfMcd/oFnrpzuWbOxmd0OZYow3dU4DxHFNdNCA0gJ3CV jQXu8PB9BmL4WdrcTQq0aQNMTFKZ9n54PXAhmjgfaDOlpBhcR+ulogR85IlZpj9pAQTA Wg2Q== 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 g17si1992642ejm.145.2021.09.08.02.38.54; Wed, 08 Sep 2021 02:39:19 -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 S1350408AbhIHJf1 (ORCPT + 99 others); Wed, 8 Sep 2021 05:35:27 -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: 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 --- 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