Path: blob/main/sys/contrib/device-tree/Bindings/iio/dac/ad5755.txt
48525 views
* Analog Devices AD5755 IIO Multi-Channel DAC Linux Driver12Required properties:3- compatible: Has to contain one of the following:4adi,ad57555adi,ad5755-16adi,ad57577adi,ad57358adi,ad5737910- reg: spi chip select number for the device11- spi-cpha or spi-cpol: is the only modes that is supported1213Recommended properties:14- spi-max-frequency: Definition as per15Documentation/devicetree/bindings/spi/spi-bus.txt1617Optional properties:18See include/dt-bindings/iio/ad5755.h19- adi,ext-dc-dc-compenstation-resistor: boolean set if the hardware have an20external resistor and thereby bypasses21the internal compensation resistor.22- adi,dc-dc-phase:23Valid values for DC DC Phase control is:240: All dc-to-dc converters clock on the same edge.251: Channel A and Channel B clock on the same edge,26Channel C and Channel D clock on opposite edges.272: Channel A and Channel C clock on the same edge,28Channel B and Channel D clock on opposite edges.293: Channel A, Channel B, Channel C, and Channel D30clock 90 degrees out of phase from each other.31- adi,dc-dc-freq-hz:32Valid values for DC DC frequency is [Hz]:33250000344100003565000036- adi,dc-dc-max-microvolt:37Valid values for the maximum allowed Vboost voltage supplied by38the dc-to-dc converter is:39230000004024500000412700000042295000004344Optional for every channel:45- adi,mode:46Valid values for DAC modes is:470: 0 V to 5 V voltage range.481: 0 V to 10 V voltage range.492: Plus minus 5 V voltage range.503: Plus minus 10 V voltage range.514: 4 mA to 20 mA current range.525: 0 mA to 20 mA current range.536: 0 mA to 24 mA current range.54- adi,ext-current-sense-resistor: boolean set if the hardware a external55current sense resistor.56- adi,enable-voltage-overrange: boolean enable voltage overrange57- adi,slew: Array of slewrate settings should contain 3 fields:581: Should be either 0 or 1 in order to enable or disable slewrate.592: Slew rate settings:60Valid values for the slew rate update frequency:616400062320006316000648000654000662000671000685006925070125716472327316748754760773: Slew step size:78Valid values for the step size LSBs:79180281482168332846485128862568788Example:89dac@0 {90#address-cells = <1>;91#size-cells = <0>;92compatible = "adi,ad5755";93reg = <0>;94spi-max-frequency = <1000000>;95spi-cpha;96adi,dc-dc-phase = <0>;97adi,dc-dc-freq-hz = <410000>;98adi,dc-dc-max-microvolt = <23000000>;99channel@0 {100reg = <0>;101adi,mode = <4>;102adi,ext-current-sense-resistor;103adi,slew = <0 64000 1>;104};105channel@1 {106reg = <1>;107adi,mode = <4>;108adi,ext-current-sense-resistor;109adi,slew = <0 64000 1>;110};111channel@2 {112reg = <2>;113adi,mode = <4>;114adi,ext-current-sense-resistor;115adi,slew = <0 64000 1>;116};117channel@3 {118reg = <3>;119adi,mode = <4>;120adi,ext-current-sense-resistor;121adi,slew = <0 64000 1>;122};123};124125126