About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / iio / adc / avia-hx711.txt


Based on kernel version 4.16.1. Page generated on 2018-04-09 11:52 EST.

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	Example:
12	weight@0 {
13		compatible = "avia,hx711";
14		sck-gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>;
15		dout-gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
16		avdd-suppy = <&avdd>;
17	};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog