Re: [PATCH 5/8] pinctrl-tz1090: add TZ1090 pinctrl driver

2013-05-17 Thread Linus Walleij
On Thu, May 16, 2013 at 11:12 AM, James Hogan james.ho...@imgtec.com wrote: Hi Linus, On 15/05/13 20:07, Linus Walleij wrote: On Tue, May 14, 2013 at 2:22 PM, James Hogan james.ho...@imgtec.com wrote: I think that's the other way around, i.e. that's talking about mapping several pingroups to

Re: [PATCHv9 5/9] clk: mvebu: create parent-child relation for PCIe clocks on Armada 370

2013-05-17 Thread Mike Turquette
Quoting Jason Cooper (2013-05-16 08:06:16) Mike, Sebastian, On Thu, May 16, 2013 at 10:26:24AM +0200, Sebastian Hesselbarth wrote: On 05/16/2013 09:44 AM, Thomas Petazzoni wrote: Dear Mike Turquette, On Wed, 15 May 2013 14:41:54 -0700, Mike Turquette wrote: Quoting Thomas Petazzoni

Re: [PATCH RFC 0/2] clk: add metag specific gate/mux clocks

2013-05-17 Thread James Hogan
On 16/05/13 23:22, Stephen Boyd wrote: On 05/16/13 02:56, James Hogan wrote: On 15/05/13 23:31, Stephen Boyd wrote: Can you please Cc the devicetree mailing list when proposing new bindings? Erm, I think it was on Cc (devicetree-discuss@lists.ozlabs.org yeh?) I added them in my reply. Ah

[PATCH] ipmi: add missing platform_device_put() on error in try_smi_init()

2013-05-17 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Add the missing platform_device_put() before return from try_smi_init() in the platform_device_add() fail case. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/char/ipmi/ipmi_si_intf.c | 1 + 1 file changed, 1 insertion(+)

Re: Pulls and drive strengths in the pinctrl world

2013-05-17 Thread Linus Walleij
On Thu, May 16, 2013 at 2:03 AM, Doug Anderson diand...@google.com wrote: I prefer to put all the static pinctrl configuration in the pinctrl hog, and only the dynamic stuff in the individual device nodes. I know LinusW won't like this suggestion much though:-) (It's not that bad

Re: Pulls and drive strengths in the pinctrl world

2013-05-17 Thread Linus Walleij
On Fri, May 17, 2013 at 11:09 AM, Tomasz Figa tomasz.f...@gmail.com wrote: Just add another state, pctldev-hog_shutdown to this, and add an operation pinctrl_force_poweroff() in the same spirit as pinctrl_force_sleep() that we already have. Add a new state to

Re: [RFC/PATCH 2/2] gpio-rcar: Add DT support

2013-05-17 Thread Guennadi Liakhovetski
Hi Laurent On Fri, 10 May 2013, Laurent Pinchart wrote: Add DT bindings for the gpio-rcar driver and read the device configuration from the DT node at probe time if available. Cc: devicetree-discuss@lists.ozlabs.org Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com ---

Re: [PATCH 1/2] video: exynos_dp: Add parsing of gpios pins to exynos-dp driver

2013-05-17 Thread Tomasz Figa
Hi Jingoo, On Thursday 16 of May 2013 02:03:59 한진구 wrote: Tuesday, May 14, 2013 11:17 PM, Vikas Sajjan wrote: Hi Vikas, On Tuesday 14 of May 2013 18:25:51 Vikas Sajjan wrote: Adds GPIO parsing functionality for LCD backlight and LCD enable GPIO pins of exynos dp

Re: Pulls and drive strengths in the pinctrl world

2013-05-17 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:22 Wed 15 May , Stephen Warren wrote: On 05/15/2013 06:13 PM, Tomasz Figa wrote: On Wednesday 15 of May 2013 16:55:37 Doug Anderson wrote: Tomasz / Linus, On Wed, May 15, 2013 at 3:06 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Yes. I don't like the current way too much

Re: Pulls and drive strengths in the pinctrl world

2013-05-17 Thread Tomasz Figa
Hi Linus, On Friday 17 of May 2013 13:59:54 Linus Walleij wrote: On Fri, May 17, 2013 at 11:09 AM, Tomasz Figa tomasz.f...@gmail.com wrote: Just add another state, pctldev-hog_shutdown to this, and add an operation pinctrl_force_poweroff() in the same spirit as pinctrl_force_sleep() that

Re: [PATCH v5] ARM:dts:omap4-panda: Update the LED support for the panda DTS

2013-05-17 Thread Nishanth Menon
On 08:21-20130517, Dan Murphy wrote: [...] May be others with better DT experience can help here.. but here is a trick to reduce dts file changes: diff --git a/arch/arm/boot/dts/omap4-panda-es.dts b/arch/arm/boot/dts/omap4-panda-es.dts index f1d8c21..08d2e38 100644 --- a/arch/arm/boot/dts

[PATCH 0/5 v3] ARM: at91: dt: add USBA support

2013-05-17 Thread Jean-Christophe PLAGNIOL-VILLARD
HI, v3: rebase againt 3.10-rc1 + dt macro cleanup This patch serie finish to add the usb device support to dt for at91 with the usba support present on the last at91 generation since sam9g45 The following changes since commit

Re: [RFC 3/8] mfd:syscon: Introduce claim/read/write/release APIs

2013-05-17 Thread Arnd Bergmann
On Thursday 09 May 2013, Srinivas KANDAGATLA wrote: On 08/05/13 20:48, Arnd Bergmann wrote: I agree, my initial approach was having a dedicated driver specific to ST syscon, however syscon seems to do things very much similar to what we want, so I have integrated those 3 functions in syscon.

[PATCH 2/5] ARM: at91: sam9x5 add udc DT support

2013-05-17 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Cc: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/at91sam9x5.dtsi | 62 + arch/arm/mach-at91/at91sam9x5.c |2 ++ 2 files changed, 64 insertions(+) diff --git

[PATCH 5/5] ARM: at91: sam9m10g45ek add udc DT support

2013-05-17 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Cc: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/at91sam9m10g45ek.dts |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9m10g45ek.dts b/arch/arm/boot/dts/at91sam9m10g45ek.dts

[PATCH 4/5] ARM: at91: sam9g45 add udc DT support

2013-05-17 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Cc: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/at91sam9g45.dtsi | 62 arch/arm/mach-at91/at91sam9g45.c |2 ++ 2 files changed, 64 insertions(+) diff --git

[PATCH 3/5] ARM: at91: sam9x5ek add udc DT support

2013-05-17 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Cc: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/at91sam9x5ek.dtsi |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi index

[RFC PATCH v4 14/18] ARM: dts: r8a7740: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com Acked-by: Simon Horman horms+rene...@verge.net.au --- arch/arm/boot/dts/r8a7740.dtsi | 4 1 file changed, 4 insertions(+)

[RFC PATCH v4 15/18] ARM: dts: sh7372: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com Acked-by: Simon Horman horms+rene...@verge.net.au --- arch/arm/boot/dts/sh7372.dtsi | 5 + 1 file changed, 5 insertions(+)

[RFC PATCH v4 00/18] ARM: DT cpu bindings updates

2013-05-17 Thread Lorenzo Pieralisi
This patchset is an update of a previous posting: http://lists.infradead.org/pipermail/linux-arm-kernel/2013-April/165219.html v4 changes: - Replaced WARN* with pr_warn - Removed tmp_map in arm_dt_init_cpu_maps() - Rebased against 3.10-rc1 - Patched additional atmel and sunxi dts files -

[RFC PATCH v4 07/18] ARM: dts: exynos5440: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/exynos5440.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/exynos5440.dtsi

[RFC PATCH v4 02/18] ARM: kernel: fix __cpu_logical_map default initialization

2013-05-17 Thread Lorenzo Pieralisi
The __cpu_logical_map array is statically initialized to 0, which is a valid MPIDR value. To prevent issues with the current implementation, this patch defines an MPIDR_INVALID value, and statically initializes the __cpu_logical_map[] array to it. Entries in the arm_dt_init_cpu_maps() tmp_map

[RFC PATCH v4 11/18] ARM: dts: picoxcell: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/picoxcell-pc3x2.dtsi | 8 arch/arm/boot/dts/picoxcell-pc3x3.dtsi | 8 2 files changed, 8

[RFC PATCH v4 18/18] ARM: DT: kernel: DT cpus/cpu node bindings update

2013-05-17 Thread Lorenzo Pieralisi
DT cpu map parsing code must be made compliant with the latest cpus/cpu nodes bindings updates, hence this patch updates the arm_dt_init_cpu_maps() function with checks and additional parsing rules. Uniprocessor systems predating v7 do not parse the cpus node at all since the reg property is

[RFC PATCH v4 12/18] ARM: dts: prima2: cpus/cpu node dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com Acked-by: Barry Song baohua.s...@csr.com --- arch/arm/boot/dts/prima2.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git

[RFC PATCH v4 13/18] ARM: dts: pxa2xx: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/pxa2xx.dtsi | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[RFC PATCH v4 06/18] ARM: dts: at91: cpus/cpu node dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/at91rm9200.dtsi | 6 +-

[RFC PATCH v4 09/18] ARM: dts: lpc32xx: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/lpc32xx.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git

[RFC PATCH v4 04/18] ARM: dts: am33xx: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/am33xx.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi

[RFC PATCH v4 08/18] ARM: dts: imx: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com Acked-by: Shawn Guo shawn@linaro.org --- arch/arm/boot/dts/imx23.dtsi | 8 ++-- arch/arm/boot/dts/imx28.dtsi | 8 ++--

[RFC PATCH v4 10/18] ARM: dts: omap: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/omap2.dtsi | 6 +- arch/arm/boot/dts/omap3.dtsi | 5 + arch/arm/boot/dts/omap4.dtsi | 7 +++

Re: [RFC PATCH v4 02/18] ARM: kernel: fix __cpu_logical_map default initialization

2013-05-17 Thread Nicolas Pitre
On Fri, 17 May 2013, Lorenzo Pieralisi wrote: The __cpu_logical_map array is statically initialized to 0, which is a valid MPIDR value. To prevent issues with the current implementation, this patch defines an MPIDR_INVALID value, and statically initializes the __cpu_logical_map[] array to it.

Re: [RFC PATCH v4 01/18] ARM: kernel: fix arm_dt_init_cpu_maps() to skip non-cpu nodes

2013-05-17 Thread Nicolas Pitre
On Fri, 17 May 2013, Lorenzo Pieralisi wrote: The introduction of the cpu-map topology node in the cpus node implies that cpus node might have children that are not cpu nodes. The DT parsing code needs updating otherwise it would check for cpu nodes properties in nodes that are not required

Re: [RFC PATCH v4 03/18] Documentation: devicetree: arm: cpus/cpu nodes bindings updates

2013-05-17 Thread Nicolas Pitre
On Fri, 17 May 2013, Lorenzo Pieralisi wrote: In order to extend the current cpu nodes bindings to newer CPUs inclusive of AArch64 and to update support for older ARM CPUs this patch updates device tree documentation for the cpu nodes bindings. Main changes: - adds 64-bit bindings

[GIT PULL] ARM DT topology bindings

2013-05-17 Thread Lorenzo Pieralisi
Hi Grant, Rob, since it looks like we reached agreement on DT topology bindings for ARM please pull the bindings documentation so that code relying on the topology to be published and set in stone can be released and can stabilize. The topology documentation relies on updates to the cpus/cpu

Re: [RFC PATCH v4 18/18] ARM: DT: kernel: DT cpus/cpu node bindings update

2013-05-17 Thread Nicolas Pitre
On Fri, 17 May 2013, Lorenzo Pieralisi wrote: DT cpu map parsing code must be made compliant with the latest cpus/cpu nodes bindings updates, hence this patch updates the arm_dt_init_cpu_maps() function with checks and additional parsing rules. Uniprocessor systems predating v7 do not parse

Re: [RFC PATCH v4 01/18] ARM: kernel: fix arm_dt_init_cpu_maps() to skip non-cpu nodes

2013-05-17 Thread Rob Herring
On Fri, May 17, 2013 at 10:20 AM, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: The introduction of the cpu-map topology node in the cpus node implies that cpus node might have children that are not cpu nodes. The DT parsing code needs updating otherwise it would check for cpu nodes

Re: [PATCH] linux/of_platform.h: fix compilation warnings with DT disabled

2013-05-17 Thread Grant Likely
On Thu, May 16, 2013 at 11:44 PM, Rob Herring robherri...@gmail.com wrote: I hoped to see this fix in 3.10-rc1. Is there any hope to see it in 3.10-rc's? The code it fixes the warnings in is already in Linus tree. So I had this queued up, but Grant did not send DT update to Linus for

Re: [RFC PATCH v4 01/18] ARM: kernel: fix arm_dt_init_cpu_maps() to skip non-cpu nodes

2013-05-17 Thread Lorenzo Pieralisi
On Fri, May 17, 2013 at 05:31:18PM +0100, Rob Herring wrote: On Fri, May 17, 2013 at 10:20 AM, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: The introduction of the cpu-map topology node in the cpus node implies that cpus node might have children that are not cpu nodes. The DT parsing

Re: [RFC PATCH v4 05/18] ARM: dts: armada-370-xp: cpus/cpu node dts updates

2013-05-17 Thread Gregory CLEMENT
On 05/17/2013 05:20 PM, Lorenzo Pieralisi wrote: This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/armada-370-xp.dtsi | 4 1 file changed, 4

[GIT PULL] DT changes for v3.10

2013-05-17 Thread Grant Likely
Hi Linus, Here are a few DT bug fixes and documentation updates. Sorry this pull request came after -rc1. I hope it is still okay to pull in. All has been in linux-next well before the merge window. g. The following changes since commit 31880c37c11e28cb81c70757e38392b42e695dc6: Linux 3.9-rc6

Re: Pulls and drive strengths in the pinctrl world

2013-05-17 Thread Tomasz Figa
Hi Jean-Christophe, On Friday 17 of May 2013 14:26:25 Jean-Christophe PLAGNIOL-VILLARD wrote: On 18:22 Wed 15 May , Stephen Warren wrote: On 05/15/2013 06:13 PM, Tomasz Figa wrote: On Wednesday 15 of May 2013 16:55:37 Doug Anderson wrote: Tomasz / Linus, On Wed, May 15, 2013