From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,T_DKIMWL_WL_HIGH autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35C67C04E84 for ; Tue, 28 May 2019 13:00:00 +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 0AAC72081C for ; Tue, 28 May 2019 12:59:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UZR2sICa"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="gTWB50NF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0AAC72081C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Date:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pu6uB5o2VQNGIpPM5NxK05mtP2DdpybhehiH3MdWe6U=; b=UZR2sICacnN7Wm EtxUrXuk2WY5AlPTJ0h7We8ZthKhfx0J+KfhX2zJ++dNN8w6cKJVoeXQM8PIUa9NVaTpF9bNOjQcq fzPw6CMxM0KjYb+MydSfD17k395fw47zmBNP5bzzFYkkVy+MjlB/9rXheug5FJBRI9AVbP62N/OCE LO4qXuPGtXjABUbWk5FucYvvjgMwqnkzmwz9SXeHhiKpbeUnBbjMPI7iNcXJzJjw5KCSUak/QSYhS 5Q+ktSEGaNNMlvMDAucDtV/I2Xxw5YaQjDrqKHEu320pSjD5D3TIGhMJ52HK6Ic4Ay7D7RehHM9x8 JeTmcVEfIvtSinZp5IgA==; 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 1hVbho-00072h-J7; Tue, 28 May 2019 12:59:52 +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 1hVbhn-00071V-6F for linux-arm-kernel@bombadil.infradead.org; Tue, 28 May 2019 12:59:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To: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=HbSrTVkTKBqdvJbLrVRBfPckPWJ6j7nLG2UxYwC6wGI=; b=gTWB50NFISRgHLYq7nP0tLSBS9 mmZ/tuoqJJINQj0GOsem9zqrmDC4JAvAN9IDphqmxyEK79t9XRckzaw2KRzqOhvQB9JCfXXAvzgIg XEUe50yyhI1MNruOQmiRZPYmjODRYBgRHvrRGX1ILGSGZAOyWcZKCeyzC0r517OVEIbSUVGlXXkQt MmkLzFgAKJbykmW+F+pNueB4L9LoJR5KZjwPQHycvJ0igZqxdc8hO/V2CE67p4Mdy3VOx8Ej03qIE pYJPE7NA0v+qDq2l5hRx/S4t3NvxOHut4qclIRACrD0AZaaLiuqx7PGRktXeoJ6gitdfdBPyNZ/V0 4E47lBnw==; Received: from relay10.mail.gandi.net ([217.70.178.230]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVbhj-0003wO-J4 for linux-arm-kernel@lists.infradead.org; Tue, 28 May 2019 12:59:49 +0000 Received: from aptenodytes (aaubervilliers-681-1-27-134.w90-88.abo.wanadoo.fr [90.88.147.134]) (Authenticated sender: paul.kocialkowski@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 7D3D2240011; Tue, 28 May 2019 12:58:58 +0000 (UTC) Message-ID: <2b671c1f0734177a6283407f753403473b70f5bc.camel@bootlin.com> Subject: Re: [linux-sunxi] [RESEND PATCH] ARM: dts: sun7i: olimex-lime2: Enable ac and power supplies From: Paul Kocialkowski To: plaes@plaes.org, Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Date: Tue, 28 May 2019 14:58:57 +0200 In-Reply-To: <20190528063544.17408-1-plaes@plaes.org> References: <20190528063544.17408-1-plaes@plaes.org> Organization: Bootlin User-Agent: Evolution 3.32.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190528_085947_734434_949D8160 X-CRM114-Status: GOOD ( 14.75 ) 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: linux-sunxi@googlegroups.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, On Tue, 2019-05-28 at 09:35 +0300, Priit Laes wrote: > Lime2 has battery connector so enable these supplies. Out of curiosity, what is reported to userspace when no battery is attached? Looks good otherwise: Reviewed-by: Paul Kocialkowski Cheers, Paul > Signed-off-by: Priit Laes > --- > arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts > index 9c8eecf4337a..9001b5527615 100644 > --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts > +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts > @@ -206,6 +206,14 @@ > > #include "axp209.dtsi" > > +&ac_power_supply { > + status = "okay"; > +}; > + > +&battery_power_supply { > + status = "okay"; > +}; > + > ®_dcdc2 { > regulator-always-on; > regulator-min-microvolt = <1000000>; > -- > 2.11.0 > -- Paul Kocialkowski, Bootlin Embedded Linux and kernel engineering https://bootlin.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel