[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8c4b9ef7-0c18-d5c1-9672-b7fc683c3ce9@ti.com>
Date: Tue, 25 Feb 2020 06:55:09 -0600
From: Dan Murphy <dmurphy@...com>
To: Ondrej Jirman <megous@...ous.com>, <linux-sunxi@...glegroups.com>,
Jacek Anaszewski <jacek.anaszewski@...il.com>,
Pavel Machek <pavel@....cz>, Rob Herring <robh+dt@...nel.org>,
Chen-Yu Tsai <wens@...e.org>,
Maxime Ripard <mripard@...nel.org>
CC: Mark Rutland <mark.rutland@....com>,
Lee Jones <lee.jones@...aro.org>, <linux-leds@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH 1/4] dt-bindings: leds: Add a binding for AXP813 charger
led
Ondrej
On 2/23/20 7:14 AM, Ondrej Jirman wrote:
> The AXP813 PMIC can control one LED. Add binding to represent the LED.
>
> Signed-off-by: Ondrej Jirman <megous@...ous.com>
> ---
> .../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 <megous@...ous.com>
> +
> +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
You need to add the color and function properties for proper LED device
name presentation per the bindings/leds/common.yaml binding.
Dan
Powered by blists - more mailing lists