Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-08 Thread Stephen Warren
On 08/07/2013 08:57 PM, Viresh Kumar wrote: > On 8 August 2013 00:25, Stephen Warren wrote: >> On 08/07/2013 12:06 PM, Viresh Kumar wrote: >>> On 7 August 2013 23:12, Stephen Warren wrote: On 08/07/2013 08:46 AM, Viresh Kumar wrote: > cpufreq-cpu0 driver needs OPPs to be present in DT

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-08 Thread Nishanth Menon
On Thu, Aug 8, 2013 at 9:37 AM, Viresh Kumar wrote: > On 8 August 2013 19:52, Lucas Stach wrote: >> You can certainly define the mapping table in DT where a specialized >> Tegra cpufreq driver could read it in and then map frequency to voltage. >> But that's a runtime decision, as Speedo and

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-08 Thread Viresh Kumar
On 8 August 2013 19:52, Lucas Stach wrote: > You can certainly define the mapping table in DT where a specialized > Tegra cpufreq driver could read it in and then map frequency to voltage. > But that's a runtime decision, as Speedo and process ID are fuse values > and can not be represented in

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-08 Thread Lucas Stach
Am Donnerstag, den 08.08.2013, 19:41 +0530 schrieb Viresh Kumar: > On 8 August 2013 19:28, Lucas Stach wrote: > > From what I learned those voltage levels are dependent on both the > > Speedo and the process ID of the specific Tegra processor. So you really > > get a two dimensional mapping table

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-08 Thread Viresh Kumar
On 8 August 2013 19:28, Lucas Stach wrote: > From what I learned those voltage levels are dependent on both the > Speedo and the process ID of the specific Tegra processor. So you really > get a two dimensional mapping table instead of a single OPP. > Also you can not scale the CPU voltage on

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-08 Thread Lucas Stach
Am Mittwoch, den 07.08.2013, 12:55 -0600 schrieb Stephen Warren: > On 08/07/2013 12:06 PM, Viresh Kumar wrote: > > On 7 August 2013 23:12, Stephen Warren wrote: > >> On 08/07/2013 08:46 AM, Viresh Kumar wrote: > >>> cpufreq-cpu0 driver needs OPPs to be present in DT which can be probed by > >>>

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-08 Thread Lucas Stach
Am Mittwoch, den 07.08.2013, 12:55 -0600 schrieb Stephen Warren: On 08/07/2013 12:06 PM, Viresh Kumar wrote: On 7 August 2013 23:12, Stephen Warren swar...@wwwdotorg.org wrote: On 08/07/2013 08:46 AM, Viresh Kumar wrote: cpufreq-cpu0 driver needs OPPs to be present in DT which can be probed

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-08 Thread Viresh Kumar
On 8 August 2013 19:28, Lucas Stach l.st...@pengutronix.de wrote: From what I learned those voltage levels are dependent on both the Speedo and the process ID of the specific Tegra processor. So you really get a two dimensional mapping table instead of a single OPP. Also you can not scale the

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-08 Thread Lucas Stach
Am Donnerstag, den 08.08.2013, 19:41 +0530 schrieb Viresh Kumar: On 8 August 2013 19:28, Lucas Stach l.st...@pengutronix.de wrote: From what I learned those voltage levels are dependent on both the Speedo and the process ID of the specific Tegra processor. So you really get a two

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-08 Thread Viresh Kumar
On 8 August 2013 19:52, Lucas Stach l.st...@pengutronix.de wrote: You can certainly define the mapping table in DT where a specialized Tegra cpufreq driver could read it in and then map frequency to voltage. But that's a runtime decision, as Speedo and process ID are fuse values and can not be

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-08 Thread Nishanth Menon
On Thu, Aug 8, 2013 at 9:37 AM, Viresh Kumar viresh.ku...@linaro.org wrote: On 8 August 2013 19:52, Lucas Stach l.st...@pengutronix.de wrote: You can certainly define the mapping table in DT where a specialized Tegra cpufreq driver could read it in and then map frequency to voltage. But that's

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-08 Thread Stephen Warren
On 08/07/2013 08:57 PM, Viresh Kumar wrote: On 8 August 2013 00:25, Stephen Warren swar...@wwwdotorg.org wrote: On 08/07/2013 12:06 PM, Viresh Kumar wrote: On 7 August 2013 23:12, Stephen Warren swar...@wwwdotorg.org wrote: On 08/07/2013 08:46 AM, Viresh Kumar wrote: cpufreq-cpu0 driver needs

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-07 Thread Viresh Kumar
On 8 August 2013 00:25, Stephen Warren wrote: > On 08/07/2013 12:06 PM, Viresh Kumar wrote: >> On 7 August 2013 23:12, Stephen Warren wrote: >>> On 08/07/2013 08:46 AM, Viresh Kumar wrote: cpufreq-cpu0 driver needs OPPs to be present in DT which can be probed by it to get

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-07 Thread Stephen Warren
On 08/07/2013 12:06 PM, Viresh Kumar wrote: > On 7 August 2013 23:12, Stephen Warren wrote: >> On 08/07/2013 08:46 AM, Viresh Kumar wrote: >>> cpufreq-cpu0 driver needs OPPs to be present in DT which can be probed by >>> it to >>> get frequency table. This patch adds OPPs and clock-latency to

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-07 Thread Viresh Kumar
On 7 August 2013 23:12, Stephen Warren wrote: > On 08/07/2013 08:46 AM, Viresh Kumar wrote: >> cpufreq-cpu0 driver needs OPPs to be present in DT which can be probed by it >> to >> get frequency table. This patch adds OPPs and clock-latency to tegra cpu0 >> node >> for multiple SoCs. >> >>

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-07 Thread Stephen Warren
On 08/07/2013 08:46 AM, Viresh Kumar wrote: > cpufreq-cpu0 driver needs OPPs to be present in DT which can be probed by it > to > get frequency table. This patch adds OPPs and clock-latency to tegra cpu0 node > for multiple SoCs. > > Voltage levels aren't used until now for tegra and so a flat

[PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-07 Thread Viresh Kumar
cpufreq-cpu0 driver needs OPPs to be present in DT which can be probed by it to get frequency table. This patch adds OPPs and clock-latency to tegra cpu0 node for multiple SoCs. Voltage levels aren't used until now for tegra and so a flat value which would eventually be ignored is used to

[PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-07 Thread Viresh Kumar
cpufreq-cpu0 driver needs OPPs to be present in DT which can be probed by it to get frequency table. This patch adds OPPs and clock-latency to tegra cpu0 node for multiple SoCs. Voltage levels aren't used until now for tegra and so a flat value which would eventually be ignored is used to

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-07 Thread Stephen Warren
On 08/07/2013 08:46 AM, Viresh Kumar wrote: cpufreq-cpu0 driver needs OPPs to be present in DT which can be probed by it to get frequency table. This patch adds OPPs and clock-latency to tegra cpu0 node for multiple SoCs. Voltage levels aren't used until now for tegra and so a flat value

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-07 Thread Viresh Kumar
On 7 August 2013 23:12, Stephen Warren swar...@wwwdotorg.org wrote: On 08/07/2013 08:46 AM, Viresh Kumar wrote: cpufreq-cpu0 driver needs OPPs to be present in DT which can be probed by it to get frequency table. This patch adds OPPs and clock-latency to tegra cpu0 node for multiple SoCs.

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-07 Thread Stephen Warren
On 08/07/2013 12:06 PM, Viresh Kumar wrote: On 7 August 2013 23:12, Stephen Warren swar...@wwwdotorg.org wrote: On 08/07/2013 08:46 AM, Viresh Kumar wrote: cpufreq-cpu0 driver needs OPPs to be present in DT which can be probed by it to get frequency table. This patch adds OPPs and

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-07 Thread Viresh Kumar
On 8 August 2013 00:25, Stephen Warren swar...@wwwdotorg.org wrote: On 08/07/2013 12:06 PM, Viresh Kumar wrote: On 7 August 2013 23:12, Stephen Warren swar...@wwwdotorg.org wrote: On 08/07/2013 08:46 AM, Viresh Kumar wrote: cpufreq-cpu0 driver needs OPPs to be present in DT which can be probed