Re: [PATCH V7 0/8] ARM: OMAP3+: support cpufreq-cpu0 for device tree boot

2013-12-23 Thread Viresh Kumar
On Wed, Oct 16, 2013 at 9:09 PM, Nishanth Menon  wrote:
> PandaBoard-ES (OMAP4460): http://pastebin.com/qQCmA2ng

Hi Nishanth,

A colleague of mine (Sanjay), was trying mainline on panda board. And
wasn't able to get cpufreq-cpu0 working with it. Even your log also
reports its broken as it can't get any regulator information..

He is getting this:

cpufreq_cpu0: failed to get cpu0 regulator: -19
cpufreq_cpu0: failed to get cpu0 clock: -2
cpufreq-cpu0: probe of cpufreq-cpu0.0 failed with error -2

Can you please help him out?

--
viresh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH V7 0/8] ARM: OMAP3+: support cpufreq-cpu0 for device tree boot

2013-12-23 Thread Viresh Kumar
On Wed, Oct 16, 2013 at 9:09 PM, Nishanth Menon n...@ti.com wrote:
 PandaBoard-ES (OMAP4460): http://pastebin.com/qQCmA2ng

Hi Nishanth,

A colleague of mine (Sanjay), was trying mainline on panda board. And
wasn't able to get cpufreq-cpu0 working with it. Even your log also
reports its broken as it can't get any regulator information..

He is getting this:

cpufreq_cpu0: failed to get cpu0 regulator: -19
cpufreq_cpu0: failed to get cpu0 clock: -2
cpufreq-cpu0: probe of cpufreq-cpu0.0 failed with error -2

Can you please help him out?

--
viresh
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH V7 0/8] ARM: OMAP3+: support cpufreq-cpu0 for device tree boot

2013-10-22 Thread Benoit Cousson

Hi Nishanth,

On 16/10/2013 17:39, Nishanth Menon wrote:

Hi,

This series enables the use of cpufreq-cpu0 generic driver for all
OMAP and related derivatives. Only patch#8 in the series, which
introduces CPU clock nodes, depends on Tero's V8 patch series for clock
nodes[1]

I will stop copy pasting the series complete history and point at [2].

Main changes since V6[3]:
- squashed patches for a minimal set
- i have organized the series such that 1 to 7 can immediately be merged
   if desired:
- patches 1,2,3 can go to Tony's omap-for-v3.13/quirk [4]
- patches 4-7 can go to Benoit's for_3.13/dts [5]


I've just applied them in my DTS tree.

Thanks,
Benoit


- patch 8 needs to depend on [1] and should eventually go to [5]

NOTES: obviously without clock nodes cpufreq will not function.

Test Script: http://pastebin.com/VvJPjsne

Test-log:
BeagleBoard-XM (OMAP36xx): http://pastebin.com/XZDNaHPf
PandaBoard-ES (OMAP4460): http://pastebin.com/qQCmA2ng
BeagleBone-Black(AM335x): http://pastebin.com/98FX4uYW
OMAP5uEVM (OMAP5432): http://pastebin.com/NXj3L636
DRA7-EVM (DRA7xx): http://pastebin.com/0kKT3TXy

J Keerthy (3):
   ARM: dts: dra7-evm: add smps123 supply for CPU
   ARM: dts: OMAP5: Add CPU OPP table
   ARM: dts: DRA7: Add CPU OPP table

Nishanth Menon (5):
   ARM: OMAP3+: do not register non-dt OPP tables for device tree boot
   ARM: OMAP2+: add missing lateinit hook for calling pm late init
   ARM: OMAP3+: use cpu0-cpufreq driver in device tree supported boot
   ARM: dts: omap5-uevm: add smps123 supply for CPU
   ARM: dts: OMAP3: add clock nodes for CPU

[1] http://marc.info/?t=13813328426=1=2
[2] http://marc.info/?l=linux-arm-kernel=136804009618594=2
[3] http://marc.info/?l=devicetree=138135419203492=2
[4] 
https://git.kernel.org/cgit/linux/kernel/git/tmlind/linux-omap.git/log/?h=omap-for-v3.13/quirk

  arch/arm/boot/dts/am33xx.dtsi   |4 
  arch/arm/boot/dts/dra7-evm.dts  |4 
  arch/arm/boot/dts/dra7.dtsi |   13 -
  arch/arm/boot/dts/omap3.dtsi|5 +
  arch/arm/boot/dts/omap4.dtsi|5 +
  arch/arm/boot/dts/omap5-uevm.dts|4 
  arch/arm/boot/dts/omap5.dtsi|   15 ++-
  arch/arm/mach-omap2/board-generic.c |4 
  arch/arm/mach-omap2/common.h|4 
  arch/arm/mach-omap2/io.c|   20 
  arch/arm/mach-omap2/opp.c   |4 
  arch/arm/mach-omap2/pm.c|   12 +---
  12 files changed, 89 insertions(+), 5 deletions(-)

Regards,
Nishanth Menon




--
Benoît Cousson
BayLibre
Embedded Linux Technology Lab
www.baylibre.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH V7 0/8] ARM: OMAP3+: support cpufreq-cpu0 for device tree boot

2013-10-22 Thread Benoit Cousson

Hi Nishanth,

On 16/10/2013 17:39, Nishanth Menon wrote:

Hi,

This series enables the use of cpufreq-cpu0 generic driver for all
OMAP and related derivatives. Only patch#8 in the series, which
introduces CPU clock nodes, depends on Tero's V8 patch series for clock
nodes[1]

I will stop copy pasting the series complete history and point at [2].

Main changes since V6[3]:
- squashed patches for a minimal set
- i have organized the series such that 1 to 7 can immediately be merged
   if desired:
- patches 1,2,3 can go to Tony's omap-for-v3.13/quirk [4]
- patches 4-7 can go to Benoit's for_3.13/dts [5]


I've just applied them in my DTS tree.

Thanks,
Benoit


- patch 8 needs to depend on [1] and should eventually go to [5]

NOTES: obviously without clock nodes cpufreq will not function.

Test Script: http://pastebin.com/VvJPjsne

Test-log:
BeagleBoard-XM (OMAP36xx): http://pastebin.com/XZDNaHPf
PandaBoard-ES (OMAP4460): http://pastebin.com/qQCmA2ng
BeagleBone-Black(AM335x): http://pastebin.com/98FX4uYW
OMAP5uEVM (OMAP5432): http://pastebin.com/NXj3L636
DRA7-EVM (DRA7xx): http://pastebin.com/0kKT3TXy

J Keerthy (3):
   ARM: dts: dra7-evm: add smps123 supply for CPU
   ARM: dts: OMAP5: Add CPU OPP table
   ARM: dts: DRA7: Add CPU OPP table

Nishanth Menon (5):
   ARM: OMAP3+: do not register non-dt OPP tables for device tree boot
   ARM: OMAP2+: add missing lateinit hook for calling pm late init
   ARM: OMAP3+: use cpu0-cpufreq driver in device tree supported boot
   ARM: dts: omap5-uevm: add smps123 supply for CPU
   ARM: dts: OMAP3: add clock nodes for CPU

[1] http://marc.info/?t=13813328426r=1w=2
[2] http://marc.info/?l=linux-arm-kernelm=136804009618594w=2
[3] http://marc.info/?l=devicetreem=138135419203492w=2
[4] 
https://git.kernel.org/cgit/linux/kernel/git/tmlind/linux-omap.git/log/?h=omap-for-v3.13/quirk

  arch/arm/boot/dts/am33xx.dtsi   |4 
  arch/arm/boot/dts/dra7-evm.dts  |4 
  arch/arm/boot/dts/dra7.dtsi |   13 -
  arch/arm/boot/dts/omap3.dtsi|5 +
  arch/arm/boot/dts/omap4.dtsi|5 +
  arch/arm/boot/dts/omap5-uevm.dts|4 
  arch/arm/boot/dts/omap5.dtsi|   15 ++-
  arch/arm/mach-omap2/board-generic.c |4 
  arch/arm/mach-omap2/common.h|4 
  arch/arm/mach-omap2/io.c|   20 
  arch/arm/mach-omap2/opp.c   |4 
  arch/arm/mach-omap2/pm.c|   12 +---
  12 files changed, 89 insertions(+), 5 deletions(-)

Regards,
Nishanth Menon




--
Benoît Cousson
BayLibre
Embedded Linux Technology Lab
www.baylibre.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH V7 0/8] ARM: OMAP3+: support cpufreq-cpu0 for device tree boot

2013-10-16 Thread Nishanth Menon
Hi,

This series enables the use of cpufreq-cpu0 generic driver for all
OMAP and related derivatives. Only patch#8 in the series, which
introduces CPU clock nodes, depends on Tero's V8 patch series for clock
nodes[1]

I will stop copy pasting the series complete history and point at [2].

Main changes since V6[3]:
- squashed patches for a minimal set
- i have organized the series such that 1 to 7 can immediately be merged
  if desired:
- patches 1,2,3 can go to Tony's omap-for-v3.13/quirk [4]
- patches 4-7 can go to Benoit's for_3.13/dts [5]
- patch 8 needs to depend on [1] and should eventually go to [5]

NOTES: obviously without clock nodes cpufreq will not function.

Test Script: http://pastebin.com/VvJPjsne

Test-log:
BeagleBoard-XM (OMAP36xx): http://pastebin.com/XZDNaHPf
PandaBoard-ES (OMAP4460): http://pastebin.com/qQCmA2ng
BeagleBone-Black(AM335x): http://pastebin.com/98FX4uYW
OMAP5uEVM (OMAP5432): http://pastebin.com/NXj3L636
DRA7-EVM (DRA7xx): http://pastebin.com/0kKT3TXy

