Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp625010ybl; Sat, 18 Jan 2020 07:26:27 -0800 (PST) X-Google-Smtp-Source: APXvYqyTukO4vewEJKyt2I4xBs4yy7Vrq7bOWSw3tIRAISbjOCB4C+3hBq/lCkGsC0ujt8iR7N5N X-Received: by 2002:a9d:806:: with SMTP id 6mr9595805oty.90.1579361186959; Sat, 18 Jan 2020 07:26:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579361186; cv=none; d=google.com; s=arc-20160816; b=zVOnsG09+8YMq6vE0v1syDaHucvWe69t/2rf4MuSGde4CIhKDjt03Dh4ZrASHMtJtb CKhOsthIK2tcLuZs+UvTdWfN2OAE6yMaVwpfpvmnX/0eAb+Khp2oibNXJe+0fdVkYpz1 HJB/TBJ6+bAIY+tsnEfVtYCQWOrDsZDtxDh1wfC22Atcz2cDVfrI79vhQsD+PwN4m3+s SA2MlKfn3sef3RqqI3gaZmCvRYiUg1GRSYkn2fG+R/EBqkWFWa0joEq/luHkMPerbl3x ah7g6zMfHdPThcoh1eV/yjUNYt8UiYQpFkaFJdPxta1syyehuccQWioJPm/UkGDzq6qi StXg== 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 :message-id:date:subject:cc:to:from; bh=vmAzBwG/u2gw4kf5LbISzCZ+FnFF5AqxqqtOvsY9mYQ=; b=o6Ul+lgCWSu8F+ZIocpvwrGhLvIBwjNX9i6O51js6kxxcGh5nEfJSui2V1X6xCz3JV flZYE+GUQKXwFUA3ZWtkZzGTy1T3laNb9mL2qK2oSC8ozNy2WD+DvYKxVFqmeSsZinXp KBW9f6yzCUHpnn39X5FNPhyp8kNHchOHV510I+wmNlSs612wjvKQNz2DpyjI3S6S5WWJ 4uc7NMMGnBxbvyXx71+JtKldz1bSv4sjVy99yN1dHe/SdLbXdGsVKMJ8dIPCi3Z1mmD/ ueA0cJgdgCd7xJtzziEHjy/D/qAnhQ0XliPkYwKa5N4cNaiOQayGNtLqzVSkvEnTOCdi bEYQ== 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 a3si17114324otr.37.2020.01.18.07.26.11; Sat, 18 Jan 2020 07:26: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 S1726455AbgARPZK (ORCPT + 99 others); Sat, 18 Jan 2020 10:25:10 -0500 Received: from mx2.freebsd.org ([96.47.72.81]:23582 "EHLO mx2.freebsd.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726359AbgARPZK (ORCPT ); Sat, 18 Jan 2020 10:25:10 -0500 Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx2.freebsd.org (Postfix) with ESMTPS id 9773B7B638; Sat, 18 Jan 2020 15:25:08 +0000 (UTC) (envelope-from manu@FreeBSD.Org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 480MF01jhmz44FZ; Sat, 18 Jan 2020 15:25:08 +0000 (UTC) (envelope-from manu@FreeBSD.Org) Received: from localhost.localdomain (lfbn-idf2-1-1164-130.w90-92.abo.wanadoo.fr [90.92.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: manu) by smtp.freebsd.org (Postfix) with ESMTPSA id 3942E17F81; Sat, 18 Jan 2020 15:25:07 +0000 (UTC) (envelope-from manu@FreeBSD.Org) From: Emmanuel Vadot To: mripard@kernel.org, wens@csie.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Emmanuel Vadot Subject: [PATCH v2] arm64: dts: allwinner: a64: Add gpio bank supply for A64-Olinuxino Date: Sat, 18 Jan 2020 16:24:59 +0100 Message-Id: <20200118152459.17199-1-manu@FreeBSD.Org> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Emmanuel Vadot Add the regulators for each bank on this boards. For VCC-PL only add a comment on what regulator is used. We cannot add the property without causing a circular dependency as the PL pins are used to talk to the PMIC. Signed-off-by: Emmanuel Vadot --- v2: - Remove vcc-pl-supply in r_pio as it cause a circular dependency. .../boot/dts/allwinner/sun50i-a64-olinuxino.dts | 17 +++++++++++++++++ 1 file changed, 17 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..7e71b5b12f98 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,12 @@ axp803: pmic@3a3 { }; }; +/* VCC-PL is powered by aldo2 but we cannot add it as the RSB */ +/* interface used to talk to the PMIC in on the PL pins */ +/* &r_pio { */ +/* vcc-pl-supply = <®_aldo2>; */ +/* }; */ + #include "axp803.dtsi" &ac_power_supply { -- 2.24.1