Re: [PATCH v3 1/2] iio: adc: mt6360: Add ADC driver for MT6360
From: Andy Shevchenko <hidden>
Date: 2020-09-08 07:44:08
Also in:
linux-iio, linux-mediatek, lkml
From: Andy Shevchenko <hidden>
Date: 2020-09-08 07:44:08
Also in:
linux-iio, linux-mediatek, lkml
On Tue, Sep 8, 2020 at 9:19 AM Gene Chen [off-list ref] wrote:
Jonathan Cameron [off-list ref] 於 2020年8月30日 週日 上午1:12寫道:quoted
On Mon, 24 Aug 2020 17:06:24 +0800 Gene Chen [off-list ref] wrote:
quoted
A few comments inline. The big one centres on why we can't expose the channels as _raw, _offset and _scale?I think i have 3 reason for use real value, ADC is used to get real value rather than raw data which is not meaningful. And I can decide which formula needs apply according to different condition. Also the junction temperature channel _scale is floating point 1.05 which is not easy to express.
It's easy to express. Like other values in IIO subsystem which are float. -- With Best Regards, Andy Shevchenko _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel