From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.naobsd.org (sakura.naobsd.org [160.16.200.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2B51563BF for ; Wed, 12 Jun 2024 03:36:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=160.16.200.221 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718163422; cv=none; b=i/HAbP6XB1vNxE7xDckAr1MDzIuVna3ljz2YnR/Kv9gjk1tQeHrUPZdNfF4AbDfpnSYc8QydK91hufVBFHFS2wD1fUPfV9jLXaylkgDda+fFWX8h33F1h+fR1kgwQ1E44gxfY3P6IEJCkhw9RqpaNerpy9iXCoTaLURzvAMYOak= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718163422; c=relaxed/simple; bh=YGYhqyjEU+MUzE8uFmh+cPOOLFIMr3CV7/XoyXvCzUo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZZvdAITBK3trfT9Vu+Vx0b8APzxgI4EWl8k3SH+LP7efcA47S9Ip3ShJqqXz+YTvqJdL0XQry9F6VAs/PTR9eF6C6omfcJ+cNNf2Ns5yHw6WGb1d4NRXBCKuLwJyE1MSrhi0iJjwWz8CV3sYX7eDHYdLpGNfmRHbdq+mPXhnnyA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=radxa.com; spf=fail smtp.mailfrom=radxa.com; arc=none smtp.client-ip=160.16.200.221 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=radxa.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=radxa.com 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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>; -- 2.43.0