diff options
author | Dawid Niedzwiecki <dn@semihalf.com> | 2021-12-21 13:13:19 +0100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-12-21 18:04:51 +0000 |
commit | 173d13f61f4d3b464ec7f6c5aff7623d67873421 (patch) | |
tree | 8e0adbafcba3ceef0fbb1559387575e996efa276 /zephyr/boards | |
parent | 3970184a3e1102f920d3a809ef93c13f54f157cd (diff) | |
download | chrome-ec-173d13f61f4d3b464ec7f6c5aff7623d67873421.tar.gz |
zephyr: adc: update label
Correct the description of the label property and remove redundant
information from the strings e.g. "ADC_". The string is used only to
describe a channel in the adc console command.
BUG=b:208435885
TEST=zmake testall
BRANCH=main
Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com>
Change-Id: Ia6af238e655362223959318821e0e36dd60fae94
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3347650
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/boards')
-rw-r--r-- | zephyr/boards/arm/herobrine_npcx9/herobrine_npcx9.dts | 6 | ||||
-rw-r--r-- | zephyr/boards/arm/trogdor/trogdor.dts | 6 | ||||
-rw-r--r-- | zephyr/boards/arm/volteer/volteer.dts | 8 | ||||
-rw-r--r-- | zephyr/boards/riscv/asurada/asurada.dts | 14 |
4 files changed, 17 insertions, 17 deletions
diff --git a/zephyr/boards/arm/herobrine_npcx9/herobrine_npcx9.dts b/zephyr/boards/arm/herobrine_npcx9/herobrine_npcx9.dts index cdf998c13f..e510d57a09 100644 --- a/zephyr/boards/arm/herobrine_npcx9/herobrine_npcx9.dts +++ b/zephyr/boards/arm/herobrine_npcx9/herobrine_npcx9.dts @@ -66,14 +66,14 @@ compatible = "named-adc-channels"; vbus { - label = "ADC_VBUS"; + label = "VBUS"; enum-name = "ADC_VBUS"; channel = <1>; /* Measure VBUS through a 1/10 voltage divider */ mul = <10>; }; amon_bmon { - label = "ADC_AMON_BMON"; + label = "AMON_BMON"; enum-name = "ADC_AMON_BMON"; channel = <2>; /* @@ -85,7 +85,7 @@ div = <18>; }; psys { - label = "ADC_PSYS"; + label = "PSYS"; enum-name = "ADC_PSYS"; channel = <3>; /* diff --git a/zephyr/boards/arm/trogdor/trogdor.dts b/zephyr/boards/arm/trogdor/trogdor.dts index 74a0dd5f79..0b99006e7d 100644 --- a/zephyr/boards/arm/trogdor/trogdor.dts +++ b/zephyr/boards/arm/trogdor/trogdor.dts @@ -118,14 +118,14 @@ compatible = "named-adc-channels"; vbus { - label = "ADC_VBUS"; + label = "VBUS"; enum-name = "ADC_VBUS"; channel = <1>; /* Measure VBUS through a 1/10 voltage divider */ mul = <10>; }; amon_bmon { - label = "ADC_AMON_BMON"; + label = "AMON_BMON"; enum-name = "ADC_AMON_BMON"; channel = <2>; /* @@ -137,7 +137,7 @@ div = <18>; }; psys { - label = "ADC_PSYS"; + label = "PSYS"; enum-name = "ADC_PSYS"; channel = <3>; /* diff --git a/zephyr/boards/arm/volteer/volteer.dts b/zephyr/boards/arm/volteer/volteer.dts index 6fa969934f..79d08170af 100644 --- a/zephyr/boards/arm/volteer/volteer.dts +++ b/zephyr/boards/arm/volteer/volteer.dts @@ -93,22 +93,22 @@ compatible = "named-adc-channels"; adc_charger: charger { - label = "ADC_TEMP_SENSOR_CHARGER"; + label = "TEMP_CHARGER"; enum-name = "ADC_TEMP_SENSOR_CHARGER"; channel = <0>; }; adc_pp3300_regulator: pp3300_regulator { - label = "ADC_TEMP_SENSOR_PP3300_REGULATOR"; + label = "TEMP_PP3300_REGULATOR"; enum-name = "ADC_TEMP_SENSOR_PP3300_REGULATOR"; channel = <1>; }; adc_ddr_soc: ddr_soc { - label = "ADC_TEMP_SENSOR_DDR_SOC"; + label = "TEMP_DDR_SOC"; enum-name = "ADC_TEMP_SENSOR_DDR_SOC"; channel = <8>; }; adc_fan: fan { - label = "ADC_TEMP_SENSOR_FAN"; + label = "TEMP_FAN"; enum-name = "ADC_TEMP_SENSOR_FAN"; channel = <3>; }; diff --git a/zephyr/boards/riscv/asurada/asurada.dts b/zephyr/boards/riscv/asurada/asurada.dts index fee639a730..9b8cf91283 100644 --- a/zephyr/boards/riscv/asurada/asurada.dts +++ b/zephyr/boards/riscv/asurada/asurada.dts @@ -43,41 +43,41 @@ compatible = "named-adc-channels"; adc_vbus_c0 { - label = "ADC_VBUS_C0"; + label = "VBUS_C0"; enum-name = "ADC_VBUS_C0"; channel = <0>; mul = <10>; }; adc_board_id0 { - label = "ADC_BOARD_ID_0"; + label = "BOARD_ID_0"; enum-name = "ADC_BOARD_ID_0"; channel = <1>; }; adc_board_id1 { - label = "ADC_BOARD_ID_1"; + label = "BOARD_ID_1"; enum-name = "ADC_BOARD_ID_1"; channel = <2>; }; adc_charger_amon_r { - label = "ADC_AMON_BMON"; + label = "AMON_BMON"; enum-name = "ADC_AMON_BMON"; channel = <3>; mul = <1000>; div = <18>; }; adc_vbus_c1 { - label = "ADC_VBUS_C1"; + label = "VBUS_C1"; enum-name = "ADC_VBUS_C1"; channel = <5>; mul = <10>; }; adc_charger_pmon { - label = "ADC_PMON"; + label = "PMON"; enum-name = "ADC_PMON"; channel = <6>; }; adc-psys { - label = "ADC_PSYS"; + label = "PSYS"; enum-name = "ADC_PSYS"; channel = <6>; }; |