Path: blob/main/sys/contrib/device-tree/Bindings/iio/dac/mcp4725.txt
48525 views
Microchip mcp4725 and mcp4726 DAC device driver12Required properties:3- compatible: Must be "microchip,mcp4725" or "microchip,mcp4726"4- reg: Should contain the DAC I2C address5- vdd-supply: Phandle to the Vdd power supply. This supply is used as a6voltage reference on mcp4725. It is used as a voltage reference on7mcp4726 if there is no vref-supply specified.89Optional properties (valid only for mcp4726):10- vref-supply: Optional phandle to the Vref power supply. Vref pin is11used as a voltage reference when this supply is specified.12- microchip,vref-buffered: Boolean to enable buffering of the external13Vref pin. This boolean is not valid without the vref-supply. Quoting14the datasheet: This is offered in cases where the reference voltage15does not have the current capability not to drop its voltage when16connected to the internal resistor ladder circuit.1718Examples:1920/* simple mcp4725 */21mcp4725@60 {22compatible = "microchip,mcp4725";23reg = <0x60>;24vdd-supply = <&vdac_vdd>;25};2627/* mcp4726 with the buffered external reference voltage */28mcp4726@60 {29compatible = "microchip,mcp4726";30reg = <0x60>;31vdd-supply = <&vdac_vdd>;32vref-supply = <&vdac_vref>;33microchip,vref-buffered;34};353637