From mboxrd@z Thu Jan 1 00:00:00 1970 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 3943ECAC59F for ; Tue, 16 Sep 2025 20:26: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:Reply-To:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To: References:Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version: Subject:Date:From:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=DXhs44zP+zPDOdDL3axzKI0wFvhakvJIM+J7/6dK2os=; b=tP3h9p4Ba/MCl7NBJCys0r78T1 RzBJc5DFGRKZXjY/PJPQadyRUPf1OtB/80tbUL9nyP6MeeLvdFAIoDLJhvOtt+O1sUirqkMNF231q JWGkKcsDehCn/Y3S5gcS3UDiKVmy/8JUNSUXsOOr7KiZyK1MePQnZouJM+LXa7+78qal94E5qsxq7 Lilw3l8hw2jZZZaNmrvuAh/pnmay2xBLA2FbqUKvUK+sFdZqBzKzUBPvbLqzhGa3rtSTNu6byGvv+ 4ZQktEjx3NjqR2k23Bc12AkOiub1KaIwBLvlIszv5e9OU/bhKaMm0kqR1vAF60ssYzcxlr1dSNHqz vbe4YRMw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uycFQ-000000091H2-2tLX; Tue, 16 Sep 2025 20:25:56 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uycEy-000000090lx-2VIf; Tue, 16 Sep 2025 20:25:31 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 1893F44D76; Tue, 16 Sep 2025 20:25:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id C537FC2BCC6; Tue, 16 Sep 2025 20:25:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1758054325; bh=EegadZyE2ka3lqNPNKWfrSgt+VjG3SDvPe99w5hVinc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=TqjJmG2A2cB8ngo4ajZYfJfPMOULRsF5fOoBAUEkiwgNY4F+FZ8BLxj7ewB+GWcz0 nCkyo4BZtNjh80Z1IoBu2Y5ocJGUGVMU0DqkV0nMKQGm/rUmk0yVMrYCbpXue27U6Z oktZfW0Qg1zrv3ndCM3+dY+9U+RyBpYOGU1iRPem8jfqa7hCKxFVY54M9u7h6xheDX dlvUQBNj8nUtlBaTWbIdhOtUBnlxn75aAGQFpCJYHW1BnnxYVFJ++IBJfPRvxLvGs+ IfmyJ/v9X67Ke2B79rvjVMcyoDKN1kp8N61hTJOC+szpM94zN1FmGX11jZSi+GODFL xEU2XYSFcDWKg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B989BCAC59F; Tue, 16 Sep 2025 20:25:25 +0000 (UTC) From: Dang Huynh via B4 Relay Date: Wed, 17 Sep 2025 03:25:11 +0700 Subject: [PATCH 14/25] dt-bindings: power: reset: Add RDA Micro Modem Reset MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20250917-rda8810pl-drivers-v1-14-9ca9184ca977@mainlining.org> References: <20250917-rda8810pl-drivers-v1-0-9ca9184ca977@mainlining.org> In-Reply-To: <20250917-rda8810pl-drivers-v1-0-9ca9184ca977@mainlining.org> To: Manivannan Sadhasivam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Bartosz Golaszewski , Alexandre Belloni , Michael Turquette , Stephen Boyd , Philipp Zabel , Sebastian Reichel , Vinod Koul , Kees Cook , "Gustavo A. R. Silva" , Ulf Hansson Cc: linux-arm-kernel@lists.infradead.org, linux-unisoc@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-rtc@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, dmaengine@vger.kernel.org, linux-hardening@vger.kernel.org, linux-mmc@vger.kernel.org, Dang Huynh X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1758054322; l=1439; i=dang.huynh@mainlining.org; s=20250917; h=from:subject:message-id; bh=Qx3A0YEz2hiOBr1X7Hx7B2Yur/VncHTnIWLD5/fTYjI=; b=ZgRTCdZsa4zMPNeOMmGFLo6ICngX1GwmdnktW4A702PqmzxT6psP5W8kdNHEKlVW88+WFP8Gv ElMMuGq68W5A4Nx++rKEmZFCTm3eK1x3SrQ1TYSmUBZhC4BLDLaBhGC X-Developer-Key: i=dang.huynh@mainlining.org; a=ed25519; pk=RyzH4CL4YU/ItXYUurA51EVBidfx4lIy8/E4EKRJCUk= X-Endpoint-Received: by B4 Relay for dang.huynh@mainlining.org/20250917 with auth_id=526 X-Original-From: Dang Huynh X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250916_132528_793319_8D90B1A1 X-CRM114-Status: GOOD ( 12.10 ) 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: , Reply-To: dang.huynh@mainlining.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Dang Huynh Add documentation describing the RDA Micro modem reset controller Signed-off-by: Dang Huynh --- .../bindings/power/reset/rda,md-reset.yaml | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/Documentation/devicetree/bindings/power/reset/rda,md-reset.yaml b/Documentation/devicetree/bindings/power/reset/rda,md-reset.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6d09bc8ee6b257aec9d2c4738d285490044003ea --- /dev/null +++ b/Documentation/devicetree/bindings/power/reset/rda,md-reset.yaml @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/reset/rda,md-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: RDA Micro Modem Reset + +maintainers: + - Dang Huynh + +description: + The modem has a reset register that can be used to fully reset the board. + + To do that, a magic value needs to be written to unprotect the register, + then the soft reset register can be used. + +properties: + compatible: + const: rda,md-reset + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + reset-controller@1a00000 { + compatible = "rda,md-reset"; + reg = <0x1a00000 0x4>; + }; -- 2.51.0