From patchwork Sun Apr 7 17:56:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dragan Simic X-Patchwork-Id: 13620259 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 12864CD128A for ; Sun, 7 Apr 2024 17:56:44 +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: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:In-Reply-To:References: List-Owner; bh=6xZbog3V0++87v8eH9de/jlj5DGoW3SLBEfYxuvrXw0=; b=VcLhcDDFgl3hhf IeXKpf+shEX7FlULiEKMnwatYOJeNZxPBaqiie2bmZxQSTj6eFndGyc2LKJ9tMJXAoK6+z1lwbHsD Ifjn3VwlGlXit2b6HziYioUoIP3oxMD+7mqJuIqPsDnhXNNbVBkeFDsWNV/5Zf/ooH2eV2gLswxtW Ip5Z4JFiX5tLh1J68pFTT/OL9GZe3OS+doJn5iGttHOLLjwBC/GxxmChIzpOZCEqaICL+MYoAaScJ YBtLLF9XkkUehM2xqgY0jLgVJ02kvnRu7GiKqgpPceCn+yST404p5HYvsI6IwA18y9q1zQngdcUPt NbdOknoWM/fTCw/pNI/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rtWkq-0000000DDc4-1Kw7; Sun, 07 Apr 2024 17:56:32 +0000 Received: from mail.manjaro.org ([2a01:4f8:c0c:51f3::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rtWkn-0000000DDbZ-20XK; Sun, 07 Apr 2024 17:56:30 +0000 From: Dragan Simic DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=manjaro.org; s=2021; t=1712512587; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=f5Jw1TP9e/00pRBHBUER+O5BjO8OkjYZAyYWioClWTw=; b=ISsNHBQI4TjeZZ5WgEiLqbTJwL1HRg05wrZOioI3Lb2wCIedrSb6I6Ebb+p/yOtaadc4zN 1vyGHfraSkxYAqKi0BP1HrD3yJbg+eToN3cPsR62qnQs20iTDl/vVigC23mP0D5KlaXp6x MDx1LSGJJBZ+8q7f9fQjyc/Bp+XmJT77Yg7ZhM2pf9Qi2Hn4PLaP93igLqN/olEZ4Xwb72 T71pQBlMdjjol07Cx3D8/lgpkE4O+tdwnEsw9cbApRXK8WPLX2YJC6GgjbkPFIstGjJTGl fW/v924249sGoDHHg+c8i5eixorWZS1rk6T4OmEQjVjOBoz7uetsHC8ugedJ4w== To: linux-rockchip@lists.infradead.org Cc: heiko@sntech.de, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Subject: [PATCH] arm64: dts: rockchip: Designate the system power controller on QuartzPro64 Date: Sun, 7 Apr 2024 19:56:24 +0200 Message-Id: MIME-Version: 1.0 Authentication-Results: ORIGINATING; auth=pass smtp.auth=dsimic@manjaro.org smtp.mailfrom=dsimic@manjaro.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240407_105629_685411_B4961E44 X-CRM114-Status: UNSURE ( 6.51 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Designate the primary RK806 PMIC on the Pine64 QuartzPro64 as the system power controller, so the board shuts down properly on poweroff(8). Signed-off-by: Dragan Simic --- arch/arm64/boot/dts/rockchip/rk3588-quartzpro64.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-quartzpro64.dts b/arch/arm64/boot/dts/rockchip/rk3588-quartzpro64.dts index 67414d72e2b6..22bbfbe729c1 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-quartzpro64.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-quartzpro64.dts @@ -456,6 +456,7 @@ pmic@0 { <&rk806_dvs2_null>, <&rk806_dvs3_null>; pinctrl-names = "default"; spi-max-frequency = <1000000>; + system-power-controller; vcc1-supply = <&vcc4v0_sys>; vcc2-supply = <&vcc4v0_sys>;