Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp581393ybl; Sat, 18 Jan 2020 06:35:27 -0800 (PST) X-Google-Smtp-Source: APXvYqzNJKJX1cIdwk9vJXlmJpYNMArPQe415vKO8AK57A2o/DHnQNWxMhmkoi3EIT4t5KqWhGKN X-Received: by 2002:a05:6830:1e46:: with SMTP id e6mr9442404otj.245.1579358127842; Sat, 18 Jan 2020 06:35:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579358127; cv=none; d=google.com; s=arc-20160816; b=aN9uSMV1xku+GnCIvElrXq0KtlLR+taRU7LsLrVj/fhFErXR60561ou0qiGLPnIKZv Dp7QztRugBNm55jxgG4GVUW9xb8qRaBECmIOlNOYA7Y0sIFhNqfxUmTNM1ly+NvIsqbd BoA3fLnhM2MB55j7dnozx8q4X6ag2id7JOMHqb+Xu7XCgDVzeZr6jsFHQjmPMD5OhKPL 7RaJcyIbxqUv2vubd8jT81EipHILDS2kR4MwmOi8smAANb+9AjUN1irPK0nNJ2jb95yi CnX8cfbo3d0cpAgGyMckkf1XqVN6qPhc81CFQEsxCDtnYc0JUuDNMtUhKrm5DDJGidzW 7D1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=h43mFkjbUMLwLDO1z99lG8MYoEhtzI0TLgfggOwfuIg=; b=sk2stVg/NUxdWY7oZ6lL0AfoqnDa1v75MZop+0EwajkJ3vEMYhM1uNaGSaxfBSnetP RAzQSLSWv+ei7+tawxjBWwK6/qeCzMVHRAEqainVY3hK07i9a7h+Ata8JUuNzX5aRAFA 2dZ9B3jGvN4RPd1a8Qat0AENOQ5LAu63TbSgdY8CO4ehjD/h5YuaJRJsQmGuUQV4UuKK NjI+oG0DZDbzPUJvvTcqzsAGZ1isS/Pk2KWxmueKttx0gM1p2WFwrA59FS3Mr2kavnDc J+gN5H0O1IxM9Erv1nY/QB0eOnyuTxOGUuPQkvHYjgg3WYseGet+2hLty2tyRxzf2JgL YIIg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bidouilliste.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n11si15814870otk.290.2020.01.18.06.35.15; Sat, 18 Jan 2020 06:35:27 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bidouilliste.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726502AbgAROeV (ORCPT + 99 others); Sat, 18 Jan 2020 09:34:21 -0500 Received: from mx.blih.net ([212.83.155.74]:46898 "EHLO mx.blih.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726208AbgAROeV (ORCPT ); Sat, 18 Jan 2020 09:34:21 -0500 X-Greylist: delayed 397 seconds by postgrey-1.27 at vger.kernel.org; Sat, 18 Jan 2020 09:34:19 EST Received: from skull.home.blih.net (lfbn-idf2-1-1164-130.w90-92.abo.wanadoo.fr [90.92.223.130]) by mx.blih.net (OpenSMTPD) with ESMTPSA id cd584d1b (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 18 Jan 2020 14:27:38 +0000 (UTC) Date: Sat, 18 Jan 2020 15:27:32 +0100 From: Emmanuel Vadot To: Chen-Yu Tsai Cc: Emmanuel Vadot , Mark Rutland , devicetree , linux-kernel , Maxime Ripard , Rob Herring , linux-arm-kernel Subject: Re: [PATCH] arm64: dts: allwinner: a64: Add gpio bank supply for A64-Olinuxino Message-Id: <20200118152732.0c9e7426074f4141dd09b586@bidouilliste.com> In-Reply-To: References: <20200116194658.78893-1-manu@freebsd.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 17 Jan 2020 11:20:21 +0800 Chen-Yu Tsai wrote: > 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. Indeed that cause a Linux kernel to not boot at all. > (How does FreeBSD deal with this?) We don't deal with vcc-X-supply until later in the boot, this is not ideal but better than not dealing with them. > Instead, just add a comment describing what is really used, and set > the regulator to always-on, which should already be the case. Ok will do, Thanks. > 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 > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Emmanuel Vadot