build/patch/kernel/archive/sunxi-6.2/patches.megous/dt-bindings-leds-Add-a-binding-for-AXP813-charger-led.patch

48 lines
1.4 KiB
Diff

From 26dff72193ed08eaffff4ff3673ff547a80f40b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20Jirman?= <megi@xff.cz>
Date: Sun, 23 Feb 2020 13:40:15 +0100
Subject: [PATCH 009/391] dt-bindings: leds: Add a binding for AXP813 charger
led
The AXP813 PMIC can control one LED. Add binding to represent the LED.
Signed-off-by: Ondrej Jirman <megi@xff.cz>
---
.../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 000000000..110edae82
--- /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 <megi@xff.cz>
+
+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.35.3