From patchwork Tue Oct 23 18:53:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Oskari_Lemmel=C3=A4?= X-Patchwork-Id: 10653583 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5623E14BD for ; Tue, 23 Oct 2018 19:50:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 41FE82A36E for ; Tue, 23 Oct 2018 19:50:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 35BF12A393; Tue, 23 Oct 2018 19:50:12 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 ADCF22A33B for ; Tue, 23 Oct 2018 19:50:11 +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:References: In-Reply-To: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:List-Owner; bh=1LEwm2CXjKcNe/cZe64djMdxBYB5gHg3gO+HlPV4Ko4=; b=TsHyPGrZXfPprPfBYyRyqO9XgE KXR/cVNunsm1ds/yTpA7cdAemqbxCS03yKLtpnGv6OQ+3Oqfvp5aSrfFuKRM0qrDYhVnmpwcCApAe vKO2D26D7WsB3d67JbZg8ji0Drf4hieFjUNfLklWXS+29ngPIivcasi8HCOFlMUzRu6uWWGMrNiEx COM+I79OfxxsYAILWy9rEOQUyj6+WgSv85uo0/zytRdXZSPh20r7/BePj5ArZPu9avMzm6Pr0wzcY P5qfS5OMTqjlosDfttA3QcpAZevFBxGRC/cNuY+fNZi/mCQGiXZUJ8LMj2J/v3fxMmyat1MrTR5gi c7DDcMmw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gF2gb-0007WA-Of; Tue, 23 Oct 2018 19:49:53 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gF2do-0006HC-FE for linux-arm-kernel@bombadil.infradead.org; Tue, 23 Oct 2018 19:47:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=bIpPjgMNHJNTqQIsemG+66m36guffzsGx33VeEcMz4U=; b=0Lc7/Xeyo45RIE1vYCZfWnsV/ hLgWQOHFNkMUykifroRO2CtZonaBUyGz4S2q3Qqhz7X6RoMW/fwzabah1Nyn1t3UJdHPiseRGPj4x JfEVOrvmvHlUm3K3q5WSca58VcQJEBA+O4tSdcIuwCOwxGcC6mOgqhsqqyythgaytW38C8xG1ytXZ X8A67tzqhstfgiXhwkEK9xcGdeEUhyEZ/7Z97IHTDowHlrnlGghxhf8qASctrWQW4FlTqfLNzePzs hrPBQeJ1AGxAYcpxT/m0Nxse8hIJ1/5w6jEijaU575HJ9InG+goKfc/+nyCvxrd+mG7jcM1A/EFLx Z2kIBpwzg==; Received: from mail1.kuutio.org ([2001:41d0:401:3100::431a]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gF1p2-0003op-5t for linux-arm-kernel@lists.infradead.org; Tue, 23 Oct 2018 18:54:33 +0000 Received: from localhost (localhost [127.0.0.1]) by mail1.kuutio.org (Postfix) with ESMTP id 396C81F99A; Tue, 23 Oct 2018 20:54:10 +0200 (CEST) Authentication-Results: mail1.kuutio.org (amavisd-new); dkim=pass (4096-bit key) reason="pass (just generated, assumed good)" header.d=lemmela.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lemmela.net; h= references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from:received:received; s=dkim; t=1540320849; x= 1542912850; bh=16hydqWDFV4OIAB5F2BhOcjYauIKKaxTnGprPU0pMcU=; b=C QfTFwDFUr1PU2MD4ghri2HxTFlZBmaEiksGb73q6JZCpdWpawNtLVViUzhVLDC1M LjWnquKbwHRL4vOdH31DPnuXxPv889ZF99R+P1PsdxAMxZ701TeYfJfEsqK4QIYY c7dQlxy8r2wFtd6/UFEC+Ehg76qD2XapXApzc8rVm3SdsEtniK3OfnoDx8Vm8t63 4mgBtcDwLrIVBkf25siB9TyI7UrwA3/v8CZv7GMjlgW2gohj02GOg1c5aQ8VkkmQ oU6IaPktbCnzn1PWlnawJ7AWRKklL+ZZSHi9cfki8By3cVud9NeZk7hfoQL64IP/ gLscyL5/JacLT6aB3aI3lXNId5Va1PoAECdhnBZzEDPcAmLGJqNL0u3g9oMbEnNP PDoZ1p2ubFEAKFuzT2KkvXPew6zSdr6y2OuMnSEWC2xMB/eoj7i2SfwqA+42cNFX P2rfS4tpOIi8ruHreKyvPIpQZmUP6NWNipG/TmWbE3kzDT1x1ANScVE2HdBk6oth BXRWBoKhuIR+frgrZez0CUNDMXfj6fFVDYoCr4aP1R4u5ah3Gr7RyaGzEgAgMqjt 7noXb5ZTwJD1oayc5LPLRFSOEuq8VSpHijPbI475Y4b85faYL9Gqv0ibqR4nrCaX UaT1GeH9FL3tys9+prM/UYbdBLEN8EAKdN92IwX/1Q= X-Virus-Scanned: amavisd-new at kuutio.org Received: from mail1.kuutio.org ([127.0.0.1]) by localhost (mail1.kuutio.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BC6marmYcYdG; Tue, 23 Oct 2018 20:54:09 +0200 (CEST) Received: from build.kuutio.org (unknown [IPv6:2001:998:13:e4::69]) by mail1.kuutio.org (Postfix) with ESMTPSA id 515511FBA6; Tue, 23 Oct 2018 20:54:08 +0200 (CEST) From: Oskari Lemmela To: Linus Walleij , Sebastian Reichel , Rob Herring , Mark Rutland , Chen-Yu Tsai , Maxime Ripard , Jonathan Cameron Subject: [PATCH v5 07/11] arm64: dts: allwinner: a64: sopine-baseboard: enable power supplies Date: Tue, 23 Oct 2018 21:53:26 +0300 Message-Id: <20181023185330.10472-8-oskari@lemmela.net> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181023185330.10472-1-oskari@lemmela.net> References: <20181023185330.10472-1-oskari@lemmela.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181023_145432_353841_BEAE8A0E X-CRM114-Status: UNSURE ( 9.11 ) 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, Lars-Peter Clausen , linux-pm@vger.kernel.org, linux-iio@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Vasily Khoruzhick , Quentin Schulz , Oskari Lemmela , Hartmut Knaack , Lee Jones , linux-arm-kernel@lists.infradead.org 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 AXP803 ACIN pins are routed from SOM to the DC jack on the baseboard. AXP803 charger pins BATSENSE, LOADSENSE, N_BATDRV, LX_CHG, VIN_CHG and IPSOUT are connected via PMOS driver to SOM VBAT pins. VBAT and AXP803 TS pins are routed to the baseboard 3-pin battery connector. Signed-off-by: Oskari Lemmela Reviewed-by: Quentin Schulz Reviewed-by: Chen-Yu Tsai --- .../boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts index c21f2331add6..335cf2263d19 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts @@ -69,6 +69,14 @@ }; }; +&ac_power_supply { + status = "okay"; +}; + +&battery_power_supply { + status = "okay"; +}; + &ehci0 { status = "okay"; };