Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1374590ybv; Sun, 23 Feb 2020 05:15:27 -0800 (PST) X-Google-Smtp-Source: APXvYqzvHG87QMEnbpqXV1sg7j6En9MRMMcxWMfhn1i/0ArZSIAY5PUmQxQKXHoGye1XiP8xw1os X-Received: by 2002:a9d:7489:: with SMTP id t9mr36520515otk.255.1582463727537; Sun, 23 Feb 2020 05:15:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582463727; cv=none; d=google.com; s=arc-20160816; b=TeXOtyymxv01U/oGNzz6IDPlXG0ePq05dNk846HjWgHhg5Iqk9wzXdlKtn9NX4JgAk x6h63IILr188P4/EKeedfcg7hO/04Zz2hgbMBytbsVyH9hNt4D8p0udehdMCcHGzN2ko sYV08a88L5UlSULslWbZakkS1iyF2se4qox6VLBv3deNz7T8xfPMxEWmNFttlY6EyKim LBEKmApGrnHyZ9tO1HjkfPvlvJbYCm1Som8yASbGsWWE2/3x6xgL1zsiM12lYsoL6rni b31V8+UI5cPufhHr2RripypgxoUVGeyZpwi5laWP6Hl5zmer0ZeyUEZnY85ZiBSGhLpw uaOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ALZeBKSTF58CkRQPDMM+yCnEGEXdENbwYGemTdlPw8Y=; b=qTNZJYEnI7yGceFASghX+q8sKnePkZ9yUIuRhlWvAm1P1CQLGjd61FrZpVjoca21Nv BD4FqBI+qa54VuIW/nIxnj1uHZAerV95GbAEqSih52tIn5AZtN91NaZPkFiU8MEoR8oL K+cO6MVsfJwtQddVzekdb5V84r76vhxeojRZa3lxGMbj1KOr/fZxTDnoLnpFkYLpq4Ns h/7WlDwRK87NcSILsEX47PIzbpo7k0dmDdUXKcr2kFr/4zoqtKE0d2GWKVN+XDZg4obb nxnsdecPqX9z/6A18/Cha3kVQKkSNXhWXoxUur1eDag5l7FkOSrhkmNumVS7IwGgI9h/ +6Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=rGyp96Sl; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g26si4641074otn.180.2020.02.23.05.15.16; Sun, 23 Feb 2020 05:15:27 -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; dkim=pass header.i=@megous.com header.s=mail header.b=rGyp96Sl; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727085AbgBWNOw (ORCPT + 99 others); Sun, 23 Feb 2020 08:14:52 -0500 Received: from vps.xff.cz ([195.181.215.36]:42696 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726377AbgBWNOv (ORCPT ); Sun, 23 Feb 2020 08:14:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1582463689; bh=NMin2NjZeeqocWZC9NSK1oMc+IKPqF2jiBrmazxCDxs=; h=From:To:Cc:Subject:Date:References:From; b=rGyp96Slng/w/Z7/e3YLulL5bZqgnaIYdI5fCn37OVTi25dHUU6qMSWUoRJMMTFH3 A0a3h0AKjpqQBgmI4pDVojzIgMFnrYegCmMSejetqfS1d4vnCStpAQ943VDbMh+pE9 G4OGZrj2ZGK52DJLuab6irxsutHCdFVxLnjXm5FA= From: Ondrej Jirman To: linux-sunxi@googlegroups.com, Jacek Anaszewski , Pavel Machek , Dan Murphy , Rob Herring , Chen-Yu Tsai , Maxime Ripard Cc: Ondrej Jirman , Mark Rutland , Lee Jones , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/4] ARM: dts: axp813: Add charger LED Date: Sun, 23 Feb 2020 14:14:34 +0100 Message-Id: <20200223131435.681620-4-megous@megous.com> In-Reply-To: <20200223131435.681620-1-megous@megous.com> References: <20200223131435.681620-1-megous@megous.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PMIC supports charging status indication via a LED. Add support for it. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/axp81x.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/axp81x.dtsi b/arch/arm/boot/dts/axp81x.dtsi index 1dfeeceabf4c3..00b092f94433d 100644 --- a/arch/arm/boot/dts/axp81x.dtsi +++ b/arch/arm/boot/dts/axp81x.dtsi @@ -175,4 +175,9 @@ reg_drivevbus: drivevbus { usb_power_supply: usb-power-supply { compatible = "x-powers,axp813-usb-power-supply"; }; + + charger_led: charger-led { + compatible = "x-powers,axp813-charger-led"; + status = "disabled"; + }; }; -- 2.25.1