mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-22 03:27:30 -04:00
dt-bindings: iio: dac: Add ADI AD5706R
Add device tree binding documentation for the Analog Devices AD5706R 4-channel 16-bit current output digital-to-analog converter. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@analog.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
committed by
Jonathan Cameron
parent
c09f950fd8
commit
2e43816512
105
Documentation/devicetree/bindings/iio/dac/adi,ad5706r.yaml
Normal file
105
Documentation/devicetree/bindings/iio/dac/adi,ad5706r.yaml
Normal file
@@ -0,0 +1,105 @@
|
||||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/iio/dac/adi,ad5706r.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: Analog Devices AD5706R 4-Channel Current Output DAC
|
||||
|
||||
maintainers:
|
||||
- Alexis Czezar Torreno <alexisczezar.torreno@analog.com>
|
||||
|
||||
description: |
|
||||
The AD5706R is a 4-channel, 16-bit resolution, current output
|
||||
digital-to-analog converter (DAC) with programmable output current
|
||||
ranges (50mA, 150mA, 200mA, 300mA), an integrated 2.5V voltage
|
||||
reference, and load DAC, A/B toggle, and dither functions.
|
||||
|
||||
Datasheet:
|
||||
https://www.analog.com/en/products/ad5706r.html
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
enum:
|
||||
- adi,ad5706r
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
avdd-supply:
|
||||
description: Analog power supply (2.9V to 3.6V).
|
||||
|
||||
iovdd-supply:
|
||||
description: Logic power supply (1.14V to 1.89V).
|
||||
|
||||
pvdd0-supply:
|
||||
description: Power supply for IDAC0 channel (1.65V to AVDD).
|
||||
|
||||
pvdd1-supply:
|
||||
description: Power supply for IDAC1 channel (1.65V to AVDD).
|
||||
|
||||
pvdd2-supply:
|
||||
description: Power supply for IDAC2 channel (1.65V to AVDD).
|
||||
|
||||
pvdd3-supply:
|
||||
description: Power supply for IDAC3 channel (1.65V to AVDD).
|
||||
|
||||
vref-supply:
|
||||
description:
|
||||
Optional external 2.5V voltage reference. If not provided, the
|
||||
internal 2.5V reference is used.
|
||||
|
||||
pwms:
|
||||
maxItems: 1
|
||||
description:
|
||||
Optional PWM connected to the LDAC/TGP/DCK pin for hardware
|
||||
triggered DAC updates, toggle, or dither clock generation.
|
||||
|
||||
reset-gpios:
|
||||
maxItems: 1
|
||||
description:
|
||||
GPIO connected to the active low RESET pin. If not provided,
|
||||
software reset is used.
|
||||
|
||||
enable-gpios:
|
||||
maxItems: 1
|
||||
description:
|
||||
GPIO connected to the active low OUT_EN pin. Controls whether
|
||||
the current outputs are enabled or in high-Z/ground state.
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
- avdd-supply
|
||||
- iovdd-supply
|
||||
|
||||
allOf:
|
||||
- $ref: /schemas/spi/spi-peripheral-props.yaml#
|
||||
|
||||
unevaluatedProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
spi {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
dac@0 {
|
||||
compatible = "adi,ad5706r";
|
||||
reg = <0>;
|
||||
avdd-supply = <&avdd>;
|
||||
iovdd-supply = <&iovdd>;
|
||||
pvdd0-supply = <&pvdd>;
|
||||
pvdd1-supply = <&pvdd>;
|
||||
pvdd2-supply = <&pvdd>;
|
||||
pvdd3-supply = <&pvdd>;
|
||||
vref-supply = <&vref>;
|
||||
spi-max-frequency = <50000000>;
|
||||
pwms = <&pwm0 0 1000000 0>;
|
||||
reset-gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
|
||||
enable-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
...
|
||||
@@ -1498,6 +1498,13 @@ W: https://ez.analog.com/linux-software-drivers
|
||||
F: Documentation/devicetree/bindings/iio/adc/adi,ad4851.yaml
|
||||
F: drivers/iio/adc/ad4851.c
|
||||
|
||||
ANALOG DEVICES INC AD5706R DRIVER
|
||||
M: Alexis Czezar Torreno <alexisczezar.torreno@analog.com>
|
||||
L: linux-iio@vger.kernel.org
|
||||
S: Supported
|
||||
W: https://ez.analog.com/linux-software-drivers
|
||||
F: Documentation/devicetree/bindings/iio/dac/adi,ad5706r.yaml
|
||||
|
||||
ANALOG DEVICES INC AD7091R DRIVER
|
||||
M: Marcelo Schmitt <marcelo.schmitt@analog.com>
|
||||
L: linux-iio@vger.kernel.org
|
||||
|
||||
Reference in New Issue
Block a user