From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935363AbcLUPZM (ORCPT ); Wed, 21 Dec 2016 10:25:12 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:50522 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934361AbcLUPZI (ORCPT ); Wed, 21 Dec 2016 10:25:08 -0500 Date: Wed, 21 Dec 2016 16:24:42 +0100 From: Andreas Klinger To: devicetree@vger.kernel.org, linux-iio@vger.kernel.org Cc: linux-kernel@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, ak@it-klinger.de Subject: [PATCH v4 1/2] iio: adc: hx711: Add DT binding for avia,hx711 Message-ID: <20161221152442.GA14543@andreas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Provags-ID: V03:K0:W5STsGTUfGZ1jTzxH2VjKPJVvG3jPfCzVh8cyJKFZrarVzD/mqP CHQjF0wFFKeXLvfXCIiIsVCyvYryZldAJj0yiUzU5V0Myfw4TbTmOpz1Ud+F2QI5a+8ydHS 7wCPXziVgH4pCF1vdTlD3DLVxCMDTnUBokzlppTl7SXTbT0ZKLfUFSrNoxJFUyUk4UfBt5j WTeZCGQ1wjTW+n5Oqx7Ow== X-UI-Out-Filterresults: notjunk:1;V01:K0:c7hJ133UKSY=:eUXbrVtfW+XGWxwUeG3Z93 //QxJUq/XcdVHg+b32IqZQQSbAbv1rYU8ISBJd+CjPcJcKiKYYMptKUkRxIcp3PVSLUhih0C7 N/6g+u1PxQtYjC2BMJ+ZR1QxT4+W43bNcy+kqTEl3n3qQoZN7tlGuoAWEPQbCrBdZfUOdT8wY dF9WLCJYEHhda8ghHZpRB/mV1kbQ7aX2noVYmBjjL/+GvvTdAzAEwUjFW+nrllO/xip5kywy1 bb0m9l0cQ4mmUYfy4OjVQWWbdMga5Xn36Ut6by7znuo0G1yKahydUwlj5kXxr9Qn/Hkv4R8V8 2NnJyPt8xlxfI4L8mx2fPwS0Rz2/w/504beSLTC7WMD/pNjVuyKXk23M6vKXS8XDz+SJ5R87B LP4oP4EiiA/JSEzn53Q4Eq4g7FnA/WKdKMRsdPJLwFDfS4wS0FgFlRH2iAEjMrEOZIGkuHw+N Zs03qBx9PK6n0EOG98N7RP+ctg99uiDTLARnyg3Dqg0plE4kULIGJHJvSjfQeb9ulB9e9BDl7 vSNgJolGk/UsGTaCQy9xtLufJQ0kavoJI/4CbC0tRaGv8tvd9HzyO/R7PCDzL8NZRX9tJLOPz I5gSXW0FE7kfqD91aNJu8iAMoCSAvY/0Vdr0bBNyDrVuFXZyvzj1ovugHS7hqYlZKEQ9fQYVL f5geIHS0/KqrujwNFeSG5aeu3aLWGzkB60tgp8UCJDEfc3iQVVOkKwhfW/ygWLR4rnCw= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add DT bindings for avia,hx711 Add vendor avia to vendor list [PATCH v3 1/2] of this patch was Acked-by: Rob Herring Sorry, but i had to add the regulator (avdd-supply) and therefore it needs to be acked once again. Signed-off-by: Andreas Klinger --- .../devicetree/bindings/iio/adc/avia-hx711.txt | 18 ++++++++++++++++++ Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/avia-hx711.txt diff --git a/Documentation/devicetree/bindings/iio/adc/avia-hx711.txt b/Documentation/devicetree/bindings/iio/adc/avia-hx711.txt new file mode 100644 index 000000000000..b3629405f568 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/avia-hx711.txt @@ -0,0 +1,18 @@ +* AVIA HX711 ADC chip for weight cells + Bit-banging driver + +Required properties: + - compatible: Should be "avia,hx711" + - sck-gpios: Definition of the GPIO for the clock + - dout-gpios: Definition of the GPIO for data-out + See Documentation/devicetree/bindings/gpio/gpio.txt + - avdd-supply: Definition of the regulator used as analog supply + +Example: +weight@0 { + compatible = "avia,hx711"; + sck-gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>; + dout-gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; + avdd-suppy = <&avdd>; +}; + diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 44ddc980b085..4696bb5c2198 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -32,6 +32,7 @@ atlas Atlas Scientific LLC atmel Atmel Corporation auo AU Optronics Corporation avago Avago Technologies +avia avia semiconductor avic Shanghai AVIC Optoelectronics Co., Ltd. axis Axis Communications AB boe BOE Technology Group Co., Ltd. -- 2.1.4