Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1303597
| From | Georgi Djakov <georgi.djakov@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] soc: qcom: Add support for SAW2 regulators |
| Date | 2016-01-07 15:00 +0100 |
| Message-ID | <qOjgC-om-17@gated-at.bofh.it> (permalink) |
| References | <qH5V8-7UF-19@gated-at.bofh.it> <qH70T-8A-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 12/18/2015 07:24 PM, Lina Iyer wrote: > On Fri, Dec 18 2015 at 09:15 -0700, Georgi Djakov wrote: >> The SAW2 (Subsystem Power Manager and Adaptive Voltage Scaling Wrapper) >> is part of the SPM subsystem. It is a hardware block found on some of the >> Qualcomm chipsets, which regulates the power to the CPU cores. Add some >> basic support for it, so that we can do dynamic voltage scaling. >> >> Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org> >> --- [..] >> @@ -368,6 +510,11 @@ static int spm_dev_probe(struct platform_device *pdev) >> >> per_cpu(cpu_spm_drv, cpu) = drv; >> >> + ret = register_saw2_regulator(drv, pdev, cpu); >> > Not all SAWs are regulators. On 8084, only the L2 SAW is a regulator. > You may want to parse the device node to see if it has a 'regulator' > property and then initialize the regulator aspect of the SAW. L2 SAW > nodes are not present in the upstream kernel. You can find a patch that > adds cache SPM here in my WIP series at [1]. Yes, nice catch. Thank you! BR, Georgi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] soc: qcom: Add support for SAW2 regulators Georgi Djakov <georgi.djakov@linaro.org> - 2016-01-07 15:00 +0100
csiph-web