[PATCH linux dev-4.10 v2] iio: aspeed-adc: wait for initial sequence.

Joel Stanley joel at jms.id.au
Wed Jul 19 19:19:27 AEST 2017


On Sat, Jul 15, 2017 at 1:35 AM, Rick Altherr <raltherr at google.com> wrote:
> On Jul 14, 2017 1:12 AM, "Mykola Kostenok" <c_mykolak at mellanox.com> wrote:
>>
>> This patch enables adc engine at initialization time and waits
>> for the initial sequence completion before enabling adc channels.
>>
>> Without this code adc channels are not functional and shows
>> zeros for all connected channels.
>>
>> Tested on mellanox msn platform.
>>
>> v1 -> v2:
>> Pointed by Rick Altherr:
>>  - Wait init sequence code enabled by bool
>> from OF match table.
>>
>> Signed-off-by: Mykola Kostenok <c_mykolak at mellanox.com>

> Reviewed-by: Rick Altherr <raltherr at google.com>

Applied to dev-4.10. Thanks for the review Rick.

Cheers,

Joel


More information about the openbmc mailing list