From patchwork Fri Jan 13 17:32:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bastian Krause X-Patchwork-Id: 13101424 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 9821BC54EBD for ; Fri, 13 Jan 2023 17:39:04 +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=3YIlfvluLK3e1YasT/P7CsswyFDd+13j2StZvS79egw=; b=WSGQg28DegCB+K 9xgYXoTlDoqMjWQmnUkndqnUPO+zy/IuqjL6tpQ2Oyhqpi1hYmr6ZCqUTFMo8r3aK2QFF0A9hxE9/ Vds/e1LBfWrR7awvYEH+05yf+2J1A/JBpqIMiMb9z9bKTyjgAo1+zNRIJwu+OdN7KVW8yahLL5hLi CtW6q4RBE+4MDeIcLjfr+iLUViWdyqAOjd3v500rWdkeCECF93k3A967rXiWWr905Cy0dts2DIm0s EIov2SCr1wxug+xhvUEw215PNjM2GhezVCzfWJoS/ZnDYI1mSgopBli/dlU27V7z/LUPOKkdu22As 3KKTtHglodhhU4hYQpyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGNzv-003p2Y-7q; Fri, 13 Jan 2023 17:37:48 +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-003mTd-5y 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 1pGNua-0002gm-TM; Fri, 13 Jan 2023 18:32:16 +0100 From: Bastian Krause Date: Fri, 13 Jan 2023 18:32:09 +0100 Subject: [PATCH 1/2] dt-bindings: reset: imx-src: add syscon and simple-mfd compatibles MIME-Version: 1.0 Message-Id: <20230113-syscon-child-mfd-v1-1-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_278669_09D3E29B X-CRM114-Status: GOOD ( 11.45 ) 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 This allows passing the reboot mode from the OS to the bootloader via the syscon-reboot-mode binding. Add a "simple-mfd" to support probing such a child node. The actual reboot mode node could then be defined in a board device-tree or fixed up by the bootloader. Suggested-by: Ahmad Fatoum Signed-off-by: Bastian Krause --- Documentation/devicetree/bindings/reset/fsl,imx-src.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/reset/fsl,imx-src.yaml b/Documentation/devicetree/bindings/reset/fsl,imx-src.yaml index b11ac533f914c..9ec734e14e9f5 100644 --- a/Documentation/devicetree/bindings/reset/fsl,imx-src.yaml +++ b/Documentation/devicetree/bindings/reset/fsl,imx-src.yaml @@ -38,6 +38,8 @@ properties: - items: - const: "fsl,imx6q-src" - const: "fsl,imx51-src" + - const: "syscon" + - const: "simple-mfd" - items: - const: "fsl,imx6sx-src" - const: "fsl,imx51-src"