avia-hx711.txt 504 B

12345678910111213141516171819
  1. * AVIA HX711 ADC chip for weight cells
  2. Bit-banging driver
  3. Required properties:
  4. - compatible: Should be "avia,hx711"
  5. - sck-gpios: Definition of the GPIO for the clock
  6. - dout-gpios: Definition of the GPIO for data-out
  7. See Documentation/devicetree/bindings/gpio/gpio.txt
  8. - avdd-supply: Definition of the regulator used as analog supply
  9. Example:
  10. weight@0 {
  11. compatible = "avia,hx711";
  12. sck-gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>;
  13. dout-gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
  14. avdd-suppy = <&avdd>;
  15. };