Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp220481imj; Fri, 15 Feb 2019 22:13:05 -0800 (PST) X-Google-Smtp-Source: AHgI3IYZ1483woRKv5JBoScVKTUYNXRdzo+LAgOHtrjTzEyML3DlUp04xRiLbRAVLjgbVhFnfFe1 X-Received: by 2002:a63:e101:: with SMTP id z1mr8600318pgh.190.1550297585058; Fri, 15 Feb 2019 22:13:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550297585; cv=none; d=google.com; s=arc-20160816; b=suyV2eRkfB6hTOTxMQYFITIvtOm5hjetNS8QAswdq1/HUgyG0NFdy+n0TH96FDGJpy eolyeXpNgjIJS2Z1LS5Jv25/34mqkCJQcj38qrugbiYpHn7R0kUhRsvO/22nqUVNmlmm 1kLvdERwP05Sqe8mximLZuLmnLvvPDqhNRNUvkfkv6kTZiVwYRYBycHW8QQoVKPjzoZ4 PNv7Ou7Iw2RzNcTUt3wjEEF+bmAme3jVV1ZxoqeHvLCDKm9usKZq9yjNdHxrHazIoZjI 0XCQPEMWcEw4BfP8mP3gIniowaX/0tX3umblYQoL4hOsvfvJEW7iA2pl2qyAihJdkVGi eRpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=GrIFHZf0LuxwUlrOcylaSQ+qwhOt2U+90abpXr4xmVo=; b=qNhBI4mnWZIBF2nn28hYNt7ParlY31dKFn8S8wPXJbeNcxWHBafzd92DQ1B98d2H5R EiAuizu0vTnWBuE2enKCQ9UqdFZNbUmkYa8DAjU/834NnHOQf8t8g7jbDAQVpKFVNBVR 8sNp1ln1uG0roFVrcXgBMXemGt8tlPZnTMkFsV3gqupABPxN77gKMwSQqM+1s06/mhnX lqrTzkgb9EW3C094W5tEjrrwPhyYySmtIwX6qOEVyseiwbpTeE9SmR+DumJKyg/51qDh lWJAem7dIiQl6svcALk0CiBy3jklwMOk1SFHXigZdbDVRrd72dnt9DN/tVNZefc5Uu0o b4aw== 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 z9si7209369pgc.474.2019.02.15.22.12.49; Fri, 15 Feb 2019 22:13:05 -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 S1732545AbfBOStU (ORCPT + 99 others); Fri, 15 Feb 2019 13:49:20 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:39095 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726891AbfBOStU (ORCPT ); Fri, 15 Feb 2019 13:49:20 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 626A180441; Fri, 15 Feb 2019 19:49:10 +0100 (CET) Date: Fri, 15 Feb 2019 19:49:16 +0100 From: Pavel Machek To: Stefan Mavrodiev Cc: Jacek Anaszewski , Rob Herring , Mark Rutland , Chen-Yu Tsai , Maxime Ripard , Lee Jones , "open list:LED SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "open list:X-POWERS MULTIFUNCTION PMIC DEVICE DRIVERS" , "moderated list:ARM/Allwinner sunXi SoC support" Subject: Re: [PATCH v2 5/8] arm64: dts: allwinner: Enable AXP803 CHGLED for Olimex boards Message-ID: <20190215184916.GA17897@amd> References: <20190215115013.11098-1-stefan@olimex.com> <20190215115013.11098-6-stefan@olimex.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <20190215115013.11098-6-stefan@olimex.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri 2019-02-15 13:50:10, Stefan Mavrodiev wrote: > Teres-I and A64-OLinuXino commes with populated LED connected > to AXP803. So to be used as battery indication, pass the LED control > to the charger itself in mode 0 ( FULL while charging, OFF no battery > or completed). >=20 > Signed-off-by: Stefan Mavrodiev > --- > arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts | 6 ++++++ > arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts | 6 ++++++ > 2 files changed, 12 insertions(+) >=20 > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts b/arc= h/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts > index f7a4bccaa5d4..7d6930319fba 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts > @@ -177,6 +177,12 @@ > =20 > #include "axp803.dtsi" > =20 > +&axp_led { > + label =3D "a64-olinuxino:yellow:chgled"; There's little chance userspace will recognize this led. Can you make it "platform:yellow:charging" and fix it for other boards, too? Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlxnCawACgkQMOfwapXb+vLEAwCfUcSllFtWon2qQkW9JcK3hfq4 aMsAoKwCglaZGvwLk+NVMgYjCe18FLZf =ftHA -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--