Skip to content

Commit

Permalink
dts: dac: add a new binding for the SAM0 DAC
Browse files Browse the repository at this point in the history
The Atmel SAM0 DAC is a single channel 10 bit DAC with selectable
reference.

Signed-off-by: Michael Hope <[email protected]>
  • Loading branch information
nzmichaelh authored and MaureenHelm committed Aug 4, 2020
1 parent 8dd6644 commit 4a716c6
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions dts/bindings/dac/atmel,sam0-dac.yaml
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

0 comments on commit 4a716c6

Please sign in to comment.