From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763196AbdAESAG (ORCPT ); Thu, 5 Jan 2017 13:00:06 -0500 Received: from mout.kundenserver.de ([217.72.192.74]:55380 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761979AbdAER64 (ORCPT ); Thu, 5 Jan 2017 12:58:56 -0500 Date: Thu, 5 Jan 2017 18:51:36 +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 v5 1/2] iio: adc: hx711: Add DT binding for avia,hx711 Message-ID: <20170105175136.GA12210@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:00nOC0cgGOvfo8U4X4Eru+KQKo6sGEw7OWJrrytY58miPuR64l6 T6vhmmfx1zsNJEcoYO84fB0LQ9PlVBE3ZxiU0hbJvdR+Bo1IRntOnj+KUAAXRmkcR9r+qEw EiXaAHKq6G/1b4N+jInuKcQao/HyEZUJ6eIjytj+5lhkVHlhxClKq1LCcvIO5z8n6ssn28e tA/1MarIfNCZpI/AZBn8A== X-UI-Out-Filterresults: notjunk:1;V01:K0:wqPMZ0LCXw0=:9xYU4CvRpkFD/FLdfnkIwa g6JhucoxNCF88Vchihe5gmOs74qeJlAHLxs9EOG6Yt7MuCKAsPjgEX1DOSU71uBV3rzDEZ68D cBlZsZqfzd/ceYmxtXxH6S1B/mcZ1lvg9mC3Ao5Oejtr6QYcRlxpyhrr+blDjDPv9PBOp7+3r RkwD/8eSNM2ap5RnAtZOfEJOIGyLnDSFq2CuCv+q/H2GJn4sfXV6PvqQDHAAZowHbIyO1NRra QHvH7kGI6mzCiSKZ2WnQFKKKHqeH6iJaaJN2fLJQLBIuum1dAo2U4hVPaN1x2oTApx8Bv9nS2 gbXCnPp6jIR3wknv2CPKzqMDZp82+Ity3IJONBQKy9HaDDwyf8AWfnN8WAeJbZrVf2cpssypT IZsj45qLsFmpFsDiPsDgyMxEr0DqIX1zm1hV+8MuXoa6llfYSCURyj+sOknVg8bCG0PELFi3T I1D2b6Luv14W7jzOe4GAF9UHYERSVLKu/gMXvVF+fNpOpjruhOutpb2XijM5Q7BJQhD0WbJKx xJjln57LWJ0I4S+8r6cW8je+oWs/v+v+lWC+4eK/ru7uJjNKaunl7BbFY04JJm4OvmSlrzI8c +8T7BYkX2Pdtash8yVDXm+DNZoS/8R1VWTtQ++wV3eZTYy0c5uKERucObBnghT7lsk6zjS1y1 WDfvCeLxBLsMsq6NiSIdG5bcxki2+fvIIGH+j2g2HNQX7O2tfBPfX0HwfEOTweUvPzuM= 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 Acked-by: Rob Herring --- [PATCH v3 1/2] of this patch was Acked-by: Rob Herring In v4 the regulator (avdd-supply) was added .../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