[PATCH v4 4/7] cpufreq: add clk-reg cpufreq driver

2011-12-21 Thread Richard Zhao
The driver get cpu operation point table from device tree cpu0 node, and adjusts operating points using clk and regulator APIs. It support single core and multi-core ARM SoCs. But currently it assume all cores share the same frequency and voltage. Signed-off-by: Richard Zhao --- .../devicetree/

[PATCH v4 6/7] arm/imx6q: register arm_clk as cpu to clkdev

2011-12-21 Thread Richard Zhao
cpufreq needs cpu clock to change frequency. Signed-off-by: Richard Zhao --- arch/arm/mach-imx/clock-imx6q.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-imx/clock-imx6q.c b/arch/arm/mach-imx/clock-imx6q.c index 039a7ab..72acbc2 100644 --- a/arch/arm/mac

[PATCH v4 2/7] arm/imx: cpufreq: remove loops_per_jiffy recalculate for smp

2011-12-21 Thread Richard Zhao
arm registered cpufreq transition notifier to recalculate it. Signed-off-by: Richard Zhao --- arch/arm/plat-mxc/cpufreq.c | 10 -- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/arch/arm/plat-mxc/cpufreq.c b/arch/arm/plat-mxc/cpufreq.c index c937e75..364793a 100644 ---

[PATCH v4 1/7] ARM: add cpufreq transiton notifier to adjust loops_per_jiffy for smp

2011-12-21 Thread Richard Zhao
If CONFIG_SMP, cpufreq skips loops_per_jiffy update, because different arch has different per-cpu loops_per_jiffy definition. Signed-off-by: Richard Zhao --- arch/arm/kernel/smp.c | 54 + 1 files changed, 54 insertions(+), 0 deletions(-) diff --

[PATCH v4 3/7] cpufreq: OMAP: remove loops_per_jiffy recalculate for smp

2011-12-21 Thread Richard Zhao
arm registered cpufreq transition notifier to recalculate it. Signed-off-by: Richard Zhao --- drivers/cpufreq/omap-cpufreq.c | 36 1 files changed, 0 insertions(+), 36 deletions(-) diff --git a/drivers/cpufreq/omap-cpufreq.c b/drivers/cpufreq/omap-cpufreq.

[PATCH v4 0/7] add a generic cpufreq driver

2011-12-21 Thread Richard Zhao
Thanks Arnd, Mark, Jamie, Rob, for your review. Changes in v4: - add depends on HAVE_CLK && OF && REGULATOR - add set_cpu_freq fail check - regulator_put wehn module exit - add pr_fmt and convert all printk to pr_xxx - use voltage range - comment and doc fix - add cpu_volts value pre-check

[PATCH v4 5/7] dts/imx6q: add cpufreq property

2011-12-21 Thread Richard Zhao
Signed-off-by: Richard Zhao --- arch/arm/boot/dts/imx6q.dtsi |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index 263e8f3..2087db7 100644 --- a/arch/arm/boot/dts/imx6q.dtsi +++ b/arch/arm/boot/dts/imx6q.dt

[PATCH v4 7/7] arm/imx6q: select ARCH_HAS_CPUFREQ

2011-12-21 Thread Richard Zhao
Signed-off-by: Richard Zhao --- arch/arm/mach-imx/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index c44aa97..39cf00a 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -595,6 +595,7 @

Re: Announce: Panda ICS SGX 1.8 on tilt-android-tracking

2011-12-21 Thread Andy Green
On 12/22/2011 11:58 AM, Somebody in the thread at some point said: Hi - Thanks for all the effort you guys put in to get it working. I will try to get a 4.0.1 accelerated build working. Thanks for looking at it! Build 4 is based on 4.0.3 in which the dss/dsscomp headers in userspace have be

Re: Announce: Panda ICS SGX 1.8 on tilt-android-tracking

2011-12-21 Thread Vishal Bhoj
Andy & Jassi, Thanks for all the effort you guys put in to get it working. I will try to get a 4.0.1 accelerated build working. On 22 December 2011 09:02, Andy Green wrote: > Hi - > > Mainly due to the extraordinary efforts of Jassi, I'm pleased to announce > TI LT now has a mostly-workable ini

Announce: Panda ICS SGX 1.8 on tilt-android-tracking

2011-12-21 Thread Andy Green
Hi - Mainly due to the extraordinary efforts of Jassi, I'm pleased to announce TI LT now has a mostly-workable initial build of tilt-android-tracking for ICS including SGX 1.8 driver, on 3.2-rc5 basis. It has two issues at the moment to be aware of: 1) We were only able to get it to work rig

Re: audio support for pandboard on Linaro release 11.11/12

2011-12-21 Thread Andy Green
On 12/22/2011 09:42 AM, Somebody in the thread at some point said: Hi Andy, Thanks for your answer. On Wed, Dec 21, 2011 at 4:33 PM, "Andy Green (林安廸)" wrote: On 12/21/2011 03:46 PM, Somebody in the thread at some point said: Hi - I have one pandboard (4430), however, it's said th

Re: audio support for pandboard on Linaro release 11.11/12

2011-12-21 Thread Zach Pfeffer
On 21 December 2011 19:42, Yuping Luo wrote: > Hi Andy, >    Thanks for your answer. > > On Wed, Dec 21, 2011 at 4:33 PM, "Andy Green (林安廸)" wrote: >> On 12/21/2011 03:46 PM, Somebody in the thread at some point said: >> >> Hi - >> >> >>>    I have one pandboard (4430), however, it's said the aud

Re: audio support for pandboard on Linaro release 11.11/12

2011-12-21 Thread Yuping Luo
Hi Andy, Thanks for your answer. On Wed, Dec 21, 2011 at 4:33 PM, "Andy Green (林安廸)" wrote: > On 12/21/2011 03:46 PM, Somebody in the thread at some point said: > > Hi - > > >>    I have one pandboard (4430), however, it's said the audio and >> audiohw  not supported in the Linaro android rel

Re: [PATCH V3 4/7] cpufreq: add generic cpufreq driver

2011-12-21 Thread Mark Brown
On Wed, Dec 21, 2011 at 10:19:11PM +0800, Richard Zhao wrote: > Even cpu node is device, I still need to find a way to get it. I think it's > better have another patch to fix the regulator dt binding in cpu node. I'll > not include it in this patch series. I'd expect this to be easy if we can fi

Re: [PATCH] mmc: use usleep_range() in mmc_delay()

2011-12-21 Thread Sujit Reddy Thumma
On 12/21/2011 12:26 PM, Dmitry Antipov wrote: From f447d78db65c6675e69466e8ed08364ff065ac08 Mon Sep 17 00:00:00 2001 From: Dmitry Antipov Date: Wed, 21 Dec 2011 10:51:03 +0400 Subject: [PATCH] mmc: use usleep_range() in mmc_delay() --- drivers/mmc/core/core.h | 8 ++-- 1 files changed, 2 in

Re: [PATCH V3 4/7] cpufreq: add generic cpufreq driver

2011-12-21 Thread Kay Sievers
On Wed, Dec 21, 2011 at 13:12, Mark Brown wrote: > On Wed, Dec 21, 2011 at 12:44:57PM +0100, Kay Sievers wrote: > >> We will convert all classes to buses over time time, and have a single >> type of device and a single type of subsystem. > > Are there any conversions that have been done already th

Re: [PATCH V3 4/7] cpufreq: add generic cpufreq driver

2011-12-21 Thread Kay Sievers
On Wed, Dec 21, 2011 at 10:43, Arnd Bergmann wrote: > On Wednesday 21 December 2011, Richard Zhao wrote: >> On Wed, Dec 21, 2011 at 09:20:46AM +0800, Richard Zhao wrote: > >> > > > > You also need to define how the core supplies get looked up. >> > > >> > > > It's pure software. platform uses this

Re: [PATCH] ohci-hcd: ohci-hcd: use usleep_range() instead of mdelay()

2011-12-21 Thread Greg KH
On Wed, Dec 21, 2011 at 11:07:22AM +0400, Dmitry Antipov wrote: > From ac60fe289eef3d81009f2b14a12acbac3e71878b Mon Sep 17 00:00:00 2001 > From: Dmitry Antipov > Date: Wed, 21 Dec 2011 11:05:27 +0400 > Subject: [PATCH] ohci-hcd: use usleep_range() instead of mdelay() > You didn't sign off on thi

Call for testing: Updated OpenJDK 6.0 ARM port (for Ubuntu)

2011-12-21 Thread Christian Robottom Reis
Hi there, Matthias has just landed in the Precise repositories an updated version of OpenJDK that comes with a newly updated Zero-based ARM optimized backend. Since many people have inquired about the general state of Java on ARM, I'd like it if we could get some installation and testing resul

Re: [PATCH] drm: fix compilation warning with i386_defconfig

2011-12-21 Thread Francesco Sarasini
it makes "OMAP2+ Display Subsystem support" disappear in "make menuconfig" How can I solve this? Thanks Sarasini ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev

Re: [PATCH V3 1/7] ARM: add cpufreq transiton notifier to adjust loops_per_jiffy for smp

2011-12-21 Thread Richard Zhao
Hi Russel, Are the patch #1 #2 #3 ok for you? Thanks Richard ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev

Re: [PATCH V3 4/7] cpufreq: add generic cpufreq driver

2011-12-21 Thread Richard Zhao
On Wed, Dec 21, 2011 at 01:49:07PM +0100, Kay Sievers wrote: > On Wed, Dec 21, 2011 at 13:12, Mark Brown > wrote: > > On Wed, Dec 21, 2011 at 12:44:57PM +0100, Kay Sievers wrote: > > > >> We will convert all classes to buses over time time, and have a single > >> type of device and a single type o

Re: [PATCH] mmc: use usleep_range() in mmc_delay()

2011-12-21 Thread Dmitry Antipov
On 12/21/2011 03:25 PM, Sujit Reddy Thumma wrote: I have posted similar patch some time back. http://comments.gmane.org/gmane.linux.ports.arm.msm/2119. Would you like to comment on that? - I believe we should forget about jiffies, HZ and other similar obsolete timekeeping stuff; - I have n

Re: [PATCH V3 4/7] cpufreq: add generic cpufreq driver

2011-12-21 Thread Mark Brown
On Wed, Dec 21, 2011 at 12:44:57PM +0100, Kay Sievers wrote: > We will convert all classes to buses over time time, and have a single > type of device and a single type of subsystem. Are there any conversions that have been done already that I can look at for reference? _

Re: [PATCH V3 4/7] cpufreq: add generic cpufreq driver

2011-12-21 Thread Mark Brown
On Wed, Dec 21, 2011 at 09:43:34AM +, Arnd Bergmann wrote: > On Wednesday 21 December 2011, Richard Zhao wrote: > > Mark, cpu node is not a struct device, sys_device instead. I can not find > > regulator via device/dt node. Can I still use the string to get regulator > > after converting to DT

[RFC PATCH 1/3] thermal: exynos: Add thermal interface support for linux thermal layer

2011-12-21 Thread Amit Daniel Kachhap
This codes uses the generic linux thermal layer and creates a bridge between temperature sensors, linux thermal framework and cooling devices for samsung exynos platform. This layer recieves or monitor the temperature from the sensor and informs the generic thermal layer to take the necessary cooli

[RFC PATCH 0/3] thermal: exynos: Add kernel thermal support for exynos platform

2011-12-21 Thread Amit Daniel Kachhap
All the patchset based on Kernel version 3.2-rc6 and uses the cpufreq cooling registration api's implemented in earlier patchset http://www.spinics.net/lists/linux-pm/msg26500.html The code added in this patchset adds a thermal interface layer for samsung exynos platforms. This layer is registere

[RFC PATCH 3/3] ARM: exynos4: Add thermal sensor driver platform device support

2011-12-21 Thread Amit Daniel Kachhap
This patch adds necessary source definations needed for TMU driver and the platform device support. Signed-off-by: Amit Daniel Kachhap --- arch/arm/mach-exynos/Kconfig | 12 + arch/arm/mach-exynos/Makefile |1 + arch/arm/mach-exynos/clock.c |4

[RFC PATCH 2/3] thermal: exynos4: Register the tmu sensor with the thermal interface layer

2011-12-21 Thread Amit Daniel Kachhap
Export and register information from the hwmon tmu sensor to the samsung exynos kernel thermal framework where different cooling devices and thermal zone are binded. The exported information is based according to the data structure thermal_sensor_conf present in exynos_thermal.h. HWMON sysfs functi

Re: audio support for pandboard on Linaro release 11.11/12

2011-12-21 Thread Andy Green (林安廸)
On 12/21/2011 03:46 PM, Somebody in the thread at some point said: Hi - I have one pandboard (4430), however, it's said the audio and audiohw not supported in the Linaro android release 11.11 or 11.12, Well, the alsa driver side is working, the two main issues left are about integration

RE: [PATCH] ARM: EXYNOS: Add USB OHCI support to ORIGEN board

2011-12-21 Thread Jingoo Han
Hi, Tushar. Tushar Behera wrote: > -Original Message- > Subject: [PATCH] ARM: EXYNOS: Add USB OHCI support to ORIGEN board > > Signed-off-by: Tushar Behera > Signed-off-by: Angus Ainslie Acked-by: Jingoo Han Thanks. Best regards, Jingoo Han > --- > > This patch are based Kukjin's f

Re: Is Pandaboard cpuhotplug working stably?

2011-12-21 Thread Russell King - ARM Linux
On Wed, Dec 21, 2011 at 05:59:07PM +0800, Barry Song wrote: > 2011/12/21 Russell King - ARM Linux : > > cpu hotplug is basically totally buggered - the preconditions placed > > upon the bringup code path are basically impossible to satisfy in any > > shape or form at the moment. > > > > There's the

Re: Is Pandaboard cpuhotplug working stably?

2011-12-21 Thread Barry Song
2011/12/21 Russell King - ARM Linux : > On Wed, Dec 21, 2011 at 05:23:48PM +0800, Barry Song wrote: >> Hi guys, >> i tried cpuhotplug on pandaboard for both >> Pandroid_Froyo_L27.8.2_release_pkg and Linaro 11.11. It has failed to >> work stably. >> On Pandroid_Froyo_L27.8.2_release_pkg, unplugging

Re: Is Pandaboard cpuhotplug working stably?

2011-12-21 Thread Russell King - ARM Linux
On Wed, Dec 21, 2011 at 05:23:48PM +0800, Barry Song wrote: > Hi guys, > i tried cpuhotplug on pandaboard for both > Pandroid_Froyo_L27.8.2_release_pkg and Linaro 11.11. It has failed to > work stably. > On Pandroid_Froyo_L27.8.2_release_pkg, unplugging cpu1 works well: > # echo 0 > /sys/devices/sy

Re: [PATCH V3 4/7] cpufreq: add generic cpufreq driver

2011-12-21 Thread Arnd Bergmann
On Wednesday 21 December 2011, Richard Zhao wrote: > On Wed, Dec 21, 2011 at 09:20:46AM +0800, Richard Zhao wrote: > > > > > You also need to define how the core supplies get looked up. > > > > > > > It's pure software. platform uses this driver have to define "cpu" > > > > consumer. > > > > >

Re: [PATCH V3 4/7] cpufreq: add generic cpufreq driver

2011-12-21 Thread Richard Zhao
On Wed, Dec 21, 2011 at 09:20:46AM +0800, Richard Zhao wrote: > Hi Mark, > > On Tue, Dec 20, 2011 at 11:48:45PM +, Mark Brown wrote: > > On Wed, Dec 21, 2011 at 07:27:03AM +0800, Richard Zhao wrote: > > > On Tue, Dec 20, 2011 at 02:59:04PM +, Mark Brown wrote: > > > > > > My comments on t

Is Pandaboard cpuhotplug working stably?

2011-12-21 Thread Barry Song
Hi guys, i tried cpuhotplug on pandaboard for both Pandroid_Froyo_L27.8.2_release_pkg and Linaro 11.11. It has failed to work stably. On Pandroid_Froyo_L27.8.2_release_pkg, unplugging cpu1 works well: # echo 0 > /sys/devices/system/cpu/cpu1/online CPU1: shutdown if i enable the cpu1 again by "echo

[PATCHv2] Regulator: Add Anatop regulator driver

2011-12-21 Thread Ying-Chun Liu (PaulLiu)
From: "Ying-Chun Liu (PaulLiu)" Anatop regulator driver is used by i.MX6 SoC. The regulator provides controlling the voltage of PU, CORE, SOC, and some devices. This patch adds the Anatop regulator driver. Signed-off-by: Nancy Chen Signed-off-by: Ying-Chun Liu (PaulLiu) Cc: Mark Brown Cc: Lia

[PATCH] ARM: EXYNOS: Add USB OHCI support to ORIGEN board

2011-12-21 Thread Tushar Behera
Signed-off-by: Tushar Behera Signed-off-by: Angus Ainslie --- This patch are based Kukjin's for-next branch and OHCI related patches from Jingoo Han. [PATCH v2 0/3] Support Samsung Exynos OHCI device and driver arch/arm/mach-exynos/Kconfig |1 + arch/arm/mach-exynos/mach-origen.c |