From patchwork Mon Jan 15 10:33:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 124500 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp624452lje; Mon, 15 Jan 2018 02:37:10 -0800 (PST) X-Google-Smtp-Source: ACJfBot2hKEd44h7vXFUaX0gUXb+xGHBEju4PMD5z+azZvxx4AGpSag0yuku5eqf5PZ204H38pdt X-Received: by 10.159.196.135 with SMTP id c7mr33733565plo.367.1516012630171; Mon, 15 Jan 2018 02:37:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516012630; cv=none; d=google.com; s=arc-20160816; b=TCLBPVMqC7G+EZqr4r5Gs0OosR5iH9JrScE8rKCGnm5f4Olcnr70VRhNjmLXxA1T2N 8BUNU+6TMtbF7kMUXJPafFGszBn+X6dJB8JAA0kG1XEIBYTj5+Vpk4qnK1a61EeYWus4 HuRWucD+1XyniaR9mdCGn5DvqZbnttJT4/5a8GLMmJKalTa1WlAQTJk3duMRT8oGIvmY N1DiBcXG9BwKWbDjlOaq0dCeDM78FV7cF/o9s2hDC6AUAz14ko9jTPiRO7N0a/p1ir0C 444QjnML960n6dLaHkvSKpi0k4/7cWcmj1XaxuxdkKrErJW0hgTWDs6X6Qg4jIPK1BVy kJcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=a+ZYdTFGpQocYJoAKilYr+cBEU5ue2U8/inxJoOjB+0=; b=LlVKv+mFuKmg5IadN/oGT1YEMUgErjZTZtkn21/BJB1tiHlnGPKTAffJpMu8bMnHWi HlbvLl4bXzSpdX/ZBpr2PVX8EgT70UeeHxBvZSNiJEemafSOo3+fYYbinldBJ2dCXD+x hSh8nRIHsbiaxtiHsrkufyKiJE162bv/jKFIHagKr3FtS+tcP8B56SrUF/Frw0S0pvcp oxE6GYV7D3PQ5nA6m5Ch9C8aS3SzUaYyhAyfobun5zcoBw1mSiVOIpI8u6yFniu4g2jq Gw+k/lWeVSIw7Hs/iiziP7POSzfFPZvxMxUcsF49q03VR7b9qvneRbxux6giAwvvDuLY W7JQ== 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 k127si12368467pgc.352.2018.01.15.02.37.09; Mon, 15 Jan 2018 02:37:10 -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 S934236AbeAOKhI (ORCPT + 28 others); Mon, 15 Jan 2018 05:37:08 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:43910 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755348AbeAOKfN (ORCPT ); Mon, 15 Jan 2018 05:35:13 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id 131EA208AF; Mon, 15 Jan 2018 11:35:10 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 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 836572088D; Mon, 15 Jan 2018 11:34:54 +0100 (CET) From: Quentin Schulz To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, robh+dt@kernel.org, mark.rutland@arm.com, wens@csie.org, sre@kernel.org, linux@armlinux.org.uk, maxime.ripard@free-electrons.com, lee.jones@linaro.org Cc: linux-iio@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, thomas.petazzoni@free-electrons.com, linux-sunxi@googlegroups.com, julian.calaby@gmail.com, Quentin Schulz Subject: [PATCH v3 15/16] ARM: dtsi: sun8i: a711: enable battery power supply subnode Date: Mon, 15 Jan 2018 11:33:49 +0100 Message-Id: X-Mailer: git-send-email 2.14.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- git-series 0.9.1 diff --git a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts index 511fca4..1de362f 100644 --- a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts +++ b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts @@ -231,6 +231,10 @@ #include "axp81x.dtsi" +&battery_power_supply { + status = "okay"; +}; + ®_aldo1 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>;