Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1457372pxb; Mon, 11 Oct 2021 06:29:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyruvt+CJQOdMo5dnOQr7R2FTsr57gcV1Ijp9CVaPy+UKjGQqfwWlR++pjxupt4b+JBzpBd X-Received: by 2002:a50:cc03:: with SMTP id m3mr42049388edi.278.1633958975371; Mon, 11 Oct 2021 06:29:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633958975; cv=none; d=google.com; s=arc-20160816; b=Eyhu5mLOlvi7r0j9T84ZRdGQxdWnAz2bIYmsjzP5zeboYLJEImrRwPV9jMornDazsq R70rGmqud4JohCyQwwUAddXAOHWdthDrCQEeIR2vmivFsiBOo7WVNt5ml0/JlFPf+Qby bAkb5Tg4ctkoY0l5Q1VaUL4putSZxHhWF/wO3FF5Hqz/cMjo9dFgMz0ZyrB7KzxNTSwD fcKW+WWI87OJW2kcw0JKVj3rLS15XRVE61l+JJyuG3KdrsPQj8jIULMY6QuasoCydQ+J S16RL53iw7x9RK/zFh598oUWuiJAym+okS8JjFM0L0xsb1wQTtCJDeAO+7HGnC0/5p7S /eHA== 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=EU7YGLGtW8+DFvEcEqXhK5JFfyFitw3xL/l1PWThNxULNhtYyXWOTaFkCByQKyq+XY ILJcKfrV4yz/LuZrfA5QLmcEqdLh4WwMOPyOKrIx/p18COnCXt1YDo1gaEmilJY/dk30 mKy8bPZfTM28Z6UTMNaCcfXuT802WEEdIPO7Krb+2LtielZ1KMo9WwYNPcE97PdoO78+ /+R5JZMywMn8dl3OYbhfrtsU7N57jqIMJ+9JpWRUqStqSfBM/L69H4kio+eDEGSc/cZc ipSANIxnaBfxLVZyWMLzxK4mNWmuRoBnbu+zWBLjz8hz1up9rs9poe1e8w5CBxl7FVgM ts8A== 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 5si11200690eji.566.2021.10.11.06.29.11; Mon, 11 Oct 2021 06:29:35 -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 S235681AbhJKJrK (ORCPT + 99 others); Mon, 11 Oct 2021 05:47:10 -0400 Received: from inva020.nxp.com ([92.121.34.13]:45874 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231370AbhJKJrC (ORCPT ); Mon, 11 Oct 2021 05:47:02 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id BC0511A19FF; Mon, 11 Oct 2021 11:45:01 +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 82C031A19EC; Mon, 11 Oct 2021 11:45:01 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id C1C48183AD26; Mon, 11 Oct 2021 17:44:59 +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 v6 2/4] remoteproc: imx_rproc: Add IMX_RPROC_SCU_API method Date: Mon, 11 Oct 2021 17:20:13 +0800 Message-Id: <1633944015-789-3-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1633944015-789-1-git-send-email-shengjiu.wang@nxp.com> References: <1633944015-789-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