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:
Declan Snyder 2024-04-26 10:30:36 -05:00 committed by Anas Nashif
commit c767ed6e27
2 changed files with 82 additions and 0 deletions

View 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