[PATCH 0/3] clk: Exynos: Register audio subsytem clocks using common clk framework

2013-04-04 Thread Padmavathi Venna
Samsung Exynos SoC has a separate subsystem for audio. This subsystem has a internal clock controller which controls i2s0 and pcm0 clocks. This patch series adds the Samsung Exynos SoC audio subsytem clock code to the common clock framework and provides the I2S0 clock information in the dtsi file.

Re: [PATCH 0/5] gpio/omap: 2nd batch of updates for v3.10

2013-04-04 Thread Santosh Shilimkar
On Friday 05 April 2013 01:46 AM, Jon Hunter wrote: > Main change is ensuring that the state of a gpio bank is restored when > booting with device-tree. The rest of the patches are clean-ups and one > optimisation. > > The patch modifying the *.dtsi files should go via Benoit Cousson's > for_3.10/

Re: [PATCH] ARM: dts: OMAP4+: Correct L3 interrupts

2013-04-04 Thread Santosh Shilimkar
On Thursday 04 April 2013 11:36 PM, Jon Hunter wrote: > The L3 interrupt numbers are incorrect for OMAP4+ and are conflicting > with some of the timer interrupts causing the allocation of timer > interrupts to fail. > > The problem is caused by adding 32 to the interrupt number for the L3 > interr

[PATCH 3/3] ARM: dts: add clock provider information for i2s0 controller in Exynos5250

2013-04-04 Thread Padmavathi Venna
Add clock lookup information for i2s0 controller on exynos5250 SoC. Signed-off-by: Padmavathi Venna --- arch/arm/boot/dts/exynos5250.dtsi |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 14d454c

[PATCH 2/3] ARM: dts: add Exynos audio subsystem clock controller node

2013-04-04 Thread Padmavathi Venna
Audio subsystem introduced in exynos platforms which has a internal clock controller. This patch adds a node for the same. Signed-off-by: Padmavathi Venna --- arch/arm/boot/dts/exynos5250.dtsi |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5

[PATCH 1/3] clk: exynos: register audio subsystem clocks using common clock framework

2013-04-04 Thread Padmavathi Venna
Audio subsystem is introduced in exynos platforms. This has seperate clock controller which can control i2s0 and pcm0 clocks. This patch registers the audio subsystem clocks with the common clock framework. Signed-off-by: Padmavathi Venna --- drivers/clk/samsung/Makefile |1 + driv

Re: [PATCH v3 07/12] PCI: tegra: Move PCIe driver to drivers/pci/host

2013-04-04 Thread Thierry Reding
On Thu, Apr 04, 2013 at 03:30:01PM -0600, Stephen Warren wrote: > On 04/04/2013 03:28 PM, Stephen Warren wrote: > > On 04/03/2013 08:45 AM, Thierry Reding wrote: > >> Move the PCIe driver from arch/arm/mach-tegra into the drivers/pci/host > >> directory. The motivation is to collect various host co

Re: [PATCH v4] gpio: mcp23s08: convert driver to DT

2013-04-04 Thread Lars Poeschel
On Thursday 04 April 2013 15:44:08 Linus Walleij wrote: > On Thu, Apr 4, 2013 at 12:02 PM, Lars Poeschel wrote: > > From: Lars Poeschel > > > > This converts the mcp23s08 driver to be able to be used with device > > tree. > > There is a "spi-present-mask" device tree property, that allows to >

[PATCH v5] clk: add si5351 i2c common clock driver

2013-04-04 Thread Sebastian Hesselbarth
This patch adds a common clock driver for Silicon Labs Si5351a/b/c i2c programmable clock generators. Currently, the driver supports DT kernels only and VXCO feature of si5351b is not implemented. DT bindings selectively allow to overwrite stored Si5351 configuration which is very helpful for clock

[PATCH v7] i2c: exynos5: add High Speed I2C controller driver

2013-04-04 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Chatradhi Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. This driver currently supports Auto mode. Driver only supports Device Tree method. Note: Added debugfs support for registers view, not tested. Signed-off-by: Taekgyun Ko Signed-o

Re: [PATCH/RFC 0/2] ARM: shmobile: DT irqpin for r8a7779 and marzen-reference

2013-04-04 Thread Simon Horman
On Fri, Apr 05, 2013 at 10:44:29AM +0900, Simon Horman wrote: > On Thu, Apr 04, 2013 at 11:47:05PM +0200, Guennadi Liakhovetski wrote: > > Hi Simon > > > > On Thu, 4 Apr 2013, Simon Horman wrote: > > > > > On Wed, Apr 03, 2013 at 11:18:57AM +0200, Guennadi Liakhovetski wrote: > > > > Hi > > > >

Re: [PATCH v6] pstore/ram: Add ramoops support for the Flattened Device Tree.

2013-04-04 Thread Rob Herring
On Mon, Sep 17, 2012 at 1:23 AM, Anton Vorontsov wrote: > On Fri, Sep 07, 2012 at 10:29:10PM -0700, Anton Vorontsov wrote: >> On Fri, Sep 07, 2012 at 11:29:36AM -0700, Bryan Freed wrote: >> > When called with a non-zero of_node, fill out a new ramoops_platform_data >> > with data from the specifie

Re: [PATCH/RFC 0/2] ARM: shmobile: DT irqpin for r8a7779 and marzen-reference

2013-04-04 Thread Simon Horman
On Thu, Apr 04, 2013 at 11:47:05PM +0200, Guennadi Liakhovetski wrote: > Hi Simon > > On Thu, 4 Apr 2013, Simon Horman wrote: > > > On Wed, Apr 03, 2013 at 11:18:57AM +0200, Guennadi Liakhovetski wrote: > > > Hi > > > > > > This 2 patches add DT irqpin support on marzen-reference. Only > > > co

Re: [PATCH V2 1/7] kbuild: create an "include chroot" for DT bindings

2013-04-04 Thread Stephen Warren
On 04/04/2013 05:17 PM, Rob Herring wrote: > On 04/03/2013 06:34 PM, Stephen Warren wrote: >> From: Stephen Warren >> >> The recent dtc+cpp support allows header files and C pre-processor >> defines/macros to be used when compiling device tree files. These >> headers will typically define various

Re: [PATCH v9 00/14] Tegra114 clockframework

2013-04-04 Thread Stephen Warren
On 04/03/2013 08:40 AM, Peter De Schrijver wrote: > This is the nineth version of the Tegra114 clockframework. It is based on the > next-20130320-fixed branch of ... I have applied this series to Tegra's for-3.10/clk branch, with patch 10/14 replaced by v9b. _

Re: [PATCH V2 1/7] kbuild: create an "include chroot" for DT bindings

2013-04-04 Thread Rob Herring
On 04/03/2013 06:34 PM, Stephen Warren wrote: > From: Stephen Warren > > The recent dtc+cpp support allows header files and C pre-processor > defines/macros to be used when compiling device tree files. These > headers will typically define various constants that are part of the > device tree bind

Re: [PATCH v4 00/14] ARM: samsung-time: Prepare for multiplatform support

2013-04-04 Thread Heiko Stübner
Am Donnerstag, 4. April 2013, 18:36:57 schrieb Tomasz Figa: > This series is an attempt to make the samsung-time clocksource driver ready > for multiplatform kernels. It moves the driver to drivers/clocksource, > cleans it up from uses of static platform-specific definitions, simplifies > timer int

Re: [RFC PATCH] CLK: Allow parent clock and rate to be configured in DT.

2013-04-04 Thread Fabio Estevam
Hi Sascha, On Mon, Mar 25, 2013 at 7:17 AM, Sascha Hauer wrote: >> +For example: >> + clock-configuration { >> + compatible = "clock-configuration"; >> + clko1 { >> + clocks = <&clks 160>; /* cko1_sel */ >> + parent = <&clks 114

Re: [PATCH/RFC 0/2] ARM: shmobile: DT irqpin for r8a7779 and marzen-reference

2013-04-04 Thread Guennadi Liakhovetski
Hi Simon On Thu, 4 Apr 2013, Simon Horman wrote: > On Wed, Apr 03, 2013 at 11:18:57AM +0200, Guennadi Liakhovetski wrote: > > Hi > > > > This 2 patches add DT irqpin support on marzen-reference. Only > > compile-tested due to the lack of hardware. The patches can go > > independently via their

Re: [PATCH 3/5 v2] ARM: kirkwood: add device node entries for the gigabit interfaces

2013-04-04 Thread Simon Baatz
Hi Florian, On Thu, Apr 04, 2013 at 12:27:13PM +0200, Florian Fainelli wrote: > This patch modifies kirkwood.dtsi to specify the various gigabit > interfaces nodes available on kirkwood devices. They are disabled by > default and should be enabled on a per-board basis. egiga0 and egiga1 > aliases

Re: [PATCH v3 07/12] PCI: tegra: Move PCIe driver to drivers/pci/host

2013-04-04 Thread Stephen Warren
On 04/04/2013 03:28 PM, Stephen Warren wrote: > On 04/03/2013 08:45 AM, Thierry Reding wrote: >> Move the PCIe driver from arch/arm/mach-tegra into the drivers/pci/host >> directory. The motivation is to collect various host controller drivers >> in the same location in order to facilitate refactor

Re: [PATCH 1/5 v2] mv643xx_eth: add Device Tree bindings

2013-04-04 Thread Simon Baatz
Hi Florian On Thu, Apr 04, 2013 at 12:27:11PM +0200, Florian Fainelli wrote: > This patch adds Device Tree bindings following the already defined > bindings at Documentation/devicetree/bindings/marvell.txt. The binding > documentation is also enhanced with new optionnal properties required > for s

Re: [PATCH v3 07/12] PCI: tegra: Move PCIe driver to drivers/pci/host

2013-04-04 Thread Stephen Warren
On 04/03/2013 08:45 AM, Thierry Reding wrote: > Move the PCIe driver from arch/arm/mach-tegra into the drivers/pci/host > directory. The motivation is to collect various host controller drivers > in the same location in order to facilitate refactoring. > > The Tegra PCIe driver has been largely re

Re: [PATCH v9 00/14] Tegra114 clockframework

2013-04-04 Thread Mike Turquette
Quoting Peter De Schrijver (2013-04-04 01:20:44) > On Thu, Apr 04, 2013 at 01:23:05AM +0200, Stephen Warren wrote: > > On 04/03/2013 12:27 PM, Stephen Warren wrote: > > > On 04/03/2013 11:52 AM, Stephen Warren wrote: > > >> On 04/03/2013 08:40 AM, Peter De Schrijver wrote: > > >>> This is the ninet

Re: [PATCH 5/5] ARM: dts: OMAP2+: Identify GPIO banks that are always powered

2013-04-04 Thread Tony Lindgren
* Jon Hunter [130404 14:05]: > > On 04/04/2013 03:35 PM, Tony Lindgren wrote: > > * Jon Hunter [130404 13:21]: > >> Add the "ti,gpio-always-on" property to the appropriate GPIO banks to > >> indicate which banks are always powered and will never lose logic state. > > > > This patch should be qu

Re: [PATCH 5/5] ARM: dts: OMAP2+: Identify GPIO banks that are always powered

2013-04-04 Thread Jon Hunter
On 04/04/2013 03:35 PM, Tony Lindgren wrote: > * Jon Hunter [130404 13:21]: >> Add the "ti,gpio-always-on" property to the appropriate GPIO banks to >> indicate which banks are always powered and will never lose logic state. > > This patch should be queued by Benoit as this will likely cause > p

Re: [PATCH v7] [media] Add common video interfaces OF bindings documentation

2013-04-04 Thread Stephen Warren
On 03/26/2013 09:58 AM, Sylwester Nawrocki wrote: > From: Guennadi Liakhovetski > > This patch adds a document describing common OF bindings for video > capture, output and video processing devices. It is curently mainly > focused on video capture devices, with data busses defined by > standards

Re: [PATCH 5/5] ARM: dts: OMAP2+: Identify GPIO banks that are always powered

2013-04-04 Thread Tony Lindgren
* Jon Hunter [130404 13:21]: > Add the "ti,gpio-always-on" property to the appropriate GPIO banks to > indicate which banks are always powered and will never lose logic state. This patch should be queued by Benoit as this will likely cause pointless merge conflicts with the other .dts files. Reg

[PATCH 5/5] ARM: dts: OMAP2+: Identify GPIO banks that are always powered

2013-04-04 Thread Jon Hunter
Add the "ti,gpio-always-on" property to the appropriate GPIO banks to indicate which banks are always powered and will never lose logic state. Cc: Benoit Cousson Signed-off-by: Jon Hunter --- arch/arm/boot/dts/omap2420.dtsi |4 arch/arm/boot/dts/omap2430.dtsi |4 arch/arm/boot

[PATCH 3/5] gpio/omap: optimise interrupt service routine

2013-04-04 Thread Jon Hunter
The OMAP GPIO interrupt service routine is checking each bit in the GPIO interrupt status register to see which bits are set. It is not efficient to check every bit especially if only a few bits are set. Therefore, instead of checking every bit use the __ffs() function, which returns the location o

[PATCH 4/5] gpio/omap: force restore if context loss is not detectable

2013-04-04 Thread Jon Hunter
When booting with device-tree the function pointer for detecting context loss is not populated. Ideally, the pm_runtime framework should be enhanced to allow a means for reporting context/state loss and we could avoid populating such function pointers altogether. In the interim until a generic non-

[PATCH 2/5] gpio/omap: remove extra context restores in *_runtime_resume()

2013-04-04 Thread Jon Hunter
From: Tarun Kanti DebBarma 68942edb09f69b6e09522d1d346665eb3aadde49 (gpio/omap: fix wakeups on level-triggered GPIOs) already restores the fallingdetect and risingdetect contexts in *_runtime_resume(). These registers were modified in *_runtime_suspend() to include even those configured as level-

[PATCH 1/5] gpio/omap: free irq domain in probe() failure paths

2013-04-04 Thread Jon Hunter
Currently the IRQ domain is not freed once allocated, in the case where omap_gpio_probe() fails. Therefore, ensure we free the domain if the probe does fail. Furthermore, the local variable "ret" is not needed and so remove this. Signed-off-by: Jon Hunter --- drivers/gpio/gpio-omap.c |6

[PATCH 0/5] gpio/omap: 2nd batch of updates for v3.10

2013-04-04 Thread Jon Hunter
Main change is ensuring that the state of a gpio bank is restored when booting with device-tree. The rest of the patches are clean-ups and one optimisation. The patch modifying the *.dtsi files should go via Benoit Cousson's for_3.10/dts branch [1] as it is dependent on changes in his branch but I

Re: [PATCH 0/5] ARM: OMAP: DMTIMER updates for v3.10

2013-04-04 Thread Tony Lindgren
* Jon Hunter [130319 10:42]: > Includes: > - A couple fixes for DMTIMER context loss handling. > - Populating DMTIMER errata when booting with device-tree. > - A new function for requesting a DMTIMER by device-tree node. > > Based upon v3.9-rc3. > > Tested on OMAP5912 OSK, OMAP2420 H4, OMAP3430

[PATCH] ARM: dts: OMAP4+: Correct L3 interrupts

2013-04-04 Thread Jon Hunter
The L3 interrupt numbers are incorrect for OMAP4+ and are conflicting with some of the timer interrupts causing the allocation of timer interrupts to fail. The problem is caused by adding 32 to the interrupt number for the L3 interrupts to account for per processor interrupts (PPI) and software ge

Re: [PATCH v9b 10/14] ARM: tegra: Define Tegra114 CAR binding

2013-04-04 Thread Stephen Warren
On 04/04/2013 11:48 AM, Peter De Schrijver wrote: > The device tree binding models Tegra114 CAR (Clock And Reset) as a single > monolithic clock provider. > > -- > > Mike, > > This is a small binding doc update only. Hence I didn't make an entire new > patch series, but just an updated version o

Re: [PATCH v7 00/12] Tegra114 clockframework

2013-04-04 Thread Peter De Schrijver
Hi Mike, > Quoting Stephen Warren (2013-02-19 10:39:35) > > On 02/15/2013 05:36 AM, Peter De Schrijver wrote: > > > This is the seventh version of the Tegra114 clockframework. It is based > > > on the > > > for-next branch of > > > git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra

[PATCH v9b 10/14] ARM: tegra: Define Tegra114 CAR binding

2013-04-04 Thread Peter De Schrijver
The device tree binding models Tegra114 CAR (Clock And Reset) as a single monolithic clock provider. -- Mike, This is a small binding doc update only. Hence I didn't make an entire new patch series, but just an updated version of this patch. Please apply this instead of '[PATCH v9 10/14] ARM: te

Re: [PATCH 0/2] input: touchscreen: atmel_mxt_ts: Add Device Tree support

2013-04-04 Thread Dmitry Torokhov
Hi Tomasz, On Thu, Apr 04, 2013 at 06:14:24PM +0200, Tomasz Figa wrote: > This series is an attempt to add Device Tree support to Atmel maXtouch > touchscreen driver. > > First patch adds support for VDD voltage regulator to get operating voltage > using regulator API instead of a driver specific

[PATCH] documentation: iommu: add description of ARM System MMU binding

2013-04-04 Thread Will Deacon
This patch adds a description of the device tree binding for the ARM System MMU architecture. Cc: Rob Herring Cc: Andreas Herrmann Signed-off-by: Will Deacon --- Hello, The driver for this is still a WIP. Both Andreas and myself have prototype code, but we're planning to merge that together t

[PATCH 3/3] ARM: dts: exynos4210: Add basic dts file for universal_c210 board

2013-04-04 Thread Tomasz Figa
This patch adds basic device tree sources for Universal C210 board. Currently support includes: - eMMC - serial - max8952 and max8998 voltage regulators. - gpio-keys - touchscreen More support will be added in further patches. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/a

[PATCH 2/3] ARM: EXYNOS: Add support for Exynos4210 EVT0 SoC

2013-04-04 Thread Tomasz Figa
This patch extends mach-exynos4-dt generic board file with support for Exynos4210 EVT0 SoC, which differs in availability of system timers and needs different time initialization. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos/Kconfig | 9 +

[PATCH 1/3] ARM: dts: exynos4: Add node for PWM device

2013-04-04 Thread Tomasz Figa
This patch adds device tree node for PWM block present on Exynos 4 SoCs. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos4.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index 8

[PATCH 0/3] ARM: EXYNOS: DT-enabled support for Universal C210

2013-04-04 Thread Tomasz Figa
This series intends to add support for Universal C210 board using Device Tree. Main difference from other boards based on Exynos 4210 is that hardware revision of the SoC used on Universal C210 does not support MCT timers and legacy PWM timers must be used instead. First patch adds device tree nod

Re: [PATCH V2 4/7] kbuild: always run gcc -E on *.dts, remove cmd_dtc_cpp

2013-04-04 Thread Stephen Warren
On 04/03/2013 06:02 PM, Emilio López wrote: > Hi Stephen, > > El 03/04/13 20:34, Stephen Warren escribió: >> From: Stephen Warren >> >> Replace cmd_dtc with cmd_dtc_cpp, and delete the latter. >> >> Previously, a special file extension (.dtsp) was required to trigger >> the C pre-processor to run

Re: [RFC][PATCH 1/2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-04-04 Thread Tony Lindgren
* Roger Quadros [130404 00:39]: > On 04/04/2013 02:42 AM, Tony Lindgren wrote: > >> --- a/arch/arm/mach-omap2/cclock44xx_data.c > >> +++ b/arch/arm/mach-omap2/cclock44xx_data.c > >> @@ -27,6 +27,7 @@ > >> #include > >> #include > >> #include > >> +#include > >> > >> #include "soc.h" > >>

[PATCH v4 14/14] ARM: SAMSUNG: Remove unused PWM timer IRQ chip code

2013-04-04 Thread Tomasz Figa
As the need for an IRQ chip handling PWM timer interrupt chaining is gone now, this patch removes all the code made unnecessary. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/arm/Kconfig | 1 - arch/arm/mach-s3c64xx/common.c

[PATCH v4 13/14] clocksource: samsung-time: Move IRQ mask/ack handling to the driver

2013-04-04 Thread Tomasz Figa
Since the clocksource driver is the only user of PWM timer interrupts, there is no need to create an IRQ chip for handling them. This patch the way of PWM timer interrupt handling to use real VIC/GIC interrupt signals and handle PWM mask/ack register internally in samsung-time driver. Signed-off-

[PATCH v4 12/14] clocksource: samsung-time: Use master driver to control PWM channels

2013-04-04 Thread Tomasz Figa
This patch modifies the driver to use functions provided by the master driver to control status of PWM channels instead of modifying shared registers directly. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- drivers/clocksource/samsung-time.c | 168 --

[PATCH v4 11/14] clocksource: samsung-time: Use clk_prepare_enable

2013-04-04 Thread Tomasz Figa
This patch modifies the driver to use clk_prepare_enable instead of clk_enable, as required to be compliant with Common Clock Framework. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- drivers/clocksource/samsung-time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[PATCH v4 10/14] clocksource: samsung-time: Use master driver to configure dividers

2013-04-04 Thread Tomasz Figa
This patch modifies the driver to use functions provided by master driver to configure PWM frequency dividers. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- drivers/clocksource/samsung-time.c | 61 +- 1 file changed, 8 insertions(+), 53 deletion

[PATCH v4 09/14] clocksource: samsung-time: Use variant data to get SoC-specific bits

2013-04-04 Thread Tomasz Figa
This patch modifies the driver to calculate SoC-specific parameters from variant data received from PWM/timer master driver. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/arm/plat-samsung/include/plat/samsung-time.h | 17 drivers/clocksource/samsung-time.c

[PATCH v4 08/14] clocksource: samsung-time: Use Samsung PWM/timer master driver

2013-04-04 Thread Tomasz Figa
This patch modifies the samsung-time clocksource driver to use the interface provided by Samsung PWM/timer master driver to get platform data. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/arm/plat-samsung/devs.c | 7 arch/arm/plat-samsung/include/p

[PATCH v4 06/14] ARM: SAMSUNG: Add new PWM platform device

2013-04-04 Thread Tomasz Figa
This patch adds new samsung_device_pwm platform device that represents the whole PWM/timer block and includes memory and IRQ resources. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/arm/plat-samsung/devs.c | 16 arch/arm/plat-samsung/include/plat

[PATCH v4 07/14] ARM: SAMSUNG: Set PWM platform data

2013-04-04 Thread Tomasz Figa
This patch adds PWM platform data needed for legacy (non-DT) platforms to handle SoC-specific bits of the PWM/timer block. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos/common.c | 10 ++ arch/arm/mach-s3c24xx/common.c | 10 ++ arch/arm/mach-s3

[PATCH v4 05/14] ARM: SAMSUNG: Unify base address definitions of timer block

2013-04-04 Thread Tomasz Figa
This patch makes all defintions of timer block base address use the same prefix to allow using the common name to define platform device resource. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos/include/mach/map.h | 1 + arch/arm/mach-s3c24xx/include/mach/map.h

[PATCH v4 04/14] mfd: Add Samsung PWM/timer master driver

2013-04-04 Thread Tomasz Figa
This patch adds master driver for PWM/timer block available on many Samsung SoCs providing clocksource and PWM output capabilities. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- .../devicetree/bindings/pwm/pwm-samsung.txt| 37 ++ drivers/clocksource/Kconfig

[PATCH v4 03/14] clocksource: samsung-time: Use local register definitions

2013-04-04 Thread Tomasz Figa
This patch copies PWM timer register definitions to samsung-time.c. The original header in plat is being kept for now, since it is also used by other code that also needs to be reworked to be multiplatform-friendly. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- drivers/clocksource

[PATCH v4 02/14] clocksource: samsung-time: Drop useless defines from public header

2013-04-04 Thread Tomasz Figa
This patch cleans up public header from useless definitions. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/arm/plat-samsung/include/plat/samsung-time.h | 6 -- drivers/clocksource/samsung-time.c| 10 +- 2 files changed, 5 insertions(+), 11 deletio

[PATCH v4 01/14] ARM: SAMSUNG: Move samsung-time to drivers/clocksource

2013-04-04 Thread Tomasz Figa
This patch moves the Samsung PWM-based high resolution timer support code from arch/arm/plat-samsung to drivers/clocksource. This is a prerequisite for further work on making the driver more multiplatform and Device Tree friendly. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arc

[PATCH v4 00/14] ARM: samsung-time: Prepare for multiplatform support

2013-04-04 Thread Tomasz Figa
This series is an attempt to make the samsung-time clocksource driver ready for multiplatform kernels. It moves the driver to drivers/clocksource, cleans it up from uses of static platform-specific definitions, simplifies timer interrupt handling and adds Device Tree support. Only samsung-time dri

Re: [RFC][PATCH 1/2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-04-04 Thread Tony Lindgren
* Rajendra Nayak [130403 22:25]: > On Thursday 04 April 2013 05:12 AM, Tony Lindgren wrote: > > > > How about just add a minimal drivers/clk/omap/clk-xyz.c that takes > > the configuration from DT and is based on the binding we already have in > > Documentation/devicetree/bindings/clock/clock-bin

[PATCH 3/3] mfd: max8998: Add support for Device Tree

2013-04-04 Thread Tomasz Figa
This patch adds Device Tree support to max8998 driver. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- Documentation/devicetree/bindings/mfd/max8998.txt | 111 +++ drivers/mfd/max8998.c | 75 +- drivers/regulator/max8998.c

[PATCH 2/3] regulator: max8998: Use arrays for specifying voltages in platform data

2013-04-04 Thread Tomasz Figa
This patch modifies the platform data of max8998 to use arrays for specifying predefined voltages of buck1 and buck2 instead of separate field for each voltage. This allows to simplify the code a bit and will help in adding support for Device Tree, which will be introduced in further patch. Signe

[PATCH 1/3] mfd: Add irq domain support for max8998 interrupts

2013-04-04 Thread Tomasz Figa
This patch adds irq domain support for max8998 interrupts. The reverse mapping method used is linear mapping since the sub-drivers of max8998 such as regulator and charger drivers can use the max8998 irq_domain to get the virtual irq number for max8998 interrupts. All uses of irq_base in platform

[PATCH 0/3] regulator: max8998: Add support for Device Tree

2013-04-04 Thread Tomasz Figa
This series adds Device Tree support to max8998 MFD driver. First patch reworks max8998-irq driver to use IRQ domains. Second patch prepares platform data structure to ease generating it at runtime from data parsed from device tree. Third patch implements Device Tree binding and adds necessary doc

[PATCH 2/2] regulator: max8952: Add Device Tree support

2013-04-04 Thread Tomasz Figa
This patch adds Device Tree support to max8952 regulator driver. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- .../devicetree/bindings/regulator/max8952.txt | 52 drivers/regulator/max8952.c| 70 ++ include/linux/re

[PATCH 1/2] regulator: max8952: Separate constraints from platform data struct

2013-04-04 Thread Tomasz Figa
This patch modifies platform data structure of max8952 driver to use pointer to regulator_init_data struct instead of embedding it. This is a prerequisite for adding Device Tree support for the driver. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos/mach-univer

[PATCH 0/2] regulator: max8952: Add support for Device Tree

2013-04-04 Thread Tomasz Figa
This series adds Device Tree support to max8952 voltage regulator driver. First patch prepares platform data structure to be generated at runtime from data parsed from device tree. Second patch implements Device Tree binding and adds necessary documentation. Tested on Universal C210 board. Tomasz

[PATCH 2/2] input: touchscreen: atmel_mxt_ts: Add support for Device Tree

2013-04-04 Thread Tomasz Figa
This patch adds support for Device Tree-based instantation to the atmel_mxt_ts driver. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- .../bindings/input/touchscreen/atmel_mxt_ts.txt| 51 +++ drivers/input/touchscreen/atmel_mxt_ts.c | 72 +++

[PATCH 1/2] input: touchscreen: atmel_mxt_ts: Add support for voltage regulator

2013-04-04 Thread Tomasz Figa
This patch removes the voltage field from platform data of the atmel_mxt_ts driver and replaces it with regulator support. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos/mach-nuri.c | 29 - arch/arm/mach-exynos/mach-univers

[PATCH 0/2] input: touchscreen: atmel_mxt_ts: Add Device Tree support

2013-04-04 Thread Tomasz Figa
This series is an attempt to add Device Tree support to Atmel maXtouch touchscreen driver. First patch adds support for VDD voltage regulator to get operating voltage using regulator API instead of a driver specific field in platform data. Second patch implements Device Tree bindings for the driv

Re: [PATCH 1/5] net: Add EMAC ethernet driver found on Allwinner A10 SoC's

2013-04-04 Thread Stefan Roese
Hi Florian, On 24.03.2013 20:03, Florian Fainelli wrote: > Your phylib implementation looks good now, just some minor comments below: Thanks for the review. I'll try to address your new comments in a few days (currently swamped). Thanks, Stefan ___ de

Re: [PATCH] rtc: rtc-at91sam9.c add DT support

2013-04-04 Thread Nicolas Ferre
On 04/04/2013 03:25 PM, Douglas Gilbert : > On 13-04-04 04:11 AM, Nicolas Ferre wrote: >> On 04/04/2013 05:54 AM, Douglas Gilbert : >>> Some members of the at91 SoCs use the Real Time Timer (RTT) >>> and the General Purpose Backup Registers (GPBR) to implement >>> a real time clock (RTC). The AT91S

Re: [PATCH v6 1/8] dt: describe base reset signal binding

2013-04-04 Thread Rob Herring
On 03/28/2013 11:35 AM, Philipp Zabel wrote: > From: Stephen Warren > > This binding is intended to represent the hardware reset signals present > internally in most IC (SoC, FPGA, ...) designs. > It consists of a binding for a reset controller device (provider), and a > pair of properties, "rese

Re: [PATCH v4] gpio: mcp23s08: convert driver to DT

2013-04-04 Thread Linus Walleij
On Thu, Apr 4, 2013 at 12:02 PM, Lars Poeschel wrote: > From: Lars Poeschel > > This converts the mcp23s08 driver to be able to be used with device > tree. > There is a "spi-present-mask" device tree property, that allows to > use multiple of this spi chips on the same chipselect. > > Signed-off

Re: [PATCH V2 1/2] ARM: bcm281xx: Add L2 cache enable code

2013-04-04 Thread Arnd Bergmann
On Wednesday 03 April 2013, Christian Daudt wrote: > any willing reviewers ? Looks ok to me, Acked-by: Arnd Bergmann but please when you reply to a longer email with a single sentence, don't include a full quote of the original email, it just takes a lot of time to scan through it. (I realize a

Re: [PATCH v5 1/6] drivers: phy: add generic PHY framework

2013-04-04 Thread Kishon Vijay Abraham I
Hi, On Thursday 04 April 2013 04:11 PM, Sylwester Nawrocki wrote: Hi, On 04/04/2013 11:21 AM, Kishon Vijay Abraham I wrote: On Thursday 04 April 2013 03:16 AM, Sylwester Nawrocki wrote: On 04/03/2013 02:53 PM, Kishon Vijay Abraham I wrote: +4. Getting a reference to the PHY + +Before the c

Re: [PATCH 2/2] ARM: dts: Update MFC documentation for clock entries

2013-04-04 Thread Sylwester Nawrocki
On 04/04/2013 08:26 AM, Sachin Kamat wrote: > Added clock entry definitions to MFC bindings document. > > Signed-off-by: Sachin Kamat > --- > .../devicetree/bindings/media/s5p-mfc.txt |5 + > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/med

Re: [PATCH 1/2] ARM: dts: Add MFC clock entries for exynos4

2013-04-04 Thread Sylwester Nawrocki
On 04/04/2013 08:26 AM, Sachin Kamat wrote: > Added MFC related clock entries in exynos4.dtsi file. > > Signed-off-by: Sachin Kamat Reviewed-by: Sylwester Nawrocki > --- > Based on Kukjin's for-next. > Dependent on the below patch: > https://patchwork.kernel.org/patch/2349361/ > --- > arch/ar

[PATCH 4/4] ARM: dts: update bootargs to boot from sda2 for exynos5440-ssdk5440

2013-04-04 Thread Kukjin Kim
From: Subash Patel Updated the bootargs to boot the system with rootfs in hard-disk instead of ramdisk. Signed-off-by: Subash Patel Signed-off-by: Kukjin Kim --- arch/arm/boot/dts/exynos5440-ssdk5440.dts |6 +- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/arch/arm/bo

[PATCH 3/4] ARM: dts: add PMU support in exynos5440

2013-04-04 Thread Kukjin Kim
From: Subash Patel PMU in exynos5440 generates one interrupt per core and needs to be passed from DT to GIC to register it. Signed-off-by: Subash Patel Signed-off-by: Kukjin Kim --- arch/arm/boot/dts/exynos5440.dtsi |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git

[PATCH 1/4] ARM: dts: Add node for GMAC for exynos5440

2013-04-04 Thread Kukjin Kim
From: Byungho An This patch adds node for GMAC for exynos5440 EXYNOS5440 SoC supported by GMAC driver. Signed-off-by: Byungho An Signed-off-by: Kukjin Kim --- arch/arm/boot/dts/exynos5440.dtsi | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dt

[PATCH 2/4] ARM: dts: add PDMA0 changes for exynos5440

2013-04-04 Thread Kukjin Kim
From: Subash Patel PDMA0@0x121000 changes are added into the architecture DTS file. Signed-off-by: Subash Patel Signed-off-by: Kukjin Kim --- arch/arm/boot/dts/exynos5440.dtsi | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/exynos5440.

[PATCH 0/4] ARM: dts: update device tree for exynos5440

2013-04-04 Thread Kukjin Kim
This patch updates device tree for exynos5440 including for PMU, PDMA0 and GMAC. arch/arm/boot/dts/exynos5440-ssdk5440.dts |6 + arch/arm/boot/dts/exynos5440.dtsi | 35 ++-- 2 files changed, 28 insertions(+), 13 deletions(-) [PATCH 1/4] ARM: dts: Add nod

Re: [PATCH v5 1/6] drivers: phy: add generic PHY framework

2013-04-04 Thread Sylwester Nawrocki
Hi, On 04/04/2013 11:21 AM, Kishon Vijay Abraham I wrote: > On Thursday 04 April 2013 03:16 AM, Sylwester Nawrocki wrote: >> On 04/03/2013 02:53 PM, Kishon Vijay Abraham I wrote: >>> +4. Getting a reference to the PHY >>> + >>> +Before the controller can make use of the PHY, it has to get a >>> r

[PATCH 5/5 v2] ARM: dove: add gigabit device tree nodes to dove.dtsi

2013-04-04 Thread Florian Fainelli
This patch adds the gigabit ethernet device tree nodes to dove.dtsi in a disabled state. The gigabit ethernet device tree node must be enabled on a per-board basis. For completeness and easier testing the MDIO node is also added in a disabled state. Signed-off-by: Florian Fainelli --- Changes sin

[PATCH 1/5 v2] mv643xx_eth: add Device Tree bindings

2013-04-04 Thread Florian Fainelli
This patch adds Device Tree bindings following the already defined bindings at Documentation/devicetree/bindings/marvell.txt. The binding documentation is also enhanced with new optionnal properties required for supporting certain devices (RX/TX queue and SRAM). Since we now have proper support for

[PATCH 4/5 v2] ARM: orion5x: add gigabit ethernet device tree node

2013-04-04 Thread Florian Fainelli
This patch adds the gigabit ethernet device tree node to orion5x.dtsi. This node is disabled by default and must be enabled on a per-board basis. For completeness and easier testing the MDIO node is also added and disabled by default. Signed-off-by: Florian Fainelli --- Changes since v1: - fixed

[PATCH 0/5 v2] mv643xx_eth: device tree bindings

2013-04-04 Thread Florian Fainelli
Hi all, This patch serie implements mv643xx_eth device tree bindings. I opted for the reuse of the bindings already defined in Documentation/devicetree/bindings/marvell.txt so that we do not create any confusion. For reference, I have included the mv643xx-eth related nodes in the corresponding Ki

[PATCH 3/5 v2] ARM: kirkwood: add device node entries for the gigabit interfaces

2013-04-04 Thread Florian Fainelli
This patch modifies kirkwood.dtsi to specify the various gigabit interfaces nodes available on kirkwood devices. They are disabled by default and should be enabled on a per-board basis. egiga0 and egiga1 aliases are defined for convenience. The mdio node is also present and should be enabled on a p

[PATCH 2/5] mv643xx_eth: update Device Tree bindings documentation

2013-04-04 Thread Florian Fainelli
This patch updates the Device Tree bindings documentation for the Marvell MV643xx ethernet controller node and makes the "local-mac-address" and "phy" properties optional instead of required. The absence of a "phy" node is legal and describes a MAC to switch configuration, while not specifying the

[PATCH v4] gpio: mcp23s08: convert driver to DT

2013-04-04 Thread Lars Poeschel
From: Lars Poeschel This converts the mcp23s08 driver to be able to be used with device tree. There is a "spi-present-mask" device tree property, that allows to use multiple of this spi chips on the same chipselect. Signed-off-by: Lars Poeschel --- v4: - removed the ability to specify the pullu

Re: [RFCv1 00/11] MSI support for Marvell EBU PCIe driver

2013-04-04 Thread Thomas Petazzoni
Dear Ezequiel Garcia, On Thu, 4 Apr 2013 06:16:40 -0300, Ezequiel Garcia wrote: > Given the IRQ controller move to drivers/irqchip is independent of MSI > work, and that we've already agreed this move is fine (Arnd has acked > patch 2), may I suggest that you resend these three first patches > (a

Re: [PATCH v5 1/6] drivers: phy: add generic PHY framework

2013-04-04 Thread Kishon Vijay Abraham I
Hi, On Thursday 04 April 2013 03:16 AM, Sylwester Nawrocki wrote: On 04/03/2013 02:53 PM, Kishon Vijay Abraham I wrote: . . . . diff --git a/Documentation/phy.txt b/Documentation/phy.txt new file mode 100644 index 000..7785ec0 --- /dev/null +++ b/Documentation/phy.txt @@ -0,0 +1,113 @@ +

Re: [RFCv1 00/11] MSI support for Marvell EBU PCIe driver

2013-04-04 Thread Ezequiel Garcia
Thomas, On Tue, Mar 26, 2013 at 05:52:15PM +0100, Thomas Petazzoni wrote: > > This set of patches introduces Message Signaled Interrupt support in > the Marvell EBU PCIe driver. It has been successfully tested on the > Armada XP GP platform and the Armada 370 DB platform with an Intel > e1000e PC

Re: [PATCH v5 1/6] drivers: phy: add generic PHY framework

2013-04-04 Thread Kishon Vijay Abraham I
Hi, On Wednesday 03 April 2013 09:17 PM, Felipe Balbi wrote: Hi, On Wed, Apr 03, 2013 at 08:02:52PM +0530, Kishon Vijay Abraham I wrote: + ret = -EINVAL; + goto err0; + } + + if (!phy_class) + phy_core_init(); why don't you setup the clas

Re: [PATCH v9 00/14] Tegra114 clockframework

2013-04-04 Thread Peter De Schrijver
On Thu, Apr 04, 2013 at 01:23:05AM +0200, Stephen Warren wrote: > On 04/03/2013 12:27 PM, Stephen Warren wrote: > > On 04/03/2013 11:52 AM, Stephen Warren wrote: > >> On 04/03/2013 08:40 AM, Peter De Schrijver wrote: > >>> This is the nineth version of the Tegra114 clockframework. It is based on >

Re: [PATCH] rtc: rtc-at91sam9.c add DT support

2013-04-04 Thread Nicolas Ferre
On 04/04/2013 05:54 AM, Douglas Gilbert : > Some members of the at91 SoCs use the Real Time Timer (RTT) > and the General Purpose Backup Registers (GPBR) to implement > a real time clock (RTC). The AT91SAM9G20 is one example. > > Attached is a patch to add DT support to rtc-at91sam9.c . > The patc

  1   2   >