Re: [PATCH RFC 2/3] power: mxs_power: add driver for mxs power subsystem

2015-02-20 Thread Stefan Wahren
Stefan Wahren stefan.wah...@i2se.com hat am 3. Februar 2015 um 21:41 geschrieben: Hi Sebastian, Sebastian Reichel s...@kernel.org hat am 28. Januar 2015 um 23:59 geschrieben: Hi, On Wed, Jan 28, 2015 at 11:22:05PM +0100, Stefan Wahren wrote: Mark Brown broo...@kernel.org

Re: [PATCH 03/10] devicetree: bindings: add Device Tree bindings for Armada 39x pin-muxing controller

2015-02-20 Thread Thomas Petazzoni
Dear Andrew Lunn, On Fri, 6 Feb 2015 18:05:21 +0100, Andrew Lunn wrote: I wondering if there should be an explanation for the less common names here. I'm guessing dev is a device bus of some sort? What is xsmi? Some sort of extended System Management Interface? And m? dev is the Device Bus

[PATCH v10 2/2] dt-bindings: add vendor-prefix for X-Powers

2015-02-20 Thread Chen-Yu Tsai
From: Carlo Caione ca...@caione.org Signed-off-by: Carlo Caione ca...@caione.org Signed-off-by: Chen-Yu Tsai w...@csie.org Acked-by: Lee Jones lee.jo...@linaro.org --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v4 4/4] phy: add phy-hi6220-usb

2015-02-20 Thread zhangfei
On 02/20/2015 12:38 PM, Felipe Balbi wrote: On Fri, Feb 20, 2015 at 11:07:21AM +0800, zhangfei wrote: Hi, Balbi On 02/18/2015 10:35 PM, Felipe Balbi wrote: On Wed, Feb 18, 2015 at 01:44:21PM +0800, zhangfei wrote: Hi, Kishon On 02/18/2015 01:35 PM, Kishon Vijay Abraham I wrote: Hi, On

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-20 Thread Mark Rutland
[...] IRQF_NO_SUSPEND and wakeup fundamentally don't match due to the way wakeup is implemented in the IRQ core now. Unless drivers with IRQF_NO_SUSPEND do the wakeup behind the core's back which is just disgusting and should never happen. I completely agree that using

Re: [PATCH v4] dma: Add Xilinx AXI Direct Memory Access Engine driver support

2015-02-20 Thread Michal Simek
Hi Vinod, On 02/20/2015 07:29 AM, Vinod Koul wrote: On Sat, Feb 14, 2015 at 02:21:52PM +, Appana Durga Kedareswara Rao wrote: Hi Vinod, -Original Message- From: Vinod Koul [mailto:vinod.k...@intel.com] Sent: Thursday, February 12, 2015 3:05 PM To: Appana Durga Kedareswara Rao

[PATCH v10 0/2] mfd: axp20x: Add DT binding documentation

2015-02-20 Thread Chen-Yu Tsai
Hi everyone, This is v10 of the axp20x series. v10 reverts back to the DT bindings from v8. This is the binding currently supported by the kernel drivers since 3.18. Mark Brown raised concern on the needless changes to active regulator bindings in v9. Maxime, I dropped your Acked-by because of

[PATCH v10 1/2] mfd: AXP20x: Add bindings documentation

2015-02-20 Thread Chen-Yu Tsai
From: Carlo Caione ca...@caione.org Bindings documentation for the AXP20x driver. In this file also sub-nodes are documented. Signed-off-by: Carlo Caione ca...@caione.org [w...@csie.org: clarify interrupt source for the axp PMIC] [w...@csie.org: explain dcdc-workmode in detail and trim lines to

Re: [RFC PATCH 1/3] eeprom: Add a simple EEPROM framework

2015-02-20 Thread Srinivas Kandagatla
On 20/02/15 02:36, Stephen Boyd wrote: On 02/19/15 09:08, Srinivas Kandagatla wrote: diff --git a/drivers/Kconfig b/drivers/Kconfig index c70d6e4..d7afc82 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -184,4 +184,6 @@ source drivers/thunderbolt/Kconfig source

Re: [PATCH 1/2] ARM: dts: imx6qdl-sabrelite: add supported LVDS displays

2015-02-20 Thread Philipp Zabel
Hi Eric, Am Donnerstag, den 19.02.2015, 16:53 -0700 schrieb Eric Nelson: The BD-SL-i.MX6 (SABRE Lite board) supports three companion displays: Okaya 1024x600 Hannstar 1024x768 LG 1280x800 This patch adds timing entries into the LDB device tree and aliases for them and

Re: [RFC PATCH 1/3] eeprom: Add a simple EEPROM framework

2015-02-20 Thread Srinivas Kandagatla
Thanks Andrew for your comments, On 19/02/15 18:12, Andrew Lunn wrote: + +Required properties: + +eeproms: List of phandle and data cell specifier triplet, one triplet +for each data cell the device might be interested in. The +triplet consists of the phandle to the eeprom

Re: [PATCH] pinctrl: mediatek: Fix build error in Mediatek pinctrl driver.

2015-02-20 Thread Linus Walleij
On Thu, Feb 12, 2015 at 8:56 AM, Hongzhou Yang hongzhou.y...@mediatek.com wrote: Since pinconf relate API changes in pinctrl devel branch, a build error happened. Send this small patch to fix it. --- Due to pinconf_generic_parse_dt_config() API changes in pinctrl devel branch, add one

Re: 0.led_name 2.other.led.name in /sysfs Re: [PATCH/RFC v11 01/20] leds: flash: document sysfs interface

2015-02-20 Thread Jacek Anaszewski
Hi Pavel, On 02/20/2015 09:16 AM, Pavel Machek wrote: Hi! +What: /sys/class/leds/led/available_sync_leds +Date: February 2015 +KernelVersion: 3.20 +Contact: Jacek Anaszewski j.anaszew...@samsung.com +Description: read/write + Space separated list of

Re: [PATCH 2/4] of: DT quirks infrastructure

2015-02-20 Thread Ludovic Desroches
On Thu, Feb 19, 2015 at 09:30:58AM -0800, Frank Rowand wrote: On 2/19/2015 9:00 AM, Pantelis Antoniou wrote: Hi Frank, On Feb 19, 2015, at 18:48 , Frank Rowand frowand.l...@gmail.com wrote: On 2/19/2015 6:29 AM, Pantelis Antoniou wrote: Hi Mark, On Feb 18, 2015, at 19:31 , Mark

Re: 0.led_name 2.other.led.name in /sysfs Re: [PATCH/RFC v11 01/20] leds: flash: document sysfs interface

2015-02-20 Thread Pavel Machek
Hi! +What:/sys/class/leds/led/available_sync_leds +Date:February 2015 +KernelVersion: 3.20 +Contact: Jacek Anaszewski j.anaszew...@samsung.com +Description: read/write + Space separated list of LEDs available for flash strobe + synchronization,

Re: [PATCH 2/4] of: DT quirks infrastructure

2015-02-20 Thread Ludovic Desroches
On Thu, Feb 19, 2015 at 12:01:14PM -0600, Rob Herring wrote: On Wed, Feb 18, 2015 at 8:08 PM, Frank Rowand frowand.l...@gmail.com wrote: On 2/18/2015 6:59 AM, Pantelis Antoniou wrote: Implement a method of applying DT quirks early in the boot sequence. A DT quirk is a subtree of the boot

Re: [PATCH] ARM: dts: OMAP3-N900: Fix offset for smc91x ethernet

2015-02-20 Thread Arnd Bergmann
On Thursday 19 February 2015 17:49:50 Pali Rohár wrote: Offset for smc91x must be zero otherwise smc91x linux kernel driver does not detect smc91x ethernet hardware in qemu N900 machine. Signed-off-by: Pali Rohár pali.ro...@gmail.com Is that the same offset on real hardware, or could this

Re: [PATCH] ARM: dts: OMAP3-N900: Fix offset for smc91x ethernet

2015-02-20 Thread Pali Rohár
On Friday 20 February 2015 10:24:35 Arnd Bergmann wrote: On Thursday 19 February 2015 17:49:50 Pali Rohár wrote: Offset for smc91x must be zero otherwise smc91x linux kernel driver does not detect smc91x ethernet hardware in qemu N900 machine. Signed-off-by: Pali Rohár

Re: [RFC PATCH 1/3] eeprom: Add a simple EEPROM framework

2015-02-20 Thread Srinivas Kandagatla
On 20/02/15 08:14, Srinivas Kandagatla wrote: Doesn't this need some sort of select REGMAP somewhere? May be depends REGMAP would be good. You are right, just realized that it should be select REGMAP and for QFPROM it should be select REGMAP_MMIO --srini -- To unsubscribe from this list:

Re: [PATCH 08/10] ARM: mvebu: add core support for Armada 39x

2015-02-20 Thread Thomas Petazzoni
Dear Stephen Boyd, On Fri, 06 Feb 2015 11:57:58 -0800, Stephen Boyd wrote: +static const char * const armada_39x_dt_compat[] = { __initconst? Good idea. This wasn't done for the other mach-mvebu dt_compat tables, so I've added a patch to do this as well for the other mach-mvebu dt_compat

Re: [PATCH 1/6] ASoC: max98088: Document DT bindings

2015-02-20 Thread Sylwester Nawrocki
On 20/02/15 01:36, Andreas Färber wrote: So it seems the mclk is not always set up properly by the kernel, relying on firmware. Who's in charge of setting that clock up? Right, it seems audio is only working due the firmware doing some previous setup. Probably it works on every boot if

Re: [PATCH 2/4] of: DT quirks infrastructure

2015-02-20 Thread Peter Hurley
On 02/19/2015 09:41 AM, Pantelis Antoniou wrote: Hi Frank, On Feb 19, 2015, at 04:08 , Frank Rowand frowand.l...@gmail.com wrote: On 2/18/2015 6:59 AM, Pantelis Antoniou wrote: Implement a method of applying DT quirks early in the boot sequence. A DT quirk is a subtree of the boot DT that

[PATCH 4/5] ARM: DTS: omap5: Correct the dma controller's property names

2015-02-20 Thread Peter Ujfalusi
According to the Documentation/devicetree/bindings/dma/dma.txt the dma-channels and dma-requests property should not have '#'. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 2/5] ARM: DTS: omap3: Correct the dma controller's property names

2015-02-20 Thread Peter Ujfalusi
According to the Documentation/devicetree/bindings/dma/dma.txt the dma-channels and dma-requests property should not have '#'. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap3.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 5/5] ARM: DTS: dra7: Correct the dma controller's property names

