Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4288920pxu; Wed, 9 Dec 2020 13:11:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJybLr6hmb3SFvEXjOqkR7ap8pqlh7aHFqQZy+5jnZWz42t2yMFR8yTA3ycPFZlgG008d7lJ X-Received: by 2002:a17:906:268c:: with SMTP id t12mr3623167ejc.91.1607548279396; Wed, 09 Dec 2020 13:11:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607548279; cv=none; d=google.com; s=arc-20160816; b=S+JhFsFHV/9PliFGQdVL0MXm2s1+fp/4QpsM/uFg+3HW6wpLdlz3sTNaspAFt0eLU0 TxMRkA4s9jxU7ByJNEMDprJjNCwH2ApJkYgMENMcXSNLJyW4LMeI96VPxi/npn6+O0Jv aI3yl+Hl3jz5E9N+lFharO6bOSfm/h/xqeHiI4peJXtGD9IE70kkJRvudBRo8KViYre8 cbClSmmMkR5NKOgRBTE8Ev9PxgHEzXGNHZynQnuFiIXKVqWB37WWjIVjtLdHmNctIye8 bNukNrIJd+2JeLibl6B8iiK64k9+3h1kkD5OsYSPDbgTgShzzj3vVdH2xAz9CRx6O/hy a3kQ== 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 :dkim-signature; bh=NqSRvZmXP9PQBEFmL813QTyuyX+x4I8VQ7BF3N0lRnc=; b=lhxPddxQvwxSspEcqsQmGLG4GBuM55FKSiKkxlnFeutahsPen+yjFRrbjWeFPZoxW5 ANNpbXJ+ZINneXuptv82jYD1Gxv6Qg/RzYr39lX2uhFpNJMG7BLFi1XPqffTjrbHl/jY gohoEIl0wf98clWlbEBOKkj0AqQ4Tpgv9uLJQaEeNBDTCh4bQmQrCrDIEZXZQ40eueWH KTHDgs9FM2i3/MvwfAk9qOVkBbleoN/iTLG4Kh7krsvKV9pdjSXM+ikMFD79lL5fTaUb XMlGhrAIsLEy4poGGiZqenqrLs1ljjPk+Cghw1+CWh+ts0JWpvBb0ex8DeN4wbmZQ3iQ Jylg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fossekall.de header.s=strato-dkim-0002 header.b=FlSl3ciK; 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 a10si1500762edb.130.2020.12.09.13.10.56; Wed, 09 Dec 2020 13:11:19 -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; dkim=pass header.i=@fossekall.de header.s=strato-dkim-0002 header.b=FlSl3ciK; 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 S2387834AbgLIVHe (ORCPT + 99 others); Wed, 9 Dec 2020 16:07:34 -0500 Received: from mo4-p02-ob.smtp.rzone.de ([85.215.255.81]:30980 "EHLO mo4-p02-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725968AbgLIVHJ (ORCPT ); Wed, 9 Dec 2020 16:07:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1607547841; s=strato-dkim-0002; d=fossekall.de; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:From: Subject:Sender; bh=NqSRvZmXP9PQBEFmL813QTyuyX+x4I8VQ7BF3N0lRnc=; b=FlSl3ciK9k9TFj6Ok0hq2QspNA3KG+LLRBcosBjARemTsukPmL73Sk7Ddn0+uNCgWV SjM3mfQfdHSOFayx7o97YWyTD/zY/oczaHsLUrmCCNobY+8Dj8mCiPX58R0MGYoerE5q GRQ7tBemnJIUffiOwxRacZ4YC1k5tFXt41mbwL3BU1POmB1teks5ltKrH3dME7xkUzej Pla1PnSOpv3O/wg+zyzOcBE/jdk/Pmm3gtmVeagTst1fKA1XvVxd6ku60sQw/2v8yuBX 61Ml9TwL0b38W3iceipES+cYum2JPBsBdBWxtJrD+r2KaoYWlt/eQLtSTpJoxS1juNJS 7yDQ== X-RZG-AUTH: ":O2kGeEG7b/pS1EzgE2y7nF0STYsSLflpbjNKxx7cGrBOdI6BL9pkS3QW19mO7I+/JwRspuzJFZuRzQ==" X-RZG-CLASS-ID: mo00 Received: from aerfugl by smtp.strato.de (RZmta 47.6.2 AUTH) with ESMTPSA id e07b38wB9L3tB2j (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); Wed, 9 Dec 2020 22:03:55 +0100 (CET) Received: from koltrast.a98shuttle.de ([192.168.1.27] helo=a98shuttle.de) by aerfugl with smtp (Exim 4.89) (envelope-from ) id 1kn6ck-0008Cn-Nb; Wed, 09 Dec 2020 22:03:46 +0100 Received: (nullmailer pid 385371 invoked by uid 502); Wed, 09 Dec 2020 21:03:46 -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 v4 3/3] ARM: dts: sun8i-h2-plus-bananapi-m2-zero: add poweroff node Date: Wed, 9 Dec 2020 22:02:21 +0100 Message-Id: <20201209210221.385188-4-michael@fossekall.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201209210221.385188-1-michael@fossekall.de> References: <20201209210221.385188-1-michael@fossekall.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add add devicetree information for the regulator-poweroff driver. Signed-off-by: Michael Klein --- This patch depends on the regulator names added in arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts index b43028f9e6df..e7370a049ce2 100644 --- a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts +++ b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts @@ -86,6 +86,11 @@ reg_vcc1v2: vcc1v2 { vin-supply = <®_vcc5v0>; }; + poweroff { + compatible = "regulator-poweroff"; + power-supply = <®_vcc1v2>; + }; + wifi_pwrseq: wifi_pwrseq { compatible = "mmc-pwrseq-simple"; reset-gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */ -- 2.29.2