Re: [RFC v1] regulator: core: introduce regulator chain locking scheme

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

 



Hi Mark,

On 04/15/2013 06:50 PM, Mark Brown wrote:
In addition, such locking scheme allows to have access to the supplier
regulator API from inside child's (consumer) regulator API.
I've still not seen any use case articulated for doing this...
Use case is introduced in ABB series:

http://www.mail-archive.com/linux-omap@xxxxxxxxxxxxxxx/msg88293.html

During voltage scaling we would like to have the following sequence:

cpufreq_cpu0
    |
    |---> set_voltage(ABB)
                |
                |->set_voltage(AVS)
                        |
                        |-->set_voltage(smps123)


Where smps123 is a regulator, connected ot i2c bus. In this particular case "regulator chain" guarantees proper order of calls of voltage scaling sequence.

Regards,
Andrii
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux