drivers: adc: support Nuvoton numaker series
Add Nuvoton numaker series adc controller, including async read feature. Signed-off-by: cyliang tw <cyliang@nuvoton.com>
This commit is contained in:
parent
4a77bdb4e8
commit
9ad8e1ab74
7 changed files with 488 additions and 0 deletions
32
dts/bindings/adc/nuvoton,numaker-adc.yaml
Normal file
32
dts/bindings/adc/nuvoton,numaker-adc.yaml
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Copyright (c) 2023 Nuvoton Technology Corporation.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: Nuvoton, NuMaker ADC controller
|
||||
|
||||
compatible: "nuvoton,numaker-adc"
|
||||
|
||||
include: [adc-controller.yaml, reset-device.yaml, pinctrl-device.yaml]
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
|
||||
interrupts:
|
||||
required: true
|
||||
|
||||
resets:
|
||||
required: true
|
||||
|
||||
clocks:
|
||||
required: true
|
||||
|
||||
channels:
|
||||
type: int
|
||||
description: Number of channels
|
||||
required: true
|
||||
|
||||
"#io-channel-cells":
|
||||
const: 1
|
||||
|
||||
io-channel-cells:
|
||||
- input
|
Loading…
Add table
Add a link
Reference in a new issue