Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp581736ybl; Sat, 18 Jan 2020 06:35:51 -0800 (PST) X-Google-Smtp-Source: APXvYqwcOHlKntnxTFcmDSefYdQF+uUBvpN6mVJ0dyV1jTRQsBj5OPPlfQ3uF/AkjX4uQAc7VG6A X-Received: by 2002:a05:6830:1116:: with SMTP id w22mr6573058otq.216.1579358150958; Sat, 18 Jan 2020 06:35:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579358150; cv=none; d=google.com; s=arc-20160816; b=jquHgWL1Ic8kr8ifTSIcxxsngnpQaUNcGu0VSj12uEype4UDVG0/CoBmCdF3h8i11K YFznzw2r5TpBckZNQdDeVLgFOmYFkF4Rf4gZuwe35I8DN+RIsv1xEhACknJLAne8FPiK b8wLZIArT7Ri3QBsPeAlwRkwtefodO39xbwPVsMRYe4BEL0KH+FoGnsLGuc/KnD1ZRT3 fs6/kAyLJg6uew9PylCBKXIGwi50aIFSpxI2UEND4jQPNg1xuWLOBKaQZz6fMZgPqqiu T7jeZpSdYFN25VZL3dYt5sTV0vu5/g7FsY5zmEk/k46PsXYL1vo12DMocwPsRBxeaPuM a+/A== 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=rYWLvhSg7ofetc5NqUE13R24SBgQXV+07+Vz8+QHq3w=; b=E8QU7qAJOrYHZa2ZtSEiuz6c6brThiCexaoPwF70cmDF0nnWb/Wixuc7XpovrJMVQ3 kWLsaVA9aj4/E4CpkXJyE0ZE193ngZE9VrD6Xf59vk9Gtwz8tzNsRxDbhBdC9FyXyD2e N5Sfna5oErQ7A+Ykaw6pNtWEwZYI13hHfzIfjBg5hAxaba0+7QVTIDSV4oNPEK7a/dYi 3EI0LOj6O/CSalwinhoeVk8v4aAV0uQqW8y8CTfZ2ARH/Ei9q25vTz2MZSRl4O0vvMqp lbsx0HgMjbQKKyJnmOsZb9liUhThIGTs66O7cMcAnKCXM3I6Nl7WJyXME2CM0StXTbB5 Nmnw== 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 o7si17483477otk.185.2020.01.18.06.35.39; Sat, 18 Jan 2020 06:35:50 -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 S1726775AbgAROe0 (ORCPT + 99 others); Sat, 18 Jan 2020 09:34:26 -0500 Received: from mx2.freebsd.org ([96.47.72.81]:52717 "EHLO mx2.freebsd.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726592AbgAROe0 (ORCPT ); Sat, 18 Jan 2020 09:34:26 -0500 Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (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 11D6974046; Sat, 18 Jan 2020 14:34:25 +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 480L6S5f0Rz42MZ; Sat, 18 Jan 2020 14:34:24 +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 BD8D1179A1; Sat, 18 Jan 2020 14:34:23 +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 15:34:08 +0100 Message-Id: <20200118143408.15574-1-manu@freebsd.org> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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