From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751609AbdGQOcL (ORCPT ); Mon, 17 Jul 2017 10:32:11 -0400 Received: from mail-wm0-f43.google.com ([74.125.82.43]:36112 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751387AbdGQOcJ (ORCPT ); Mon, 17 Jul 2017 10:32:09 -0400 Date: Mon, 17 Jul 2017 15:31:53 +0100 From: Lee Jones To: Sebastian Reichel Cc: Sebastian Reichel , Support Opensource , Rob Herring , Mark Rutland , Jean Delvare , Guenter Roeck , devicetree@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv5 2/6] dt-bindings: mfd: da9052: support TSI as ADC Message-ID: <20170717143153.66jzgfleyffn52rj@dell> References: <20170703084003.31184-1-sebastian.reichel@collabora.co.uk> <20170703084003.31184-3-sebastian.reichel@collabora.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170703084003.31184-3-sebastian.reichel@collabora.co.uk> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 03 Jul 2017, Sebastian Reichel wrote: > DA9052 allows using the touchscreen input pins as general purpose > analogue input pin by wiring analogue inputs to X+, X-, Y+ and Y- > and providing a reference voltage at TSIREF pin. > > Signed-off-by: Sebastian Reichel > --- > Documentation/devicetree/bindings/mfd/da9052-i2c.txt | 8 ++++++++ > 1 file changed, 8 insertions(+) Applied, thanks. > diff --git a/Documentation/devicetree/bindings/mfd/da9052-i2c.txt b/Documentation/devicetree/bindings/mfd/da9052-i2c.txt > index 9554292dc6cb..57fa74e65664 100644 > --- a/Documentation/devicetree/bindings/mfd/da9052-i2c.txt > +++ b/Documentation/devicetree/bindings/mfd/da9052-i2c.txt > @@ -4,6 +4,14 @@ Required properties: > - compatible : Should be "dlg,da9052", "dlg,da9053-aa", > "dlg,da9053-ab", or "dlg,da9053-bb" > > +Optional properties: > +- dlg,tsi-as-adc : Boolean, if set the X+, X-, Y+, Y- touchscreen > + input lines are used as general purpose analogue > + input. > +- tsiref-supply: Phandle to the regulator, which provides the reference > + voltage for the TSIREF pin. Must be provided when the > + touchscreen pins are used for ADC purposes. > + > Sub-nodes: > - regulators : Contain the regulator nodes. The DA9052/53 regulators are > bound using their names as listed below: -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog