summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zephyr/dts/bindings/leds/cros-ec,led-colors.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/leds/cros-ec,led-colors.yaml b/zephyr/dts/bindings/leds/cros-ec,led-colors.yaml
index c919d625c2..f99804cb94 100644
--- a/zephyr/dts/bindings/leds/cros-ec,led-colors.yaml
+++ b/zephyr/dts/bindings/leds/cros-ec,led-colors.yaml
@@ -32,6 +32,11 @@ child-binding:
- PWR_STATE_IDLE
- PWR_STATE_CHARGE_NEAR_FULL
+ charge-port:
+ description: If the LED color depends on the charging port (left or right)
+ type: int
+ required: false
+
chipset-state:
description: If the LED color depends on chipset state, this
property is used to describe it.
@@ -67,6 +72,19 @@ child-binding:
- LED_YELLOW
- LED_WHITE
- LED_AMBER
+ led-id:
+ description: Used to link the color nodes with the pin nodes in
+ case of multiple LEDs.
+ type: string
+ required: true
+ enum:
+ - EC_LED_ID_BATTERY_LED
+ - EC_LED_ID_POWER_LED
+ - EC_LED_ID_ADAPTER_LED
+ - EC_LED_ID_LEFT_LED
+ - EC_LED_ID_RIGHT_LED
+ - EC_LED_ID_RECOVERY_HW_REINIT_LED
+ - EC_LED_ID_SYSRQ_DEBUG_LED
period-ms:
description: In case of blinking LEDs, amount of time in msecs
the LED color is active. This value must be a