From patchwork Thu Jul 30 06:46:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 11692391 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3494B722 for ; Thu, 30 Jul 2020 06:52:40 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 0D6AD20656 for ; Thu, 30 Jul 2020 06:52:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="D10/N6Gn"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="EY/rMHh3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0D6AD20656 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=nK9SF/gWsSfwklkH4RuDp+x9VgWu+N3kmMGoy4+b60s=; b=D10/N6GnUnYabeLX5gvhM92249 TLt2VyECNU4p5dfMo2Wb/AGRwWE8N0bViKySPkLuOHtMTjGOHUqxo1Z4TxboEQlf8uZe1wciOZ7an 8/u0tBP1AvEjexnOrObSSn1cAQtfXK9gH2VzNoKG80Hv1YNWAzkwwabcZrRklaa1B7pLlfJdjgsnQ dPz/1qjnYLY0owKwWQu0aGwqBcJEaXX7aQs/Sjb8GN0SVrqhQAgpCZimypxxxS87Kb9E/hQn882UL dHsWI3qrJ6u7oCSkRlPj0JRNLnUxa42gRDgI8eESma4nLd9ODdXtedoM1ishidGi4RhRKNnghlfGW +U6XFcyQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k12P3-000444-5O; Thu, 30 Jul 2020 06:50:57 +0000 Received: from mail-eopbgr140084.outbound.protection.outlook.com ([40.107.14.84] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k12Oz-00043K-7B for linux-arm-kernel@lists.infradead.org; Thu, 30 Jul 2020 06:50:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L0ALxpUEKvvVeqogRGlJMVP1/L+3CSY5kb1DtJ1ucDsEscXxFj3QtowW+/Z4vtREv7N4JzGhYOE7g634/0djfXDKfJDANf62Zr/iZOCuNltGHO4J295ahPVtk07gagMEW5LcAotkvWd7ZvghzbzEBlEYbYv7T2S47g974Ktg+he4CaTUj4KfTP7ZBVd9wEiAlOjw+n+Nf+hgytTvjtddhns7Gd3XtXbIkwl6uQ87NcNrf0AEsGznXc18cfANgbu5aElP9AyK9AfFfpQCOle/1PgcgaHXzIzvz/IiLpEoe/0RH1kc+aOLcJfs834fY45rCS1DZ98Mvd6E3aeyclLdOg== 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=nJimGzboT3ZBqvfv9IAt5pbzgthPf2mpbIaSmm96tOc=; b=UooP2oeGAnk0k5zGdKjEyUm9cp7+U2Zhqqw4TCcTMqLI1oR5/PkxIA1EmJJ2rDPjn6kdtv3GdR+HvF/KsdPGwHnsyFx+cFCQgH/TsQK3S+mO44MuVlLp0M1B5lyB+K1974wm7tk71eT2Pn9aQgdtteXhIWWidYf3ZtHplE+UX2BwGc8l5LPgkY4Yr8ez/L1Q7MhgNp+FpUwDq1xAwKb/faebCHVXJoN50pYlndVpmJpTe48Tzl4W/FuxYhqtf6ooWFA1yazJotUm0b5FMhZhOmJE8dztdcEBGVW9kQDNUuFAtLYnllvyQyjYst2aDWw8BF/SZ+sHsAs0e3AY0gKWuw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nJimGzboT3ZBqvfv9IAt5pbzgthPf2mpbIaSmm96tOc=; b=EY/rMHh3wKlvWb3IWw45IA7WioQSFa+o93sZjH2ag7+f9TGIIRtKt7R0KUwvO6Rbacwq/G47R9/nu/+tmzUdKiNyPtvP+YKqCgEkJDochnJqSbZHAO+3s8PxyXpj7+lg+mQ89jtgb+CUY5IXAm75O3qitvEjaMXcdfuYhRjxqmU= Authentication-Results: pengutronix.de; dkim=none (message not signed) header.d=none;pengutronix.de; dmarc=none action=none header.from=nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB8PR04MB5803.eurprd04.prod.outlook.com (2603:10a6:10:a9::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.17; Thu, 30 Jul 2020 06:50:49 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::2d36:b569:17c:7701]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::2d36:b569:17c:7701%4]) with mapi id 15.20.3216.033; Thu, 30 Jul 2020 06:50:49 +0000 From: peng.fan@nxp.com To: p.zabel@pengutronix.de, shawnguo@kernel.org, s.hauer@pengutronix.de, robh+dt@kernel.org Subject: [PATCH 1/2] dt-bindings: reset: imx8mq: add m4 reset Date: Thu, 30 Jul 2020 14:46:08 +0800 Message-Id: <1596091569-10013-1-git-send-email-peng.fan@nxp.com> X-Mailer: git-send-email 2.7.4 X-ClientProxiedBy: SG2PR01CA0142.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::22) 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.67) by SG2PR01CA0142.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3239.16 via Frontend Transport; Thu, 30 Jul 2020 06:50:45 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [119.31.174.67] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: a527bdd9-2761-422f-a1ae-08d83454e46f X-MS-TrafficTypeDiagnostic: DB8PR04MB5803: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:632; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vpeAjbv9QS5v1OxXXBphC3mZaRnZqeBcAh4jThmUOVGpFYYLIROB+/E5/SrpwfJw38IBssiW1RHr8ZS1C2JQckahlwt941a+sqdELB4WzsB1enHxs4YdBm89sjs9xDETxoP/I8LnHLFE2PhgsRj9DI1SBswPF/aecKUVKgAN+0IKhptSG5lpVNmHPTpBA6TDmsIWKaDAfv5fOxVjJWdZofnA/dzZqLJerw4ebvEClWWO2xCjiZbZlBkFg3HyauWbN3iUtVgm9qH9TR6xlAie8EQPr4P/kteXrVfNh3JaAdexYQeHOJDon6Sw1vZMaZeBJOW328A9Fk4xBAkwTGtipYmVTiRM5sBIVFi306/gPDo7DoiNH+eDhq5O+F+IIB06JpSBVGcNH62IUy7sJCYZ1g== 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; SFTY:; SFS:(4636009)(396003)(376002)(39860400002)(366004)(136003)(346002)(6512007)(9686003)(36756003)(6666004)(316002)(83380400001)(4326008)(86362001)(52116002)(69590400007)(6486002)(2906002)(8676002)(16526019)(66946007)(66556008)(66476007)(478600001)(186003)(6506007)(2616005)(4744005)(26005)(8936002)(5660300002)(956004)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: gjWzw2RNsRaNon2EKNF53eVlJvVITAbLQbepj4R6k4KYbSFYzXdS3uTCEfR83pBVRFZq+haES0d3vvr6wqEQzMRbdKJ/rbHJvJ51kkXBXvrHKHZWPLKE29lcQGCaPkAdxZypDxfOgVlwOO2oPylo2LMl5gF15xUpymB0Q1+QHiGKDIljbyLJbIsEJxc2Bqic8zXVvfggVud+FzcXOfe01tGjKWnrPAJy+IeBUMWrr3ENKFcO5Il/WD+Oxlj+Okb3GUfYjKmRW+gXy4gX6F71lfsiVUNN+Ro7NqLi6qq7nWpEZ2pV0n8CkaKHtuTIKJZNynoMM40Ju4YLMfPF3L8P1rDu9iOkNhnS33L5jPULH4pmxVHZChSy42JmiqCi5T3+zX8KRj3GMwTBVig+6cfPTdxAVuz+TbpkqxEbIuQ7woUXpyepdiz/B7FeFQiUeF5JgZDgPoaHeX63USbiwtDRuxxfTOFfjcvbnn9GbCeJwYPCWeOrF4OLIKKsNabBO+XWSeX6Ne2YbHzZt8Orjra0c0AeQuyOkXFSrVHq3sxNQi59fhPRuX1OgA2OqeANkN/igGAX8fCZewb+mTabyNPc3t+AHDjFRVHcBWtF/27yWFkbLi+z9iFZ8n/o1X96235uW/RazALPKZ3Ip0cEekkjng== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a527bdd9-2761-422f-a1ae-08d83454e46f X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jul 2020 06:50:49.0861 (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: o8Y564FXZiUZaj87g7hj09mcxkfOQoyj0DzIIfyy50op07wbTzQo5cgLXdFPkBWYI0D/Wy+tYhddaWdwbzmqrg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB5803 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200730_025053_277247_24D98BF3 X-CRM114-Status: GOOD ( 11.51 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [40.107.14.84 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.14.84 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Peng Fan , linux-kernel@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, festevam@gmail.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Peng Fan Add the m4 reset used by the remoteproc driver Signed-off-by: Peng Fan Acked-by: Rob Herring --- include/dt-bindings/reset/imx8mq-reset.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/reset/imx8mq-reset.h b/include/dt-bindings/reset/imx8mq-reset.h index a5b570737582..705870693ec2 100644 --- a/include/dt-bindings/reset/imx8mq-reset.h +++ b/include/dt-bindings/reset/imx8mq-reset.h @@ -58,7 +58,10 @@ #define IMX8MQ_RESET_DDRC2_PRST 47 /* i.MX8MM/i.MX8MN does NOT support */ #define IMX8MQ_RESET_DDRC2_CORE_RESET 48 /* i.MX8MM/i.MX8MN does NOT support */ #define IMX8MQ_RESET_DDRC2_PHY_RESET 49 /* i.MX8MM/i.MX8MN does NOT support */ +#define IMX8MQ_RESET_SW_M4C_RST 50 +#define IMX8MQ_RESET_SW_M4P_RST 51 +#define IMX8MQ_RESET_M4_ENABLE 52 -#define IMX8MQ_RESET_NUM 50 +#define IMX8MQ_RESET_NUM 53 #endif From patchwork Thu Jul 30 06:46:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 11692389 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F207E722 for ; Thu, 30 Jul 2020 06:52:38 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 CA9C020656 for ; Thu, 30 Jul 2020 06:52:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="07FGey7N"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="R+Xlxa2J" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CA9C020656 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ZEGrNuo7Xq1ac81GkC05zekXo7dwyUq+ldAbnelhxyA=; b=07FGey7NcKQR4b2tm3ILzj9ke Y+VWvI6qAufCEgkHpiEy0t5Mqafb3IYG61Aepnzbyg/5DTTDSAKw1cVpnB2cdRAe+JZSAU8DwUyly CA3glse//1z2hflKVGXSswtR1ODDJODpB0Xix3/Wkv2vjDXW6qnvgNc2KCGcnpTHHhaHS4UVnBt4H Kbm2qDfAFDccI5BWbfNtH4xKHvLnXMVAuJlSaSi4y64Qc+3lkil5HYy3NiG5lUd+a5HcInrE6iEHy JmCxuVt8Ufg2+4Fh+H+bmEZjw+XUQ42TeKWVK7GJRbvftKDhGtTJBKOdUyDq60ZfNqAryLoF5gTY8 7r3PM1JZA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k12P7-00044k-Fy; Thu, 30 Jul 2020 06:51:01 +0000 Received: from mail-eopbgr130078.outbound.protection.outlook.com ([40.107.13.78] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k12P4-00043y-Dr for linux-arm-kernel@lists.infradead.org; Thu, 30 Jul 2020 06:50:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gJ8Der8LjxU5Gr4cFHZQsNPDHhHx54oUgZZcWamC63CqZC4/6KXLfHVMad86SF81rpRW4lGACVkJk8VIqmB6/7UTDsl0cq6wplhBP9aIP7A85WVfQE43/b/XJbcAjAJR03OSTrBKdpqr/h1tOkdujCEal+LtKDAmbYJmKyuzlPXrc+9FFtWvWrpcvH6d/knKpmEfrAqNPp9TbcPGohGH0iqAPeXoaOAfjg1ccHWqKASLf/1yfcjED9ZdA605BG6voIKYwCmvTZB6F+tmb7//ZdP0nzmf8Q+RckLZNOGx7f77oVtbYO1JZGNcnKNw7gccnjY0U87HUbjQY49NXm0tyQ== 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=48aA6PP/DXWrndQlU6PWZJzfTv0RT+18diEjrEElisA=; b=WNT2ksEMdFmiMo/jzuEe9k8pFsAxmh6Xnf5viaoGZDlHzOSJ8UmkExQqVF9KsMIyco6L3CWBVPtF5ed/QaGfOUltMZHbaSzVz8wtA4KY6uBYdrk8wmdtj/DDYmjmFDkRKzbDJPIkXt1Jf9lmnbt+9sbUs/Nhgzh5ucHQUb3FUtNK4Vmy89OCTFE/NLjT7D3LIZYJ2sGedjqZIKeq4Du8WS4O5h05pwZWTGLpBDQHgSGZh5sNHnOOw0NLfXNF5NaYCpGwPm3dujD4HV5yFjMoDS9fga3/k+9cSe2xvBqppw+B7VrvLQ3h4bDmiDXIPaKHyYPgxfBL0ff2bsgumCGRGg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=48aA6PP/DXWrndQlU6PWZJzfTv0RT+18diEjrEElisA=; b=R+Xlxa2J8URPsnUsu1VxQK+gjB22wGI3FRHe9Y8/nNYtVTUh75Lr6CVx7nYVgLbAEII1AQNCYQi0qDPXCxD5Hf+Yonizta3uzUsIFS1prHEd5Wa6cRRHHEd2FXoSnhD58+d2KUCxoxDC1sxXIiUfsfIdJlIysdE5vMCssD7bmvQ= Authentication-Results: pengutronix.de; dkim=none (message not signed) header.d=none;pengutronix.de; dmarc=none action=none header.from=nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB6PR04MB3015.eurprd04.prod.outlook.com (2603:10a6:6:11::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.28; Thu, 30 Jul 2020 06:50:53 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::2d36:b569:17c:7701]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::2d36:b569:17c:7701%4]) with mapi id 15.20.3216.033; Thu, 30 Jul 2020 06:50:53 +0000 From: peng.fan@nxp.com To: p.zabel@pengutronix.de, shawnguo@kernel.org, s.hauer@pengutronix.de, robh+dt@kernel.org Subject: [PATCH 2/2] reset: imx7: add the cm4 reset for i.MX8MQ Date: Thu, 30 Jul 2020 14:46:09 +0800 Message-Id: <1596091569-10013-2-git-send-email-peng.fan@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1596091569-10013-1-git-send-email-peng.fan@nxp.com> References: <1596091569-10013-1-git-send-email-peng.fan@nxp.com> X-ClientProxiedBy: SG2PR01CA0142.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::22) 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.67) by SG2PR01CA0142.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3239.16 via Frontend Transport; Thu, 30 Jul 2020 06:50:49 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [119.31.174.67] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: dba3b2e5-52f1-46ab-8104-08d83454e6bc X-MS-TrafficTypeDiagnostic: DB6PR04MB3015: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:862; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EJOU0FGjpWHhooSYf3rkgsBmn94LbCZFFCf7eLtrNogLAAVd+uwiMHRmpRq6mQVP4JoZBobIBvaFnYAESYT6IH0BQ95/0PXzohcqn3/mg787asbELBjmgU1hwRNZdmx7Y7pnGJ+bX96SIJfGYh9e2G+K3Mx/HPlLK7NIxhafmGNA/pkC800OKkQQOX2I4fTaY0ADXHfaza0hqmI6K9KM2wgT86P1BKlNqvF1X2QMjpuGa45QJFWE41i+IsnUgrqX1OYgJWA/y47s+VnKxN8B/gT/gcEeLqlq3GgdY1+t6nxL6FaoFBSB2AXUhAElv1NDGLj2k2siqYFghhVT6qO14jkHcFQkavzckO/BJlUnY5suecNjG8XdXOJ/TXFt1Acr 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; SFTY:; SFS:(4636009)(136003)(396003)(366004)(39860400002)(346002)(376002)(9686003)(6512007)(2616005)(16526019)(66946007)(956004)(2906002)(6666004)(66476007)(478600001)(6486002)(186003)(66556008)(86362001)(4326008)(6506007)(36756003)(26005)(69590400007)(52116002)(316002)(8936002)(5660300002)(8676002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: fmnfsCdIllG5ei7++5VQ5UoH//Rc9ECrGifRhJqEDWqjh5rtseMIKltYPmfct+jUlyOdurS1r9rFYCvUC3zcT+gbIhFKYuwRoV2Y2LcDio+c/RpnZ0CPUUttQ9coGb2vVYJPiXbCpa7B54p6KyPUTdCBMqC8U8xPAJoC4KTwU4NLRIXLo7+cyT7x0syf8HJ659H9ScfsAk1r4aaR/L/GJa0gwNsx0XqNXXQLQ/FNI5Oe1IxRec3Zb9lS19Jb32geRzM5QwNAGxjjMxdHxO33gKQZuTwLTXdufpQsw36TB8wONs9i+TSlBIjLvZmnIKtqZSICcazZCvhEbnjpvc4/UjZ25a65AxaWPqHxqQ8h8Us0uQY592rIIPr3mu+oM8J6HCnfoii0NjTvIjOa1QVVII23DF6YLxFyZ0eEwL7IwT/YdGmZyEAnpvuBKqNwOde5o8pFEZU8I1ZnAfXOW86G64pMVVywiZGZHYoz4SYKIPTpWdG2RudRvVuoAiesF7kh X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: dba3b2e5-52f1-46ab-8104-08d83454e6bc X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jul 2020 06:50:52.9604 (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: j+/uydEkMVQ1Gpm2YQxaebtk8Ir2a8/OhrEOYKzR9VB5BjgZ4XyzumMOg8fyDfid+nsFUAIQsr3go/SssOVSKw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR04MB3015 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200730_025058_539397_B9E45143 X-CRM114-Status: GOOD ( 13.83 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [40.107.13.78 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.13.78 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Peng Fan , linux-kernel@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, festevam@gmail.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Peng Fan Add the cm4 reset used by the remoteproc driver Signed-off-by: Peng Fan --- drivers/reset/reset-imx7.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/reset/reset-imx7.c b/drivers/reset/reset-imx7.c index d170fe663210..87b6e2d46fb6 100644 --- a/drivers/reset/reset-imx7.c +++ b/drivers/reset/reset-imx7.c @@ -178,6 +178,9 @@ static const struct imx7_src_signal imx8mq_src_signals[IMX8MQ_RESET_NUM] = { [IMX8MQ_RESET_A53_SOC_DBG_RESET] = { SRC_A53RCR0, BIT(20) }, [IMX8MQ_RESET_A53_L2RESET] = { SRC_A53RCR0, BIT(21) }, [IMX8MQ_RESET_SW_NON_SCLR_M4C_RST] = { SRC_M4RCR, BIT(0) }, + [IMX8MQ_RESET_SW_M4C_RST] = { SRC_M4RCR, BIT(1) }, + [IMX8MQ_RESET_SW_M4P_RST] = { SRC_M4RCR, BIT(2) }, + [IMX8MQ_RESET_M4_ENABLE] = { SRC_M4RCR, BIT(3) }, [IMX8MQ_RESET_OTG1_PHY_RESET] = { SRC_USBOPHY1_RCR, BIT(0) }, [IMX8MQ_RESET_OTG2_PHY_RESET] = { SRC_USBOPHY2_RCR, BIT(0) }, [IMX8MQ_RESET_MIPI_DSI_RESET_BYTE_N] = { SRC_MIPIPHY_RCR, BIT(1) }, @@ -238,6 +241,7 @@ static int imx8mq_reset_set(struct reset_controller_dev *rcdev, case IMX8MQ_RESET_MIPI_DSI_DPI_RESET_N: /* fallthrough */ case IMX8MQ_RESET_MIPI_DSI_RESET_N: /* fallthrough */ case IMX8MQ_RESET_MIPI_DSI_RESET_BYTE_N: /* fallthrough */ + case IMX8MQ_RESET_M4_ENABLE: value = assert ? 0 : bit; break; }