From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0B5FDC48BD1 for ; Thu, 10 Jun 2021 17:07:11 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D1D01613C9 for ; Thu, 10 Jun 2021 17:07:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D1D01613C9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=S1ge6Ze2WnaPwiq8PHhQczuBswvchnWZaL9vxghKC/w=; b=yl0djdd2vVVG0l YLrllslWsNU9Irj5ZGplM5eZ7HnfCm5E0lRbU6pPGe0qS/R9bUp5FZW1vDIwtJFX2jkj4vekJAdrB I8gV1BoTM/RirW0WWddDcwu9fg7BKS6jyCi40poMHi1rttnCNVAkhHj2iYBoFK0pxHJbB/fu0SQrY THL+Dh9MFqHWl15iOUraNfjyCMmj+L40gpmlF6OnSQudRN2hcNjpX7J7xVudVhEhRPxi2hjqiYNSt pVJCn4nX7Xn2qICecail04HpCRHSC2l92eU/c1M8GpdCUaKmxqfiH0KP8tFa3n2ABoL93doNmuP/A dk7dcsEXxUik3zD7wuWw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lrO7R-001sRM-Ro; Thu, 10 Jun 2021 17:05:26 +0000 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lrO7G-001sPK-3a for linux-arm-kernel@lists.infradead.org; Thu, 10 Jun 2021 17:05:15 +0000 Received: by mail-pj1-x1034.google.com with SMTP id mp5-20020a17090b1905b029016dd057935fso4118644pjb.5 for ; Thu, 10 Jun 2021 10:05:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=zsuHs8q2OPqCHBMokULd2KXAu5PDhngkMlqiRUWGhEQ=; b=F2TUxQY2snWw8ctmSasL8n8yd1F/8VJkGWADtJezydVUh0feZ2ggQESqkLle9qp1HM HvmpS7ERNGH6v5vjMBIcnp6UatHp8sjOPLrasDOQJo9y4hUB9QC6h290zuTr/sq6mRmA zFdQpBJ8yEny9GV6JXukn1KXu3DE12KljL1elMAFh2aaDATN/+ie62uhTdb+pLrZwaC9 gOz2ELUAr9QT5ixrEFveLybjpjZcKoUEKXp0k7MamWMLH4B5Dm8HtVfqRpCzM/Tb/qXg opEp6Gc5PFhHZyvPztLLkM/+vwrJJqeW5AFCwjiIl6S6N+xz2VAPdJlBet0cFlIP3kEK FMBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=zsuHs8q2OPqCHBMokULd2KXAu5PDhngkMlqiRUWGhEQ=; b=T4f6cdVFtUhs/3G/FITSwOjTeLFZTPRpDkcPlh5HU6LSygNsIVS56czxxuuL8sbQNq CaewRwMmLpPiHaeWger+Em9iGcnZTzBom/dkdENqvZx6JxGmai+oREoWnJQgui3nHXgn Z+ySPw4KOkdaG04ro5V4Ol3ZypdXNimGFR6cqiJhwDv29C7vVzDUH4/hkYqkE30EFRNs QdVnESa0RxajBrz6QQeJPXKLbso2T8VzITlTPkFh96atmZAOUUqQbang2Kh28nXOXUeg p/Vn7w30GL35eVZt4NDeH+B9blcw1OWsgk1gpbe9e3367zJWGauZ7VM+BXVmhaH/v9mG f9Fw== X-Gm-Message-State: AOAM532t5yUX/I0y85StpviVB4EZZEy2AbAX1HT2TI8TTtrJ2A3/NKAn uCO9ccouxnak9+2JO0o4tIvd0A== X-Google-Smtp-Source: ABdhPJxjWwnJbs8N7HYKTbnCv8+sVi6XLob6NDA40U/LIZlS7d/nvHV2Ol/uuIWQ9gr5lVB8cFcUeg== X-Received: by 2002:a17:902:bc81:b029:ef:3f99:9f76 with SMTP id bb1-20020a170902bc81b02900ef3f999f76mr5901515plb.33.1623344712906; Thu, 10 Jun 2021 10:05:12 -0700 (PDT) Received: from p14s (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id r28sm3077053pgm.53.2021.06.10.10.05.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jun 2021 10:05:11 -0700 (PDT) Date: Thu, 10 Jun 2021 11:05:09 -0600 From: Mathieu Poirier To: "Peng Fan (OSS)" Cc: ohad@wizery.com, bjorn.andersson@linaro.org, o.rempel@pengutronix.de, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-remoteproc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: Re: [PATCH 2/2] remoteproc: imx_rproc: support i.MX8ULP Message-ID: <20210610170509.GE34238@p14s> References: <20210604072311.9186-1-peng.fan@oss.nxp.com> <20210604072311.9186-3-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210604072311.9186-3-peng.fan@oss.nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210610_100514_226253_920A0D56 X-CRM114-Status: GOOD ( 18.99 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Jun 04, 2021 at 03:23:11PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > i.MX8ULP is a new SoC with Ultra low power support, it has a Cortex-M33 > core and two Cortex-A35 cores. We need to add new configuration because > it could not reuse the previous i.MX7/8 configuration. > > i.MX8ULP M33 core is kicked by ROM, it is not under control of A35 core. > So need to mark the method is IMX_RPROC_NONE. > > Signed-off-by: Peng Fan > --- > drivers/remoteproc/imx_rproc.c | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > Reviewed-by: Mathieu Poirier > diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remoteproc/imx_rproc.c > index 7cc0cadea1cc..d88f76f5305e 100644 > --- a/drivers/remoteproc/imx_rproc.c > +++ b/drivers/remoteproc/imx_rproc.c > @@ -172,6 +172,12 @@ static const struct imx_rproc_att imx_rproc_att_imx8mq[] = { > { 0x40000000, 0x40000000, 0x80000000, 0 }, > }; > > +static const struct imx_rproc_att imx_rproc_att_imx8ulp[] = { > + {0x1FFC0000, 0x1FFC0000, 0xC0000, ATT_OWN}, > + {0x21000000, 0x21000000, 0x10000, ATT_OWN}, > + {0x80000000, 0x80000000, 0x60000000, 0} > +}; > + > static const struct imx_rproc_att imx_rproc_att_imx7ulp[] = { > {0x1FFD0000, 0x1FFD0000, 0x30000, ATT_OWN}, > {0x20000000, 0x20000000, 0x10000, ATT_OWN}, > @@ -246,6 +252,12 @@ static const struct imx_rproc_dcfg imx_rproc_cfg_imx8mq = { > .method = IMX_RPROC_MMIO, > }; > > +static const struct imx_rproc_dcfg imx_rproc_cfg_imx8ulp = { > + .att = imx_rproc_att_imx8ulp, > + .att_size = ARRAY_SIZE(imx_rproc_att_imx8ulp), > + .method = IMX_RPROC_NONE, > +}; > + > static const struct imx_rproc_dcfg imx_rproc_cfg_imx7ulp = { > .att = imx_rproc_att_imx7ulp, > .att_size = ARRAY_SIZE(imx_rproc_att_imx7ulp), > @@ -824,6 +836,7 @@ static const struct of_device_id imx_rproc_of_match[] = { > { .compatible = "fsl,imx8mm-cm4", .data = &imx_rproc_cfg_imx8mq }, > { .compatible = "fsl,imx8mn-cm7", .data = &imx_rproc_cfg_imx8mn }, > { .compatible = "fsl,imx8mp-cm7", .data = &imx_rproc_cfg_imx8mn }, > + { .compatible = "fsl,imx8ulp-cm33", .data = &imx_rproc_cfg_imx8ulp }, > {}, > }; > MODULE_DEVICE_TABLE(of, imx_rproc_of_match); > -- > 2.30.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel