Lines Matching +full:gpio +full:- +full:sck
1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/avia-hx711.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andreas Klinger <ak@it-klinger.de>
13 Bit-banging driver using two GPIOs:
14 - sck-gpio gives a clock to the sensor with 24 cycles for data retrieval
17 - dout-gpio is the sensor data the sensor responds to the clock
25 - avia,hx711
27 sck-gpios:
29 Definition of the GPIO for the clock (output). In the datasheet it is
33 dout-gpios:
35 Definition of the GPIO for the data-out sent by the sensor in
37 See Documentation/devicetree/bindings/gpio/gpio.txt for information
38 on how to specify a consumer gpio.
41 avdd-supply:
45 clock-frequency:
51 - compatible
52 - sck-gpios
53 - dout-gpios
54 - avdd-supply
59 - |
60 #include <dt-bindings/gpio/gpio.h>
63 sck-gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>;
64 dout-gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
65 avdd-supply = <&avdd>;
66 clock-frequency = <100000>;