2015-02-20 Thread Peter Ujfalusi
According to the Documentation/devicetree/bindings/dma/dma.txt the dma-channels and dma-requests property should not have '#'. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 09/10] ARM: mvebu: add Device Tree files for Armada 39x SoC and board

2015-02-20 Thread Thomas Petazzoni
Dear Andrew Lunn, On Fri, 6 Feb 2015 18:21:53 +0100, Andrew Lunn wrote: + chosen { + bootargs = console=ttyS0,115200 earlyprintk; + }; + Arnd has been encouraging people not use earlyprintk here. Also a stdout-path would be nice. We also seem to be missing aliases for

Re: [PATCH 2/4] of: DT quirks infrastructure

2015-02-20 Thread Peter Hurley
On 02/19/2015 12:38 PM, Pantelis Antoniou wrote: On Feb 19, 2015, at 19:30 , Frank Rowand frowand.l...@gmail.com wrote: On 2/19/2015 9:00 AM, Pantelis Antoniou wrote: Hi Frank, On Feb 19, 2015, at 18:48 , Frank Rowand frowand.l...@gmail.com wrote: On 2/19/2015 6:29 AM, Pantelis Antoniou

Re: [PATCH 03/10] devicetree: bindings: add Device Tree bindings for Armada 39x pin-muxing controller

2015-02-20 Thread Andrew Lunn
Both dev and m are already used by many of the existing pinctrl DT bindings for Marvell platforms, so I'm not sure documenting them specifically in the Armada 39x pinctrl DT binding document makes a lot of sense. Where should we document them, then? In the generic 'marvell,mvebu-pinctrl.txt'

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-20 Thread Mark Rutland
Hi Boris, On Wed, Feb 11, 2015 at 04:38:23PM +, Boris Brezillon wrote: [...] For the list of impacted drivers, you can have a look at this series [1] (patches 2 to 5), and I'll take care of the testing part once every one has agreed on the solution ;-).

[PATCH 1/5] ARM: DTS: omap2: Correct the dma controller's property names

2015-02-20 Thread Peter Ujfalusi
According to the Documentation/devicetree/bindings/dma/dma.txt the dma-channels and dma-requests property should not have '#'. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap2.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 3/5] ARM: DTS: omap4: Correct the dma controller's property names

2015-02-20 Thread Peter Ujfalusi
According to the Documentation/devicetree/bindings/dma/dma.txt the dma-channels and dma-requests property should not have '#'. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap4.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 0/5] ARM: DTS: OMAP/DRA7: dma property name correction

2015-02-20 Thread Peter Ujfalusi
Hi, While working on the DMA crossbar support for DRA7 typo of devices I have noticed that the dma-channels and dma-requests properties of sdma wrongly has # at the beginning. According to the documentation, it should not have: Documentation/devicetree/bindings/dma/dma.txt Since these properties

Re: [PATCH 2/4] of: DT quirks infrastructure

2015-02-20 Thread Ludovic Desroches
On Fri, Feb 20, 2015 at 09:21:38AM -0500, Peter Hurley wrote: On 02/19/2015 12:38 PM, Pantelis Antoniou wrote: On Feb 19, 2015, at 19:30 , Frank Rowand frowand.l...@gmail.com wrote: On 2/19/2015 9:00 AM, Pantelis Antoniou wrote: Hi Frank, On Feb 19, 2015, at 18:48 , Frank Rowand

Re: [PATCH 2/4] of: DT quirks infrastructure

2015-02-20 Thread Pantelis Antoniou
Hi Peter, On Feb 20, 2015, at 16:21 , Peter Hurley pe...@hurleysoftware.com wrote: On 02/19/2015 12:38 PM, Pantelis Antoniou wrote: On Feb 19, 2015, at 19:30 , Frank Rowand frowand.l...@gmail.com wrote: On 2/19/2015 9:00 AM, Pantelis Antoniou wrote: Hi Frank, On Feb 19, 2015, at

Re: [PATCH v4 4/4] phy: add phy-hi6220-usb

2015-02-20 Thread Felipe Balbi
Hi, On Thu, Feb 12, 2015 at 03:37:26PM +0800, Zhangfei Gao wrote: Add usb phy controller for hi6220 platform Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/phy/Kconfig | 9 ++ drivers/phy/Makefile | 1 + drivers/phy/phy-hi6220-usb.c | 306

Re: [PATCH 09/10] ARM: mvebu: add Device Tree files for Armada 39x SoC and board

