Re: [PATCH 5/5] iio: adc: cc10001: Power-up the ADC at probe time when used remotely

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 05/08/2015 10:41 AM, Jonathan Cameron wrote:
> On 07/05/15 17:24, Ezequiel Garcia wrote:
>> From: Naidu Tellapati <naidu.tellapati@xxxxxxxxxx>
>>
>> The ADC is typically shared with remote CPUs not running Linux.
>> However, there is only one register to power-up/power-down. Remote CPUs
>> aren't able to power-up the ADC, and rely in Linux doing it instead.
>>
>> This commit uses the adc-reserved-channels devicetree property to
>> distinguish shared usage. In this case, the ADC is powered up at
>> probe time.
>>
>> If the ADC is used only by the CPU running Linux, power-up/down
>> at runtime, only when neeeded.
>>
>> Signed-off-by: Naidu Tellapati <naidu.tellapati@xxxxxxxxxx>
>> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@xxxxxxxxxx>
> Seems sensible to me, but as you observe it's not a fix as such, so
> will hold this until the other patches have propagated through to
> the togreg tree.
> 
> Feel free to remind me if I seem to have forgotten!
> 

Ping.

Thanks!
-- 
Ezequiel
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux