blob: e0a10e78a95399b084390ee8add7b50d131403e6 [file] [log] [blame]
# Copyright (c) 2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
description: |
This will perform signal comparision with threshold established.
compatible: "nuvoton,adc-cmp"
properties:
io-channels:
type: phandle-array
required: true
description: |
ADC channel that will perform measurement.
threshold-mv:
type: int
required: false
description: |
Value in millivolts present on ADC data as threshold assert.
comparison:
type: string
required: false
description: |
Determines the condition to be met between ADC data and
threshold assert value that will trigger comparator event.
enum:
- ADC_CMP_NPCX_GREATER
- ADC_CMP_NPCX_LESS_OR_EQUAL