diff options
Diffstat (limited to 'zephyr/test/drivers/led_driver/led_policy.dts')
-rw-r--r-- | zephyr/test/drivers/led_driver/led_policy.dts | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/zephyr/test/drivers/led_driver/led_policy.dts b/zephyr/test/drivers/led_driver/led_policy.dts index dbbc23062f..fb6d37cb05 100644 --- a/zephyr/test/drivers/led_driver/led_policy.dts +++ b/zephyr/test/drivers/led_driver/led_policy.dts @@ -1,4 +1,4 @@ -/* Copyright 2022 The ChromiumOS Authors. +/* Copyright 2022 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -11,7 +11,7 @@ / { led-colors { - compatible = "cros-ec,led-colors"; + compatible = "cros-ec,led-policy"; power-state-charge-left { charge-state = "PWR_STATE_CHARGE"; @@ -142,10 +142,9 @@ }; }; - power-state-idle-forced-left { - charge-state = "PWR_STATE_IDLE"; + power-state-forced-idle-left { + charge-state = "PWR_STATE_FORCED_IDLE"; charge-port = <1>; /* Left port */ - extra-flag = "LED_CHFLAG_FORCE_IDLE"; /* Turn off the right LED */ color-0 { @@ -162,10 +161,9 @@ }; }; - power-state-idle-forced-right { - charge-state = "PWR_STATE_IDLE"; + power-state-forced-idle-right { + charge-state = "PWR_STATE_FORCED_IDLE"; charge-port = <0>; /* Right port */ - extra-flag = "LED_CHFLAG_FORCE_IDLE"; /* Turn off the left LED */ color-0 { @@ -182,10 +180,9 @@ }; }; - power-state-idle-default-left { + power-state-idle-left { charge-state = "PWR_STATE_IDLE"; charge-port = <1>; /* Left port */ - extra-flag = "LED_CHFLAG_DEFAULT"; /* Turn off the right LED */ color-0 { @@ -197,10 +194,9 @@ }; }; - power-state-idle-default-right { + power-state-idle-right { charge-state = "PWR_STATE_IDLE"; charge-port = <0>; /* Right port */ - extra-flag = "LED_CHFLAG_DEFAULT"; /* Turn off the left LED */ color-0 { |