Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2433783pxu; Mon, 7 Dec 2020 06:35:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJzLN++SWJ0Xjchl6p/XGrh43m0xrOSoLQ7hrcnvRjOCxJ1YdLr6Ik3IGrkhflx5faH1iaOG X-Received: by 2002:a17:907:c15:: with SMTP id ga21mr13674177ejc.472.1607351697905; Mon, 07 Dec 2020 06:34:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607351697; cv=none; d=google.com; s=arc-20160816; b=vC3FMl5qBeOdf65+ifRRj9PxdnzybeSfRcrQxXkZn1X38AFJ6hVlPQNXId+k7WlLcs ULPgj5aZ/bjSHd88EfNzMSp0fj2/37Y5L2EqQQsHe5LFRNiu/URcjfAV+jCXrpQ2mC0+ /XqS0YghrKPQ+wfMzTwrWsqVY6O/+kv8ORdz0niOUET9FLMTgUgGPzp2l4Qp9nMdZ5Th hY/4kP7WwqFNRZXFcWahKq0M05Eo0xnQqG3X5XhvNhGnzRuzPaw2JIyrL1OSidhRvhnh mwlWEzIU192CMrMa+5CfNRPP6j4kPguoxsemnCpJsSKpRcMrO0fFWMbItVrdJ4epcZUD TqmA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=YyL6nuGTcYJO+ZAkXbygs5J3f3HwjnZAYZkEkr63Dys=; b=TIVpNR5iq7j5d4TPoScBrr9UF4nhyYQT/HpbLkjeLe3i5UpeB9217DLORZYXwNWzC4 bvVcpq+vEHUdP9V9mZCsRBOP59jEGjJD7htck0Xl5mHmgZ+Eod8DFHsnWx7bExbtT2jK BtRGQ5NAqc6qygsLBvYaYbEhYMOmljHyKhKcjtoPHYmgo/TDo8fYzduIw/alPLAoDOBw 832aTb/2hu70O9dXSy1Ej14FcR0zbfjohoNySep4gImfLYbK2woZgZP4rjFn1Qsuy69s Pc4tG5xBmnpHoB4toU1mdF4skR5fIiC+PDEDHqP/X8yx4iCiBwDAOK5hzCzQLgSUfDUW j9Jg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gs31si6311278ejc.337.2020.12.07.06.34.34; Mon, 07 Dec 2020 06:34:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725972AbgLGObI (ORCPT + 99 others); Mon, 7 Dec 2020 09:31:08 -0500 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.54]:15938 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726493AbgLGObI (ORCPT ); Mon, 7 Dec 2020 09:31:08 -0500 X-RZG-AUTH: ":O2kGeEG7b/pS1EzgE2y7nF0STYsSLflpbjNKxx7cGrBOdI6BL9pkS3QW19mO7I+/JwRspuzJFZuRzQ==" X-RZG-CLASS-ID: mo00 Received: from aerfugl by smtp.strato.de (RZmta 47.3.4 AUTH) with ESMTPSA id g02087wB7ES5OVa (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Mon, 7 Dec 2020 15:28:05 +0100 (CET) Received: from koltrast.a98shuttle.de ([192.168.1.27] helo=a98shuttle.de) by aerfugl with smtp (Exim 4.89) (envelope-from ) id 1kmHUg-0001Sz-6i; Mon, 07 Dec 2020 15:28:02 +0100 Received: (nullmailer pid 17882 invoked by uid 502); Mon, 07 Dec 2020 14:28:02 -0000 From: Michael Klein To: Sebastian Reichel , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , Michael Klein Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 0/3] BPi M2 Zero poweroff support via new regulator-poweroff driver Date: Mon, 7 Dec 2020 15:27:53 +0100 Message-Id: <20201207142756.17819-1-michael@fossekall.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201128103958.q6glewhhch7vtczr@gilmour> References: <20201128103958.q6glewhhch7vtczr@gilmour> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes in v2: - rename DT node Changes in v3: - add regulator-poweroff driver - use regulator-poweroff driver instead of gpio-poweroff Michael Klein (3): power: reset: new driver regulator-poweroff Documentation: DT: binding documentation for regulator-poweroff ARM: dts: sun8i-h2-plus-bananapi-m2-zero: add poweroff node .../power/reset/regulator-poweroff.yaml | 53 +++++++++ .../dts/sun8i-h2-plus-bananapi-m2-zero.dts | 7 ++ drivers/power/reset/Kconfig | 7 ++ drivers/power/reset/Makefile | 1 + drivers/power/reset/regulator-poweroff.c | 107 ++++++++++++++++++ 5 files changed, 175 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/reset/regulator-poweroff.yaml create mode 100644 drivers/power/reset/regulator-poweroff.c -- 2.29.2