forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dts: dac: add a new binding for the SAM0 DAC
The Atmel SAM0 DAC is a single channel 10 bit DAC with selectable reference. Signed-off-by: Michael Hope <[email protected]>
- Loading branch information
1 parent
8dd6644
commit 4a716c6
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Copyright (c) 2020 Google LLC. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
description: Atmel SAM0 family DAC | ||
|
||
compatible: "atmel,sam0-dac" | ||
|
||
include: dac-controller.yaml | ||
|
||
properties: | ||
reg: | ||
required: true | ||
|
||
clocks: | ||
required: true | ||
|
||
clock-names: | ||
required: true | ||
|
||
label: | ||
required: true | ||
|
||
reference: | ||
type: string | ||
required: false | ||
description: Reference voltage source | ||
enum: | ||
- "intref" | ||
- "vddana" | ||
- "vrefa" | ||
|
||
"#io-channel-cells": | ||
const: 0 |