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

2012-08-31 Thread Rafael J. Wysocki
On Friday, August 31, 2012, Shawn Guo wrote: > Ping, Rafael. Yeah, sorry for the delay. I'll get to it when I get back from LinuxCon/Plumbers Conf. (early next week). Thanks, Rafael > On Fri, Aug 10, 2012 at 01:37:22PM +0800, Shawn Guo wrote: > > Patch "cpufreq: Add a generic cpufreq-cpu0 driv

[PATCH 6/6 v2] ARM: integrator: convert platform devices to Device Tree

2012-08-31 Thread Linus Walleij
This moves the physmap flash and SMSC91x ethernet devices over to the device tree, moving the static board code down into the #ifndef CONFIG_OF section. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/integratorap.dts | 5 ++ arch/arm/boot/dts/integratorcp.dts | 12 + arch/ar

[PATCH 5/6 v2] ARM: integrator: convert AMBA devices to device tree

2012-08-31 Thread Linus Walleij
This converts the AMBA (PrimeCell) devices on the Integrator/AP and Integrator/CP over to probing from the Device Tree if the kernel is compiled for Device Tree support. We continue to #ifdef out all non-DT code and vice versa on respective boot type to get a clean cut. We need to add a bunch of

[PATCH 4/6 v2] ARM: integrator: initial device tree support

2012-08-31 Thread Linus Walleij
This is initial device tree support for the ARM Integrator family, we create a very basic device tree, #ifdef out the non-DT machines when compiling for device tree. Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Also switch over clocksource and clockevent to device tree. Else the IRQ map

[PATCH 3/6 v2] ARM: plat-versatile: add DT support to FPGA IRQ controller

2012-08-31 Thread Linus Walleij
This adds Device Tree probing support to the Versatile FPGA IRQ controller. Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Stop passing the Linux IRQ number in the DT node, bad idea. Register descriptors dynamically, and use whatever IRQ number base we get. Assume we will switch everyth

[PATCH 2/6 v2] ARM: integrator: check PL010 device name rather than base address

2012-08-31 Thread Linus Walleij
In the PL010 UART callback a comparison against the base address is done to figure out which UART is doing the callback. This does not play well with device tree, so let's check the dev_name() of the device instead. Signed-off-by: Linus Walleij --- arch/arm/mach-integrator/core.c | 2 +- 1 file

[PATCH 1/6 v2] ARM: integrator: call common init function from machine

2012-08-31 Thread Linus Walleij
There is currently a common integrator_init() function set up to be called from an arch_initcall(). The problem is that it is using machine_is_integrator() which is not working with device tree, let's call this from respective machine initilization function and add a parameter to tell whether it's

Re: [PATCH 2/2] ARM: allow for ATAGS to be configured out when DT support is selected

2012-08-31 Thread Nicolas Pitre
On Sat, 1 Sep 2012, Linus Walleij wrote: > On Thu, Aug 30, 2012 at 11:10 PM, Nicolas Pitre > wrote: > > > Now that ATAGS support is well contained, we can easily remove it from > > the kernel build if so desired. It has to explicitly be disabled, and > > only when DT support is selected. > > I

Re: [PATCH 3/6] ARM: plat-versatile: add DT support to FPGA IRQ controller

2012-08-31 Thread Linus Walleij
On Thu, Aug 16, 2012 at 3:50 PM, Arnd Bergmann wrote: > On Thursday 16 August 2012, Linus Walleij wrote: >> +- irq-start: the u32 hardware IRQ number of the first interrupt handled by >> + this FPGA IRQ instance - since there may be many FPGA IRQ controller >> + instances, each will have its uni

Re: [PATCH 2/2] ARM: allow for ATAGS to be configured out when DT support is selected

2012-08-31 Thread Linus Walleij
On Thu, Aug 30, 2012 at 11:10 PM, Nicolas Pitre wrote: > Now that ATAGS support is well contained, we can easily remove it from > the kernel build if so desired. It has to explicitly be disabled, and > only when DT support is selected. I patched this on top of my Integrator patch stack and disa

Re: [PATCH v2 0/3] MFD/GPIO: Add twl6040 GPO driver

2012-08-31 Thread Linus Walleij
On Thu, Aug 30, 2012 at 11:16 AM, Peter Ujfalusi wrote: > Hi Samuel, Linus, (...) > Did you had time to look at this series? Do you want me to resend it? I have provided my ACK on the GPIO part assuming you're taking this series through the MFD tree. There is not more I can do... Yours, Linus W

Re: [PATCH v2] gpio: samsung: add devicetree init for s3c24xx arches

2012-08-31 Thread Linus Walleij
On Wed, Aug 29, 2012 at 1:09 AM, Kukjin Kim wrote: > On 08/28/12 14:55, Heiko Stübner wrote: >> >> Until now the Exynos-SoC was the only Samsung-SoC supporting the GPIOs >> via the device tree. This patch implements dt-support for the >> s3c24xx arches. >> >> The controllers contain only 3 cells,

Re: [PATCH] gpio: samsung: add devicetree init for s3c24xx arches

2012-08-31 Thread Linus Walleij
On Sat, Aug 25, 2012 at 11:53 PM, Heiko Stübner wrote: > Until now the Exynos-SoC was the only Samsung-SoC supporting the GPIOs > via the device tree. This patch implements dt-support for the > s3c24xx arches. > > The controllers contain only 3 cells, as the underlying gpio controller > does not

Re: [PATCH 3/8] i2c: at91: use an id table for SoC dependent parameters

2012-08-31 Thread Sylwester Nawrocki
On 08/31/2012 04:51 PM, Nicolas Ferre wrote: >>> diff --git a/arch/arm/mach-at91/at91rm9200.c >>> b/arch/arm/mach-at91/at91rm9200.c >>> index f2112f9..0bc91e5 100644 >>> --- a/arch/arm/mach-at91/at91rm9200.c >>> +++ b/arch/arm/mach-at91/at91rm9200.c >>> @@ -187,7 +187,7 @@ static struct clk_lookup

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

2012-08-31 Thread Shawn Guo
Ping, Rafael. Regards, Shawn On Fri, Aug 10, 2012 at 01:37:22PM +0800, Shawn Guo wrote: > Patch "cpufreq: Add a generic cpufreq-cpu0 driver" has a dependency > on following branch. > > git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git topic/tol > > Changes since v2: > * Drop

Re: [PATCH v2 1/4] clk: add of_clk_src_onecell_get() support

2012-08-31 Thread Shawn Guo
Ping, Mike. Regards, Shawn On Wed, Aug 22, 2012 at 09:36:27PM +0800, Shawn Guo wrote: > For those SoCs that have hundreds of clock outputs, their clock > DT bindings could reasonably define #clock-cells as 1 and require > the client device specify the index of the clock it consumes in the > cell

Re: [RFC v4] V4L DT bindings

2012-08-31 Thread Sylwester Nawrocki
On 08/31/2012 08:46 AM, Nicolas THERY wrote: > Hello, > > Thanks for the feedback. > > On 2012-08-30 22:21, Sylwester Nawrocki wrote: >> On 08/30/2012 05:19 PM, Nicolas THERY wrote: > > [snip] > >>> In imx074@0x1a above, the data-lanes property is<1>,<2>. Is it >>> reversed here to show that l

[PATCH] ARM: OMAP2+: Makefile.boot: Add am335x evm and bone targets

2012-08-31 Thread Vaibhav Hiremath
This adds am335x-evm and am335x-bone dtb targets to 'make dtbs', just like other platforms. Signed-off-by: Vaibhav Hiremath Cc: Tony Lindgren --- arch/arm/mach-omap2/Makefile.boot |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/Makefile.boot b/arch/

RE: [PATCH 4/5] leds: leds-gpio: adopt pinctrl support

2012-08-31 Thread AnilKumar, Chimata
Hi Tony, Thanks for the review, On Fri, Aug 31, 2012 at 21:34:04, Tony Lindgren wrote: > * AnilKumar Ch [120831 02:30]: > > Adopt pinctrl support to leds-gpio driver, based on the device > > pointer (leds-gpio) pinctrl driver configure SoC pins to GPIO > > mode. > > > > Signed-off-by: AnilKumar

[PATCH 2/2] ARM: omap/dts: update the documentation

2012-08-31 Thread Florian Vaussard
Add the Tobi/Overo board to the list of supported platforms. Signed-off-by: Florian Vaussard --- .../devicetree/bindings/arm/omap/omap.txt |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/omap/omap.txt b/Documentation/devi

[PATCH 0/2] ARM: omap/dts: Add support for Gumstix Overo with Tobi expansion

2012-08-31 Thread Florian Vaussard
The Gumstix Overo is a computer on module using an OMAP3 processor. This module must be plugged into an expansion board. This patchset adds a first device tree support for the Overo, using the Tobi expansion board. The current support is able to boot and mount the rootfs from MMC, with a few extra

[PATCH 1/2] ARM: omap/dts: Add support for Gumstix Overo with Tobi expansion board

2012-08-31 Thread Florian Vaussard
The Gumstix Overo is a computer on module using an OMAP3 processor. This module must be plugged into an expansion board. This patch adds a first device tree support for the Overo, using the Tobi expansion board. The current support is able to boot and mount the rootfs from MMC. This patche also u

Re: V4L DT @ plumbers (was Re: [RFC v4] V4L DT bindings)

2012-08-31 Thread Guennadi Liakhovetski
On Thu, 30 Aug 2012, Hans Verkuil wrote: > Fine by me! Good, then let's meet at 11:55 in front of Nautilus 3 / 4 and then see what's available. Thanks Guennadi > > Hans > > Guennadi Liakhovetski wrote: > > >On Fri, 31 Aug 2012, Laurent Pinchart wrote: > > > >> Hi Guennadi, > >> > >>

Re: [PATCH 4/5] leds: leds-gpio: adopt pinctrl support

2012-08-31 Thread Tony Lindgren
* AnilKumar Ch [120831 02:30]: > Adopt pinctrl support to leds-gpio driver, based on the device > pointer (leds-gpio) pinctrl driver configure SoC pins to GPIO > mode. > > Signed-off-by: AnilKumar Ch > --- > drivers/leds/leds-gpio.c | 31 --- > 1 file changed, 24 i

Re: [PATCH v9 01/13] usb: musb: dsps: add phy control logic to glue

2012-08-31 Thread Tony Lindgren
* Ravi Babu [120831 04:10]: > --- a/arch/arm/plat-omap/include/plat/usb.h > +++ b/arch/arm/plat-omap/include/plat/usb.h > @@ -95,7 +95,6 @@ extern void am35x_musb_reset(void); > extern void am35x_musb_phy_power(u8 on); > extern void am35x_musb_clear_irq(void); > extern void am35x_set_mode(u8 mu

Re: [PATCH RESEND v4 2/3] arm/dts: AM33XX: Configure pinmuxs for user leds control on Bone

2012-08-31 Thread Koen Kooi
Op 30 aug. 2012, om 22:35 heeft Tony Lindgren het volgende geschreven: > * AnilKumar Ch [120828 01:11]: >> 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

Re: [PATCH v9 01/13] usb: musb: dsps: add phy control logic to glue

2012-08-31 Thread ABRAHAM, KISHON VIJAY
On Fri, Aug 31, 2012 at 6:49 PM, Felipe Balbi wrote: > On Fri, Aug 31, 2012 at 06:51:04PM +0530, ABRAHAM, KISHON VIJAY wrote: >> Hi, >> >> On Fri, Aug 31, 2012 at 5:53 PM, Felipe Balbi wrote: >> > Hi, >> > >> > On Fri, Aug 31, 2012 at 04:39:47PM +0530, Ravi Babu wrote: >> >> From: Santhapuri, Dam

Re: [RFC PATCH] ARM: OMAP2+: omap-device: Do not overwrite resources allocated by OF layer

2012-08-31 Thread Benoit Cousson
On 08/31/2012 05:36 PM, Hiremath, Vaibhav wrote: > On Fri, Aug 31, 2012 at 20:54:53, Cousson, Benoit wrote: ... > I think you are getting confused between Vaibhav B and Vaibhav H :) > We have two Vaibhav's roaming around here ;-) Oops, sorry, this is the very first time I realized that two differe

RE: [RFC PATCH] ARM: OMAP2+: omap-device: Do not overwrite resources allocated by OF layer

2012-08-31 Thread Hiremath, Vaibhav
On Fri, Aug 31, 2012 at 20:54:53, Cousson, Benoit wrote: > Hi Vaibhav, > > On 08/29/2012 11:48 AM, Vaibhav Hiremath wrote: > > With the new devices (like, AM33XX and OMAP5) we now only support > > DT boot mode of operation and now it is the time to start killing > > slowly the dependency on hwmod,

Re: [RFC PATCH] ARM: OMAP2+: omap-device: Do not overwrite resources allocated by OF layer

2012-08-31 Thread Benoit Cousson
Hi Vaibhav, On 08/29/2012 11:48 AM, Vaibhav Hiremath wrote: > With the new devices (like, AM33XX and OMAP5) we now only support > DT boot mode of operation and now it is the time to start killing > slowly the dependency on hwmod, so with this patch, we are starting > with device resources. Thanks

Re: [PATCH 8/8] ARM: dts: add twi nodes for atmel boards

2012-08-31 Thread Nicolas Ferre
On 08/31/2012 04:42 PM, Jean-Christophe PLAGNIOL-VILLARD : > On 11:24 Fri 31 Aug , ludovic.desroc...@atmel.com wrote: >> From: Ludovic Desroches >> >> Use the atmel twi instead of gpio for i2c stuff. > NACK as you do not update al the platform at the same time and break the Calao Yes, Ludovic

Re: [PATCH v4 2/7] ARM: imx6q: add iomuxc gpr support into syscon

2012-08-31 Thread Shawn Guo
On Wed, Aug 29, 2012 at 06:56:53PM +0800, Dong Aisheng wrote: > From: Dong Aisheng > > Include headfile for easy using. > > Acked-by: Stephen Warren > Signed-off-by: Dong Aisheng > --- > arch/arm/boot/dts/imx6q.dtsi |5 + > include/linux/fsl/imx6q-iomuxc-gpr.h | 319 > ++

Re: [PATCH 8/8] ARM: dts: add twi nodes for atmel boards

2012-08-31 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:24 Fri 31 Aug , ludovic.desroc...@atmel.com wrote: > From: Ludovic Desroches > > Use the atmel twi instead of gpio for i2c stuff. NACK as you do not update al the platform at the same time and break the Calao Best Regards, J. ___ devicetree-d

Re: [PATCH 7/8] ARM: dts: add twi nodes for atmel SOCs

2012-08-31 Thread Nicolas Ferre
On 08/31/2012 04:41 PM, Jean-Christophe PLAGNIOL-VILLARD : > On 11:24 Fri 31 Aug , ludovic.desroc...@atmel.com wrote: >> From: Ludovic Desroches >> >> Add twi nodes for atmel SOCs and remove i2c-gpio ones. > Only drop the i2c-gpio on the soc that are kn own to have no issue on the hw > IP. For

Re: [PATCH 3/8] i2c: at91: use an id table for SoC dependent parameters

2012-08-31 Thread Nicolas Ferre
On 08/31/2012 04:29 PM, Jean-Christophe PLAGNIOL-VILLARD : > On 11:21 Fri 31 Aug , ludovic.desroc...@atmel.com wrote: >> From: Ludovic Desroches >> >> Use the id_table to store configuration structures which are depending on >> SoC. >> >> Signed-off-by: Ludovic Desroches >> --- >> arch/arm/m

Re: [PATCH 7/8] ARM: dts: add twi nodes for atmel SOCs

2012-08-31 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:24 Fri 31 Aug , ludovic.desroc...@atmel.com wrote: > From: Ludovic Desroches > > Add twi nodes for atmel SOCs and remove i2c-gpio ones. Only drop the i2c-gpio on the soc that are kn own to have no issue on the hw IP. For hte onther one keep both in the dtsi Best Regards, J. ___

Re: [PATCH 3/8] i2c: at91: use an id table for SoC dependent parameters

2012-08-31 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:21 Fri 31 Aug , ludovic.desroc...@atmel.com wrote: > From: Ludovic Desroches > > Use the id_table to store configuration structures which are depending on > SoC. > > Signed-off-by: Ludovic Desroches > --- > arch/arm/mach-at91/at91rm9200.c | 2 +- > arch/arm/mach-at91/at91rm

Re: [PATCH 7/8] ARM: dts: add twi nodes for atmel SOCs

2012-08-31 Thread ludovic . desroches
Le 08/31/2012 04:41 PM, Jean-Christophe PLAGNIOL-VILLARD a écrit : On 11:24 Fri 31 Aug , ludovic.desroc...@atmel.com wrote: From: Ludovic Desroches Add twi nodes for atmel SOCs and remove i2c-gpio ones. Only drop the i2c-gpio on the soc that are kn own to have no issue on the hw IP. For h

Re: [PATCH v4 7/7] mfd: anatop-mfd: remove anatop driver

2012-08-31 Thread Shawn Guo
On Wed, Aug 29, 2012 at 06:56:58PM +0800, Dong Aisheng wrote: > -config MFD_ANATOP > - bool "Support for Freescale i.MX on-chip ANATOP controller" > - depends on SOC_IMX6Q > - help > - Select this option to enable Freescale i.MX on-chip ANATOP > - MFD controller. This contro

Re: [PATCH v4 1/7] mfd: add syscon driver based on regmap

2012-08-31 Thread Shawn Guo
On Wed, Aug 29, 2012 at 06:56:52PM +0800, Dong Aisheng wrote: > +config MFD_SYSCON > +bool "System Controller Register R/W Based on Regmap" If the driver only compiles and works for device tree probe, we should have the following? depends on OF > +select REGMAP_MMIO > +

Re: [PATCH v9 01/13] usb: musb: dsps: add phy control logic to glue

2012-08-31 Thread Felipe Balbi
On Fri, Aug 31, 2012 at 06:51:04PM +0530, ABRAHAM, KISHON VIJAY wrote: > Hi, > > On Fri, Aug 31, 2012 at 5:53 PM, Felipe Balbi wrote: > > Hi, > > > > On Fri, Aug 31, 2012 at 04:39:47PM +0530, Ravi Babu wrote: > >> From: Santhapuri, Damodar > >> > >> AM335x uses NOP transceiver driver and need to

Re: [PATCH v9 01/13] usb: musb: dsps: add phy control logic to glue

2012-08-31 Thread ABRAHAM, KISHON VIJAY
Hi, On Fri, Aug 31, 2012 at 5:53 PM, Felipe Balbi wrote: > Hi, > > On Fri, Aug 31, 2012 at 04:39:47PM +0530, Ravi Babu wrote: >> From: Santhapuri, Damodar >> >> AM335x uses NOP transceiver driver and need to enable builtin PHY >> by writing into usb_ctrl register available in system control >> m

Re: [PATCH v9 01/13] usb: musb: dsps: add phy control logic to glue

2012-08-31 Thread Felipe Balbi
Hi, On Fri, Aug 31, 2012 at 04:39:47PM +0530, Ravi Babu wrote: > From: Santhapuri, Damodar > > AM335x uses NOP transceiver driver and need to enable builtin PHY > by writing into usb_ctrl register available in system control > module register space. This is being added at musb glue driver > laye

[PATCH v5 4/4] tegra: ventana: add pwm backlight DT nodes

2012-08-31 Thread Alexandre Courbot
Signed-off-by: Alexandre Courbot --- arch/arm/boot/dts/tegra20-ventana.dts | 59 ++- 1 file changed, 58 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra20-ventana.dts b/arch/arm/boot/dts/tegra20-ventana.dts index 4ec6b4c..025928d 100644 --- a/arc

[PATCH v5 3/4] tegra: dt: add label to tegra20's PWM

2012-08-31 Thread Alexandre Courbot
This is necessary to reference the PWM in board device trees. Signed-off-by: Alexandre Courbot --- arch/arm/boot/dts/tegra20.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index 405d167..67a6cd9 100644 ---

[PATCH v5 1/4] Runtime Interpreted Power Sequences

2012-08-31 Thread Alexandre Courbot
Some device drivers (panel backlights especially) need to follow precise sequences for powering on and off, involving gpios, regulators, PWMs with a precise powering order and delays to respect between each steps. These sequences are board-specific, and do not belong to a particular driver - theref

[PATCH v5 2/4] pwm_backlight: use power sequences

2012-08-31 Thread Alexandre Courbot
Make use of the power sequences specified in the device tree or platform data to control how the backlight is powered on and off. Signed-off-by: Alexandre Courbot --- .../bindings/video/backlight/pwm-backlight.txt | 67 +++- drivers/video/backlight/Kconfig| 1 + dr

[PATCH v5 0/4] Runtime Interpreted Power Sequences

2012-08-31 Thread Alexandre Courbot
New revision taking (hopefully) all the feedback received from the previous version into account. It's funny how a 30 lines patch to switch my backlight turned into a 1500 lines patchset introducing a new framework. And in the end my backlight switches just the same. So anyway, the main updates ar

Re: [PATCH v8 08/13] arm/dts: am33xx: Add dt data for usbss

2012-08-31 Thread ABRAHAM, KISHON VIJAY
Hi, On Thu, Aug 30, 2012 at 4:20 PM, Ravi Babu wrote: > From: Ajay Kumar Gupta > > Added device tree data for usbss on am33xx. There are two musb controllers > on am33xx platform so have port0_mode and port1_mode additional data. > > Signed-off-by: Ajay Kumar Gupta > Signed-off-by: Ravi Babu >

Re: [PATCH v8 08/13] arm/dts: am33xx: Add dt data for usbss

2012-08-31 Thread Felipe Balbi
Hi, On Thu, Aug 30, 2012 at 03:39:40PM +0400, Sergei Shtylyov wrote: > Hello. > > On 30-08-2012 14:50, Ravi Babu wrote: > > >From: Ajay Kumar Gupta > > >Added device tree data for usbss on am33xx. There are two musb controllers > >on am33xx platform so have port0_mode and port1_mode additional

[PATCH 2/2] arm/dts: AM33XX: Add device tree OPP table

2012-08-31 Thread AnilKumar Ch
Add DT OPP table for AM33XX family of devices. This data is decoded by OF with of_init_opp_table() helper function. Also adds cpu0 supply name to the corresponding dts files. cpu0-supply name is used by cpufreq-cpu0 driver to get the regulator pointer for voltage modifications. Signed-off-by: Ani

[PATCH 1/2] ARM: OMAP2+: AM33XX: Add clock entries to omap_clk data

2012-08-31 Thread AnilKumar Ch
Add AM335x cpu0 clock entry to the corresponding clock data file. This is useful in getting the correct mpu clock pointer to change the cpu frequency in cpufreq driver. Signed-off-by: AnilKumar Ch --- arch/arm/mach-omap2/clock33xx_data.c |1 + 1 file changed, 1 insertion(+) diff --git a/arc

[PATCH 0/2] ARM: OMAP2: AM33XX: Add cpufreq support

