Message ID | 1618971622-30539-5-git-send-email-peng.fan@oss.nxp.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp906102jao; Tue, 20 Apr 2021 19:36:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwglAoLFAUr5XvF6NJGLJ/K79OkyoOhH09P0wV8lTvHe/XXZr9xqdwWRtMmxhgYhszMAiB/ X-Received: by 2002:aa7:cfd3:: with SMTP id r19mr14690886edy.317.1618972581654; Tue, 20 Apr 2021 19:36:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1618972581; cv=pass; d=google.com; s=arc-20160816; b=Ma1ClBMgC27kMYWFIw70X5zvG4EPxRi6jTQPVnuabzJTom9ncnHPzQRHHPfeGiNysX uK3lMxu7diRN7x4uzZgi2YsyJ977h6uz73tNozcsv64YEXwCNOQ2OsHcQrsMMjNqF5xK Hq6zJwobDxrJp+QrZeu1lt2LNaI5iCKGhI28v/YryUS7C32V4sILH5hJn2vjU5fKTFE1 oKXyaNLMakpAmUgiGOGAOCQu5SzIdX/SjEFwbhAEFMMeU9Vvgwzt398zTssqZ/xZRvY0 UfOVqj0hq2Bo84tOjdxIKNd5JS63i6EeVE1z9tnp3m2X+VcnI/3GtDKCOoDw/9NKGf37 S9rg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=5wDT0/duqjnGCPE6YxdFm3Sn4kEIcN4Q2kRMEQCwybk=; b=FiJ7yWhQuzXcEEaM595mT4FnxzdzWjmaXuAMIvu/JlPey1FytFDiC1QwvQQCfXDZTe enrITw87ckVgEN/zHcPalc0y7fguYgUjEY6BcfZ2EWvDY9PThkcqgnMyFWyjsAc8lpof dp9kOAVITMh50q/5+UeoTuFkepfKSE9rXx2p2yAg2evI2etHzSUt7bB4alFrJH/DAo/v y8ubpP/Mfek5YF6V4DB+4SWfIVZt9lFdBCvzgtGqY0oO49e9GaeNKqLUb0M72u58gK1e rEw1+rXruRQrnF6Ud4kPUprofA0LnlWp25C9TxA8N8K4CVps1RLjAXXp3l8swb/N6d0K n3jg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=VEYy+g3B; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: <devicetree-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x16si756747edd.387.2021.04.20.19.36.21; Tue, 20 Apr 2021 19:36:21 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=VEYy+g3B; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S234695AbhDUCgi (ORCPT <rfc822;semen.protsenko@linaro.org> + 6 others); Tue, 20 Apr 2021 22:36:38 -0400 Received: from mail-eopbgr150070.outbound.protection.outlook.com ([40.107.15.70]:27812 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S234706AbhDUCgi (ORCPT <rfc822;devicetree@vger.kernel.org>); Tue, 20 Apr 2021 22:36:38 -0400 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> Content-Type: text/plain 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/ZcFAOhhUHKr2eFbrqfxNHpV7J/htWR7qywtWwX4wvsH5o9wgATGh7IFk4AMZNQXPV/n9lA/s9mLNKIKe1j5QFVtGs4oZX8JrSepo48b2cs1pzZ/I6TkS3QtkLm6HMVJoXvjUWg5vrQVS8W88t/oFSf1GcLAnscjh/QFMy1XqRclYWaWr/XIgT5uzuLIrhlUrb5N4t2blLDZWtid2NfSZR61T4rdxHyG+dQYHlR7wQ07be0zlvobU/lEbW7p/qVRUBwntWC9/iwRg63s8jgxZxZ4yZzwnbjZpsALFFIf2/s0WOq0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-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 Precedence: bulk List-ID: <devicetree.vger.kernel.org> X-Mailing-List: devicetree@vger.kernel.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");