From patchwork Tue Oct 10 17:41:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ond=C5=99ej_Jirman?= X-Patchwork-Id: 13415830 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 8A7F3CD8CAC for ; Tue, 10 Oct 2023 17:42:21 +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=vpBl9o8+yPt3rb3/NKBwKJa4F0KPNJZmIC+YFJ27r/k=; b=zLV2+Iv79gDp0q 8MjK017wlaoej1go6kXuu8e6JRfQx2gmoyCk+hHisdwOaNqr9iNFb+GgBUC1xnjz/guIa22y4Ykf4 lqr6lUGMDnNqM4vgw4nqwQ5Ty2SiqQOwZ0Vmd+BkbLJ+hptIF7QnIrOTJUfEsTuqOQbP7NvaUwn2P aclCAD0omK3VWYtwuDNtENI5g+hOvLI7RQYnh8PNuTv5pkyP6JUAV3Zl3VDNjeXPIhV9AoeHEsBD8 Lwt7Mbfr57xW0YTOE6/8Ca2LDjAGxo0L+fPs8L7NWbAYqUXitnGZ8fq1tnHtfN7THY3oX9IcYlhK9 n8hmDXeyOY3wbSeD9EyA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qqGk2-00Dsgq-1E; Tue, 10 Oct 2023 17:41:58 +0000 Received: from vps.xff.cz ([195.181.215.36]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qqGjy-00DscL-28; Tue, 10 Oct 2023 17:41:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xff.cz; s=mail; t=1696959703; bh=/8eyXVZVo+6H0ggSI00a2syb+M4L/ZVwCYosxg3zmWQ=; h=From:To:Cc:Subject:Date:From; b=Qv9h4wFkkQoOkxA6OUuw7tHRH83UZdo5Acc+vtpPfjaJk2f8W7Z6Lg+9TyQZGonum Z83zRVzLwFPL01Xi8WxcjLNpry/gl97iiBCn2fXOJN8sInAucDipfmekMUhH+OuBR7 ve5xuaTq7nnhCcRLQQrbI6fl8kNaAbqgMFmITPsA= From: =?utf-8?q?Ond=C5=99ej_Jirman?= To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: Ondrej Jirman , Sebastian Reichel , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/4] Add support for poweroff via RK806 PMIC Date: Tue, 10 Oct 2023 19:41:15 +0200 Message-ID: <20231010174138.1888396-1-megi@xff.cz> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231010_104154_871106_4D7D686A X-CRM114-Status: UNSURE ( 8.94 ) 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 From: Ondrej Jirman The PMIC supports powering off by twiddling some bits in a register. Add support for it via pre-existing rockchip,system-power-controller DT property. The series was tested against Linux 6.6-rc4. Please take a look. Thank you, Ondřej Jirman v3: - use system-power-controller - deprecate rockchip,system-power-controller v2: - add a missing driver patch Ondrej Jirman (4): dt-bindings: mfd: rk8xx: Deprecate rockchip,system-power-controller dt-bindings: mfd: rk806: Allow system-power-controller property mfd: rk8xx: Add support for standard system-power-controller property mfd: rk8xx: Add support for RK806 power off Documentation/devicetree/bindings/mfd/rockchip,rk805.yaml | 3 +++ Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml | 2 ++ Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml | 3 +++ Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml | 3 +++ Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml | 3 +++ Documentation/devicetree/bindings/mfd/rockchip,rk818.yaml | 3 +++ drivers/mfd/rk8xx-core.c | 7 ++++++- 7 files changed, 23 insertions(+), 1 deletion(-) Reviewed-by: Sebastian Reichel