2012-08-31 Thread AnilKumar Ch
Add cpufreq support to AM33XX family of devices by adding OPP information, clock entry with cpu0 name and voltage supplies to cpu0. These patches have been tested on AM335x-EVM, AM335x-Bone and these patches are based on cpufreq-cpu0 driver http://marc.info/?l=linux-arm-kernel&m=134457735413293&w=

Re: [PATCHv3 0/4] Add device tree data for omap5

2012-08-31 Thread Benoit Cousson
Hi Sourav, While rebasing your series on top of Tony's lo/devel-dt, I realized that the keypad nodes are not located at the correct place :-( At the moment they are just floating at the top level of the dts while they belong to the ocp bus and thus should be put there. I fixed that since it wa

[PATCH v5 0/5] Add device tree data for AM33XX devices

2012-08-31 Thread AnilKumar Ch
Add pinctrl and d_can device tree data to AM33XX family of devices. First two patches add support for pinctrl DT data and third one adds dcan DT data. Reason behind combining these patches is to apply cleanly on linux-omap tree, because these are sequential patches. These patches were tested on A

[PATCH 5/5] of: Modify c_can binding documentation

2012-08-31 Thread AnilKumar Ch
Modify c_can binding documentation according to recent review comments on device tree data addition patches. Signed-off-by: AnilKumar Ch --- .../devicetree/bindings/net/can/c_can.txt | 25 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/Documentatio

[PATCH 4/5] leds: leds-gpio: adopt pinctrl support

2012-08-31 Thread AnilKumar Ch
Adopt pinctrl support to leds-gpio driver, based on the device pointer (leds-gpio) pinctrl driver configure SoC pins to GPIO mode. Signed-off-by: AnilKumar Ch --- drivers/leds/leds-gpio.c | 31 --- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/drive

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

2012-08-31 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 | 41 + 1 file changed, 41 insertions(+) diff --git a/arch/arm/boo

[PATCH v5 3/5] arm/dts: AM33XX: Add D_CAN device tree data

2012-08-31 Thread AnilKumar Ch
Add Bosch D_CAN controller device tree data to AM33XX dtsi file by adding d_can device nodes with all the necessary parameters. Signed-off-by: AnilKumar Ch --- arch/arm/boot/dts/am33xx.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/

[PATCH v5 1/5] arm/dts: AM33XX: Add basic pinctrl device tree data

2012-08-31 Thread AnilKumar Ch
Adds basic pinctrl device tree data for AM33XX family of devices. This patch is based on the pinctrl-single driver. Signed-off-by: AnilKumar Ch --- arch/arm/boot/dts/am33xx.dtsi |9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33

[PATCH 8/8] ARM: dts: add twi nodes for atmel boards

2012-08-31 Thread ludovic.desroches
From: Ludovic Desroches Use the atmel twi instead of gpio for i2c stuff. Signed-off-by: Ludovic Desroches --- arch/arm/boot/dts/at91sam9263ek.dts | 20 ++-- arch/arm/boot/dts/at91sam9g20ek_common.dtsi | 28 ++-- arch/arm/boot/dts/at91sam9g25ek.dt

[PATCH 4/8] ARM: at91: do not configure at91sam9g10 twi pio as open-drain

2012-08-31 Thread ludovic.desroches
From: Ludovic Desroches As indicated in the datasheet, TWD and TWCK must not be programmed as open-drain. Signed-off-by: Ludovic Desroches --- arch/arm/mach-at91/at91sam9261_devices.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-at91/at9

[PATCH 7/8] ARM: dts: add twi nodes for atmel SOCs

2012-08-31 Thread ludovic.desroches
From: Ludovic Desroches Add twi nodes for atmel SOCs and remove i2c-gpio ones. Signed-off-by: Ludovic Desroches --- arch/arm/boot/dts/at91sam9260.dtsi | 23 ++--- arch/arm/boot/dts/at91sam9263.dtsi | 23 ++--- arch/arm/boot/dts/at91sam9g20.dtsi | 4 +++ arch/arm/boot/dts/at91s

[PATCH 4/8] ARM: at91: do not configure at91sam9g10 twi pio as open-drain

2012-08-31 Thread ludovic.desroches
From: Ludovic Desroches As indicated in the datasheet, TWD and TWCK must not be programmed as open-drain. Signed-off-by: Ludovic Desroches --- arch/arm/mach-at91/at91sam9261_devices.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-at91/at9

[PATCH 0/8] i2c: at91: cleanup and dt support

2012-08-31 Thread ludovic.desroches
From: Ludovic Desroches Hi, This set of patches is based on Nikolaus at91_i2c driver. Ludovic Desroches (8): i2c: at91: use managed resources i2c: at91: add warning about transmission issues for some devices i2c: at91: use an id table for SoC dependent parameters ARM: at91: do not confi

[PATCH 1/8] i2c: at91: use managed resources

2012-08-31 Thread ludovic.desroches
From: Ludovic Desroches Use managed resources to ease the cleanup. Signed-off-by: Ludovic Desroches --- drivers/i2c/busses/i2c-at91.c | 85 +-- 1 file changed, 25 insertions(+), 60 deletions(-) diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/bu

[PATCH 2/8] i2c: at91: add warning about transmission issues for some devices

2012-08-31 Thread ludovic.desroches
From: Ludovic Desroches Some devices don't have clock streching in transmission mode. It can lead to premature stop sendings if the latency to write data in the transmission register is too long. In this case, prefer the i2c-gpio driver. Signed-off-by: Ludovic Desroches --- drivers/i2c/busses/

[PATCH 6/8] ARM: at91: add clocks for I2C DT entries

2012-08-31 Thread ludovic.desroches
From: Ludovic Desroches Signed-off-by: Ludovic Desroches --- arch/arm/mach-at91/at91sam9260.c | 1 + arch/arm/mach-at91/at91sam9263.c | 1 + arch/arm/mach-at91/at91sam9g45.c | 2 ++ arch/arm/mach-at91/at91sam9n12.c | 2 ++ arch/arm/mach-at91/at91sam9x5.c | 6 +++--- 5 files changed, 9 insertio

[PATCH 3/8] i2c: at91: use an id table for SoC dependent parameters

2012-08-31 Thread ludovic.desroches
From: Ludovic Desroches Use the id_table to store configuration structures which are depending on SoC. Signed-off-by: Ludovic Desroches --- arch/arm/mach-at91/at91rm9200.c | 2 +- arch/arm/mach-at91/at91rm9200_devices.c | 11 + arch/arm/mach-at91/at91sam9260.c | 3 +- a

[PATCH 5/8] i2c: at91: add dt support to i2c-at91

2012-08-31 Thread ludovic.desroches
From: Ludovic Desroches Signed-off-by: Ludovic Desroches --- .../devicetree/bindings/i2c/atmel-i2c.txt | 30 + drivers/i2c/busses/i2c-at91.c | 49 ++ 2 files changed, 79 insertions(+) create mode 100644 Documentation/devicetree/bind

Re: [PATCH v5 4/9] mmc: dw_mmc: lookup for optional biu and ciu clocks

2012-08-31 Thread Thomas Abraham
On 31 August 2012 13:29, Jaehoon Chung wrote: >> + >> + host->ciu_clk = clk_get(host->dev, "ciu"); >> + if (IS_ERR(host->ciu_clk)) >> + dev_dbg(host->dev, "ciu clock not available\n"); >> + else >> + clk_prepare_enable(host->ciu_clk); >>>

Re: [PATCH 1/2] ARM: dts: Use active low flag for gpio-keys on Origen

2012-08-31 Thread Thomas Abraham
On 31 August 2012 09:43, Sachin Kamat wrote: > Commit: f447ed8b31d (gpio: samsung: add flags specifier to > device-tree binding) adds a flag to represent active low state > for gpio line. Since gpio-keys on Origen board are active low, > using this flag to represent the same. > > Cc: Olof Johansso