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 BFE79E9905D for ; Fri, 10 Apr 2026 10:00:41 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=W1g0mccr3dFh1eqR7WwQFrc4d+p8vb2CsUfIX2TS348=; b=Iqdo1jbs+VpaS+ auTOe5mqF8umZfWcLxeOMagvS43zOZ6Jvw0LJownntzRJ3HRcu8NmOfUK/LnejsXU6goImf2AHkQz kqiuRxiXXE4JS550j5ioimKMkJCft8AfDpTB6R8TuhXhOtEgOz0zlupg/HzU86i6zOt3lZJOU66Cb 0hU8R6DcaAONbT/4HvZ1S+ISZT/Qaaq3iSYmy2CrrNo4lUpfv/86q+s9PJn1GXnGUIjS6My3AC7aj iLHyO6uyAkepUurZjn8V7oJWrHBNXwJho59UniGpAcmjIr97Alv+toMZOKTgqmsRhLHgG+VrNsgnt 4hKcqJM8mBtkYeUAlaEQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wB8fB-0000000Bxhy-3baG; Fri, 10 Apr 2026 10:00:33 +0000 Received: from mail-m155101.qiye.163.com ([101.71.155.101]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1wB8f8-0000000Bxgf-46bF for linux-riscv@lists.infradead.org; Fri, 10 Apr 2026 10:00:32 +0000 Received: from Vostro-3710.lan (unknown [116.25.94.53]) by smtp.qiye.163.com (Hmail) with ESMTP id 3a3f23e96; Fri, 10 Apr 2026 18:00:18 +0800 (GMT+08:00) From: Chukun Pan To: Yixun Lan Cc: Rob Herring , Paul Walmsley , Alexandre Ghiti , Albert Ou , Palmer Dabbelt , Conor Dooley , Krzysztof Kozlowski , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, spacemit@lists.linux.dev, Chukun Pan Subject: [PATCH v3 1/2] riscv: dts: spacemit: add fixed regulators for OrangePi R2S Date: Fri, 10 Apr 2026 18:00:09 +0800 Message-Id: <20260410100010.1197804-2-amadeus@jmu.edu.cn> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260410100010.1197804-1-amadeus@jmu.edu.cn> References: <20260410100010.1197804-1-amadeus@jmu.edu.cn> MIME-Version: 1.0 X-HM-Tid: 0a9d76d5d62103a2kunmc24b7d52bd023 X-HM-MType: 10 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWS1ZQUlXWQ8JGhUIEh9ZQVlDQx4aVkNCSx0YT0gfSBpLGlYeHw5VEwETFhoSFy QUDg9ZV1kYEgtZQVlKSk1VSU5VQk9VTkhZV1kWGg8SFR0UWUFZT0tIVUpLSUJDQ0xVSktLVUtZBg ++ X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260410_030031_194932_F127BB1A X-CRM114-Status: UNSURE ( 6.65 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Define the power input and the 4V power as fixed regulator supplies. Signed-off-by: Chukun Pan --- .../boot/dts/spacemit/k1-orangepi-r2s.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts b/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts index de75f6aac740..409a6db269ae 100644 --- a/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts +++ b/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts @@ -21,6 +21,25 @@ aliases { chosen { stdout-path = "serial0"; }; + + vcc_5v0: regulator-vcc-5v0 { + compatible = "regulator-fixed"; + regulator-name = "vcc_5v0"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + }; + + vcc4v0: regulator-vcc4v0 { + compatible = "regulator-fixed"; + regulator-name = "vcc4v0"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <4000000>; + regulator-max-microvolt = <4000000>; + vin-supply = <&vcc_5v0>; + }; }; &emmc { -- 2.34.1 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv