Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp7804789ybc; Fri, 29 Nov 2019 01:15:37 -0800 (PST) X-Google-Smtp-Source: APXvYqwi9S49+Gxa0Qb22qGi5x8v83fonL5sNoPjxS662/LWyZnoLGO4wRYo4gIcw/I69qUTe2Hj X-Received: by 2002:a50:f313:: with SMTP id p19mr1345524edm.57.1575018937871; Fri, 29 Nov 2019 01:15:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575018937; cv=none; d=google.com; s=arc-20160816; b=H7zfUJ5Az36pVukrHh6zIgx45I17c4RZjkCOwUTwfJRDzZTyLwaOLz9DEWHA084bm0 hwFIGcevloe+9jXDcBbFtCAzXkvbOQi2z7NN7bFJUqRpz++wgRVjYeVVFBNRSxqISmnF cW5Xj2bIz5LttiyHSdibpR4aikqOhJkKaSuzhA0HFz3E1USfRwkaDSbvb29k6OJLj56e NPV8I58+CVJFygXdQsX99aTi0XoHA3RiZrXE+Mc931yWhMHaeOFPg+ucbvMLBoh6iM/6 oq6WAXkWI5qWWtUtIXbt7h7k6VTQCXCGOWg0cLjysWjP6YkdFP24nR2OMSRMDFBhWHaN gxTg== 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=MGSOhYd+txQva+pg+LIikjzVIN6xFDtbkWEpsVnzpOE=; b=NAgTbFUmCXXDcRh00ogyPQ/UWGUTXdKc/mOb3guWSgxAbekQuAcNT/EeaGZDXLFoUM UAxi8FJONwuIye3XwLuGtWS8cajNlm8PxGkucAW2Pd8U54QUaZKoiCI6reMDXYvi8f1b 3ckNBeOu2FIuFQnKiCxgC0HILRDuGHIhN1vGrkFPcHF/aTCwpv+FrC6PlaOjetck7R6W d7o8HigKm8/bKfhf/aykM7QH/7vMSv2FDWLgsF7lP+H854fvpHnG5QpuSTs894IBVDFf 1OKxQlJ4YnQ/JZ3BGEnitE1NR/P1H5n07r/l7JG9P6TjDolc3vyNMuf5RhrizsCUgcHN qJbg== 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 o21si14648496edt.135.2019.11.29.01.15.14; Fri, 29 Nov 2019 01:15:37 -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 S1726853AbfK2JOJ (ORCPT + 99 others); Fri, 29 Nov 2019 04:14:09 -0500 Received: from olimex.com ([184.105.72.32]:49778 "EHLO olimex.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726360AbfK2JOJ (ORCPT ); Fri, 29 Nov 2019 04:14:09 -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 01:14:04 -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 2/3] arm64: dts: allwinner: a64: olinuxino: Add bank supply regulators Date: Fri, 29 Nov 2019 11:13:35 +0200 Message-Id: <20191129091336.13104-3-stefan@olimex.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191129091336.13104-1-stefan@olimex.com> References: <20191129091336.13104-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 7d135decbd53..75f101d9cd3e 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