[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VcLy7rjtK47sMPSUgGizCfSV+C5XBiajd_Ojmfs1Xs43g@mail.gmail.com>
Date: Wed, 26 Apr 2017 13:21:06 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Jan Kiszka <jan.kiszka@...mens.com>
Cc: Peter Meerwald-Stadler <pmeerw@...erw.net>,
Jonathan Cameron <jic23@...nel.org>, linux-iio@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Sascha Weisenberger <sascha.weisenberger@...mens.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: Re: [PATCH] iio: adc: Add support for TI ADC1x8s102
On Wed, Apr 26, 2017 at 8:37 AM, Jan Kiszka <jan.kiszka@...mens.com> wrote:
> On 2017-04-25 09:31, Peter Meerwald-Stadler wrote:
>> I think board-specific stuff should not go into the driver -> DT?
>
> Still looking for suggestions how to provide the external reference
> voltage as parameter. Chip select is gone now.
Unified Device Properties API.
Just
ret = device_property_read_u16();
if (ret)
...use default...
> Also, should I suggest a device tree binding even though I have no test
> case for it? My current feeling is to better leave this exercise to the
> first user on a DT platform.
But I prefer this one. One problem at a time.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists