Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1375115ybv; Sun, 23 Feb 2020 05:16:07 -0800 (PST) X-Google-Smtp-Source: APXvYqwizsLCTC8vasIfy6Mu4bgZ3T0eCtBeGzbV5+yqhMd2R3JRmU/x1h1wD7p+1loc7MpNegNS X-Received: by 2002:aca:4e02:: with SMTP id c2mr9512094oib.142.1582463766900; Sun, 23 Feb 2020 05:16:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582463766; cv=none; d=google.com; s=arc-20160816; b=GQHL8U59CV8ToxGUbJHnAeB4WocNTgOiPT0UjZHV0jjNmR86BABXQEMoVjJsrUrXLK uCFuCl+8FmICu+94cDrnWvmFJ+zOLrRYd9d1s8v3ehYcqiWBbYgBNb2MfLcfvs2T4KH9 vfK45aTlGQvwuDjNtS1aWCUE79Y12oNFf0iTpfaQGQWSgswVlH6BWrpgkzBBLhnRQH7G 7aCZc6ZuF57mZG2TgVUrAwqCiAcL/PpWddam/+eDXNy9pwfhEptRjYNKzLyPw5HezhYH 9KqNEbTQyRcj4ugdiW1wDmn4eE3lukdwRcP3bkS5NW+I216OvtEnHmW/5IkPTcJAXSQa aFHA== 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=hcixa6kbm8ZSCN1uv4kn4BVe9tHb2VouSR89CFP96xE=; b=JAxV5iNu2vH5q4gMYXMmy/y8RyqmR1QlyAlH3XOcehSf4cowmr3FQOMvZ5qDkc9/rc zhU4uCiBugWos/EuYvPYvtPuD/ecxaSljUftOGZyCnq0bx6sZl7OMXHleOa6i/kncVbn O139yJnbsGGuxBq3MRcbpamNbfTbnbt5hIeEgTZnLwfgk1LrjGuy+c4VtzJJnUd+VH91 c7ggmlUFSC41yOFcXiLt2r5wWDxIHNKnywGlmA8KBsGOH6MF7Y7X/GCr66y6SoDiQSii 67WVXP/vDd/kuDE4hroFT4WpVMaHJPWahavNtA20OYfRO7UjjCVf0AVh2VIx/eM7665m PbGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=Fx68tUzr; 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 i6si4486328oth.182.2020.02.23.05.15.55; Sun, 23 Feb 2020 05:16:06 -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=Fx68tUzr; 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 S1726720AbgBWNOv (ORCPT + 99 others); Sun, 23 Feb 2020 08:14:51 -0500 Received: from vps.xff.cz ([195.181.215.36]:42654 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726236AbgBWNOu (ORCPT ); Sun, 23 Feb 2020 08:14:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1582463688; bh=54xRUvTGkyMdNnk2rkB4/jjx5Pxs9Bu2zPWHTbo071c=; h=From:To:Cc:Subject:Date:References:From; b=Fx68tUzrMaT6Zx3ogeXuS/EuwQ/VR0ubxBgXvpNRbq2SWOrAY0bPpSM9f1lhlSbYu kAuBvr+0OHOjhyVClPIvqc247aXGz9ytldoXD4bs6Drr632oAP4KbvS9dfjDYXU5bd ih4c6a4n5lWwEzMwvrMJMsmKmEgPythG0hxvhEDM= 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 1/4] dt-bindings: leds: Add a binding for AXP813 charger led Date: Sun, 23 Feb 2020 14:14:32 +0100 Message-Id: <20200223131435.681620-2-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 The AXP813 PMIC can control one LED. Add binding to represent the LED. Signed-off-by: Ondrej Jirman --- .../devicetree/bindings/leds/leds-axp20x.yaml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/leds-axp20x.yaml diff --git a/Documentation/devicetree/bindings/leds/leds-axp20x.yaml b/Documentation/devicetree/bindings/leds/leds-axp20x.yaml new file mode 100644 index 0000000000000..79282d55764bf --- /dev/null +++ b/Documentation/devicetree/bindings/leds/leds-axp20x.yaml @@ -0,0 +1,24 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/leds-axp20x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LED driver for AXP813 PMIC from X-Powers. + +maintainers: + - Ondrej Jirman + +description: | + This module is part of the AXP20x MFD device. For more details + see Documentation/devicetree/bindings/mfd/axp20x.txt. + + The LED controller is represented as a sub-node of the PMIC node on + the device tree. + +properties: + compatible: + const: x-powers,axp813-charger-led + +required: + - compatible -- 2.25.1