Re: [PATCH 3/3] cpufreq: Add a generic cpufreq-cpu0 driver

2012-07-20 Thread Shawn Guo
On Sat, Jul 21, 2012 at 10:34:29AM +0530, Shilimkar, Santosh wrote: > On Fri, Jul 20, 2012 at 9:20 PM, Turquette, Mike wrote: > > How about cpufreq-single-thread.c and CONFIG_CPUFREQ_SINGLE_THREAD? > > That makes sense for both UP and SMP. > > > Indeed. This sounds more appropriate and also reflec

[PATCHv3 2/2] ARM: vt8500: Add support for UHCI companion controller

2012-07-20 Thread Tony Prisk
Add support for a generic non-pci UHCI companion controller. Existing board files for arch-vt8500 updated to include UHCI support. Signed-off-by: Tony Prisk --- V3: Added the missing commits for the board files. arch/arm/mach-vt8500/bv07.c |1 + arch/arm/mach-vt8500/devices-vt8500

[PATCH 1/2] ARM: vt8500: Update vt8500-ehci driver to support device tree.

2012-07-20 Thread Tony Prisk
Signed-off-by: Tony Prisk --- .../devicetree/bindings/usb/vt8500-ehci.txt| 10 ++ drivers/usb/host/ehci-vt8500.c |9 + 2 files changed, 19 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/usb/vt8500-ehci.txt dif

[PATCH] dt/flattree: Add stub defintions for flat device tree functions

2012-07-20 Thread Laura Abbott
Several flattened device tree functions are missing stub functions when CONFIG_OF_FLATTREE is not selected, creating compilation errors. Add the stub functions. Signed-off-by: Laura Abbott --- include/linux/of_fdt.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/inc

Re: [PATCH 3/3] cpufreq: Add a generic cpufreq-cpu0 driver

2012-07-20 Thread Turquette, Mike
On Fri, Jul 20, 2012 at 5:33 AM, Shawn Guo wrote: > On Fri, Jul 20, 2012 at 12:22:14PM +0530, Shilimkar, Santosh wrote: >> This *_CPU0 doesn't seems to be appropriate since this infrastructure will be >> used on SMP systems where CPUs shares clock/voltage rails. May be you can >> get rid of that u

Re: [patch] driver-core: dev_to_node() should handle NULL pointers

2012-07-20 Thread Dan Carpenter
On Fri, Jul 20, 2012 at 08:00:42AM -0700, Greg Kroah-Hartman wrote: > On Fri, Jul 20, 2012 at 09:56:23AM +0300, Dan Carpenter wrote: > > What prompted this patch is that in dma_pool_create() we call > > dev_to_node() before checking whether "dev" is NULL. It looks like > > there are places which c

Re: [patch] driver-core: dev_to_node() should handle NULL pointers

2012-07-20 Thread Greg Kroah-Hartman
On Fri, Jul 20, 2012 at 09:56:23AM +0300, Dan Carpenter wrote: > What prompted this patch is that in dma_pool_create() we call > dev_to_node() before checking whether "dev" is NULL. It looks like > there are places which call dma_pool_create() with a NULL pointer. An > example is in drivers/usb/g

[PATCHv3 2/2] ARM: vt8500: Add support for UHCI companion controller

2012-07-20 Thread Tony Prisk
Add support for a generic non-pci UHCI companion controller. Existing board files for arch-vt8500 updated to include UHCI support. Signed-off-by: Tony Prisk --- V3: Added the missing commits for the board files. arch/arm/mach-vt8500/bv07.c |1 + arch/arm/mach-vt8500/devices-vt8500

[PATCH] ARM: vt8500: Minor updates to platform drivers for devicetree support

2012-07-20 Thread Tony Prisk
Updated the vt8500-rtc and vt8500-uart platform drivers for devicetree support. Signed-off-by: Tony Prisk --- .../devicetree/bindings/rtc/vt8500-rtc.txt | 14 ++ .../devicetree/bindings/tty/serial/vt8500-uart.txt | 14 ++ drivers/rtc/rtc-vt8500.c

Re: [PATCH 3/3] cpufreq: Add a generic cpufreq-cpu0 driver

2012-07-20 Thread Shawn Guo
On Fri, Jul 20, 2012 at 08:51:17PM +0800, Richard Zhao wrote: > Hi, Shawn, > > I find you create a new driver rather than work on my generic cpufreq driver > based on clk and regulator. > Is there any reason besides adding opp support? > Adopting OPP support forces me to look at omap-cpufreq dri

Re: [PATCH V2 1/7] ARM: SAMSUNG: add additional registers and SFR definitions for writeback

2012-07-20 Thread Sylwester Nawrocki
On 07/20/2012 01:07 PM, Leela Krishna Amudala wrote: Will do the run-time approach, and post the next version patchset soon. Great, thanks. ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devic

[PATCH v3 2/2] ARM: EXYNOS: Add Gscaler device from DT

2012-07-20 Thread Shaik Ameer Basha
This patch adds, - 4 Gscaler devices to the DT device list - Gscaler specific entries to the machine file - binding documentation for Gscaler entries Signed-off-by: Abhilash Kesavan Signed-off-by: Leela Krishna Amudala Signed-off-by: Shaik Ameer Basha --- .../devicetree/bindings/media/exynos5-

[PATCH v3 1/2] ARM: EXYNOS: Add clock support for Gscaler

2012-07-20 Thread Shaik Ameer Basha
Add required clock support for Gscaler for exynos5 Signed-off-by: Abhilash Kesavan Signed-off-by: Leela Krishna Amudala Signed-off-by: Prathyush K Signed-off-by: Shaik Ameer Basha --- arch/arm/mach-exynos/clock-exynos5.c | 100 ++ 1 files changed, 100 insertio

[PATCH v3 0/2] Add device tree and clock support for Gscaler.

2012-07-20 Thread Shaik Ameer Basha
This patch series adds clock support for Gscaler and device node entries for Gscaler on exynos5. This patch is based on Kukjin Kim's (linux-samsung) for-next branch. https://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git changes since v2: - Addressed review comments from Syl

Re: [PATCH 3/3] cpufreq: Add a generic cpufreq-cpu0 driver

2012-07-20 Thread Shawn Guo
Thanks for the reviewing, Santosh. On Fri, Jul 20, 2012 at 12:22:14PM +0530, Shilimkar, Santosh wrote: > > +config GENERIC_CPUFREQ_CPU0 > > + bool "Generic cpufreq driver for CPU0" > > + depends on HAVE_CLK && REGULATOR && PM_OPP && OF > > + select CPU_FREQ_TABLE > > + help

[PATCHv2 2/2] ARM: vt8500: Add support for UHCI companion controller

2012-07-20 Thread Tony Prisk
Add support for a generic non-pci UHCI companion controller. Existing board files for arch-vt8500 updated to include UHCI support. Signed-off-by: Tony Prisk --- arch/arm/mach-vt8500/devices-vt8500.c |5 + arch/arm/mach-vt8500/devices-wm8505.c |4 + arch/arm/mach-vt8500/devices.c|

[PATCHv2 1/2] ARM: vt8500: Update vt8500-ehci driver to support device tree.

2012-07-20 Thread Tony Prisk
Signed-off-by: Tony Prisk --- .../devicetree/bindings/usb/vt8500-ehci.txt| 10 ++ drivers/usb/host/ehci-vt8500.c |9 + 2 files changed, 19 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/usb/vt8500-ehci.txt dif

Re: [PATCH V2 1/7] ARM: SAMSUNG: add additional registers and SFR definitions for writeback

2012-07-20 Thread Leela Krishna Amudala
Hello, On Fri, Jul 20, 2012 at 3:30 PM, Sylwester Nawrocki wrote: > On 07/20/2012 04:59 AM, Leela Krishna Amudala wrote: >>> --- a/arch/arm/plat-samsung/include/plat/regs-fb-v4.h >>> +++ b/arch/arm/plat-samsung/include/plat/regs-fb-v4.h >>> @@ -30,9 +30,16 @@ >>> >>> #define

Re: [PATCH V2 1/7] ARM: SAMSUNG: add additional registers and SFR definitions for writeback

2012-07-20 Thread Sylwester Nawrocki
On 07/18/2012 09:09 AM, Ajay kumar wrote: +config FB_EXYNOS_FIMD_V8 + bool "register extensions for FIMD version 8" + depends on ARCH_EXYNOS5 + ---help--- + This uses register extensions for FIMD version 8 + config FB_S3C_DEBUG_REGWRITE bool "Debug register writes"

Re: [PATCH V2 1/7] ARM: SAMSUNG: add additional registers and SFR definitions for writeback

2012-07-20 Thread Sylwester Nawrocki
On 07/20/2012 04:59 AM, Leela Krishna Amudala wrote: >> --- a/arch/arm/plat-samsung/include/plat/regs-fb-v4.h >> +++ b/arch/arm/plat-samsung/include/plat/regs-fb-v4.h >> @@ -30,9 +30,16 @@ >> >> #define VIDCON1_FSTATUS_EVEN (1<< 15) >> >> /* Video timing controls */

Re: [PATCH 2/2 v3] USB: dwc3-exynos: Add vbus setup function to the exynos dwc3 glue layer

2012-07-20 Thread Felipe Balbi
Hi, On Mon, Jul 16, 2012 at 11:27:39AM +0530, Vivek Gautam wrote: > This patch retrieves and configures the vbus control gpio via > the device tree. The suspend/resume callbacks will be later > modified for vbus control. > > Signed-off-by: Abhilash Kesavan > Signed-off-by: Vivek Gautam > --- >

Re: [PATCH 1/2 v3] USB: dwc3-exynos: Add support for device tree

2012-07-20 Thread Felipe Balbi
Hi, On Mon, Jul 16, 2012 at 11:27:38AM +0530, Vivek Gautam wrote: > This patch adds support to parse probe data for > dwc3 driver for exynos using device tree > > Signed-off-by: Praveen Paneri > Signed-off-by: Vivek Gautam > --- > drivers/usb/dwc3/dwc3-exynos.c | 22 ++ >

Re: [PATCH V3 1/2] of: Add generic device tree DMA helpers

2012-07-20 Thread Vinod Koul
On Fri, 2012-07-20 at 11:08 +0200, Robert Jarzmik wrote: > Vinod Koul writes: > > >> 4. A dma controller requiring complex configuration: > >> > >>dma: dmaengine@4800 { > >>compatible = "foo,foo-sdma" > >>reg = <0x4800 0x1000>; > >>

Re: [PATCH V3 1/2] of: Add generic device tree DMA helpers

2012-07-20 Thread Vinod Koul
On Fri, 2012-07-20 at 08:39 +, Arnd Bergmann wrote: > On Friday 20 July 2012, Vinod Koul wrote: > > > Required property: > > > dmas: list of one or more dma specifiers, each consisting of > > > - phandle pointing to dma controller node > > > - flags word, a bit map that can hold t

Re: [PATCH 2/3] PM / OPP: Initialize OPP table from device tree

2012-07-20 Thread Menon, Nishanth
On Fri, Jul 20, 2012 at 3:46 AM, Shawn Guo wrote: > >> > + ret = of_property_read_u32_array(np, propname, opp, nr); >> > + if (ret) { >> > + dev_err(dev, "%s: Unable to read OPPs\n", __func__); >> > + goto out; >> > + } >> > + >> > + nr /= 3; >>

Re: [PATCH 2/3] PM / OPP: Initialize OPP table from device tree

2012-07-20 Thread Shawn Guo
Thanks for reviewing it, Nishanth. On Fri, Jul 20, 2012 at 01:00:26AM -0500, Menon, Nishanth wrote: > > +cpu@0 { > > + compatible = "arm,cortex-a9"; > I am not sure how this works - would an example of OMAP4430, 60, 70 > help? they have completely different OPP entries. > Basically, patch #

Re: [PATCH V3 1/2] of: Add generic device tree DMA helpers

2012-07-20 Thread Arnd Bergmann
On Friday 20 July 2012, Vinod Koul wrote: > > Required property: > > dmas: list of one or more dma specifiers, each consisting of > > - phandle pointing to dma controller node > > - flags word, a bit map that can hold these flags > >* 0x0001 channel can be used for transfe

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

2012-07-20 Thread Shawn Guo
On Fri, Jul 20, 2012 at 12:06:50PM +0530, Shilimkar, Santosh wrote: > On Thu, Jul 19, 2012 at 9:24 PM, Shawn Guo wrote: > > > > From: Richard Zhao > > > > If CONFIG_SMP, cpufreq skips loops_per_jiffy update, because different > > arch has different per-cpu loops_per_jiffy definition. > > > > Sign

[PATCH v2 1/2] arm/dts: Add AM33XX basic pinctrl support

2012-07-20 Thread AnilKumar Ch
Add basic pinctrl support for AM33XX family of devices by adding DT data to am33xx dtsi file. These patches are based on pinctrl-single driver and tested on am335x-evm & am335x-bone devices. Signed-off-by: AnilKumar Ch --- arch/arm/boot/dts/am33xx.dtsi |9 + 1 files changed, 9 insert

[PATCH v2 2/2] arm/dts: Configure pinmuxs for user leds control on Bone

2012-07-20 Thread AnilKumar Ch
Adds GPIO pinctrl nodes to am3358_pinmux master node to control user leds (USR0, USR1, USR2 and USR3) present on BeagleBone. Signed-off-by: AnilKumar Ch --- arch/arm/boot/dts/am335x-bone.dts | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH v2 0/2] Add pinctrl support to AM33XX family of devices

2012-07-20 Thread AnilKumar Ch
Adds pinctrl support to AM33XX family of devices. These patches were tested on AM335x-Bone and AM335x-EVM Changes from v1: - Rebased the patches based on latest pinctrl-single driver AnilKumar Ch (2): arm/dts: Add AM33XX basic pinctrl support arm/dts: Configure pinmuxs for user leds