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

2012-07-20 Thread Menon, Nishanth
On Thu, Jul 19, 2012 at 10:54 AM, Shawn Guo shawn@linaro.org wrote: With a lot of devices booting from device tree nowadays, it requires that OPP table can be initialized from device tree. The patch adds a helper function of_init_opp_table together with a binding doc for that purpose.

RE: [PATCH V2 3/7] ARM: EXYNOS5: add machine specific support for LCD

2012-07-20 Thread Marek Szyprowski
Hello, On Thursday, July 19, 2012 3:22 PM Leela Krishna Amudala wrote: Hello Marek, On Wed, Jul 18, 2012 at 12:15 PM, Marek Szyprowski m.szyprow...@samsung.com wrote: Hello, On Wednesday, July 18, 2012 7:57 AM Leela Krishna Amudala wrote: This patch adds machine specific support

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

2012-07-20 Thread Marek Szyprowski
Hello, On Thursday, July 19, 2012 2:44 PM Leela Krishna Amudala Hello Marek, On Wed, Jul 18, 2012 at 12:21 PM, Marek Szyprowski m.szyprow...@samsung.com wrote: Hello, On Wednesday, July 18, 2012 7:57 AM Leela Krishna Amudala wrote: This patch updates the register address offsets

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

2012-07-20 Thread Dan Carpenter
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/gadget/amd5536udc.c. Signed-off-by: Dan Carpenter

[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

[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 anilku...@ti.com --- arch/arm/boot/dts/am335x-bone.dts | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git

[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 anilku...@ti.com --- arch/arm/boot/dts/am33xx.dtsi |9 + 1 files

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 shawn@linaro.org wrote: From: Richard Zhao richard.z...@linaro.org If CONFIG_SMP, cpufreq skips loops_per_jiffy update, because different arch has different per-cpu

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 shawn@linaro.org 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 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 p.pan...@samsung.com Signed-off-by: Vivek Gautam gautam.vi...@samsung.com ---

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 */ +#ifdef CONFIG_FB_EXYNOS_FIMD_V8

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 Leela Krishna Amudala
Hello, On Fri, Jul 20, 2012 at 3:30 PM, Sylwester Nawrocki sylvester.nawro...@gmail.com 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

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

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

[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

[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 a.kesa...@samsung.com Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com Signed-off-by: Shaik Ameer Basha

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

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 driver,

[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 li...@prisktech.co.nz --- .../devicetree/bindings/rtc/vt8500-rtc.txt | 14 ++ .../devicetree/bindings/tty/serial/vt8500-uart.txt | 14 ++

[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 li...@prisktech.co.nz --- V3: Added the missing commits for the board files. arch/arm/mach-vt8500/bv07.c |1 +

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 call

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 shawn@linaro.org 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

[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 lau...@codeaurora.org --- include/linux/of_fdt.h |5 + 1 files changed, 5 insertions(+), 0

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

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

[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 li...@prisktech.co.nz --- V3: Added the missing commits for the board files. arch/arm/mach-vt8500/bv07.c |1 +