zephyr/dts/bindings/adc/nuvoton,npcx-adc.yaml
Mulin Chao eacdadf270 driver: adc: npcx: remove threshold-reg-offset DT property
Remove `threshold-reg-offset` DT property and implement them with static
inline functions in `reg_def.h`

Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
2023-09-08 14:43:37 +02:00

33 lines
681 B
YAML

# Copyright (c) 2020 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0
description: Nuvoton, NPCX-ADC node
compatible: "nuvoton,npcx-adc"
include: [adc-controller.yaml, pinctrl-device.yaml]
properties:
reg:
required: true
clocks:
required: true
pinctrl-0:
required: true
pinctrl-names:
required: true
vref-mv:
type: int
required: true
description: ADC reference voltage (Unit:mV)
channel-count:
type: int
required: true
description: the number of ADC channels
threshold-count:
type: int
required: true
description: the number of threshold detectors adc supports
io-channel-cells:
- input