Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp522200yba; Thu, 18 Apr 2019 05:26:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqxCwuc5JI4FDhcBGDYCA5n/zl9Vq7pT7bY0r8EKfvEn+R/4ZXzDxpC6UIIfCs1V7Cgpl8cO X-Received: by 2002:a65:6210:: with SMTP id d16mr85883487pgv.110.1555590396821; Thu, 18 Apr 2019 05:26:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555590396; cv=none; d=google.com; s=arc-20160816; b=yT5YSaEfvCR+R4KXYjnrBzSJ6M86K+Rj/Lc8fFTZ7/mnck/mgdHj8tY9m+7VOV1Vtm /kPjUQOjIPMfNI3t75D/EFkA0tAvm0S8GUNQhwYUnDqR8DojuWWuHyiEMgoxKU2HBPgN 35OzUOI5Ae/vr+RDNzega2mX2znp2QvYW6lyyKE5gmm34G0K4imwLGXSTa7zdYq5XeUm qd7IWDIcMLUlNEq+qyK3OnthLIqOP9ZT0syiZ2AeUbuSTGIhstJiYrsIoy/ZfbYZ9X7a 28Lm5Qe17M/496CbSm86g+hQkvckjh3bhhOXhxFvSF1GhYiBnYOa9zhDfSyE6Z84o/fc rOxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=r+am/wuDB03FlglP2FaZVyWMH+5QEPgd39nmmCyVQrw=; b=AvyCSWKdDxFWCRevWCUQmgDZw4s9uEN52C63axQPDLkNm9jeP5Lt5id3rag6sco34a pu2pHZa/zvQLmgvmEX6mTdEviEJuI0NkJlBIhSf/Yile2NONmG+rss3gU5RysgBqBGu3 dde5McJKOAjvDgZOxK2OLGjjWvmiyugiX1yEM7yCHlKNnocGl972Xm2+cVId4wNEVcJ+ NdttTXpZBtmZXrUs5qQaZ+UIRSJ4nwiZj9tlnyK0D8UurdAhN8Le9DLscRjHkYDhmZLP f4DyGt0QBUaTdJpM1N1FruIr6X7vI5jQm01LaMYBVIU3N0KEDAYI+iVaRQlsfdomR3z3 rxAQ== 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 u4si1749644pga.245.2019.04.18.05.26.21; Thu, 18 Apr 2019 05:26:36 -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 S2388930AbfDRMZ2 (ORCPT + 99 others); Thu, 18 Apr 2019 08:25:28 -0400 Received: from mail2.sp2max.com.br ([138.185.4.9]:42668 "EHLO mail2.sp2max.com.br" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727807AbfDRMZ1 (ORCPT ); Thu, 18 Apr 2019 08:25:27 -0400 Received: from [172.17.0.2] (unknown [186.137.130.251]) (Authenticated sender: pablo@fliagreco.com.ar) by mail2.sp2max.com.br (Postfix) with ESMTPA id D45527B09F9; Thu, 18 Apr 2019 09:25:20 -0300 (-03) Subject: Re: [linux-sunxi] Re: [PATCH v3 1/7] ARM: dts: sun8i: r40: bananapi-m2-ultra: Tie GMAC regulators to the PIO To: maxime.ripard@bootlin.com Cc: linux-sunxi@googlegroups.com, Rob Herring , Mark Rutland , Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <1555492863-88860-1-git-send-email-pgreco@centosproject.org> <1555492863-88860-2-git-send-email-pgreco@centosproject.org> <20190417101757.traviffiulwnzr6x@flea> From: =?UTF-8?Q?Pablo_Sebasti=c3=a1n_Greco?= Message-ID: <666caeac-4297-17b0-065e-00b7fd9623b4@centosproject.org> Date: Thu, 18 Apr 2019 09:25:19 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190417101757.traviffiulwnzr6x@flea> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-SP2Max-MailScanner-Information: Please contact the ISP for more information X-SP2Max-MailScanner-ID: D45527B09F9.A02CE X-SP2Max-MailScanner: Sem Virus encontrado X-SP2Max-MailScanner-SpamCheck: nao spam, SpamAssassin (not cached, escore=-1.386, requerido 6, ALL_TRUSTED -1.00, BAYES_00 -1.90, URIBL_RHS_DOB 1.51) 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 El 17/4/19 a las 07:17, Maxime Ripard escribió: > Hi, > > On Wed, Apr 17, 2019 at 06:20:56AM -0300, Pablo Greco wrote: >> When the GMAC support was added to the bananapi-m2-ultra, regulators >> weren't tied to the pinctrl. Fix that. >> >> Signed-off-by: Pablo Greco >> --- >> arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts b/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts >> index c488aaa..3da3598 100644 >> --- a/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts >> +++ b/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts >> @@ -201,6 +201,8 @@ >> &pio { >> pinctrl-names = "default"; >> pinctrl-0 = <&clk_out_a_pin>; >> + vcc-pa-supply = <®_aldo2>; > You should list all the regulators that are needed for all the pin > banks to operate properly, not just PA Ok, I "think" I finally understand what you mean, so according to schematics in https://drive.google.com/file/d/0B4PAo2nW2KfndFpmZG1OOWJ5NEU/view, it should look like this diff --git a/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts b/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts index c488aaa..699579d 100644 --- a/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts +++ b/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts @@ -201,6 +201,12 @@  &pio {      pinctrl-names = "default";      pinctrl-0 = <&clk_out_a_pin>; +    vcc-pa-supply = <®_aldo2>; +    vcc-pc-supply = <®_dcdc1>; +    vcc-pd-supply = <®_dcdc1>; +    vcc-pe-supply = <®_eldo1>; +    vcc-pf-supply = <®_dcdc1>; +    vcc-pg-supply = <®_dldo1>;  };  ®_aldo2 { -- I couldn't find vcc-pb, vcc-ph or vcc-pi. If this is ok, I'll generate a v4 based on v2, and throw v3 in the trash where it belongs >> + vcc-gmac-phy-supply = <®_dc1sw>; > I'm not sure what that is supposed to do? > > Maxime > > -- > Maxime Ripard, Bootlin > Embedded Linux and Kernel engineering > https://bootlin.com > Pablo.