drivers: dac: Add TI DACx0501 driver

Adds a DAC driver for Texas Instruments DACx0501 family of devices

Signed-off-by: Eran Gal <erang@google.com>
Co-authored-by: Martin Jäger <17674105+martinjaeger@users.noreply.github.com>
This commit is contained in:
Eran Gal 2024-04-09 10:40:51 +00:00 committed by Alberto Escolar
commit e58dfac374
6 changed files with 255 additions and 0 deletions

View file

@ -0,0 +1,30 @@
# Copyright (c) 2024 Google, LLC.
# SPDX-License-Identifier: Apache-2.0
include: base.yaml
description: TI DACx0501 12 to 16 bit DAC series for DAC60501, DAC70501 and DAC80501 devices.
compatible: "ti,dacx0501"
properties:
voltage-reference:
type: string
required: true
enum:
- "internal"
- "external"
description: |
DAC voltage reference select: either internal (2.5 V) or external
output-gain:
type: string
required: true
enum:
- "mul2"
- "mul1"
- "div2"
description: |
This setting can be used to control the output voltage range within the supported bit
resolution. mul2 will double the output range but lower the resolution, while div2 will
lower the range but double the resolution.