Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8578479ybl; Thu, 16 Jan 2020 20:04:26 -0800 (PST) X-Google-Smtp-Source: APXvYqx4wVMFE03ht1nc7gXyXH0Cn1C7/N35UP8sYsmb4wlKc4PWTnzVpjQzMj1iannWwbfdoPee X-Received: by 2002:aca:490e:: with SMTP id w14mr1976832oia.67.1579233866231; Thu, 16 Jan 2020 20:04:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579233866; cv=none; d=google.com; s=arc-20160816; b=CwpnvPF8b/cAWDL6h3KyIavAv7Id69isT2bXm+X/kZt6WxK23BUbnz7l+Y/8gDLFk5 4zk8sX7RqgmIGcFJIYFJ+u/ep2zsIgH3uGReI6HMcJXjgHVRsjVGQa6tfMNnlCD5cBuT 0KOqgOlUmzpSzrkAypwDEPBSDqtqiBWT6PR5b4/lk0gEiPZM+nQIFEBBBztSzx7Nysq/ OnXbdgV72Dz9FHy5ROAXSchQxOP68pEZcMhufWXD8xKtW7GEmTonuirOB+XtgC9sZ/xv zG362zqXrRsHkoOzkOTGopJoYZUL7NKboNF9gORvHQYtumY/WvSY0QZmIFzh8esFD/Kx bITA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=DuXdQ+iDwsOn6z/f7z3i1gI0wBVfOZJt0yf4ZaQCnGI=; b=x0zU0ruCC+cd7bOglsaZL+qHN8X6JpeNOQZozTbmivtxR+tS7CmNWZ+D1Ie9CBf8vK F42p9hpxs3flbybqk/ZGGXnV6xao0llVNCipbBzRhZnjbvEscoVwREUzrLGqQHBpuim8 nieB0tAPLIkUiWA9dDaSuZRFVzB+bZ6CePStrjL6OcWCSisu1xUP6PjqIl9KU5j7JeJz dSqfMGG52VkRAATSYNKimAEIzvUe6nobwYARaDXlmOlqQQEduVMPuCfmtzED2SL1cdGl gFCdS1LhCKX1h6w7i0Lb4dv9Nom3mqHPMIBmQ4NCT/O01t6Pm3BgWy6S1k/ZhrlKTYl3 8tkA== 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 g126si13475796oib.105.2020.01.16.20.04.14; Thu, 16 Jan 2020 20:04:26 -0800 (PST) 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 S1729370AbgAQDUe (ORCPT + 99 others); Thu, 16 Jan 2020 22:20:34 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:38345 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727015AbgAQDUd (ORCPT ); Thu, 16 Jan 2020 22:20:33 -0500 Received: by mail-ed1-f67.google.com with SMTP id i16so20935775edr.5; Thu, 16 Jan 2020 19:20:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DuXdQ+iDwsOn6z/f7z3i1gI0wBVfOZJt0yf4ZaQCnGI=; b=ta75JDSwrGE+3vIHY2yb3jGezBeeANZoDjP1q28rvdcmb/asOQ/Mn0EM0/nOgJE0eu kq6uI4PgFq9alixNz/wJhLqpWu6SYr5u3Qsryz5fAwYW8OhyMY1deEUVEeKDwOSS3pK+ Gu6NTMjY4jx4/oby4WtWagRqDKLsI5rMppePNo5EH3BHRkuNy5vlevKRl4kIJQKvZzrq bxSG6e9LpdZ2ohFGqjG894MdOry5yJiabamMQnGH/k9/wmGAO+PXh50TnrQXgMgII3RZ SSf7tGtd4PlKvyXBUfGh4CnumeUSAXDUxAzvGhkhJRTZEW1pBid6vw4pThBcABn7sTrd IXKw== X-Gm-Message-State: APjAAAVF00t8IXheYI4i7yInQwf/2HObdGfLU2b6jb1skjNtiLXNWXEa E+O/7zemomo2bPs/YuKejfyCXlOGGJo= X-Received: by 2002:a17:906:aad0:: with SMTP id kt16mr5935122ejb.223.1579231231598; Thu, 16 Jan 2020 19:20:31 -0800 (PST) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com. [209.85.221.47]) by smtp.gmail.com with ESMTPSA id u29sm901153edb.22.2020.01.16.19.20.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Jan 2020 19:20:31 -0800 (PST) Received: by mail-wr1-f47.google.com with SMTP id b6so21299066wrq.0; Thu, 16 Jan 2020 19:20:31 -0800 (PST) X-Received: by 2002:a5d:44cd:: with SMTP id z13mr661642wrr.104.1579231230948; Thu, 16 Jan 2020 19:20:30 -0800 (PST) MIME-Version: 1.0 References: <20200116194658.78893-1-manu@freebsd.org> In-Reply-To: <20200116194658.78893-1-manu@freebsd.org> From: Chen-Yu Tsai Date: Fri, 17 Jan 2020 11:20:21 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] arm64: dts: allwinner: a64: Add gpio bank supply for A64-Olinuxino To: Emmanuel Vadot Cc: Maxime Ripard , Rob Herring , Mark Rutland , devicetree , linux-kernel , linux-arm-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 17, 2020 at 3:47 AM Emmanuel Vadot wrote: > > Add the regulators for each bank on this boards. > > Signed-off-by: Emmanuel Vadot > --- > .../boot/dts/allwinner/sun50i-a64-olinuxino.dts | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts > index 01a9a52edae4..1a25abf6065c 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts > @@ -163,6 +163,17 @@ &ohci1 { > status = "okay"; > }; > > +&pio { > + vcc-pa-supply = <®_dcdc1>; > + vcc-pb-supply = <®_dcdc1>; > + vcc-pc-supply = <®_dcdc1>; > + vcc-pd-supply = <®_dcdc1>; > + vcc-pe-supply = <®_aldo1>; > + vcc-pf-supply = <®_dcdc1>; > + vcc-pg-supply = <®_dldo4>; > + vcc-ph-supply = <®_dcdc1>; > +}; > + > &r_rsb { > status = "okay"; > > @@ -175,6 +186,10 @@ axp803: pmic@3a3 { > }; > }; > > +&r_pio { > + vcc-pl-supply = <®_aldo2>; This is likely going to cause a circular dependency, because the RSB interface that is used to talk to the PMIC is also on the PL pins. (How does FreeBSD deal with this?) Instead, just add a comment describing what is really used, and set the regulator to always-on, which should already be the case. ChenYu > +}; > + > #include "axp803.dtsi" > > &ac_power_supply { > -- > 2.24.1 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel