From patchwork Mon Jan 29 08:43:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nam Cao X-Patchwork-Id: 1892126 X-Patchwork-Delegate: uboot@andestech.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=RIh2oFt5; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=LuKnacni; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TNhfX3Byhz23fD for ; Mon, 29 Jan 2024 19:43:48 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5985187CE0; Mon, 29 Jan 2024 09:43:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; secure) header.d=linutronix.de header.i=@linutronix.de header.b="RIh2oFt5"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="LuKnacni"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E681787CE1; Mon, 29 Jan 2024 09:43:26 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A3AE587CCE for ; Mon, 29 Jan 2024 09:43:23 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=namcao@linutronix.de From: Nam Cao DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1706517803; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=R8d99MbAAb9e6Z792/MKRWK97zPxviiA6xBfQdB4Azw=; b=RIh2oFt5SPTGa4YE9UOt1nA7wbnqKb6lQETWhZHRq4ys7//Hon4HIAtmtMf1ZrZ05M0eaY 3+eFIE7lbqgsuOrYROC+5I5JXL1Aaa8f5dINPq6lcMqyU50y/YS+s9Hsbygw2oxV7XX65D A47dt5xcDSDpoHwiDIMf7K1GVFHeRV+m4RvuP3EWO4R85zBOiWh/vxcr8GRYgeB+nPYM/4 FlRXdEa+ApnTEqm6rV8UwNUFFoBfwdqla7LlnfBqTPDaID+Gv+66+zT8YQ2BfwRJJmwdhp wyNJ3D1EK5Jw970wVYYT1l5Zjp/P95g9guz3GMl4zpRrbCHlh2VHx5NRZs3k7Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1706517803; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=R8d99MbAAb9e6Z792/MKRWK97zPxviiA6xBfQdB4Azw=; b=LuKnacnikurnTD1e2QRVvHB+ad4++vOI9jN23owIDFN6z4UUzEFSQRS5a4E4gZMOZDwf5h YVW5Qpez/IJoxyAQ== To: Rick Chen , Leo , Tom Rini , Yanhong Wang , Minda Chen , Torsten Duwe , Nam Cao , Xingyu Wu , Mason Huo , Hal Feng , Chanho Park , u-boot@lists.denx.de Subject: [PATCH v2 2/2] riscv: dts: starfive: add regulator device Date: Mon, 29 Jan 2024 09:43:09 +0100 Message-Id: <47fd2b2225f52a2d5c3a91494ef7b9036e944199.1706517351.git.namcao@linutronix.de> In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Add the axp15060 regulator device. OpenSBI uses this device to perform board reset and shutdown. Signed-off-by: Nam Cao Reviewed-by: Leo Yu-Chi Liang --- v2: "stf,axp15060-regulator" -> "x-powers,axp15060" to match Linux. arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi b/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi index e40f57a150..fe4b3e71ae 100644 --- a/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi +++ b/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi @@ -122,6 +122,11 @@ pinctrl-0 = <&i2c5_pins>; status = "okay"; + pmic@36 { + compatible = "x-powers,axp15060"; + reg = <0x36>; + }; + eeprom@50 { compatible = "atmel,24c04"; reg = <0x50>;