From patchwork Mon Dec 4 14:12:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 10090529 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 0C6576056E for ; Mon, 4 Dec 2017 14:34:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 089A028D43 for ; Mon, 4 Dec 2017 14:34:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F155928D50; Mon, 4 Dec 2017 14:34:58 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED 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 8138128D43 for ; Mon, 4 Dec 2017 14:34:58 +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=pmegRJImSIeq0kncxY7zC3tEvDBPcG7A3dsUM6ft3SA=; b=ZXl88Dv2iBFTotj0pt9p78b5yi orY413TOPWD69WKcJIO9uSTnrEqPznYbBfRIkDykuVYuz/BsSqWXjrsuFsXrzhC/57996/H1nlEfn dY9pew2X4tqUcf/hdlxyu1TA8zVraFtpoE4RNAtTs50YNkcWSip/myLLec9+hMhfajgDcoZBvx3VQ MhymmgtOi2cqA3qfH89IbuKqk+WczahuM0udv8j/tkdc4Jhm6d0+AVqtR7UxYXXIgeqBXao10vwGd x6qDVjZITkQOrKIjFMDt5Uxd9kNz6WmCYEyNnVam4dMKblq0TM/Gk0FdOM2i+NTQleuUWOHtX3zeV XlGm2OLA==; 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 1eLrph-0006KY-F5; Mon, 04 Dec 2017 14:34:57 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eLrpG-0005oP-Bs for linux-arm-kernel@bombadil.infradead.org; Mon, 04 Dec 2017 14:34:30 +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=8E/fEtkruA19n9XwbUq//aLDnr71NxMrA6JHVp9dVzQ=; b=Hkcg9RBRHqYIJMwMQRbe80xBD n9r+JGN/+ZZpNqkRPtrcQsN6tQbAF4VvEOmLKu7gOv3f77h2Yp4JnU43Kr957mmJ6zbiClJHnlCk3 wPtCzgXFh4e2Ies4P5qTN1r1aiPdly83dHe+YgbPolrMeyfM2zux0ccC8gfsr+PwXLYKxhnBN7lf8 Z8E3fYLoLOP/6Uqjy2L65Xhruhwah0+b9FZUlYt4uqwZLujaY7jgaxiCz8rCGYhDdyR4xaENNrqWe v2N0suOdP0amTS6tQWATOWgL7Z/MyrW9OoTQarhzVKcSRLQHQLZKowcwimfyjzSiIlhZu4L7FLMiS G708ET02g==; Received: from mail.free-electrons.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eLrX6-0001Sh-3f for linux-arm-kernel@lists.infradead.org; Mon, 04 Dec 2017 14:15:44 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id C0F62209A0; Mon, 4 Dec 2017 15:15:10 +0100 (CET) Received: from localhost.localdomain (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 25B7A209B2; Mon, 4 Dec 2017 15:14:53 +0100 (CET) From: Quentin Schulz To: sre@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, wens@csie.org, linux@armlinux.org.uk, maxime.ripard@free-electrons.com, jic23@kernel.org, lee.jones@linaro.org Subject: [PATCH 8/8] ARM: dtsi: sun8i: a711: enable battery power supply subnode Date: Mon, 4 Dec 2017 15:12:54 +0100 Message-Id: <2af471ef9bee675a2cf411b9d2dd602eb4aa448b.1512396054.git-series.quentin.schulz@free-electrons.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: References: In-Reply-To: References: 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: thomas.petazzoni@free-electrons.com, devicetree@vger.kernel.org, lars@metafoo.de, linux-pm@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Quentin Schulz , linux-sunxi@googlegroups.com, pmeerw@pmeerw.net, knaack.h@gmx.de, linux-arm-kernel@lists.infradead.org, icenowy@aosc.io 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 TBS A711 has an AXP813 PMIC and a soldered battery, thus, we enable the battery power supply subnode in its Device Tree. Signed-off-by: Quentin Schulz --- arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts index 9871553..806cb17 100644 --- a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts +++ b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts @@ -181,6 +181,10 @@ #include "axp81x.dtsi" +&battery_power_supply { + status = "okay"; +}; + ®_aldo1 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>;