hc
2023-10-25 6c2073b7aa40e29d0eca7d571dd7bc590c7ecaa7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Analog Devices AD7303 DAC device driver
 
Required properties:
   - compatible: Must be "adi,ad7303"
   - reg: SPI chip select number for the device
   - spi-max-frequency: Max SPI frequency to use (< 30000000)
   - Vdd-supply: Phandle to the Vdd power supply
 
Optional properties:
   - REF-supply: Phandle to the external reference voltage supply. This should
     only be set if there is an external reference voltage connected to the REF
     pin. If the property is not set Vdd/2 is used as the reference voltage.
 
Example:
 
       ad7303@4 {
           compatible = "adi,ad7303";
           reg = <4>;
           spi-max-frequency = <10000000>;
           Vdd-supply = <&vdd_supply>;
           adi,use-external-reference;
           REF-supply = <&vref_supply>;
       };