GNU Linux-libre 4.19.295-gnu1
[releases.git] / Documentation / devicetree / bindings / iio / adc / avia-hx711.txt
1 * AVIA HX711 ADC chip for weight cells
2   Bit-banging driver
3
4 Required properties:
5  - compatible:  Should be "avia,hx711"
6  - sck-gpios:   Definition of the GPIO for the clock
7  - dout-gpios:  Definition of the GPIO for data-out
8                 See Documentation/devicetree/bindings/gpio/gpio.txt
9  - avdd-supply: Definition of the regulator used as analog supply
10
11 Optional properties:
12  - clock-frequency:     Frequency of PD_SCK in Hz
13                         Minimum value allowed is 10 kHz because of maximum
14                         high time of 50 microseconds.
15
16 Example:
17 weight {
18         compatible = "avia,hx711";
19         sck-gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>;
20         dout-gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
21         avdd-suppy = <&avdd>;
22         clock-frequency = <100000>;
23 };
24