Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3633977rdb; Wed, 27 Dec 2023 14:19:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IGJH1WULdR0Ow6AQhkqfCWMfE0Dh+2/lGVr3FH8XdeD3ZeCwHm4UrKu54L74LaYYpv4pKJS X-Received: by 2002:a05:6e02:1528:b0:360:17a7:1f28 with SMTP id i8-20020a056e02152800b0036017a71f28mr3236900ilu.15.1703715560893; Wed, 27 Dec 2023 14:19:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703715560; cv=none; d=google.com; s=arc-20160816; b=DPVKp5ZoqrlmEx68sbogMj+oiPfv8vR5GSZbbmYjmfHLQqETWJpmJ/yy+XL9xac4jh bLDNFsHGRuvRHtxYGphDWrW2GnCmDRAJbd8MWBAYiQM+S6WTmndDag1sDL5zZ/hDyGRt mObsNXoT+KrQ8/shP7bPnbt3TMH8WUHUv3CuszJP6+dQ3+zEWRLX1/KLnpVOSQNDflso AjXV5xeXZe6jRmYuYHpeA3FNvHiNLvJwYZAifKuItFU4XzLVDKbwZYcdeC1jTAAMENSB iLq22gB8nqy7WllT64M5G571GF7BUbYO+UXXbeDowMFal6TTDFF6NZQ8Ojj/Fh/HGX4F 4YRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=q9yH5iuxQchgHbyuN+ruqB/Lu/QLn/gmEgxFhgyYUTU=; fh=aIZCzF5KZZbU6sgttmnTsqidlNMShnr5qmI54+nOic4=; b=knnHk3wxBYcxQTfp/KdE0UqYQ7PGZzpDOx2XwNC59v7p3fSOZ336gKBb29uPoqu6um 8AQSjYgOPSBcvn5Cb1azBYaix+cwZAVKNlYFhsjGKy/NdgEtCVRxM5FuN2L9rH5SRLqU GySB4H6VEWqFMy4r1OxAACXpGNFRxfNcE+RprRa2aXPAxXftJf/b8oGD7qP9EVcBvlKI 7Qwp0L2yhTfoKNy3YCzKJvYGcHHlcXdL3oDsKSfpb4Ae1aNqYb077zHW97SWGh4bJp0i PMsh5iWx/YqP6SPKRgvkZ5R+hSG52Mq3/6b10ywx9gOPFPGwcPISPVWsRZ2vaoE/O9lz FnCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=tqcXeBIQ; spf=pass (google.com: domain of linux-kernel+bounces-12291-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12291-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id w11-20020a65410b000000b005be1ee5dfc7si11668711pgp.9.2023.12.27.14.19.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 14:19:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12291-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=tqcXeBIQ; spf=pass (google.com: domain of linux-kernel+bounces-12291-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12291-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id C6A56B2269B for ; Wed, 27 Dec 2023 22:19:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2263A481C5; Wed, 27 Dec 2023 22:19:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="tqcXeBIQ" X-Original-To: linux-kernel@vger.kernel.org Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 333AD481BA; Wed, 27 Dec 2023 22:19:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1703715541; bh=lVrc7pxkQHkTuollDpRgSMgm5cYN81tWN40U/e2kEUs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tqcXeBIQEcV3CNcZJ16qIstgq1OEJm881nbEZVThQzd9IBww5OuWVAof3T2xqS1hp tB+EG2z+6ImNyrwIr8YUuBL0xDYrd+FbFwenLHY7uKsQOlqY5oVCUUIWDiBgndGrvf Vrh2CCa1a3Vj4i9VNu4HkefX6rGg2N45Vs1m/CF/4cTZ+xNxRVo7MVoy+FaiAi8dSx tTAaHKKmDqJayfeGlqpNRM3iuNIUZizxRNcki5vNHupAgQf7OQXKaGNmkj7t/uOJUA lM5n74o63FkLtqZvpLS2WstF+QtK6c4tnKNj4nMIJ81vROjzjmto4xQLpLQU/4GfSM VuvYrA4aOFHCw== Received: from mercury (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 2BEC43780624; Wed, 27 Dec 2023 22:19:01 +0000 (UTC) Received: by mercury (Postfix, from userid 1000) id CA6A4106CE00; Wed, 27 Dec 2023 01:16:01 +0100 (CET) Date: Wed, 27 Dec 2023 01:16:01 +0100 From: Sebastian Reichel To: John Clark Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , linux-rockchip@lists.infradead.org, Thomas McKahan , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] arm64: dts: rockchip: support poweroff on the rock-5b Message-ID: References: <20231225222859.17153-1-inindev@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kvxm4plewcxgwfam" Content-Disposition: inline In-Reply-To: <20231225222859.17153-1-inindev@gmail.com> --kvxm4plewcxgwfam Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Dec 25, 2023 at 10:28:19PM +0000, John Clark wrote: > Allow the rock-5b to poweroff its pmic. When issuing a "shutdown -h now" > on the rock-5b it reboots instead. Defining 'system-power-controller' > allows the rk806 to power down. >=20 > Commit c699fbfdfd54 ("arm64: dts: rockchip: Support poweroff on > NanoPC-T6") similarly resolves this issue for the nanopc-t6. >=20 > Signed-off-by: John Clark > --- Reviewed-by: Sebastian Reichel -- Sebastian > Changes since v1: > - added commit message with additional patch detail > - expressed the related commit using checkpatch >=20 > --- > arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64= /boot/dts/rockchip/rk3588-rock-5b.dts > index 74719aaf697c..dc7b88f29172 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts > +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts > @@ -426,6 +426,8 @@ pmic@0 { > pinctrl-0 =3D <&pmic_pins>, <&rk806_dvs1_null>, > <&rk806_dvs2_null>, <&rk806_dvs3_null>; > =20 > + system-power-controller; > + > vcc1-supply =3D <&vcc5v0_sys>; > vcc2-supply =3D <&vcc5v0_sys>; > vcc3-supply =3D <&vcc5v0_sys>; > --=20 > 2.43.0 >=20 >=20 --kvxm4plewcxgwfam Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmWLbL0ACgkQ2O7X88g7 +ppLdRAAh2XPhGTc/H7YdLn4Qr1Z2zdInwHqPU48aPogwAwNH0X4GOjp+e05nCPG umdF7rRq+ZQvwp5wADlZ76cGpJ1PhxyiXGXjv00EvflDBb0S/edJjvrhxj4MFJMl e5UJH8pQNLaJlCk2wpz0nSEO7MiCM5xnukb8aUAuXJhunjqrFEXT4b8I88kmWlW5 YmcvT40usLIv7s9tyYyy0l9KE/BdPBQ/ANDhKfJaulN2s3+UdfIco8cgUuR2UaUX Ry3cqQUm7jLi3iDVAwUTS8lCv+3gI//D890PEh4KDd5XCsU5q5Y0XYi/WcXWNmJQ hgbfyWSgAXToOc1AKFj2STX+hgESqLMigV1MbZOeDBVUajJ9U9d9I0ewMlGxjNwB reCEvU60sH6LrO37Lxmzwt+w1G8oD1NA6LWPglhh3CAPGnOXW0Fq53TIs9DdZ0x6 vVRXWTevFPYwXTUehJD1PzLmJ0vUEwHXBtErcOcfllAieRetQMr9A5RwDNao6nST j3kxWh3ExyXX48sAOU3b0AhF+lbqojesaxtXweXj6Nn9hPz6qvDyqWHn9nd9bL2e E4rW7i91zVuovFC1ExDsLkypFMm7Wxxkte82NgbWAMGXC0eosSs+246wQWMlNniZ 7nyYUW/tin2mfYvugbyYzgpsbI4nW8gtoE3JgMuM0gEQzQr+jjU= =+bGO -----END PGP SIGNATURE----- --kvxm4plewcxgwfam--