2015-02-20 Thread Andrew Lunn
+ pinctrl@18000 { + uart0_pins: uart0-pins { + marvell,pins = mpp0, mpp1; + marvell,function = ua0; + }; + + uart1_pins:

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-20 Thread Boris Brezillon
Hi Mark, On Fri, 20 Feb 2015 14:22:08 + Mark Rutland mark.rutl...@arm.com wrote: Hi Boris, On Wed, Feb 11, 2015 at 04:38:23PM +, Boris Brezillon wrote: [...] For the list of impacted drivers, you can have a look at this series [1] (patches 2 to 5), and I'll take care of the

Re: 0.led_name 2.other.led.name in /sysfs Re: [PATCH/RFC v11 01/20] leds: flash: document sysfs interface

2015-02-20 Thread Pavel Machek
On Fri 2015-02-20 07:36:16, Greg KH wrote: On Fri, Feb 20, 2015 at 08:56:11AM +0100, Jacek Anaszewski wrote: On 02/19/2015 10:40 PM, Greg KH wrote: On Thu, Feb 19, 2015 at 11:02:04AM +0200, Sakari Ailus wrote: On Wed, Feb 18, 2015 at 11:47:47PM +0100, Pavel Machek wrote: On Wed

Re: [PATCH v2] ARM: shmobile: r8a7791: add ADSP clocks

2015-02-20 Thread Simon Horman
On Fri, Feb 20, 2015 at 11:02:52PM +0300, Sergei Shtylyov wrote: Hello. On 12/30/2014 11:20 PM, Sergei Shtylyov wrote: Add the ADSP clocks to the CPG and MSTP5 nodes of the R8A7791 device tree. Based on the original patch by Konstantin Kozhevnikov

Re: [PATCH] ARM: shmobile: r8a7790: add ADSP clocks

2015-02-20 Thread Simon Horman
On Fri, Feb 20, 2015 at 11:04:07PM +0300, Sergei Shtylyov wrote: On 12/30/2014 11:21 PM, Sergei Shtylyov wrote: Add the ADSP clocks to the CPG and MSTP5 nodes of the R8A7790 device tree. Based on the original patch by Konstantin Kozhevnikov konstantin.kozhevni...@cogentembedded.com.

Re: [PATCH v2 14/18] ARM: Add STM32 family machine

2015-02-20 Thread Paul Bolle
On Fri, 2015-02-20 at 21:00 +0100, Uwe Kleine-König wrote: On Fri, Feb 20, 2015 at 07:01:13PM +0100, Maxime Coquelin wrote: diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 97d07ed..cfd9532 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -774,6 +774,28 @@ config ARCH_OMAP1

Re: [PATCH v2 04/18] clocksource: Add ARM System timer driver

2015-02-20 Thread Paul Bolle
On Fri, 2015-02-20 at 20:54 +0100, Uwe Kleine-König wrote: On Fri, Feb 20, 2015 at 07:01:03PM +0100, Maxime Coquelin wrote: This patch adds clocksource support for ARMv7-M's System timer, also known as SysTick. Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com ---

Re: [RFC PATCH 1/3] eeprom: Add a simple EEPROM framework

2015-02-20 Thread Rob Herring
On Fri, Feb 20, 2015 at 1:25 PM, Srinivas Kandagatla srinivas.kandaga...@linaro.org wrote: On 20/02/15 17:21, Rob Herring wrote: On Thu, Feb 19, 2015 at 11:08 AM, Srinivas Kandagatla srinivas.kandaga...@linaro.org wrote: From: Maxime Ripard maxime.rip...@free-electrons.com Up until now,

Re: [PATCH 5/6] ASoC: samsung: Extend Snow driver to support max98089

2015-02-20 Thread Mark Brown
On Thu, Feb 19, 2015 at 09:44:08AM -0800, Doug Anderson wrote: On Thu, Feb 19, 2015 at 1:44 AM, Mark Brown broo...@kernel.org wrote: I think what you're suggesting is that here we should add a new compatible string google,snow-audio instead of adding google,snow-audio-max98089 here. Then the

Re: 0.led_name 2.other.led.name in /sysfs Re: [PATCH/RFC v11 01/20] leds: flash: document sysfs interface

2015-02-20 Thread Greg KH
On Fri, Feb 20, 2015 at 08:56:11AM +0100, Jacek Anaszewski wrote: On 02/19/2015 10:40 PM, Greg KH wrote: On Thu, Feb 19, 2015 at 11:02:04AM +0200, Sakari Ailus wrote: On Wed, Feb 18, 2015 at 11:47:47PM +0100, Pavel Machek wrote: On Wed 2015-02-18 17:20:22, Jacek Anaszewski wrote: Add a

Re: [PATCH 2/4] of: DT quirks infrastructure

2015-02-20 Thread Pantelis Antoniou
Hi Peter, On Feb 20, 2015, at 17:00 , Peter Hurley pe...@hurleysoftware.com wrote: On 02/20/2015 09:35 AM, Ludovic Desroches wrote: On Fri, Feb 20, 2015 at 09:21:38AM -0500, Peter Hurley wrote: On 02/19/2015 12:38 PM, Pantelis Antoniou wrote: On Feb 19, 2015, at 19:30 , Frank Rowand

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-20 Thread Mark Rutland
* The pmc looks like it could be a valid use of the new flag. It also seems to function as an irqchip. Do any of its child IRQs need to be handled during the suspend-resume cycle? If so using IRQF_NO_SUSPEND would seem to be valid. No they don't, they are used for clock

Re: [PATCH 09/10] ARM: mvebu: add Device Tree files for Armada 39x SoC and board

2015-02-20 Thread Thomas Petazzoni
Dear Andrew Lunn, On Fri, 20 Feb 2015 15:45:47 +0100, Andrew Lunn wrote: Lets look at this from the perspective of lies, damn lies, and statistics: Kirkwood has a default pinmux configuration in kirkwood.dtsi. Two of the sixty six .dts files overwrite the defaults. Dove has a default

Re: [PATCH 2/4] of: DT quirks infrastructure

2015-02-20 Thread Peter Hurley
On 02/20/2015 09:35 AM, Ludovic Desroches wrote: On Fri, Feb 20, 2015 at 09:21:38AM -0500, Peter Hurley wrote: On 02/19/2015 12:38 PM, Pantelis Antoniou wrote: On Feb 19, 2015, at 19:30 , Frank Rowand frowand.l...@gmail.com wrote: On 2/19/2015 9:00 AM, Pantelis Antoniou wrote: Hi Frank,

Re: [PATCH 2/4] of: DT quirks infrastructure

2015-02-20 Thread Pantelis Antoniou
Hi Peter, On Feb 20, 2015, at 17:24 , Peter Hurley pe...@hurleysoftware.com wrote: On 02/20/2015 10:02 AM, Pantelis Antoniou wrote: Hi Peter, On Feb 20, 2015, at 17:00 , Peter Hurley pe...@hurleysoftware.com wrote: On 02/20/2015 09:35 AM, Ludovic Desroches wrote: On Fri, Feb 20, 2015

Re: [PATCH v4 4/4] phy: add phy-hi6220-usb

2015-02-20 Thread Felipe Balbi
Hi, On Fri, Feb 20, 2015 at 11:44:37PM +0800, zhangfei wrote: Hi, Balbi On 02/20/2015 10:41 PM, Felipe Balbi wrote: +static void hi6220_start_peripheral(struct hi6220_priv *priv, bool on) +{ + struct usb_otg *otg = priv-phy.otg; + + if (!otg-gadget) + return; + + if

Re: 0.led_name 2.other.led.name in /sysfs Re: [PATCH/RFC v11 01/20] leds: flash: document sysfs interface

2015-02-20 Thread Jacek Anaszewski
On 02/20/2015 04:36 PM, Greg KH wrote: On Fri, Feb 20, 2015 at 08:56:11AM +0100, Jacek Anaszewski wrote: On 02/19/2015 10:40 PM, Greg KH wrote: On Thu, Feb 19, 2015 at 11:02:04AM +0200, Sakari Ailus wrote: On Wed, Feb 18, 2015 at 11:47:47PM +0100, Pavel Machek wrote: On Wed 2015-02-18

Re: [PATCH] genirq: fix virtual irq demuxer related comments

2015-02-20 Thread Peter Zijlstra
On Fri, Feb 20, 2015 at 04:12:59PM +, Mark Rutland wrote: Hi Peter, On Tue, Feb 10, 2015 at 04:14:25PM +, Peter Zijlstra wrote: On Tue, Feb 10, 2015 at 04:43:12PM +0100, Boris Brezillon wrote: Replace remaining 'Dumb' occurrences by 'Virtual'. Remove inappropriate notes in

Re: [PATCH 2/4] of: DT quirks infrastructure

2015-02-20 Thread Peter Hurley
On 02/20/2015 10:02 AM, Pantelis Antoniou wrote: Hi Peter, On Feb 20, 2015, at 17:00 , Peter Hurley pe...@hurleysoftware.com wrote: On 02/20/2015 09:35 AM, Ludovic Desroches wrote: On Fri, Feb 20, 2015 at 09:21:38AM -0500, Peter Hurley wrote: On 02/19/2015 12:38 PM, Pantelis Antoniou

Re: [PATCH v4 4/4] phy: add phy-hi6220-usb

2015-02-20 Thread zhangfei
Hi, Balbi On 02/20/2015 10:41 PM, Felipe Balbi wrote: +static void hi6220_start_peripheral(struct hi6220_priv *priv, bool on) +{ + struct usb_otg *otg = priv-phy.otg; + + if (!otg-gadget) + return; + + if (on) + usb_gadget_connect(otg-gadget); +

Re: [PATCH] ARM: dts: OMAP3-N900: Fix offset for smc91x ethernet

2015-02-20 Thread Tony Lindgren
* Pali Rohár pali.ro...@gmail.com [150220 01:56]: On Friday 20 February 2015 10:24:35 Arnd Bergmann wrote: On Thursday 19 February 2015 17:49:50 Pali Rohár wrote: Offset for smc91x must be zero otherwise smc91x linux kernel driver does not detect smc91x ethernet hardware in qemu N900

Re: [PATCH 3/4] arm: am33xx: DT quirks for am33xx based beaglebone variants

2015-02-20 Thread Jon Hunter
On 02/19/2015 06:28 PM, Pantelis Antoniou wrote: Hi Tony, On Feb 19, 2015, at 20:16 , Tony Lindgren t...@atomide.com wrote: * Pantelis Antoniou pantelis.anton...@konsulko.com [150218 07:03]: Implement DT quirks for the am33xx beaglebone boards. --- /dev/null +++

Re: [PATCH] genirq: fix virtual irq demuxer related comments

2015-02-20 Thread Mark Rutland
Hi Peter, On Tue, Feb 10, 2015 at 04:14:25PM +, Peter Zijlstra wrote: On Tue, Feb 10, 2015 at 04:43:12PM +0100, Boris Brezillon wrote: Replace remaining 'Dumb' occurrences by 'Virtual'. Remove inappropriate notes in kerneldoc headers. Signed-off-by: Boris Brezillon

Re: [PATCH 2/4] of: DT quirks infrastructure

2015-02-20 Thread Guenter Roeck
On Fri, Feb 20, 2015 at 09:21:38AM -0500, Peter Hurley wrote: On 02/19/2015 12:38 PM, Pantelis Antoniou wrote: On Feb 19, 2015, at 19:30 , Frank Rowand frowand.l...@gmail.com wrote: On 2/19/2015 9:00 AM, Pantelis Antoniou wrote: Hi Frank, On Feb 19, 2015, at 18:48 , Frank Rowand

Re: [PATCH 2/4] of: DT quirks infrastructure

2015-02-20 Thread Pantelis Antoniou
Hi Peter, On Feb 20, 2015, at 18:34 , Peter Hurley pe...@hurleysoftware.com wrote: On 02/20/2015 10:38 AM, Pantelis Antoniou wrote: Hi Peter, On Feb 20, 2015, at 17:24 , Peter Hurley pe...@hurleysoftware.com wrote: On 02/20/2015 10:02 AM, Pantelis Antoniou wrote: Hi Peter, On Feb

[PATCHv2 11/15] clk: mvebu: add Marvell Armada 39x driver

2015-02-20 Thread Thomas Petazzoni
This commit adds a new clock driver for the Marvell Armada 39x family of processors. This driver is fairly similar to the ones already used on other Marvell EBU processors, with the following main differences: * Different set of ratios * Different set of core clocks * Configurable reference

[PATCHv2 01/15] ARM: mvebu: add __initconst specifiers on DT_MACHINE_START dt_compat tables

2015-02-20 Thread Thomas Petazzoni
As suggested by Stephen Boyd, this commit adds the __initconst specifier to the dt_compat table declarations used by the DT_MACHINE_START structures in mach-mvebu land. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- arch/arm/mach-mvebu/board-v7.c | 6 +++---

[PATCHv2 08/15] devicetree: bindings: add Device Tree bindings for Armada 39x pin-muxing controller

2015-02-20 Thread Thomas Petazzoni
This commit adds the Device Tree binding documentation to describe the pin-muxing controller of the Marvell Armada 39x processors. Two variants are supported for the moment: the 88F6920 (Armada 390) and 88F6928 (Armada 398). Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com ---

[PATCHv2 09/15] devicetree: bindings: add new SMP enable method for Marvell Armada 39x

2015-02-20 Thread Thomas Petazzoni
This commit updates the ARM CPUs Device Tree binding to document a new enable method of Marvell Armada 39x processors. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- Documentation/devicetree/bindings/arm/cpus.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCHv2 10/15] clk: mvebu: extend common code to allow an optional refclk

2015-02-20 Thread Thomas Petazzoni
The Armada 39x, contrary to its predecessor, has a configurable reference clock frequency, of either 25 Mhz, or 40 Mhz. For the previous SoCs, it was fixed to 25 Mhz and described directly as such in the Device Tree. For Armada 39x, we need to read certain registers to know whether the frequency

[PATCHv2 12/15] pinctrl: mvebu: add pinctrl driver for Marvell Armada 39x

2015-02-20 Thread Thomas Petazzoni
This commit adds a new pinctrl driver for the Marvell Armada 39x family of processors, which hooks into the existing infrastructure to support pin-muxing on Marvell EBU processors. Two variants of the Armada 39x are supported: 88F6920 (Armada 390) and 88F6928 (Armada 398), which have a few

Re: [PATCH 2/4] of: DT quirks infrastructure

2015-02-20 Thread Peter Hurley
On 02/20/2015 10:38 AM, Pantelis Antoniou wrote: Hi Peter, On Feb 20, 2015, at 17:24 , Peter Hurley pe...@hurleysoftware.com wrote: On 02/20/2015 10:02 AM, Pantelis Antoniou wrote: Hi Peter, On Feb 20, 2015, at 17:00 , Peter Hurley pe...@hurleysoftware.com wrote: On 02/20/2015 09:35 AM,

[PATCHv2 04/15] ARM: mvebu: use IRQ macros to define the SDHCI interrupt on Armada 38x

2015-02-20 Thread Thomas Petazzoni
The Armada 38x SDHCI controller definition in the SoC Device Tree file is using hardcoded values instead of the nice GIC and IRQ macros provided by DT header files. This commit fixes that, which allows the SDHCI interrupt definition to be consistent with was is done in the rest of the file.

[PATCHv2 03/15] ARM: mvebu: add missing UART alias on Armada 38x

2015-02-20 Thread Thomas Petazzoni
The Armada 38x had an alias for UART0, but not UART1. This commit fixes that. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- arch/arm/boot/dts/armada-38x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/armada-38x.dtsi

[PATCHv2 02/15] ARM: mvebu: fix usb@ unit address on Armada 38x to match register address

2015-02-20 Thread Thomas Petazzoni
On Marvell Armada 38x, the USB2 controller registers are at 0x58000, so the corresponding Device Tree node should have a unit address of 58000, and not 5. We were using 5 due to an incorrect copy/pastebin of Armada 370/XP code. Signed-off-by: Thomas Petazzoni

Re: [RFC PATCH 1/3] eeprom: Add a simple EEPROM framework

2015-02-20 Thread Rob Herring
On Thu, Feb 19, 2015 at 11:08 AM, Srinivas Kandagatla srinivas.kandaga...@linaro.org wrote: From: Maxime Ripard maxime.rip...@free-electrons.com Up until now, EEPROM drivers were stored in drivers/misc, where they all had to duplicate pretty much the same code to register a sysfs file, allow

[PATCHv2 07/15] devicetree: bindings: update DT bindings for Marvell EBU clock support

2015-02-20 Thread Thomas Petazzoni
With the introduction of the Marvell Armada 39x SoC, the DT bindings for Marvell EBU clocks need to be extended. This commit include the corresponding update to the Device Tree bindings documentation. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com ---

[PATCHv2 14/15] ARM: mvebu: add Device Tree files for Armada 39x SoC and board

2015-02-20 Thread Thomas Petazzoni
This commit adds the Device Tree files for the Armada 39x family of processors, as well as one Armada 398 Development Board. Like for other Marvell EBU families, a common armada-39x.dtsi contains the description of the common features of all Armada 39x SoCs, while armada-390.dtsi and

[PATCHv2 05/15] ARM: mvebu: add stdout-path to all armada-*.dts

2015-02-20 Thread Thomas Petazzoni
This commit adds the stdout-path property in /chosen for all Armada boards that were not yet carrying this property. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- arch/arm/boot/dts/armada-370-db.dts | 1 + arch/arm/boot/dts/armada-370-mirabox.dts |

[PATCHv2 13/15] ARM: mvebu: add core support for Armada 39x

2015-02-20 Thread Thomas Petazzoni
This commit adds the core support for Armada 39x, which is quite simple: - a new Kconfig option which selects the appropriate clock and pinctrl drivers as well as other common features (GIC, L2 cache, SMP, etc.) - a new DT_MACHINE_START which references the top-level compatible

[PATCHv2 06/15] devicetree: bindings: add DT binding for the Marvell Armada 39x SoC family

2015-02-20 Thread Thomas Petazzoni
The Marvell Armada 39x is a family of two SoCs: the Armada 390 and the Armada 398, with a slightly different number of interfaces. This commit introduces the Device Tree binding that documents the top-level compatible strings for Armada 39x based platforms. Signed-off-by: Thomas Petazzoni

[PATCHv2 00/15] ARM: mvebu: Armada 39x basic support, and preparatory cleanups

2015-02-20 Thread Thomas Petazzoni
Hello, This is the second version of the patch series adding Armada 39x basic support. This set of patches add basic support for a new family of Marvell EBU processors: the Armada 39x. They are based on Cortex-A9 (like Armada 375 and 38x) and the most important new feature is probably the

[PATCHv2 15/15] Documentation: arm: update supported Marvell EBU processors

2015-02-20 Thread Thomas Petazzoni
Now that we support Armada 39x, let's add this family of SoC to the Marvell documentation, and a reference to a link with more details about those processors. Unfortunately, no datasheet is publicly available at this time. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com ---

Re: [PATCH 2/4] of: DT quirks infrastructure

2015-02-20 Thread Rob Herring
On Fri, Feb 20, 2015 at 8:35 AM, Ludovic Desroches ludovic.desroc...@atmel.com wrote: On Fri, Feb 20, 2015 at 09:21:38AM -0500, Peter Hurley wrote: On 02/19/2015 12:38 PM, Pantelis Antoniou wrote: On Feb 19, 2015, at 19:30 , Frank Rowand frowand.l...@gmail.com wrote: On 2/19/2015 9:00

Re: [PATCH 2/4] of: DT quirks infrastructure

2015-02-20 Thread Pantelis Antoniou
Hi Rob, On Feb 20, 2015, at 19:30 , Rob Herring robherri...@gmail.com wrote: On Fri, Feb 20, 2015 at 8:35 AM, Ludovic Desroches ludovic.desroc...@atmel.com wrote: On Fri, Feb 20, 2015 at 09:21:38AM -0500, Peter Hurley wrote: On 02/19/2015 12:38 PM, Pantelis Antoniou wrote: On Feb 19,

Re: [RFC PATCH 2/3] eeprom: sunxi: Move the SID driver to the eeprom framework

2015-02-20 Thread Russell King - ARM Linux
On Thu, Feb 19, 2015 at 05:08:40PM +, Srinivas Kandagatla wrote: +static int sunxi_sid_probe(struct platform_device *pdev) +{ + const struct of_device_id *device; + struct eeprom_sid *sid; + struct resource *res; + struct eeprom_device *eeprom; + struct device *dev =

Re: [RFC PATCH 1/3] eeprom: Add a simple EEPROM framework

2015-02-20 Thread Russell King - ARM Linux
On Thu, Feb 19, 2015 at 05:08:28PM +, Srinivas Kandagatla wrote: +static struct class eeprom_class = { + .name = eeprom, + .dev_groups = eeprom_dev_groups, +}; + +int eeprom_register(struct eeprom_device *eeprom) +{ + int rval; + + if (!eeprom-regmap ||

[PATCH v2 00/18] Add support to STMicroelectronics STM32 family

2015-02-20 Thread Maxime Coquelin
Thanks for the first round of reviews. Most of the comments made have been taken into account (see below for details), except that I failed to find an easy/clean way to move vector_table location in order to limit the waste of memory. If you have any idea/example to do that, I will be pleased to

[PATCH v2 11/18] pinctrl: Add pinctrl driver for STM32 MCUs

2015-02-20 Thread Maxime Coquelin
This driver adds pinctrl and GPIO support to STMicrolectronic's STM32 family of MCUs. Pin muxing and GPIO handling have been tested on STM32F429 based Discovery board. Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- drivers/pinctrl/Kconfig | 10 +

[PATCH v2 16/18] ARM: dts: Introduce STM32F429 MCU

2015-02-20 Thread Maxime Coquelin
The STMicrolectornics's STM32F419 MCU has the following main features: - Cortex-M4 core running up to @180MHz - 2MB internal flash, 256KBytes internal RAM - FMC controller to connect SDRAM, NOR and NAND memories - SD/MMC/SDIO support - Ethernet controller - USB OTFG FS HS controllers -

[PATCH v2 18/18] MAINTAINERS: Add entry for STM32 MCUs

2015-02-20 Thread Maxime Coquelin
Add a MAINTAINER entry covering all STM32 machine and drivers files. Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d66a97d..559cd45 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@

[PATCH v2 12/18] dt-bindings: Document the STM32 USART bindings

2015-02-20 Thread Maxime Coquelin
This adds documentation of device tree bindings for the STM32 USART Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- .../devicetree/bindings/serial/st,stm32-usart.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644

Re: [PATCH 2/4] of: DT quirks infrastructure

2015-02-20 Thread Peter Hurley
Hi Guenter, On 02/20/2015 11:47 AM, Guenter Roeck wrote: [...] I am open to hearing your suggestions for our use case, where the CPU card with the eeprom is manufactured separately from its carier cards. I think your use case may be more compelling than two flavors of Beaglebone (one of

Re: [PATCHv2 10/15] clk: mvebu: extend common code to allow an optional refclk

2015-02-20 Thread Mike Turquette
Quoting Thomas Petazzoni (2015-02-20 09:04:29) The Armada 39x, contrary to its predecessor, has a configurable reference clock frequency, of either 25 Mhz, or 40 Mhz. For the previous SoCs, it was fixed to 25 Mhz and described directly as such in the Device Tree. For Armada 39x, we need to

Re: [RFC PATCH 3/3] eeprom: qfprom: Add Qualcomm QFPROM support.

2015-02-20 Thread Russell King - ARM Linux
On Thu, Feb 19, 2015 at 05:08:51PM +, Srinivas Kandagatla wrote: +static int qfprom_remove(struct platform_device *pdev) +{ + struct eeprom_device *eeprom = platform_get_drvdata(pdev); + + return eeprom_unregister(eeprom); Same problem... +static int qfprom_probe(struct

[PATCH v2 10/18] dt-bindings: Document the STM32 pin controller

2015-02-20 Thread Maxime Coquelin
This adds documentation of device tree bindings for the STM32 pin controller. Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- .../devicetree/bindings/pinctrl/pinctrl-stm32.txt | 99 ++ 1 file changed, 99 insertions(+) create mode 100644

[PATCH v2 15/18] ARM: dts: Add ARM System timer as clockevent in armv7m

2015-02-20 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- arch/arm/boot/dts/armv7-m.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/armv7-m.dtsi b/arch/arm/boot/dts/armv7-m.dtsi index 5a660d0..78a0549 100644 --- a/arch/arm/boot/dts/armv7-m.dtsi +++

[PATCH v2 02/18] ARM: ARMv7M: Enlarge vector table to 256 entries

2015-02-20 Thread Maxime Coquelin
From Cortex-M reference manuals, the nvic supports up to 240 interrupts. So the number of entries in vectors table is up to 256. This patch adds a new config flag to specify the number of external interrupts. Some ifdeferies are added in order to respect the natural alignment without wasting too

[PATCH v2 01/18] scripts: link-vmlinux: Don't pass page offset to kallsyms if XIP Kernel

2015-02-20 Thread Maxime Coquelin
When Kernel is executed in place from ROM, the symbol addresses can be lower than the page offset. Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- scripts/link-vmlinux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/link-vmlinux.sh

[PATCH v2 03/18] dt-bindings: Document the ARM System timer bindings

2015-02-20 Thread Maxime Coquelin
This adds documentation of device tree bindings for the ARM System timer. Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- .../devicetree/bindings/arm/armv7m_systick.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644

[PATCH v2 06/18] dt-bindings: Document the STM32 reset bindings

2015-02-20 Thread Maxime Coquelin
This adds documentation of device tree bindings for the STM32 reset controller. Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- .../devicetree/bindings/reset/st,stm32-reset.txt | 36 ++ 1 file changed,

[PATCH v2 04/18] clocksource: Add ARM System timer driver

2015-02-20 Thread Maxime Coquelin
This patch adds clocksource support for ARMv7-M's System timer, also known as SysTick. Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- drivers/clocksource/Kconfig | 7 drivers/clocksource/Makefile | 1 + drivers/clocksource/armv7m_systick.c | 78

[PATCH v2 09/18] clockevent: Add STM32 Timer driver

2015-02-20 Thread Maxime Coquelin
STM32 MCUs feature 16 and 32 bits general purpose timers with prescalers. The drivers detects whether the time is 16 or 32 bits, and applies a 1024 prescaler value if it is 16 bits. Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- drivers/clocksource/Kconfig | 9 ++

Re: [PATCH 2/4] of: DT quirks infrastructure

2015-02-20 Thread Guenter Roeck
On Fri, Feb 20, 2015 at 01:09:58PM -0500, Peter Hurley wrote: Hi Guenter, On 02/20/2015 11:47 AM, Guenter Roeck wrote: [...] I am open to hearing your suggestions for our use case, where the CPU card with the eeprom is manufactured separately from its carier cards. I think your

[PATCH v2 17/18] ARM: configs: Add STM32 defconfig

2015-02-20 Thread Maxime Coquelin
This patch adds a new config for STM32 MCUs. STM32F429 Discovery board boots successfully with this config applied. Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- arch/arm/configs/stm32_defconfig | 72 1 file changed, 72 insertions(+)

  1   2   >