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:
cyliang tw 2023-12-19 20:38:20 +08:00 committed by Carles Cufí
commit 9ad8e1ab74
7 changed files with 488 additions and 0 deletions

View 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