From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933693AbcLNQRU (ORCPT ); Wed, 14 Dec 2016 11:17:20 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:54890 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933630AbcLNQRR (ORCPT ); Wed, 14 Dec 2016 11:17:17 -0500 Date: Wed, 14 Dec 2016 17:16:40 +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 v3 1/2] iio: adc: hx711: Add DT binding for avia,hx711 Message-ID: <20161214161640.GA13885@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:Iq1JZvQnHH4S3KGgq7KrpDqjbQa1dnLa3nb2taBeU8PGjvC/Ja5 Y7lPs7GifZCt0xEfqp5dk5YsqZieHZXcF3/TNqJooeN6njp/zlJ3zeDom5StSj9GpR3vz7t Eneb4eNzYZzTmwVs/Gff9VCnqMY42k/REyPfsqFhqiLdwqF6DTIpvfQ/fB9KfBIQcuk+gov J/Cjvlhy/oppUljciuEaA== X-UI-Out-Filterresults: notjunk:1;V01:K0:yb4+Mocg1lA=:ZNPvyUqRee8eQDAL5To45A gNsZlK+AjfI5K/AGeCFk5UBudGPJO0+wPCKulfXJEScf1Zh6N11B5S2y2fc1cO/zanWV4zakd MIiaAeP/GQDgFLuS5wjaKYp9G165jW31/VkdIqGHnrVEZqzx9m++CzfXkd5agjDD2jlreh4Kn +FO9PbiThuy+E3rIFciDa2VLiCzNtCJyHQMJqzcpdSw2NAG8a8JDYh8Ht27F+HdJny2xAXLkp tH+Jmz+ad7MVclEuwzTtCOgJqKTIuRoeUxyyt/R0Jyh7GOvQCP1JHlRFQ4Up+xIdnhkdqFDiz y4Jf3d0H8gUXKCSrLNc2grUKknBHR+ET9Jz6tcE74D+OaP4/u05GByGuwLqhkDubju+pQRs6L Y97FNpsSIcBq7ppZ3nyqO2dTK2+s7yu0Olzi0mNunDOglfLSePEwT6sdf7G8D6wFdALaPnHAM dxUZr6jEqtWYgoCeimFDu1Z5S4fVpnJaRueyZ7m6YZ1m93QzR/uTqKUILjcGwpbv0iHsnmgKt Kuol4ZVKwXB5E2sKZ4N3aSBq9kS8SmA1Pm7MxrD3idEK3HrEdNZptLPvsBsFT+h5o/E5r3800 AY9ls6kgMUNWMypFctY9pwjeDaITeLahSnw6oRRiLmWQT5tQ+FeE/FGV/VUDnY9JwOUH9SwUb 27IiPlRab35yK6kZEi43tkKl+DoaQjxSEZTjaMbS5fT5ct6kqItRA45zB9wKpOOZplFI= 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 Signed-off-by: Andreas Klinger --- Documentation/devicetree/bindings/iio/adc/avia-hx711.txt | 16 ++++++++++++++++ Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 17 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..27300b186cf4 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/avia-hx711.txt @@ -0,0 +1,16 @@ +* 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 + +Example: +weight@0 { + compatible = "avia,hx711"; + sck-gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>; + dout-gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; +}; + 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