From patchwork Wed Jun 12 03:35:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13694409 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 41916C27C53 for ; Wed, 12 Jun 2024 03:36:42 +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=NSYo8IXHi8dtf9UhSqMC6e1fLqdq3fqr9BaATpr/sxo=; b=DEGZDo37Q/7lvl WhUncty4gz7TKfmrXt9vvFeAJzXqHBxbboSW8OrCWcBVguSa4bolRFAm5W+bUB8N2CXh84wXI6zkP AVfk9xQfKvCn0qAe0Yb9l7TcEr34hWstUQ83Q4Lg5AxElb8IGsvc4TrmICg0WAJrU7K8yRICCE7Xu j0j8uRokAMILzWoGHx5CmbHZwGNFClxCD7pgGK+vE4JAjTFFL6TXgubCI6bXC1xbjTjjXvcNUbWkR lzua1FqzdEpWm1AFaNptXT53BuwjTG6quMxMuZc1t6fFdqXfirKb8hjZQDd6BlltkN+/lTvbUlhNe ocVmjIcO2CoRvv8oZ00w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHEmq-0000000AvU4-0pho; Wed, 12 Jun 2024 03:36:36 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHEmo-0000000AvTw-1iN8 for linux-rockchip@bombadil.infradead.org; Wed, 12 Jun 2024 03:36:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=2h8N2wGON6lU8jBCk6opWltlnGiX33qRh6N/FTWZcIY=; b=QJH8crJ0ZUq9r2cQ1Fp2QSS6Az LN08NiGGtAhZV8iaZ+7v88Kx266OPvD+uM+pB6h6SkrS0qDyAnmVwod4HD5SWKU4b+bRyib6qgprP aZ5Pbe7pNwGTC4HDXGwiZpe3radm+6F5IykzgBCjDzBSQRpFAfbutPyptDLY5FDMP+kSf2h+nKCYv BOerPez7iUjC20hd36zTvRvzc8mL20vhRpBhecUwr0HezzMyM6/CNKK2Ypz2QicEuZegyIfhBeLpR eKjQyz3n01K8d/1WaENZDmlCHwBFcb134ytdNRIPlu1FhaeHbCbmr0z1dtdU+Ztbbh3e34HV2myeR ji5LZKug==; Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by casper.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHEmi-0000000ELfT-3Sbn for linux-rockchip@lists.infradead.org; Wed, 12 Jun 2024 03:36:33 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 45C3ZiVM030458; Wed, 12 Jun 2024 12:35:45 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki , Dragan Simic Subject: [PATCH v3] arm64: dts: rockchip: make poweroff(8) work on Radxa ROCK 5A Date: Wed, 12 Jun 2024 12:35:23 +0900 Message-ID: <20240612033523.37166-1-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240612011221.822-1-naoki@radxa.com> References: <20240612011221.822-1-naoki@radxa.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240612_043629_359685_E2D492E5 X-CRM114-Status: UNSURE ( 7.80 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Designate the RK806 PMIC on the Radxa ROCK 5A as the system power controller, so the board shuts down properly on poweroff(8). Fixes: 75fdcbc8f4c1 ("arm64: dts: rockchip: add PMIC to rock-5a") Reviewed-by: Dragan Simic Signed-off-by: FUKAUMI Naoki Changes in v3: - sort tags Changes in v2: - remove an empty line above "system-power-controller;" - reword commit message - add R-b tag --- arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts index b070955627be..3b9a349362db 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts @@ -394,6 +394,7 @@ pmic@0 { pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, <&rk806_dvs2_null>, <&rk806_dvs3_null>; spi-max-frequency = <1000000>; + system-power-controller; vcc1-supply = <&vcc5v0_sys>; vcc2-supply = <&vcc5v0_sys>;