From 093a6c67005148ae32a5c9e4553491b9f5c2457b Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 07:40:51 +0000
Subject: [PATCH] disable kernel build waring
---
kernel/Documentation/devicetree/bindings/leds/leds-lp8860.txt | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/kernel/Documentation/devicetree/bindings/leds/leds-lp8860.txt b/kernel/Documentation/devicetree/bindings/leds/leds-lp8860.txt
index 5f0e892..8bb2574 100644
--- a/kernel/Documentation/devicetree/bindings/leds/leds-lp8860.txt
+++ b/kernel/Documentation/devicetree/bindings/leds/leds-lp8860.txt
@@ -20,11 +20,15 @@
- reg : 0
Optional child properties:
- - label : see Documentation/devicetree/bindings/leds/common.txt
+ - function : see Documentation/devicetree/bindings/leds/common.txt
+ - color : see Documentation/devicetree/bindings/leds/common.txt
+ - label : see Documentation/devicetree/bindings/leds/common.txt (deprecated)
- linux,default-trigger :
see Documentation/devicetree/bindings/leds/common.txt
Example:
+
+#include <dt-bindings/leds/common.h>
led-controller@2d {
compatible = "ti,lp8860";
@@ -36,10 +40,11 @@
led@0 {
reg = <0>;
- label = "white:backlight";
+ function = LED_FUNCTION_BACKLIGHT;
+ color = <LED_COLOR_ID_WHITE>;
linux,default-trigger = "backlight";
};
}
For more product information please see the link below:
-http://www.ti.com/product/lp8860-q1
+https://www.ti.com/product/lp8860-q1
--
Gitblit v1.6.2