Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4001109yba; Wed, 17 Apr 2019 02:24:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqxfMs1KAwkwOJ5Fa5NXatJtnYGmnYBSBRPlVTh/2mFjKySweu3hc97AHVrq/dvrG7vRKuWd X-Received: by 2002:a65:6545:: with SMTP id a5mr70256128pgw.264.1555493074834; Wed, 17 Apr 2019 02:24:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555493074; cv=none; d=google.com; s=arc-20160816; b=gvuYUHvDyL9FRxalZACI/BFJAj7xI04L9ywx9OG3tIzvadUlz2ONBzzOdhPJ8+bNPX K0DhH/DXjDrbuxZ2yrDF+X4ddV4x/38aMJYLbbd8DTpyPYQgYVO8Q0PUbHfDXMFsRumA UwZg99YFOTV38nIpg30gd/NbdB4VAOobTRXooMS9NiFP0KK4TBaPPAXkZBRSQzT4I4Fj XSqV7JfQjC1DXKkFPyVbWSs9zBqoxtluuiztO4fgAWhfKBNk21tzo2aeOdF0ATLL5Y5w wsXCLx/F9SuKLaUXAEsJAbZqpQ1FmsNKU907m+bfWtgd2BsghUFZZSx4pcPOM+smZkAR SDIA== 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=aEapgxD4re3djHoAAwp+wLm1swEGcTLgrBPaFE6QHWY=; b=jEMoxIpGzTJJTLAjfda6+Bkko9ea9ZcYwlrFzH/0pmnCxyo4VRc8QcF7Uj6M5G6pJS rH7JX3k4VwiV+jzKlfBFKlumBpjqOUFwZJf/9vbjh7C0aa50YDuPENKiH9drnkfNFhSd iZ7aNekjMjHCgGUgaYMyV3NTnvuNkZMJqwCM8eaw0F51rhrc1XrbPHpxrf1+CbqIGnou CdabuYCc3Iylj4zDljdgDK0J90aojabi8iXHn8YEcKl7Y/upiWIL9B4tEgBilgY6abyS Q6ZYjW+Jd2IcCB9rXoWSv98+3tSZ5K1hDBcrXK+CL9Ct6+rjEwsZX2TB2I+Bto+/6ydu 56Ng== 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 64si16700780plk.399.2019.04.17.02.24.20; Wed, 17 Apr 2019 02:24:34 -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 S1731638AbfDQJVx (ORCPT + 99 others); Wed, 17 Apr 2019 05:21:53 -0400 Received: from mail2.sp2max.com.br ([138.185.4.9]:48844 "EHLO mail2.sp2max.com.br" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727282AbfDQJVu (ORCPT ); Wed, 17 Apr 2019 05:21:50 -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 108C47B3074; Wed, 17 Apr 2019 06:21:35 -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 v3 6/7] ARM: dts: sun8i: v40: bananapi-m2-berry: Fix WiFi regulator definitions Date: Wed, 17 Apr 2019 06:21:01 -0300 Message-Id: <1555492863-88860-7-git-send-email-pgreco@centosproject.org> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1555492863-88860-1-git-send-email-pgreco@centosproject.org> References: <1555492863-88860-1-git-send-email-pgreco@centosproject.org> X-SP2Max-MailScanner-Information: Please contact the ISP for more information X-SP2Max-MailScanner-ID: 108C47B3074.A278D 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 40db082..6ada736 100644 --- a/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts +++ b/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts @@ -232,12 +232,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