zephyr/dts/bindings/iio/adc/nxp,lpc-lpadc.yaml

57 lines
1.1 KiB
YAML

# Copyright (c) 2020, Toby Firth
# SPDX-License-Identifier: Apache-2.0
description: LPC LPADC
compatible: "nxp,lpc-lpadc"
include: adc-controller.yaml
properties:
reg:
required: true
interrupts:
required: true
clk-divider:
type: int
required: true
description: clock divider for the converter
clk-source:
type: int
required: true
description: source to attach the ADC clock to
voltage-ref:
type: int
required: true
description: reference voltage source
calibration-average:
type: int
required: true
description: conversion average number for auto-calibration
power-level:
type: int
required: true
description: power level for the ADC
offset-value-a:
type: int
required: true
description: Offset value A to use if CONFIG_LPADC_DO_OFFSET_CALIBRATION is false
offset-value-b:
type: int
required: true
description: Offset value B to use if CONFIG_LPADC_DO_OFFSET_CALIBRATION is false
"#io-channel-cells":
const: 1
io-channel-cells:
- input