From patchwork Tue Oct 10 07:48:19 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: 13414933 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 E1CE4CD68F5 for ; Tue, 10 Oct 2023 07:49:10 +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=iX6VMmp7ctQYgSrLmLIouMOiZq90tILlzB1XyuiwsIY=; b=XAjFND+VCR5FOc DzsFswHeoC4hPqJY9p26LvC75gTH6e8pSoZui8lYVeBtimeN3s2e/SDC9vOC9pqV63E1IHVDh6aBc r+PP2F4eDBEnHashjDTR1wRPQyxBccEu5wj4pJMpg2P0HzsBqS7vktEFO+p+FhIIJRVFdkFpkRrxH wOlJlYKcTsFpmAeZ1aaoqTcS1Jj9v2g9MtcsNDirJGs3yjspO0hch4liEepJBj9CytuRTGtxQ7BrC wvw+gsPHKTyKEXTa00uODjArEqc1uJUTlxt+1YOoza2S9yz65xVNH/PtBqwVGvaRfYgvCDtuFFnHB 6N/CxPN41S5obckt4a0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qq7Tx-00CjqS-1B; Tue, 10 Oct 2023 07:48:45 +0000 Received: from vps.xff.cz ([195.181.215.36]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qq7Tu-00CjpJ-1r; Tue, 10 Oct 2023 07:48:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xff.cz; s=mail; t=1696924120; bh=+7mC7cUIagzQs5/FRvWIKxyEtjBtUsiIq3o/E4sh/wU=; h=From:To:Cc:Subject:Date:From; b=Fzbx+hnuTGin5uAH+inRSiTNthq1wJymTDF+r0v5A7/kBgnbD9kEPgc4URwPCHalK r9xLIdjeFAH3Yim5DzyYURKrjIOPkIDuEeSw+3VeAw99JPmEj6TmsboVeWStlnHlyT 2geAXMsxCO+75S7hYkH6rcAbph8me7Ktm0cZ1emU= 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 v2 0/2] Add support for poweroff via RK806 PMIC Date: Tue, 10 Oct 2023 09:48:19 +0200 Message-ID: <20231010074826.1791942-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_004843_067935_72F55D93 X-CRM114-Status: UNSURE ( 8.74 ) 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 v2: - add a missing driver patch Ondrej Jirman (2): dt-bindings: mfd: rk806: Allow rockchip,system-power-controller property mfd: rk8xx: Add support for RK806 power off Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml | 5 +++++ drivers/mfd/rk8xx-core.c | 4 ++++ 2 files changed, 9 insertions(+)