From mboxrd@z Thu Jan 1 00:00:00 1970 From: khilman@baylibre.com (Kevin Hilman) Date: Mon, 30 Jan 2017 10:50:01 -0800 Subject: [PATCH v4 3/3] ARM64: dts: meson: meson-gx: add the SAR ADC In-Reply-To: <20170122181714.6259-4-martin.blumenstingl@googlemail.com> (Martin Blumenstingl's message of "Sun, 22 Jan 2017 19:17:14 +0100") References: <20170122181714.6259-1-martin.blumenstingl@googlemail.com> <20170122181714.6259-4-martin.blumenstingl@googlemail.com> Message-ID: To: linus-amlogic@lists.infradead.org List-Id: linus-amlogic.lists.infradead.org Martin Blumenstingl writes: > Add the SAR ADC to meson-gxbb.dtsi and meson-gxl.dtsi. GXBB provides a > 10-bit ADC while GXL and GXM provide a 12-bit ADC. > Some boards use resistor ladder buttons connected through one of the ADC > channels. On newer devices (GXL and GXM) some boards use pull-ups/downs > to change the resistance (and thus the ADC value) on one of the ADC > channels to indicate the board revision. > > Signed-off-by: Martin Blumenstingl > Tested-by: Neil Armstrong > Reviewed-by: Andreas F?rber Now that IIO driver looks like it will be merged shortly, I applied this to v4.11/dt64. Didn't make the first pull request for arm-soc, but may still make it if I have time to send another batch. Kevin From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f41.google.com ([74.125.83.41]:33595 "EHLO mail-pg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754179AbdA3TQr (ORCPT ); Mon, 30 Jan 2017 14:16:47 -0500 Received: by mail-pg0-f41.google.com with SMTP id 204so103482756pge.0 for ; Mon, 30 Jan 2017 11:15:15 -0800 (PST) From: Kevin Hilman To: Martin Blumenstingl Cc: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, robh+dt@kernel.org, mark.rutland@arm.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, carlo@caione.org, catalin.marinas@arm.com, will.deacon@arm.com, narmstrong@baylibre.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 3/3] ARM64: dts: meson: meson-gx: add the SAR ADC References: <20170122181714.6259-1-martin.blumenstingl@googlemail.com> <20170122181714.6259-4-martin.blumenstingl@googlemail.com> Date: Mon, 30 Jan 2017 10:50:01 -0800 In-Reply-To: <20170122181714.6259-4-martin.blumenstingl@googlemail.com> (Martin Blumenstingl's message of "Sun, 22 Jan 2017 19:17:14 +0100") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org Martin Blumenstingl writes: > Add the SAR ADC to meson-gxbb.dtsi and meson-gxl.dtsi. GXBB provides a > 10-bit ADC while GXL and GXM provide a 12-bit ADC. > Some boards use resistor ladder buttons connected through one of the ADC > channels. On newer devices (GXL and GXM) some boards use pull-ups/downs > to change the resistance (and thus the ADC value) on one of the ADC > channels to indicate the board revision. > > Signed-off-by: Martin Blumenstingl > Tested-by: Neil Armstrong > Reviewed-by: Andreas F=C3=A4rber Now that IIO driver looks like it will be merged shortly, I applied this to v4.11/dt64. Didn't make the first pull request for arm-soc, but may still make it if I have time to send another batch. Kevin From mboxrd@z Thu Jan 1 00:00:00 1970 From: khilman@baylibre.com (Kevin Hilman) Date: Mon, 30 Jan 2017 10:50:01 -0800 Subject: [PATCH v4 3/3] ARM64: dts: meson: meson-gx: add the SAR ADC In-Reply-To: <20170122181714.6259-4-martin.blumenstingl@googlemail.com> (Martin Blumenstingl's message of "Sun, 22 Jan 2017 19:17:14 +0100") References: <20170122181714.6259-1-martin.blumenstingl@googlemail.com> <20170122181714.6259-4-martin.blumenstingl@googlemail.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Martin Blumenstingl writes: > Add the SAR ADC to meson-gxbb.dtsi and meson-gxl.dtsi. GXBB provides a > 10-bit ADC while GXL and GXM provide a 12-bit ADC. > Some boards use resistor ladder buttons connected through one of the ADC > channels. On newer devices (GXL and GXM) some boards use pull-ups/downs > to change the resistance (and thus the ADC value) on one of the ADC > channels to indicate the board revision. > > Signed-off-by: Martin Blumenstingl > Tested-by: Neil Armstrong > Reviewed-by: Andreas F?rber Now that IIO driver looks like it will be merged shortly, I applied this to v4.11/dt64. Didn't make the first pull request for arm-soc, but may still make it if I have time to send another batch. Kevin From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Hilman Subject: Re: [PATCH v4 3/3] ARM64: dts: meson: meson-gx: add the SAR ADC Date: Mon, 30 Jan 2017 10:50:01 -0800 Message-ID: References: <20170122181714.6259-1-martin.blumenstingl@googlemail.com> <20170122181714.6259-4-martin.blumenstingl@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Return-path: In-Reply-To: <20170122181714.6259-4-martin.blumenstingl@googlemail.com> (Martin Blumenstingl's message of "Sun, 22 Jan 2017 19:17:14 +0100") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Martin Blumenstingl Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, lars@metafoo.de, narmstrong@baylibre.com, linux-iio@vger.kernel.org, catalin.marinas@arm.com, will.deacon@arm.com, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, pmeerw@pmeerw.net, knaack.h@gmx.de, carlo@caione.org, linux-amlogic@lists.infradead.org, jic23@kernel.org List-Id: devicetree@vger.kernel.org TWFydGluIEJsdW1lbnN0aW5nbCA8bWFydGluLmJsdW1lbnN0aW5nbEBnb29nbGVtYWlsLmNvbT4g d3JpdGVzOgoKPiBBZGQgdGhlIFNBUiBBREMgdG8gbWVzb24tZ3hiYi5kdHNpIGFuZCBtZXNvbi1n eGwuZHRzaS4gR1hCQiBwcm92aWRlcyBhCj4gMTAtYml0IEFEQyB3aGlsZSBHWEwgYW5kIEdYTSBw cm92aWRlIGEgMTItYml0IEFEQy4KPiBTb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