Skip to content

Commit 8964271

Browse files
it-klingergregkh
authored andcommitted
iio: adc: hx711: Add DT binding for avia,hx711
[ Upstream commit ff1293f67734da68e23fecb6ecdae7112b8c43f9 ] Add DT bindings for avia,hx711 Add vendor avia to vendor list Signed-off-by: Andreas Klinger <ak@it-klinger.de> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent a1f7b8f commit 8964271

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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+
};
18+

Documentation/devicetree/bindings/vendor-prefixes.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ asahi-kasei Asahi Kasei Corp.
3131
atmel Atmel Corporation
3232
auo AU Optronics Corporation
3333
avago Avago Technologies
34+
avia avia semiconductor
3435
avic Shanghai AVIC Optoelectronics Co., Ltd.
3536
axis Axis Communications AB
3637
bosch Bosch Sensortec GmbH

0 commit comments

Comments
 (0)