Re: I2C writes with interrupts disabled

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

 




On 08/04/2018 04:00 PM, Andy Shevchenko wrote:
> On Sat, Aug 4, 2018 at 2:57 AM, Grygorii Strashko
> <grygorii.strashko@xxxxxx> wrote:
> 
> 
>> But ... PM operation can involve many devices :( pmic, gpio, i2c-muxes, regulators, so
>> such flag will just spread all over the kernel.
>>
>> Another, options is to mark i2c devices in DT, but that might not go as SW specific.
>>
>>>
>>> Or?
> 
> Can't we use device links  for that?
> 
> IIUC, Rafael specifically introduced them to alllow independednt
> devices to be link in a chain from PM wise prospective.
> 

it's not about shutdown sequence, so device links wouldn't help.
It's about making some i2c bus + set of selected i2c devices working during
very late shutdown stages (irqs disabled) and block (or warn) any other
i2c devices.

-- 
regards,
-grygorii



[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux