Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1366622
| From | Guenter Roeck <linux@roeck-us.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/2] hwmon: adc128d818: Support operation mode 1 |
| Date | 2016-03-29 22:10 +0200 |
| Message-ID | <ri87F-2Ps-49@gated-at.bofh.it> (permalink) |
| References | <ri7lg-2gu-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Mar 29, 2016 at 09:03:37PM +0200, Alexander Koch wrote:
> The ADC128D818 offers four different chip operation modes which vary in the
> number and measurement types of the available input signals (see datasheet
> sec. 8.4.1).
>
> The current version of the driver only supports the default chip operation mode
> (mode 0), providing seven analog values and a temperature reading.
>
> This patch series adds support for operation mode 1 (eight analog inputs but no
> temperature), selectable through the device tree attribute 'mode':
>
> adc1: adc128d818@1d {
> compatible = "ti,adc128d818";
> reg = <0x1d>;
> mode = /bits/ 8 <1>;
> };
>
> The changes are transparent as 'mode' defaults to mode 0 which yields the
> previous behaviour. Code has been tested on real hardware using an evaluation
> board.
>
> Alexander Koch (2):
> hwmon: adc128d818: Implement chip mode selection
> hwmon: adc128d818: Implement operation mode 1
>
> drivers/hwmon/adc128d818.c | 113 +++++++++++++++++++++++++++++++++++++--------
> 1 file changed, 95 insertions(+), 18 deletions(-)
>
Please send follow-up patches to linux-hwmon@vger.kernel.org.
Thanks,
Guenter
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/2] hwmon: adc128d818: Support operation mode 1 Alexander Koch <mail@alexanderkoch.net> - 2016-03-29 21:20 +0200
[PATCH 2/2] hwmon: adc128d818: Implement operation mode 1 Alexander Koch <mail@alexanderkoch.net> - 2016-03-29 21:20 +0200
Re: [PATCH 2/2] hwmon: adc128d818: Implement operation mode 1 Guenter Roeck <linux@roeck-us.net> - 2016-03-29 22:10 +0200
[PATCH 1/2] hwmon: adc128d818: Implement chip mode selection Alexander Koch <mail@alexanderkoch.net> - 2016-03-29 21:20 +0200
Re: [PATCH 1/2] hwmon: adc128d818: Implement chip mode selection Guenter Roeck <linux@roeck-us.net> - 2016-03-29 22:00 +0200
Re: [PATCH 0/2] hwmon: adc128d818: Support operation mode 1 Guenter Roeck <linux@roeck-us.net> - 2016-03-29 22:10 +0200
csiph-web