summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/adc/named-adc.yaml
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2021-11-04 12:11:58 -0600
committerCommit Bot <commit-bot@chromium.org>2021-11-05 04:22:34 +0000
commit252457d4b21f46889eebad61d4c0a65331919cec (patch)
tree01856c4d31d710b20e85a74c8d7b5836e35c3b98 /zephyr/dts/bindings/adc/named-adc.yaml
parent08f5a1e6fc2c9467230444ac9b582dcf4d9f0068 (diff)
downloadchrome-ec-stabilize-14438.B-ish.tar.gz
In the interest of making long-term branch maintenance incur as little technical debt on us as possible, we should not maintain any files on the branch we are not actually using. This has the added effect of making it extremely clear when merging CLs from the main branch when changes have the possibility to affect us. The follow-on CL adds a convenience script to actually pull updates from the main branch and generate a CL for the update. BUG=b:204206272 BRANCH=ish TEST=make BOARD=arcada_ish && make BOARD=drallion_ish Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: I17e4694c38219b5a0823e0a3e55a28d1348f4b18 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3262038 Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Diffstat (limited to 'zephyr/dts/bindings/adc/named-adc.yaml')
-rw-r--r--zephyr/dts/bindings/adc/named-adc.yaml107
1 files changed, 0 insertions, 107 deletions
diff --git a/zephyr/dts/bindings/adc/named-adc.yaml b/zephyr/dts/bindings/adc/named-adc.yaml
deleted file mode 100644
index 6f06d73b86..0000000000
--- a/zephyr/dts/bindings/adc/named-adc.yaml
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 2021 The Chromium OS Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-description: ADC parent node
-
-compatible: "named-adc-channels"
-
-child-binding:
- description: Named ADCs child node
- properties:
- label:
- required: true
- type: string
- description:
- Human-readable string describing the device (used as
- device_get_binding() argument)
- channel:
- required: true
- type: int
- description: ADC channel used
- mul:
- required: false
- type: int
- default: 1
- description: Multiplication factor of ADC measurement
- div:
- required: false
- type: int
- default: 1
- description: Division factor of ADC measurement
- gain:
- required: false
- type: string
- description:
- Gain selection for the ADC channel. Source of valid gain settings is
- "enum adc_gain" found in <zephyr-base>/include/drivers/adc.h
- enum:
- - ADC_GAIN_1_6
- - ADC_GAIN_1_5
- - ADC_GAIN_1_4
- - ADC_GAIN_1_3
- - ADC_GAIN_1_2
- - ADC_GAIN_2_3
- - ADC_GAIN_1
- - ADC_GAIN_2
- - ADC_GAIN_3
- - ADC_GAIN_4
- - ADC_GAIN_8
- - ADC_GAIN_16
- - ADC_GAIN_32
- - ADC_GAIN_64
- - ADC_GAIN_128
- default: ADC_GAIN_1
- reference:
- required: false
- type: string
- description:
- Sets the reference voltage for the ADC channel. Source of valid
- reference voltages is "enum adc_reference" found in
- <zephyr-base>/include/drivers/adc.
- enum:
- - ADC_REF_VDD_1
- - ADC_REF_VDD_1_2
- - ADC_REF_VDD_1_3
- - ADC_REF_VDD_1_4
- - ADC_REF_INTERNAL
- - ADC_REF_EXTERNAL0
- - ADC_REF_EXTERNAL1
- default: ADC_REF_INTERNAL
- acquisition-time:
- required: false
- type: int
- description:
- Set the acquisition time for ADC conversion. Use the ADC_ACQ_TIME macro
- to compose this value. If the hardware doesn't support a configurable
- acquisition time, use ADC_ACQ_TIME_DEFAULT (0).
- default: 0
- differential:
- required: false
- type: boolean
- description:
- Set the ADC acquisition mode to differential. Default mode is
- single-ended acquisition.
- enum-name:
- type: string
- required: true
- description:
- Enum values used in the source code to refer to the ADC channels
- enum:
- - ADC_AMON_BMON
- - ADC_BOARD_ID_0
- - ADC_BOARD_ID_1
- - ADC_PMON
- - ADC_PSYS
- - ADC_TEMP_SENSOR_CHARGER
- - ADC_TEMP_SENSOR_DDR_SOC
- - ADC_TEMP_SENSOR_FAN
- - ADC_TEMP_SENSOR_PP3300_REGULATOR
- - ADC_VBUS
- - ADC_VBUS_C0
- - ADC_VBUS_C1
- - ADC_EVB_CH_0
- - ADC_EVB_CH_1
- - ADC_EVB_CH_2
- - ADC_EVB_CH_3
- - ADC_EVB_CH_4