From patchwork Tue Aug 29 17:08:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harald Geyer X-Patchwork-Id: 9927789 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 529B4602B9 for ; Tue, 29 Aug 2017 17:17:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3220C2860C for ; Tue, 29 Aug 2017 17:17:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 26848289CA; Tue, 29 Aug 2017 17:17:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C43B62860C for ; Tue, 29 Aug 2017 17:17:51 +0000 (UTC) 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=sjCMjCgxnsgrdyN7rJ30LTerkTuod830IXidvSK2VfA=; b=XUW qHeJXANXho3t9TSqVGZqmiC+Nu6x6Zorid78qemu6vJM8wNfWZfcATRt323V5reeo9d/81PEqWfXu duyPksktqgtzgaQwA+gmJQ/8Qi4C3q20yel2jZP22bE+J8Jlk/Hcs7uCE8bpOJPx3y7mXM0fn6n3t zM1p0umcQ991f35tk7MDScNJyWcPx1QM+51b14hEsOL6M1DKZgujbDz1Ul4+CKg2i2aFs7Kkycgl8 FbvotJerDVYWeKFlvfLyVUYK6UsLVv7bzovQvHbs5QzTH9l32FL4p3Z2TriaZjn6F2G5vc9/s89H6 oRK4uB71XIrAGyDvjt8JQE7D5tTgNlQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dmk8t-0000TM-Tw; Tue, 29 Aug 2017 17:17:35 +0000 Received: from mail.cosmopool.net ([2a01:4f8:160:20c1::10:107]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dmk8l-0007vL-LL for linux-arm-kernel@lists.infradead.org; Tue, 29 Aug 2017 17:17:33 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.cosmopool.net (Postfix) with ESMTP id 3A76E90167F; Tue, 29 Aug 2017 19:08:27 +0200 (CEST) Received: from mail.cosmopool.net ([127.0.0.1]) by localhost (mail.your-server.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wEwvltr_arJi; Tue, 29 Aug 2017 19:08:22 +0200 (CEST) Received: from stardust.g4.wien.funkfeuer.at (213162072252.public.t-mobile.at [213.162.72.252]) by mail.cosmopool.net (Postfix) with ESMTPSA id 5D158900D20; Tue, 29 Aug 2017 19:08:21 +0200 (CEST) Received: from lambda by stardust.g4.wien.funkfeuer.at with local (Exim 4.89) (envelope-from ) id 1dmjzs-0000Lh-8y; Tue, 29 Aug 2017 19:08:16 +0200 From: Harald Geyer To: Russell King , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH] ARM: dts: sun7i: Enable power supplies on A20-OLinuxIno-Micro Date: Tue, 29 Aug 2017 19:08:10 +0200 Message-Id: <20170829170810.1302-1-harald@ccbib.org> X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170829_101727_994942_E48BEB3F X-CRM114-Status: UNSURE ( 8.53 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Harald Geyer MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The axp209.dtsi defines nodes for ac, usb and battery supplies for a while now. This patch enables these nodes for the A20-Olinuxino-Micro, which has connectors for all three of them. The patch was run-tested against linux-next-20170825. Signed-off-by: Harald Geyer --- Note: I guess the same change is good for the olinuxino lime boards too. However I don't have such boards to test, so I don't formally submit a patch for them. arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts index 0b7403e..64c993a 100644 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts @@ -256,6 +256,18 @@ #include "axp209.dtsi" +&ac_power_supply { + status = "okay"; +}; + +&battery_power_supply { + status = "okay"; +}; + +&usb_power_supply { + status = "okay"; +}; + ®_dcdc2 { regulator-always-on; regulator-min-microvolt = <1000000>;