dts: bindings: adc: Add NXP GAU ADC binding
Add binding for NXP GAU ADC Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
parent
f7f80b6cd7
commit
c767ed6e27
2 changed files with 82 additions and 0 deletions
55
dts/bindings/adc/nxp,gau-adc.yaml
Normal file
55
dts/bindings/adc/nxp,gau-adc.yaml
Normal file
|
@ -0,0 +1,55 @@
|
|||
# Copyright 2022 NXP
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: |
|
||||
NXP GAU GPADC.
|
||||
|
||||
compatible: "nxp,gau-adc"
|
||||
|
||||
include:
|
||||
- name: base.yaml
|
||||
- name: adc-controller.yaml
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
|
||||
interrupts:
|
||||
required: true
|
||||
|
||||
nxp,clock-divider:
|
||||
type: int
|
||||
description: |
|
||||
Clock divider from 1 to 32.
|
||||
Default is 1 which is reset value.
|
||||
default: 1
|
||||
|
||||
nxp,power-mode:
|
||||
type: string
|
||||
description: |
|
||||
Current bias.
|
||||
Default is "full-bias" because it is the reset value.
|
||||
enum:
|
||||
- "full-bias"
|
||||
- "half-bias"
|
||||
default: "full-bias"
|
||||
|
||||
nxp,input-buffer:
|
||||
type: boolean
|
||||
description: Enable use of the input buffer
|
||||
|
||||
nxp,calibration-voltage:
|
||||
type: string
|
||||
enum:
|
||||
- "internal"
|
||||
- "external"
|
||||
default: "internal"
|
||||
description: |
|
||||
Use external calibration voltage.
|
||||
Default is "internal" because it is the reset value.
|
||||
|
||||
"#io-channel-cells":
|
||||
const: 1
|
||||
|
||||
io-channel-cells:
|
||||
- input
|
Loading…
Add table
Add a link
Reference in a new issue