Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-30 Thread Dmitry Osipenko
On 10/29/18 9:53 AM, Viresh Kumar wrote: > On 26-10-18, 15:03, Dmitry Osipenko wrote: >> On 10/24/18 9:41 AM, Viresh Kumar wrote: >>> On 22-10-18, 15:12, Dmitry Osipenko wrote: Because there is one Tegra20 board (tegra20-trimslice) that doesn't declare necessary regulators, but we want

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-30 Thread Dmitry Osipenko
On 10/29/18 9:53 AM, Viresh Kumar wrote: > On 26-10-18, 15:03, Dmitry Osipenko wrote: >> On 10/24/18 9:41 AM, Viresh Kumar wrote: >>> On 22-10-18, 15:12, Dmitry Osipenko wrote: Because there is one Tegra20 board (tegra20-trimslice) that doesn't declare necessary regulators, but we want

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-29 Thread Viresh Kumar
On 26-10-18, 15:03, Dmitry Osipenko wrote: > On 10/24/18 9:41 AM, Viresh Kumar wrote: > > On 22-10-18, 15:12, Dmitry Osipenko wrote: > >> Because there is one Tegra20 board (tegra20-trimslice) that doesn't declare > >> necessary regulators, but we want to have CPU frequency scaling. I couldn't >

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-29 Thread Viresh Kumar
On 26-10-18, 15:03, Dmitry Osipenko wrote: > On 10/24/18 9:41 AM, Viresh Kumar wrote: > > On 22-10-18, 15:12, Dmitry Osipenko wrote: > >> Because there is one Tegra20 board (tegra20-trimslice) that doesn't declare > >> necessary regulators, but we want to have CPU frequency scaling. I couldn't >

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-28 Thread Dmitry Osipenko
On 10/26/18 6:37 PM, Lucas Stach wrote: > Am Freitag, den 26.10.2018, 15:03 +0300 schrieb Dmitry Osipenko: > [...] >>> On the other hand, the tegra20 cpufreq driver is common across a lot of >>> boards. >>> What will happen if the DT for some of the boards isn't correct and missed >>> the >>>

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-28 Thread Dmitry Osipenko
On 10/26/18 6:37 PM, Lucas Stach wrote: > Am Freitag, den 26.10.2018, 15:03 +0300 schrieb Dmitry Osipenko: > [...] >>> On the other hand, the tegra20 cpufreq driver is common across a lot of >>> boards. >>> What will happen if the DT for some of the boards isn't correct and missed >>> the >>>

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-26 Thread Lucas Stach
Am Freitag, den 26.10.2018, 15:03 +0300 schrieb Dmitry Osipenko: [...] > > On the other hand, the tegra20 cpufreq driver is common across a lot of > > boards. > > What will happen if the DT for some of the boards isn't correct and missed > > the > > necessary regulator node ? > > AFAIK, there

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-26 Thread Lucas Stach
Am Freitag, den 26.10.2018, 15:03 +0300 schrieb Dmitry Osipenko: [...] > > On the other hand, the tegra20 cpufreq driver is common across a lot of > > boards. > > What will happen if the DT for some of the boards isn't correct and missed > > the > > necessary regulator node ? > > AFAIK, there

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-26 Thread Dmitry Osipenko
On 10/24/18 9:41 AM, Viresh Kumar wrote: > On 22-10-18, 15:12, Dmitry Osipenko wrote: >> Because there is one Tegra20 board (tegra20-trimslice) that doesn't declare >> necessary regulators, but we want to have CPU frequency scaling. I couldn't >> find board schematics and so don't know if CPU /

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-26 Thread Dmitry Osipenko
On 10/24/18 9:41 AM, Viresh Kumar wrote: > On 22-10-18, 15:12, Dmitry Osipenko wrote: >> Because there is one Tegra20 board (tegra20-trimslice) that doesn't declare >> necessary regulators, but we want to have CPU frequency scaling. I couldn't >> find board schematics and so don't know if CPU /

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-24 Thread Viresh Kumar
On 22-10-18, 15:12, Dmitry Osipenko wrote: > Because there is one Tegra20 board (tegra20-trimslice) that doesn't declare > necessary regulators, but we want to have CPU frequency scaling. I couldn't > find board schematics and so don't know if CPU / CORE voltages are fixed on > Trim-Slice or it is

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-24 Thread Viresh Kumar
On 22-10-18, 15:12, Dmitry Osipenko wrote: > Because there is one Tegra20 board (tegra20-trimslice) that doesn't declare > necessary regulators, but we want to have CPU frequency scaling. I couldn't > find board schematics and so don't know if CPU / CORE voltages are fixed on > Trim-Slice or it is

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-22 Thread Dmitry Osipenko
On 10/22/18 2:32 PM, Viresh Kumar wrote: > On 22-10-18, 14:29, Dmitry Osipenko wrote: >> On 10/22/18 8:36 AM, Viresh Kumar wrote: >>> On 21-10-18, 23:54, Dmitry Osipenko wrote: Voltage regulators may be not available on some variations of HW, allow to request stub voltage regulators by

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-22 Thread Dmitry Osipenko
On 10/22/18 2:32 PM, Viresh Kumar wrote: > On 22-10-18, 14:29, Dmitry Osipenko wrote: >> On 10/22/18 8:36 AM, Viresh Kumar wrote: >>> On 21-10-18, 23:54, Dmitry Osipenko wrote: Voltage regulators may be not available on some variations of HW, allow to request stub voltage regulators by

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-22 Thread Viresh Kumar
On 22-10-18, 14:29, Dmitry Osipenko wrote: > On 10/22/18 8:36 AM, Viresh Kumar wrote: > > On 21-10-18, 23:54, Dmitry Osipenko wrote: > >> Voltage regulators may be not available on some variations of HW, allow to > >> request stub voltage regulators by OPP core in a such case to reduce code > >>

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-22 Thread Viresh Kumar
On 22-10-18, 14:29, Dmitry Osipenko wrote: > On 10/22/18 8:36 AM, Viresh Kumar wrote: > > On 21-10-18, 23:54, Dmitry Osipenko wrote: > >> Voltage regulators may be not available on some variations of HW, allow to > >> request stub voltage regulators by OPP core in a such case to reduce code > >>

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-22 Thread Dmitry Osipenko
On 10/22/18 8:36 AM, Viresh Kumar wrote: > On 21-10-18, 23:54, Dmitry Osipenko wrote: >> Voltage regulators may be not available on some variations of HW, allow to >> request stub voltage regulators by OPP core in a such case to reduce code >> churning within drivers. >> >> Signed-off-by: Dmitry

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-22 Thread Dmitry Osipenko
On 10/22/18 8:36 AM, Viresh Kumar wrote: > On 21-10-18, 23:54, Dmitry Osipenko wrote: >> Voltage regulators may be not available on some variations of HW, allow to >> request stub voltage regulators by OPP core in a such case to reduce code >> churning within drivers. >> >> Signed-off-by: Dmitry

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-21 Thread Viresh Kumar
On 21-10-18, 23:54, Dmitry Osipenko wrote: > Voltage regulators may be not available on some variations of HW, allow to > request stub voltage regulators by OPP core in a such case to reduce code > churning within drivers. > > Signed-off-by: Dmitry Osipenko > --- > drivers/cpufreq/cpufreq-dt.c

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-21 Thread Viresh Kumar
On 21-10-18, 23:54, Dmitry Osipenko wrote: > Voltage regulators may be not available on some variations of HW, allow to > request stub voltage regulators by OPP core in a such case to reduce code > churning within drivers. > > Signed-off-by: Dmitry Osipenko > --- > drivers/cpufreq/cpufreq-dt.c

[RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-21 Thread Dmitry Osipenko
Voltage regulators may be not available on some variations of HW, allow to request stub voltage regulators by OPP core in a such case to reduce code churning within drivers. Signed-off-by: Dmitry Osipenko --- drivers/cpufreq/cpufreq-dt.c | 2 +- drivers/cpufreq/ti-cpufreq.c | 3 ++-

[RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-21 Thread Dmitry Osipenko
Voltage regulators may be not available on some variations of HW, allow to request stub voltage regulators by OPP core in a such case to reduce code churning within drivers. Signed-off-by: Dmitry Osipenko --- drivers/cpufreq/cpufreq-dt.c | 2 +- drivers/cpufreq/ti-cpufreq.c | 3 ++-