J Keerthy (3):
  ARM: dts: dra7-evm: add smps123 supply for CPU
  ARM: dts: OMAP5: Add CPU OPP table
  ARM: dts: DRA7: Add CPU OPP table

Nishanth Menon (5):
  ARM: OMAP3+: do not register non-dt OPP tables for device tree boot
  ARM: OMAP2+: add missing lateinit hook for calling pm late init
  ARM: OMAP3+: use cpu0-cpufreq driver in device tree supported boot
  ARM: dts: omap5-uevm: add smps123 supply for CPU
  ARM: dts: OMAP3: add clock nodes for CPU

[1] http://marc.info/?t=13813328426=1=2
[2] http://marc.info/?l=linux-arm-kernel=136804009618594=2
[3] http://marc.info/?l=devicetree=138135419203492=2
[4] 
https://git.kernel.org/cgit/linux/kernel/git/tmlind/linux-omap.git/log/?h=omap-for-v3.13/quirk

 arch/arm/boot/dts/am33xx.dtsi   |4 
 arch/arm/boot/dts/dra7-evm.dts  |4 
 arch/arm/boot/dts/dra7.dtsi |   13 -
 arch/arm/boot/dts/omap3.dtsi|5 +
 arch/arm/boot/dts/omap4.dtsi|5 +
 arch/arm/boot/dts/omap5-uevm.dts|4 
 arch/arm/boot/dts/omap5.dtsi|   15 ++-
 arch/arm/mach-omap2/board-generic.c |4 
 arch/arm/mach-omap2/common.h|4 
 arch/arm/mach-omap2/io.c|   20 
 arch/arm/mach-omap2/opp.c   |4 
 arch/arm/mach-omap2/pm.c|   12 +---
 12 files changed, 89 insertions(+), 5 deletions(-)

Regards,
Nishanth Menon
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH V7 0/8] ARM: OMAP3+: support cpufreq-cpu0 for device tree boot

2013-10-16 Thread Nishanth Menon
Hi,

This series enables the use of cpufreq-cpu0 generic driver for all
OMAP and related derivatives. Only patch#8 in the series, which
introduces CPU clock nodes, depends on Tero's V8 patch series for clock
nodes[1]

I will stop copy pasting the series complete history and point at [2].

Main changes since V6[3]:
- squashed patches for a minimal set
- i have organized the series such that 1 to 7 can immediately be merged
  if desired:
- patches 1,2,3 can go to Tony's omap-for-v3.13/quirk [4]
- patches 4-7 can go to Benoit's for_3.13/dts [5]
- patch 8 needs to depend on [1] and should eventually go to [5]

NOTES: obviously without clock nodes cpufreq will not function.

Test Script: http://pastebin.com/VvJPjsne

Test-log:
BeagleBoard-XM (OMAP36xx): http://pastebin.com/XZDNaHPf
PandaBoard-ES (OMAP4460): http://pastebin.com/qQCmA2ng
BeagleBone-Black(AM335x): http://pastebin.com/98FX4uYW
OMAP5uEVM (OMAP5432): http://pastebin.com/NXj3L636
DRA7-EVM (DRA7xx): http://pastebin.com/0kKT3TXy

J Keerthy (3):
  ARM: dts: dra7-evm: add smps123 supply for CPU
  ARM: dts: OMAP5: Add CPU OPP table
  ARM: dts: DRA7: Add CPU OPP table

Nishanth Menon (5):
  ARM: OMAP3+: do not register non-dt OPP tables for device tree boot
  ARM: OMAP2+: add missing lateinit hook for calling pm late init
  ARM: OMAP3+: use cpu0-cpufreq driver in device tree supported boot
  ARM: dts: omap5-uevm: add smps123 supply for CPU
  ARM: dts: OMAP3: add clock nodes for CPU

[1] http://marc.info/?t=13813328426r=1w=2
[2] http://marc.info/?l=linux-arm-kernelm=136804009618594w=2
[3] http://marc.info/?l=devicetreem=138135419203492w=2
[4] 
https://git.kernel.org/cgit/linux/kernel/git/tmlind/linux-omap.git/log/?h=omap-for-v3.13/quirk

 arch/arm/boot/dts/am33xx.dtsi   |4 
 arch/arm/boot/dts/dra7-evm.dts  |4 
 arch/arm/boot/dts/dra7.dtsi |   13 -
 arch/arm/boot/dts/omap3.dtsi|5 +
 arch/arm/boot/dts/omap4.dtsi|5 +
 arch/arm/boot/dts/omap5-uevm.dts|4 
 arch/arm/boot/dts/omap5.dtsi|   15 ++-
 arch/arm/mach-omap2/board-generic.c |4 
 arch/arm/mach-omap2/common.h|4 
 arch/arm/mach-omap2/io.c|   20 
 arch/arm/mach-omap2/opp.c   |4 
 arch/arm/mach-omap2/pm.c|   12 +---
 12 files changed, 89 insertions(+), 5 deletions(-)

Regards,
Nishanth Menon
-- 
1.7.9.5

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/