From patchwork Sun Feb 23 13:14:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ondrej Jirman X-Patchwork-Id: 209160 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=-6.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED autolearn=unavailable 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 89A00C35666 for ; Sun, 23 Feb 2020 13:21:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 62159206ED for ; Sun, 23 Feb 2020 13:21:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=megous.com header.i=@megous.com header.b="mJC075OA" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726302AbgBWNVb (ORCPT ); Sun, 23 Feb 2020 08:21:31 -0500 Received: from vps.xff.cz ([195.181.215.36]:42860 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726490AbgBWNVa (ORCPT ); Sun, 23 Feb 2020 08:21:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1582463690; bh=O0vRhY+V2Jl0M2obAxrjSnldPLPIOsBZnIOFMxJMK+c=; h=From:To:Cc:Subject:Date:References:From; b=mJC075OALCfwecGtghLUWPgvLx+ENTajLDet/rRYECHBD3H+iU5h22uyPSOneXWA6 bbpu90eCtl56eNcxBQGRX+/cQmM2Web00EzrUdJJ95Ykq8mD6V8vI/3bynYSeGVXBk Gh23GXprCha0Kn49mD4lg63UldnhkNREBDh2Cyww= 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 4/4] ARM: dts: sun8i-a83t-tbs-a711: Enable charging LED Date: Sun, 23 Feb 2020 14:14:35 +0100 Message-Id: <20200223131435.681620-5-megous@megous.com> In-Reply-To: <20200223131435.681620-1-megous@megous.com> References: <20200223131435.681620-1-megous@megous.com> MIME-Version: 1.0 Sender: linux-leds-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org The tablet has a LED connected to the PMIC. The LED is visible in the top right corner of the tablet. Enable it. Signed-off-by: Ondrej Jirman --- 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 2fd31a0a0b344..40911b5d3f323 100644 --- a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts +++ b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts @@ -300,6 +300,10 @@ &battery_power_supply { status = "okay"; }; +&charger_led { + status = "okay"; +}; + ®_aldo1 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>;