18c2ecf20Sopenharmony_ciTexas Instruments 8/10/12-bit 2/4-channel DAC driver 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci - compatible: Must be one of: 58c2ecf20Sopenharmony_ci "ti,dac082s085" 68c2ecf20Sopenharmony_ci "ti,dac102s085" 78c2ecf20Sopenharmony_ci "ti,dac122s085" 88c2ecf20Sopenharmony_ci "ti,dac084s085" 98c2ecf20Sopenharmony_ci "ti,dac104s085" 108c2ecf20Sopenharmony_ci "ti,dac124s085" 118c2ecf20Sopenharmony_ci - reg: Chip select number. 128c2ecf20Sopenharmony_ci - spi-cpha, spi-cpol: SPI mode (0,1) or (1,0) must be used, so specify 138c2ecf20Sopenharmony_ci either spi-cpha or spi-cpol (but not both). 148c2ecf20Sopenharmony_ci - vref-supply: Phandle to the external reference voltage supply. 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ciFor other required and optional properties of SPI slave nodes please refer to 178c2ecf20Sopenharmony_ci../../spi/spi-bus.txt. 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciExample: 208c2ecf20Sopenharmony_ci vref_2v5_reg: regulator-vref { 218c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 228c2ecf20Sopenharmony_ci regulator-name = "2v5"; 238c2ecf20Sopenharmony_ci regulator-min-microvolt = <2500000>; 248c2ecf20Sopenharmony_ci regulator-max-microvolt = <2500000>; 258c2ecf20Sopenharmony_ci regulator-always-on; 268c2ecf20Sopenharmony_ci }; 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci dac@0 { 298c2ecf20Sopenharmony_ci compatible = "ti,dac082s085"; 308c2ecf20Sopenharmony_ci reg = <0>; 318c2ecf20Sopenharmony_ci spi-max-frequency = <40000000>; 328c2ecf20Sopenharmony_ci spi-cpol; 338c2ecf20Sopenharmony_ci vref-supply = <&vref_2v5_reg>; 348c2ecf20Sopenharmony_ci }; 35