From: grygorii.strashko@ti.com (Grygorii Strashko) Date: Mon, 15 Apr 2013 16:03:34 +0300 Subject: [RFC v1 0/1] introduce regulator chain locking scheme Message-ID: <1366031015-17073-1-git-send-email-grygorii.strashko@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Mark, Liam, All Our target is to reuse common DVFS framework proposed by Mike Turquette in http://lwn.net/Articles/540422/ and cpufreq-cpu0.c for all TI SoC and minimize creation of any TI specific APIs or modules. The common DVFS framework solution is based on assumption that Regulator, connected to DVFS FW or CPU0 CPUFreq, is able to change requested voltage for the corresponding Voltage domain (like CPU/MPU) by itself. But most of TI SoCs, which support DVFS, have more complex voltage supply schema as shown below: |------------| |------------| --| RegulatorY |--| CPU DVFS | |------------| |------------| \ \ \ \_____________________________ \ \ |-------------------| |---------------| |---------| --| RegulatorX (PMIC) |--| Regulator AVS |--| ABB LDO |-- |-------------------| |---------------| |---------| /|\ | |______________________| Voltage adjustment and they need to configure, at least, internal ABB LDO befor/after reconfiguring external voltage supplier in PMIC. (as maximum - Regulator AVS (Adaptive voltage scaling) is needed to be reconfigured after ABB LDO, and Regulator AVS may, finally, reconfigure external voltage supplier with voltage value which is different from initially requested by DVFS). for example (Vcurset_voltage(Vreq) - ABB: if (Vcurset_voltage(Vreq) - AVS: PMIC->set_voltage(Vreq1) - ABB: if (Vcur Cc: Tero Kristo Cc: Nishanth Menon Cc: linux-omap Cc: linux-arm -- 1.7.9.5