Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3841152yba; Tue, 23 Apr 2019 10:28:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxxum9gcPa+dkz9zF1eufs6cjnhW1DkK5O+1c24OmCJxkwzJvUkJG5hKrsrHh6oN+Vt4GGG X-Received: by 2002:aa7:938b:: with SMTP id t11mr28134652pfe.67.1556040486180; Tue, 23 Apr 2019 10:28:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556040486; cv=none; d=google.com; s=arc-20160816; b=SAtzBkGn6JHHPVibVyn+xkzlgFW/WgxBfk8r8ezewD6iNUdotnP3XkdQycd4wIzfTZ WpOKSpkWRlrBgYozsqHKdFQUUittpnGpsu+bEsDgwPL1NaDDp0Hok3zsKcQztR3/BLLr zdkWlw1ric9pen6DpoxQQ0cMm/mUh1nckj6gxR48Xf9/PWXdFB3kRNRPS1uUskxMg6PG LQxtIaKt4tmYd7Afhhikb4NXHopX1whykXKQJKVFuK+c93V7baFNtkbX+Jo+IwMLnyXY 3pxUlTFsM1kzQXH4JI3t1GbOQezaTvxWjnIAj9EFDOZS8JBJbw+5eWym5Nn27pnrb5Ng ZkRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=UqXfvaPk4+hZfrjoJwUp6QkZbCinHW/poA2UyLl+X5w=; b=ZS2EveY0kUuEQExbyjll/23pMWF0+UshNcbIw23Nuq9SFkKOv+DcVKHyZxd9ajY3cb 9Xz5+EB0BzlywGsHZE0mFSvtKD701ucksgc3RlvLfhsU7fzDrm5NHaLfZJL8wMVkoL2a d12LwDoSnWbhC2uYmBPz4Qn/aeqRcBXp2LrsuVX6kAsr2pyxGe8G71TovSVcXunUDBPW TLrF4ptW2OdqgprwyCUHMbCk4gW//6JO5Run3FKqMAOfKxQH85oig8FDIHFmZ4t4LbmJ s1WPr0FO630bmh1mnpyBasTzUN2DhThyTB9m+PK3WgZDKWYXcUSpz7TcwFdARCiXoosI MlMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n1si3332697pge.484.2019.04.23.10.27.52; Tue, 23 Apr 2019 10:28:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729562AbfDWR0a (ORCPT + 99 others); Tue, 23 Apr 2019 13:26:30 -0400 Received: from mail2.sp2max.com.br ([138.185.4.9]:39722 "EHLO mail2.sp2max.com.br" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729478AbfDWR00 (ORCPT ); Tue, 23 Apr 2019 13:26:26 -0400 Received: from pgsop.sopnet.com.ar (unknown [179.40.38.12]) (Authenticated sender: pablo@fliagreco.com.ar) by mail2.sp2max.com.br (Postfix) with ESMTPA id BB3007B3086; Tue, 23 Apr 2019 14:26:19 -0300 (-03) From: Pablo Greco To: linux-sunxi@googlegroups.com Cc: Pablo Greco , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 6/7] ARM: dts: sun8i: v40: bananapi-m2-berry: Fix WiFi regulator definitions Date: Tue, 23 Apr 2019 14:26:03 -0300 Message-Id: <1556040365-10913-7-git-send-email-pgreco@centosproject.org> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1556040365-10913-1-git-send-email-pgreco@centosproject.org> References: <1556040365-10913-1-git-send-email-pgreco@centosproject.org> X-SP2Max-MailScanner-Information: Please contact the ISP for more information X-SP2Max-MailScanner-ID: BB3007B3086.A0AD7 X-SP2Max-MailScanner: Sem Virus encontrado X-SP2Max-MailScanner-SpamCheck: nao spam, SpamAssassin (not cached, escore=-2.9, requerido 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-SP2Max-MailScanner-From: pgreco@centosproject.org X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Just like was done for the bananapi-m2-ultra, add the second wifi/bt regulator and mark both as always-on. Signed-off-by: Pablo Greco --- arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts b/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts index f7ad1cf..c87f2c0 100644 --- a/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts +++ b/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts @@ -234,12 +234,27 @@ regulator-name = "vcc-wifi-io"; }; +/* + * Our WiFi chip needs both DLDO2 and DLDO3 to be powered at the same + * time, with the two being in sync, to be able to meet maximum power + * consumption during transmits. Since this is not really supported + * right now, just use the two as always on, and we will fix it later. + */ + ®_dldo2 { + regulator-always-on; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-name = "vcc-wifi"; }; +®_dldo3 { + regulator-always-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc-wifi-2"; +}; + ®_dldo4 { regulator-min-microvolt = <2500000>; regulator-max-microvolt = <2500000>; -- 1.8.3.1