From patchwork Tue Nov 26 11:05:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Mavrodiev X-Patchwork-Id: 11261973 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A22B46C1 for ; Tue, 26 Nov 2019 11:05:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7A85820722 for ; Tue, 26 Nov 2019 11:05:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="mYHDjI2o" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7A85820722 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=olimex.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=4npC2atCdQbD0qf1i8l6YVdkwE4DKB/Fe26wzfntld0=; b=mYH DjI2ousBqAXok1Ay+4BrQW+dKoFchjLLVANCzqhxd49SAANYa4M/kbJxcsLBAbl+K4RuD4QAhRHc+ 5zHTKbxCO0jDlTMi18JyYQYjThLl0U2pNYNCt5whtk1GXbJnTlvXeKF0BYCinOQjNz0Gw7bFD+INN Q1H5bjw3gbHYvZ8cpAJirKIl5VJTKWRbNxrYYbYknUhG9Xzuy/lvQsHZsoR7Q9UsPYoBJOEkSyrlw QG5P4VelewIiRBVVGnR8sEYnZrji4MEZXU2TW0NhlbxrJOFlDYcCPliEVRoj83c4IqrTAvGFKG8j6 UwwPGGuAMcvDxioFH/Ljslo6EhaAwcA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iZYf9-0008P6-AA; Tue, 26 Nov 2019 11:05:43 +0000 Received: from olimex.com ([184.105.72.32]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iZYf6-0007z4-7B for linux-arm-kernel@lists.infradead.org; Tue, 26 Nov 2019 11:05:41 +0000 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 ; Tue, 26 Nov 2019 03:05:32 -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) Subject: [PATCH 1/1] arm64: dts: allwinner: a64: olinuxino: Add VCC-PG supply Date: Tue, 26 Nov 2019 13:05:08 +0200 Message-Id: <20191126110508.15264-1-stefan@olimex.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191126_030540_276439_7B5F0747 X-CRM114-Status: UNSURE ( 8.85 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-sunxi@googlegroups.com, Stefan Mavrodiev MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org On A64-OLinuXino boards, PG9 is used for USB1 enable/disable. The port is supplied by DLDO4, which is disabled by default. The patch adds the regulator as vcc-pg, which is later used by the pinctrl. Signed-off-by: Stefan Mavrodiev --- arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts | 4 ++++ 1 file changed, 4 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..c9d8c9c4ef20 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts @@ -163,6 +163,10 @@ status = "okay"; }; +&pio { + vcc-pg-supply=<®_dldo4>; +}; + &r_rsb { status = "okay";