Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp491050rdb; Thu, 19 Oct 2023 09:57:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEoNdkBnuH1sE0TkCJLZirJqesKxjW+7rIkrvbdOa9VxTgf29fEl0a2Bhj7qgQg9vcpxT/A X-Received: by 2002:a05:6359:b97:b0:134:dc90:b7d1 with SMTP id gf23-20020a0563590b9700b00134dc90b7d1mr2797341rwb.25.1697734664644; Thu, 19 Oct 2023 09:57:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697734664; cv=none; d=google.com; s=arc-20160816; b=Tdk11FR2kF5gIUlkS2tDVcWbwAh8HYMQBW6LuBxw4QZmV+Rs/FfwNmrDKMZgyXgLUl n53uyzedHngg7s+L+pYfh4MaA0lR0L/GLEz0PlK1+BKpJHD3m1RTu/bEZMrWQ7EAZ0Fu J25sWlmJhGacaPfcSzUf+5UoXuqYqqI6CpHiCt4YJLm7BEkLAe0hiauQtP/dH1wiGizI lj0r6xY2B4TB8S/dLCkT8RghHpcRcpyP80IWfFanl9utP/U1WQ6WCNV8srduEp1tTdm7 YprGBP2O77+YrV1MbgpcWQjwsr5gMzoJLaUEH1/lnvnHHfNHMppb2lW0qjL2jvibVUJs eZXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=nPgtdsNQI7YQaE2JsLL8hYOUlsxApXfyHBGOkBUwnps=; fh=d6XH3dt5H0c+4wnwIk/8KA2kgFbVz8WdE7bZpO88hdM=; b=JIh1rUcMO+9vixxSR9Ht1M6MyKgh9P679I+dB4b7fTawuaUIkRDj+wyGwFuh426WBO XSPVYgLaQLZfJWtK5XJVq8/muj6xO35xfpruA53oWJcbEpJ0+bXx1g1hwv9lMkUQPAg5 gL0vZD8G52n0Qvoa8kjEimjxxuUpterljEcom8Uky/UoiVvfg5La5smKHKEzWn+FqHfL rdLIUrcAAgyprNuvQiYKp8oDQf6/agvc/HGJOtqNkW5ENQDObYKIR9eir6K9xESN8VoB NODasDCYeYp0ymVtM7z0rF/c3VEXIzL1iUzOWUVZPZ5QiF2ELp6xWF/H5wem+RJxmQ/j P5vA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b=HF8lErKW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=xff.cz Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id j3-20020a056a00174300b00690ffbb46e6si39724pfc.261.2023.10.19.09.57.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 09:57:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b=HF8lErKW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=xff.cz Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id DCDD6826C0D3; Thu, 19 Oct 2023 09:57:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235472AbjJSQ5l (ORCPT + 99 others); Thu, 19 Oct 2023 12:57:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233308AbjJSQ5k (ORCPT ); Thu, 19 Oct 2023 12:57:40 -0400 Received: from vps.xff.cz (vps.xff.cz [195.181.215.36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B1E3131; Thu, 19 Oct 2023 09:57:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xff.cz; s=mail; t=1697734655; bh=Bvmn+V+8oX7B+tSkrf+0B+Kh8dg+ZztWnQG5X3x9Bh8=; h=From:To:Cc:Subject:Date:From; b=HF8lErKW9uN+o4opO7QVbialjnmDJMKxwdCdZUjC5ytgd6tmuW+2GcUOcHBloyzMU xQ/6/SlGUhthjcppvwfJVy5QtxxS319V/+foPhHQ9+fq34PKO7KxpeuEtkdXCNCTjS vuJCaU/gHw3VyKsBzV/VZJ2WMY49RfqwKPWhlJ/s= From: =?UTF-8?q?Ond=C5=99ej=20Jirman?= 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: Thu, 19 Oct 2023 18:57:22 +0200 Message-ID: <20231019165732.3818789-1-megi@xff.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 19 Oct 2023 09:57:44 -0700 (PDT) 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 resend: - add tags 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(-) -- 2.42.0