Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp7957993ybc; Fri, 29 Nov 2019 03:42:26 -0800 (PST) X-Google-Smtp-Source: APXvYqw5jkIsZosGxuX1eJylwKbXSSvVhIvvZ/UKFCKteSEsK3sk1G3DRprid8XF/Y8ptwkedam2 X-Received: by 2002:aa7:c3d0:: with SMTP id l16mr44429836edr.18.1575027746196; Fri, 29 Nov 2019 03:42:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575027746; cv=none; d=google.com; s=arc-20160816; b=SvwEPqeLbrKb6ZsyVUInibl0s3suT0Qp42m/TGSKylMdpg/NF+mMi+x6hqNNPHkWF5 Frb1ES9BpeiZa49ecSi5v8b+1lNHAnWJ+LsLRFsZvNzoZoz7vfGvPi333HBb1DdDDG0Q dgx79+dPYfnIWlppoLIZoDw6mAoDura/iD55rBKIfCaEFtFas28TRW/ndRnWyN9I8DQk Asw3kHxlmVdU/mJagTbd3Rs18DDXjuSVWKaJrpugqBbZQ3NYMN6MXLyiMMm/5XVQG+Kb 1XWb6CEJhW1grMl76LzxmCjY87gqcsbLRO7QeJZi7iMvkOOMJxsaj3BMA4sYmVAOff2P jLEA== 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=b3CvRWFr9/ewLU2J9qjhqMTnKMyxwp5bB8divrSJZfo=; b=WHUEfg2rA85TxWRwpoCCPbtyb1ysLJ6bPYgN6hFDsnK8bzGNtMZHBBxjj2nD+Xl0rY GE4XnMeMiAS8tbQAIAkSItDj0SA8PvS11eJYlGtg07pSs2o/N/8dxVBnnScXm7vHjrrw y2gM5ItJYYbyBUhCJPwJmzIQpXQAWnuexqVNZE4SxikCPmtQF2HgAPIMuTHvr2Snkcyn M3Q0DNDVKcEVR8GKiV1zQ5v4tsDq4ZzsuO0km/4MWJ9kXg0Ejz5J/TcQX/FsuhEz2kE0 1pqfcUSV9UVMmXvEYcwNf6r3+mDzgcUa5XFokEtGrK+Mg1y5XK9kDcYBrnQBfIjMhyMQ p8kA== 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 g1si14325801edn.0.2019.11.29.03.42.01; Fri, 29 Nov 2019 03:42: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 S1726950AbfK2LkP (ORCPT + 99 others); Fri, 29 Nov 2019 06:40:15 -0500 Received: from olimex.com ([184.105.72.32]:36434 "EHLO olimex.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726684AbfK2LkG (ORCPT ); Fri, 29 Nov 2019 06:40:06 -0500 Received: from localhost.localdomain ([94.155.250.134]) by olimex.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username stefan@olimex.com, mechanism PLAIN) for ; Fri, 29 Nov 2019 03:39:59 -0800 From: Stefan Mavrodiev To: Maxime Ripard , Chen-Yu Tsai , Rob Herring , Mark Rutland , linux-arm-kernel@lists.infradead.org (moderated list:ARM/Allwinner sunXi SoC support), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Cc: linux-sunxi@googlegroups.com, Stefan Mavrodiev Subject: [PATCH v2 2/3] arm64: dts: allwinner: a64: olinuxino: Add bank supply regulators Date: Fri, 29 Nov 2019 13:39:40 +0200 Message-Id: <20191129113941.20170-3-stefan@olimex.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191129113941.20170-1-stefan@olimex.com> References: <20191129113941.20170-1-stefan@olimex.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Allwinner A64 SoC has separate supplies for PC, PD, PE, PG and PL. This patch adds regulators for them to the pinctrl node. Exception is PL which is used by the RSB bus. To avoid circular dependencies, VCC-PL is omitted. On boards with eMMC, VCC-PC is supplied by ELDO1, instead of DCDC1. Signed-off-by: Stefan Mavrodiev --- .../dts/allwinner/sun50i-a64-olinuxino-emmc.dts | 4 ++++ .../boot/dts/allwinner/sun50i-a64-olinuxino.dts | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino-emmc.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino-emmc.dts index 121e6cc4849b..12f8c62c4f52 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino-emmc.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino-emmc.dts @@ -21,3 +21,7 @@ cap-mmc-hw-reset; status = "okay"; }; + +&pio { + vcc-pc-supply = <®_eldo1>; +}; diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts index 01a9a52edae4..ad3559c576dd 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts @@ -163,6 +163,22 @@ status = "okay"; }; +&pio { + vcc-pc-supply = <®_dcdc1>; + vcc-pd-supply = <®_dcdc1>; + vcc-pe-supply = <®_aldo1>; + vcc-pg-supply = <®_dldo4>; +}; + +&r_pio { + /** + * Do not add vcc-pl-supply, since PL0 and PL1 are used + * by the RSB bus. + * + * vcc-pl-supply = <®_aldo2>; + */ +}; + &r_rsb { status = "okay"; -- 2.17.1