From patchwork Fri Jan 13 17:32:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bastian Krause X-Patchwork-Id: 13101426 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 298F3C3DA78 for ; Fri, 13 Jan 2023 17:40:39 +0000 (UTC) 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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wOawZY50V00MQBWAFjXYYbE03tnyencgj36ity8HIPQ=; b=KaYd6qudcwMqgq l46Z3Y1boUMj3j8lz40Edc4xKEjD1K5Rqq85oZlPBFBB8yc6jTWge1x544o7RFdhg9CQnIeaZ5Yv+ vyQBCHIpgBKw37rme1F1IRAGnYjObnuGtt+hIU04Z8+7YMPEh/nAPe5Hq1/j2xOkPa+GG2+PzJw8p Akw6zNtmmntHAmGKYiAeZRUp91U9VQstE+FQLyT5pSyYfAVSjYaPM2PKvfPZOEWPs+vdejsYKq6Y1 QT0WYda3F9adlJZgZ2w67EoLw9BMIWtNPSSfOPsddqOQZ8UYs/Vj6Ig6cthoZPNx+Oc//zdIgB3JR 0QszAKllMflXFYf5GMRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGO1e-003pq7-EL; Fri, 13 Jan 2023 17:39:35 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGNun-003mTs-AC for linux-arm-kernel@lists.infradead.org; Fri, 13 Jan 2023 17:32:33 +0000 Received: from dude04.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::ac]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1pGNub-0002gm-DC; Fri, 13 Jan 2023 18:32:17 +0100 From: Bastian Krause Date: Fri, 13 Jan 2023 18:32:10 +0100 Subject: [PATCH 2/2] ARM: dts: imx6qdl: support child mfd cells for the reset controller MIME-Version: 1.0 Message-Id: <20230113-syscon-child-mfd-v1-2-0dd31b7de373@pengutronix.de> References: <20230113-syscon-child-mfd-v1-0-0dd31b7de373@pengutronix.de> In-Reply-To: <20230113-syscon-child-mfd-v1-0-0dd31b7de373@pengutronix.de> To: Philipp Zabel , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ahmad Fatoum , Bastian Krause X-Mailer: b4 0.11.2 X-SA-Exim-Connect-IP: 2a0a:edc0:0:1101:1d::ac X-SA-Exim-Mail-From: bst@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230113_093229_442116_9AB31D50 X-CRM114-Status: GOOD ( 12.22 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The actual syscon-reboot-mode child node can be added by a board device-tree or fixed up by the bootloader. For the child node to be probed, the compatible needs to include simple-mfd. The binding now specifies this, so have the SoC dtsi adhere to it. Suggested-by: Ahmad Fatoum Signed-off-by: Bastian Krause --- arch/arm/boot/dts/imx6qdl.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index ff1e0173b39be..b16be39458aa6 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -865,7 +865,8 @@ epit2: epit@20d4000 { /* EPIT2 */ }; src: reset-controller@20d8000 { - compatible = "fsl,imx6q-src", "fsl,imx51-src"; + compatible = "fsl,imx6q-src", "fsl,imx51-src", + "syscon", "simple-mfd"; reg = <0x020d8000 0x4000>; interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>, <0 96 IRQ_TYPE_LEVEL_HIGH>;