Message ID | 1618971622-30539-5-git-send-email-peng.fan@oss.nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=2DKb=JS=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> 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=-16.7 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,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 1705CC433B4 for <linux-arm-kernel@archiver.kernel.org>; Wed, 21 Apr 2021 02:39:05 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 73A7E61413 for <linux-arm-kernel@archiver.kernel.org>; Wed, 21 Apr 2021 02:39:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 73A7E61413 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=oss.nxp.com 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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8/gV841fDEtv8wl+76nW5WdayxlfxVDKwyvlgSMuC1Y=; b=MPo2LRzvFaDIizVVRLI35gy/s msbY7JqXwHBFV1r+p74Q4OGNahn7XZ7zG0vDruBdRpbC7EE/atT52Ul4RUzeRjyTiGKnA1AnW60di gWtFWKjRea51IuzlP6eOy70A5e/xSBGrd9sTh+3z3IE6pblnkrxVUcK+l/Q+3+BwR4YOVtuFfa7X2 NqnryrkYyLseG9F419Xf+VQrGRmLT/XRHtcBT1xyHf0VgrFZEFZ5Umdiru8loh5EhnPFmdo2XJZ6T pbQYb3mtJCfohZDOwQl7hLcCP6Ago8bpBgQa97ezxqnBgHqZDSUpeFxZyG3SX0tpHtiqfXR7sVcr2 d1U49qaAw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lZ2ja-00DUGo-D1; Wed, 21 Apr 2021 02:36:58 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lZ2ir-00DUBW-1S for linux-arm-kernel@desiato.infradead.org; Wed, 21 Apr 2021 02:36:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=MIME-Version:Content-Type:References: In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=5wDT0/duqjnGCPE6YxdFm3Sn4kEIcN4Q2kRMEQCwybk=; b=PnGyPvMgzMnwN8pBEE+MRWUON2 dfY6XvRXIiobh3FYGm/6lK4rHAt2QZhyb0y9t7vRuJOdodKAuoa2N5iR+vAsvKljB6jXLGBpgAxP0 c7l8pIJU6U4qUGqjQh0nU/HNLBiUs/gDHIp+NW0ve9r9D63sSGO6HNBVC5ZNxSb7/Lkyz9E1Rucna W5scgSGKUdzHRZhWu0OtAqFWUaMl1yOHp9Z4wAOWN4hgRT2t1fxuuwboDE7sGetAq+5SmS9mwO0dk c/g/wU2pPU63pvEtRUxaVfG3Vlb8oAmvg8R7xkwgrMhets/ckSbwuISoBaDRWyGzvLrg5j3lAF708 mEynrsAg==; Received: from mail-eopbgr150043.outbound.protection.outlook.com ([40.107.15.43] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lZ2il-00CXrZ-KS for linux-arm-kernel@lists.infradead.org; Wed, 21 Apr 2021 02:36:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BxusbGDBaMbPdyLqYblOwTIE7PEHTplT1cN6YuUi3JQtLAaEKqQn88604vCQJ15OQ2ZSwVWORL3uPX453tXq91fWeh+qo6Lizrz++GHsu6F+5zbQJ96IGqHZeIz88k0sxblOHDd8l2SU+iOkQeNEhQJX4JpfHEy65onyVGhnF4QRocBL/G2ncJ/yjv2BqldVq9ypRzwmemjuTd/Yx2PapPpB95xdLrm+gJv+LXwlaV61L7PzYczhA5ZtzjbjVd3k1OvZ5k72jYBLRiZcjblyKSYNwIwUKLTvXlITAMT0CAkN8g+5w0ayaF7dluaW1tabOQEtgtOru1Bmc5uzJzZl+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5wDT0/duqjnGCPE6YxdFm3Sn4kEIcN4Q2kRMEQCwybk=; b=ie9CAKqJ5cXrrByFfiseh3H10a9fqta1PVCfs80tWWX45OjijoLH/ZX/Kk7/E7PzV5zfBBqUXdLKU93+YKC8Szo1KGVAoCotAGCHWlWwJJhrD1k6BKjoOCTC5b6ZKsD3mm42+d2yhjiSfIqmdkDX13YCkKb143lQVfTA7kIp/a365Kdfbq56egbm+HTdnoQZ/L7IGyBZ+TlxX4Q1sp4Fma8z04iHkNnCoV06J8kg8f6tJRbuQvwWqL3Bf5L8LpOx8SnbcKtondCCIscy7ctprIDMitHIty0tMkJ7cTIJz1ANGL2BqhZbMu+WRC9XdWPwKUzPv6ehflcfVvsrByXSJg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5wDT0/duqjnGCPE6YxdFm3Sn4kEIcN4Q2kRMEQCwybk=; b=VEYy+g3B4BjWcdxHicm6wrRqLgkJGgH9eAevWXQN8UYgxOT2pRjEjgxBC7jWNsyD2DRfB42JH9bQnvzSvUfIJlk34J0xH5FXYT2wwYBjFnf5SKFD05addnNrARQnFT7/kIb59DMBqzppCpJyMqtdWrAVMkHdKTQwsfGURGFWB6k= Authentication-Results: wizery.com; dkim=none (message not signed) header.d=none;wizery.com; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB9PR04MB8313.eurprd04.prod.outlook.com (2603:10a6:10:241::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.19; Wed, 21 Apr 2021 02:36:04 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::45b9:c993:87ec:9a64]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::45b9:c993:87ec:9a64%8]) with mapi id 15.20.4042.020; Wed, 21 Apr 2021 02:36:04 +0000 From: peng.fan@oss.nxp.com To: ohad@wizery.com, bjorn.andersson@linaro.org, mathieu.poirier@linaro.org, o.rempel@pengutronix.de, robh+dt@kernel.org, devicetree@vger.kernel.org Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-remoteproc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan <peng.fan@nxp.com> Subject: [PATCH V5 4/8] remoteproc: imx_rproc: parse fsl,auto-boot Date: Wed, 21 Apr 2021 10:20:18 +0800 Message-Id: <1618971622-30539-5-git-send-email-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1618971622-30539-1-git-send-email-peng.fan@oss.nxp.com> References: <1618971622-30539-1-git-send-email-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK2PR02CA0204.apcprd02.prod.outlook.com (2603:1096:201:20::16) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by HK2PR02CA0204.apcprd02.prod.outlook.com (2603:1096:201:20::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.4065.20 via Frontend Transport; Wed, 21 Apr 2021 02:35:59 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: df599238-1655-4ef0-42a0-08d9046e354d X-MS-TrafficTypeDiagnostic: DB9PR04MB8313: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <DB9PR04MB8313E3988F7DD4425DC7E7DCC9479@DB9PR04MB8313.eurprd04.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:1775; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: u5SnXG/UBcvuoVi8tSNFlkkhLG3mEXozCiJbgPBp0GKlImsi7wJ/c/PKJqfur+epiiunrm9MkS7CaJB8mWYu+HpJrQC2VgjyjYWJQM0KQ29P7twTHgw6aAbaliUvkysQFMoQvFaapNvVw6d2YskaVUT5v3tbopBj5Gq6PKArhrs6jA+D3+2pOgvQly1tZ48TIG6bkT2kFt071+ftxRk1g1FbVAqPgAolQldlH53NGYk4CqTo9LuOppNlZxY2uYJBZwM2j/dSpkmyFTG6lAwXrWNz2NyFY4FQpmrwFJ+ALHgnbWjdIUJE+c3cL3j2q3mqK1pGjFBxM9zaf3qr8FIT6kXq1AnDrZ2UgWwnw52w/aJpKtJStr+6h1WJ3WylhQ/Gjwd5jvV5uzTNMd9+zgzLqzYrMQ1CHRRFgWsIFv/qFVaJKTqYkX1aXBiOcT+i4KP4CJfJPpOrzAglsVMg48fMZu8UzquZuhVc6oVVtpo4PhunxGJQRYdvOlhA15TX/xPDmF6vu/G4Bo0KEtOCfnnwMC33X4AxpTWAExHzJ1W1WHlIET/PyU26AKvpRxeZFVxnTVFtuoi4TYsLzehcGhOD0ynzmJjo1md1yzw+Qit+Je+hiuYFiTA/RJxaWuk3Y/3BnwjMh7Ada+PJI6TUOYLGJhiYUM7E+yQhcF7LfkyiUy5kYqTVKfb9V8G9ZqE4LXUH X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(366004)(136003)(39860400002)(346002)(396003)(38350700002)(26005)(186003)(38100700002)(66556008)(52116002)(5660300002)(956004)(4326008)(8676002)(66946007)(4744005)(8936002)(316002)(86362001)(6666004)(66476007)(7416002)(6506007)(6512007)(2906002)(9686003)(478600001)(2616005)(16526019)(6486002)(69590400013); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: cI1SKCqrBjLsTHtc/PkFUwcA3KVRB/ZcFAOhh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hvgp2YYop/K2PMK0Z+YE+KOzVc+PKphfPZEPIWco+4HKl0rn2aPrMbWkIniifbJ5RtYcS49cEUv1ix57WhT90NnsSBvRuCGmtFANDt9fp5JAcvLInPqthdAGQC+Z2SsL8EFCqjJm2E8KxU2wCVMzzO8eIlto5MlMYRt68dRYi52Ii7js1j39yH38wnNiWJ1gsDUGYGCrkeIjVF6XajXXBb8OCczZ8evp8LU X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: df599238-1655-4ef0-42a0-08d9046e354d X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Apr 2021 02:36:04.0333 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: jHBIXLncT9BImjxyH61BCE9Gs/66DIuas2bofup4huC1PTYl7jTm7iwO9y+6GYUA4hkJW3W9AgK5eio88jhgpg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8313 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210420_193607_694139_9ACED02A X-CRM114-Status: GOOD ( 11.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
remoteproc: imx_rproc: support i.MX7ULP/8MN/8MP
|
expand
|
diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remoteproc/imx_rproc.c index d6338872c6db..06dac92e98e6 100644 --- a/drivers/remoteproc/imx_rproc.c +++ b/drivers/remoteproc/imx_rproc.c @@ -654,6 +654,9 @@ static int imx_rproc_probe(struct platform_device *pdev) INIT_WORK(&priv->rproc_work, imx_rproc_vq_work); + if (rproc->state != RPROC_DETACHED) + rproc->auto_boot = of_property_read_bool(np, "fsl,auto-boot"); + ret = rproc_add(rproc); if (ret) { dev_err(dev, "rproc_add failed\n");