Re: [PATCH v4 07/11] ARM: allow MULTIPLATFORM with !MMU

2015-04-03 Thread Stefan Agner
On 2015-04-03 22:09, Russell King - ARM Linux wrote: > On Fri, Apr 03, 2015 at 09:44:48PM +0200, Stefan Agner wrote: >> In order to support SoC with heterogenous CPU architectures (such >> as Freescale Vybrid/i.MXSX) it is preferable to use the same >> architecture (ARCH_MXC in this case) for the M

[PATCH 1/2] soc: qcom: Add device tree binding for SMEM

2015-04-03 Thread Bjorn Andersson
Add device tree binding documentation for the Qualcom Shared Memory manager. Signed-off-by: Bjorn Andersson --- .../devicetree/bindings/soc/qcom/qcom,smem.txt | 49 ++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,sme

Re: [PATCH v5 08/15] clockevents/drivers: Add STM32 Timer driver

2015-04-03 Thread Andy Shevchenko
On Sat, Apr 4, 2015 at 1:09 AM, Andy Shevchenko wrote: > On Fri, Apr 3, 2015 at 8:01 PM, Maxime Coquelin > wrote: >> 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 1

Re: [PATCH v5 08/15] clockevents/drivers: Add STM32 Timer driver

2015-04-03 Thread Andy Shevchenko
On Fri, Apr 3, 2015 at 8:01 PM, Maxime Coquelin wrote: > 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. > Few comments below. > Reviewed-by: Linus Walleij >

Re: [PATCH v5 10/15] serial: stm32-usart: Add STM32 USART Driver

2015-04-03 Thread Andy Shevchenko
On Fri, Apr 3, 2015 at 8:01 PM, Maxime Coquelin wrote: > This drivers adds support to the STM32 USART controller, which is a > standard serial driver. > Few minor comments. > Tested-by: Chanwoo Choi > Signed-off-by: Maxime Coquelin > --- > drivers/tty/serial/Kconfig | 17 + > drivers/t

Re: [PATCH v18 01/11] ARM: qcom: Add Subsystem Power Manager (SPM) driver

2015-04-03 Thread Kevin Hilman
Lina Iyer writes: > SPM is a hardware block that controls the peripheral logic surrounding > the application cores (cpu/l$). When the core executes WFI instruction, > the SPM takes over the putting the core in low power state as > configured. The wake up for the SPM is an interrupt at the GIC, wh

Re: [PATCHv6] media: i2c/adp1653: Documentation for devicetree support for adp1653

2015-04-03 Thread Sakari Ailus
On Fri, Apr 03, 2015 at 10:26:24PM +0200, Pavel Machek wrote: > > > + - power-gpios: Reference to the GPIO that controls the power for the > > > chip. > > > > You're using power-gpios in documentation only. > > Which is ok, because generic code adds "-gpios" itself. Do you think you need this

Re: [PATCHv6] media: i2c/adp1653: Documentation for devicetree support for adp1653

2015-04-03 Thread Sakari Ailus
Hi Pavel, On Fri, Apr 03, 2015 at 10:26:24PM +0200, Pavel Machek wrote: > > Documentation for adp1653 binding. > > --- > > > Please split this as Javier suggested. I'd think both could go through > > the media-tree unless someone objects. > > Please apply. > > > > + - power-gpios: Reference

Re: [PATCHv3] media: i2c/adp1653: devicetree support for adp1653

2015-04-03 Thread Sakari Ailus
On Fri, Apr 03, 2015 at 10:29:53PM +0200, Pavel Machek wrote: > On Fri 2015-04-03 14:23:56, Sakari Ailus wrote: > > Hi Pavel, > > > > On Fri, Apr 03, 2015 at 10:23:44AM +0200, Pavel Machek wrote: > > > Hi! > > > > > > > Hi Pawel, > > > > > > I'm still Pavel. v, not w. > > > > I know too many Pa

[PATCH 6/6] ARM: dts: lpc4357-ea4357: add pinctrl and uart0 muxing

2015-04-03 Thread Joachim Eastwood
Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc4357-ea4357.dts | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/lpc4357-ea4357.dts b/arch/arm/boot/dts/lpc4357-ea4357.dts index 39340e355b0a..c2b85f8e6e31 100644 --- a/arch/arm/boot/dts/lpc4357-ea

[PATCH 3/6] gpio: add lpc18xx gpio driver

2015-04-03 Thread Joachim Eastwood
Driver for the GPIO block found on NXP LPC18xx/43xx devices. The GPIO block is divided into 8 ports which each support up to 32 gpios. The which gpios that are available depends on the specific device and it's package. Signed-off-by: Joachim Eastwood --- drivers/gpio/Kconfig| 8 ++ dr

[PATCH 0/6] pinctrl and gpio drivers for NXP LPC18xx family

2015-04-03 Thread Joachim Eastwood
This patch set adds drivers for pinctrl and gpio on NXP LPC18xx/43xx devices. Patchset is based on Linus master 4.0-rc6. The pinctrl driver uses the generic muxing and properties DT bindings as described in pinctrl-bindings.txt. There is still two TODOs left in the pinctrl driver regarding propert

[PATCH 2/6] doc: dt: add documentation for lpc1850-scu pinctrl driver

2015-04-03 Thread Joachim Eastwood
Signed-off-by: Joachim Eastwood --- .../bindings/pinctrl/nxp,lpc1850-scu.txt | 57 ++ 1 file changed, 57 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/nxp,lpc1850-scu.txt diff --git a/Documentation/devicetree/bindings/pinctrl/nxp,lpc18

[PATCH 5/6] ARM: dts: lpc18xx: add pinctrl and gpio nodes

2015-04-03 Thread Joachim Eastwood
Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc18xx.dtsi | 57 ++ 1 file changed, 57 insertions(+) diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot/dts/lpc18xx.dtsi index 8e9f51c88fad..e0099a7793b9 100644 --- a/arch/arm/boot/dts/lpc18x

[PATCH 4/6] doc: dt: add documentation for lpc1850-gpio driver

2015-04-03 Thread Joachim Eastwood
Signed-off-by: Joachim Eastwood --- .../devicetree/bindings/gpio/nxp,lpc1850-gpio.txt | 23 ++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/nxp,lpc1850-gpio.txt diff --git a/Documentation/devicetree/bindings/gpio/nxp,lpc1850-gpi

[PATCH 1/6] pinctrl: add lpc18xx pinctrl driver

2015-04-03 Thread Joachim Eastwood
Pinctrl driver for the System Control Unit (SCU) found on NXP LPC18xx/43xx devices. Driver uses the generic pinctrl DT bindings for multiplexing and property settings. Signed-off-by: Joachim Eastwood --- drivers/pinctrl/Kconfig |8 + drivers/pinctrl/Makefile |1 + dri

Re: [PATCHv5] media: i2c/adp1653: devicetree support for adp1653

2015-04-03 Thread Pavel Machek
Hi! > > + pd->max_flash_intensity = val/1000; > > + > > + if (of_property_read_u32(child, "max-microamp", &val)) > > + return -EINVAL; > > + pd->max_torch_intensity = val/1000; > > I think you need to do of_node_put(child) here and after you're done with > indicator below. ...and

[PATCH v3 0/3] spi: fsl-dspi (vf610) clock fixes

2015-04-03 Thread Aaron Brice
We were having intermittent problems writing to SRAM chip on SPI bus on vf610 SoM. Added support for CS setup and hold times to meet the SRAM spec. In the process noticed that the baud rate was a little high. Changes since v2: * Incorporate fixes per Stefen Agner review, namely moved hard-coded

[PATCH v3 3/3] spi: fsl-dspi: Add ~50ns delay between cs and sck

2015-04-03 Thread Aaron Brice
Add delay between chip select and clock signals, before clock starts and after clock stops. Signed-off-by: Aaron Brice --- drivers/spi/spi-fsl-dspi.c | 64 +++--- 1 file changed, 60 insertions(+), 4 deletions(-) diff --git a/drivers/spi/spi-fsl-dspi.c b/d

[PATCH v3 1/3] spi: fsl-dspi: Fix clock rate scale values

2015-04-03 Thread Aaron Brice
Previous algorithm had an outer loop with the values {2,3,5,7} and an inner loop with {2,4,6,8,16,32,...,32768}, and would pick the first value over the required scaling value (where the total scale was the two numbers multiplied). Since the inner loop went up to 32768 it would always pick a value

[PATCH v3 2/3] devicetree: spi: fsl-dspi: Add cs-sck delays

2015-04-03 Thread Aaron Brice
Adding fsl,spi-cs-sck-delay and fsl,spi-sck-cs-delay properties to support delays before and after starting the clock in a transfer. Signed-off-by: Aaron Brice --- Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/dev

Re: [PATCH 2/3] sparc/PCI: Add mem64 resource parsing for root bus

2015-04-03 Thread Bjorn Helgaas
[+cc Ben, linuxppc-dev, Grant, Rob, devicetree] On Tue, Mar 31, 2015 at 07:57:48PM -0700, Yinghai Lu wrote: > Found "no compatible bridge window" warning in boot log from T5-8. > > pci :00:01.0: can't claim BAR 15 [mem 0x1-0x4afff pref]: no > compatible bridge window > > That re

Re: [PATCH v4 01/12] DT: leds: Improve description of flash LEDs related properties

2015-04-03 Thread Pavel Machek
Hi! > >>+- flash-timeout-us : Timeout in microseconds after which the flash > >>+ LED is turned off. If omitted this will default to the > >>+maximum timeout allowed by the device. > >> > >> > >> Examples: > > > >Pavel pointed out that the brightness between ma

Re: [PATCHv3] media: i2c/adp1653: devicetree support for adp1653

2015-04-03 Thread Pavel Machek
On Fri 2015-04-03 14:23:56, Sakari Ailus wrote: > Hi Pavel, > > On Fri, Apr 03, 2015 at 10:23:44AM +0200, Pavel Machek wrote: > > Hi! > > > > > Hi Pawel, > > > > I'm still Pavel. v, not w. > > I know too many Pawels. Sorry about that. :-) > > > I guess it uses adp1653_id_table. I'd hade to ad

[PATCHv6] media: i2c/adp1653: Documentation for devicetree support for adp1653

2015-04-03 Thread Pavel Machek
Documentation for adp1653 binding. --- > Please split this as Javier suggested. I'd think both could go through > the media-tree unless someone objects. Please apply. > > + - power-gpios: Reference to the GPIO that controls the power for the > > chip. > > You're using power-gpios in documen

Re: [PATCH v4 07/11] ARM: allow MULTIPLATFORM with !MMU

2015-04-03 Thread Russell King - ARM Linux
On Fri, Apr 03, 2015 at 09:44:48PM +0200, Stefan Agner wrote: > In order to support SoC with heterogenous CPU architectures (such > as Freescale Vybrid/i.MXSX) it is preferable to use the same > architecture (ARCH_MXC in this case) for the MMU enabled and !MMU > CPU. Hence allow to select MULTIPLAT

Re: [PATCH v2 2/4] staging/nvec: reimplement on top of tegra i2c driver

2015-04-03 Thread Wolfram Sang
> +/** > + * nvec_slave_cb - I2C slave callback > + * > + * This callback fills our RX buffers and empties our TX > + * buffers. This uses a finite state machine. > + */ > +static int nvec_slave_cb(struct i2c_client *client, > + enum i2c_slave_event event, u8 *val) > +{ > + struct n

Re: [PATCH v2] coresight: adding basic support for Spreadtrum SC9836

2015-04-03 Thread Olof Johansson
On Wed, Mar 25, 2015 at 08:52:11PM +0800, Chunyan Zhang wrote: > Support only for ETF, FUNNEL, STM are included currently. > Support for ETM, TPIU and the replicator linked to it are not included in > this version patch. > > Signed-off-by: Chunyan Zhang > --- > Change for v2: > - Corrected the T

[PATCH v4 10/11] ARM: dts: add support for Vybrid running on Cortex-M4

2015-04-03 Thread Stefan Agner
This adds an initial device tree to run Linux on the Cortex-M4 on the Vybrid based Colibri VF61 module. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/vf610m4-colibri.dts | 98 +++ arch/arm/boot/dts/vf610m4.dtsi

[PATCH v4 08/11] ARM: efm32: move into multiplatform

2015-04-03 Thread Stefan Agner
From: Arnd Bergmann Since the multiplatform configuration can support no-MMU kernels now, there is nothing stopping us from moving the efm32 platform in there as well. This introduces a new ARCH_MULTI_V7M CPU architecture selection option, since v7-M is incompatible with v7-A, and we can have eit

[PATCH v4 06/11] ARM: unify MMU/!MMU addruart calls

2015-04-03 Thread Stefan Agner
Remove the needless differences between MMU/!MMU addruart calls. This allows to use the same addruart macro on SoC level. Useful for SoC consisting of multiple CPUs with and without MMU such as Freescale Vybrid. Signed-off-by: Stefan Agner --- arch/arm/include/debug/efm32.S | 2 +- arch/arm/kern

[PATCH v4 11/11] ARM: vf610m4: add defconfig for Linux on Vybrids Cortex-M4

2015-04-03 Thread Stefan Agner
Add defconfig for Linux on Vybrid (vf610) on the secondary Cortex- M4 CPU. The use of a XIP image has been tested which needs to be loaded (e.g. using the custom m4boot loader) to the end of the available RAM at address 0x8f00. The Cortex-M4 has a code-alias which makes sure that the instructio

[PATCH v4 05/11] clocksource: add dependencies for Vybrid pit clocksource

2015-04-03 Thread Stefan Agner
Add the minimal dependencies required to use the Vybrid PIT clocksource driver. Those are not part of the SoC dependencies. Acked-by: Daniel Lezcano Signed-off-by: Stefan Agner --- drivers/clocksource/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clocksource/Kconfig b/dr

Re: [PATCH v2 0/4] arm: tegra: implement NVEC driver using tegra i2c.

2015-04-03 Thread Wolfram Sang
On Mon, Mar 30, 2015 at 11:00:11PM +0300, Andrey Danin wrote: > NVEC driver contains code to manage tegra i2c controller in slave mode. > I2C slave support was implemented in linux kernel. The goal of this > patch serie is to implement I2C slave mode in tegra drived and rework > NVEC driver to use

Re: [PATCH v2 1/4] i2c: tegra: implement slave mode

2015-04-03 Thread Wolfram Sang
> +static void tegra_i2c_slave_write(struct tegra_i2c_dev *i2c_dev, u32 val) > +{ > + i2c_writel(i2c_dev, val, I2C_SL_RCVD); > + > + /* > + * TODO: A correct fix needs to be found for this. > + * > + * We experience less incomplete messages with this delay than without > +

[PATCH v4 03/11] irqchip: vf610-mscm: support NVIC parent

2015-04-03 Thread Stefan Agner
Support the NVIC interrupt controller as node parent of the MSCM interrupt router. On the dual-core variants of Vybird (VF6xx), the NVIC interrupt controller is used by the Cortex-M4. To support running Linux on this core too, MSCM needs NVIC parent support too. Signed-off-by: Stefan Agner --- d

[PATCH v4 04/11] ARM: ARMv7M: define size of vector table for Vybrid

2015-04-03 Thread Stefan Agner
Vybrids has 112 peripherial interrupts which can be routed to the Cortex-M4's NVIC interrupt controller. Signed-off-by: Stefan Agner --- arch/arm/mm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index 16d077e..8eebc0d 100644 --- a/arch/arm/

[PATCH v4 02/11] irqchip: nvic: support hierarchy irq domain

2015-04-03 Thread Stefan Agner
Add support for hierarchy irq domains. This is required to stack the MSCM interrupt router and the NVIC controller found in Vybrid SoC. Signed-off-by: Stefan Agner --- drivers/irqchip/Kconfig| 1 + drivers/irqchip/irq-nvic.c | 28 +++- 2 files changed, 28 insertions(

[PATCH v4 01/11] genirq: generic chip: support hierarchy domain

2015-04-03 Thread Stefan Agner
Use the new helper function irq_domain_set_info to make sure the function irq_domain_set_hwirq_and_chip is being called, which is crucial to save irqdomain specific data to irq_data. Signed-off-by: Stefan Agner --- kernel/irq/generic-chip.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions

[PATCH v4 09/11] ARM: vf610: enable Cortex-M4 on Vybrid SoC

2015-04-03 Thread Stefan Agner
This patch allows to build the Kernel for Vybrid (VF6xx) SoC when ARMv7-M CPU is selected. The resulting image runs on the secondary Cortex-M4 core. This core has equally access to all peripherals as the main Cortex-A5 core. However, there is no resource control mechanism, hence when both cores are

[PATCH v4 07/11] ARM: allow MULTIPLATFORM with !MMU

2015-04-03 Thread Stefan Agner
In order to support SoC with heterogenous CPU architectures (such as Freescale Vybrid/i.MXSX) it is preferable to use the same architecture (ARCH_MXC in this case) for the MMU enabled and !MMU CPU. Hence allow to select MULTIPLATFORM even without MMU. Signed-off-by: Stefan Agner --- arch/arm/Kco

[PATCH v4 00/11] ARM: vf610m4: Add Vybrid Cortex-M4 support

2015-04-03 Thread Stefan Agner
The fourth version has one small fix in the MSCM IR driver and one dependency fix. Like version 3 of the patchset, it does not contain the interrupt router driver anymore (MSCM IR). The driver has been merged inbetween: https://lkml.org/lkml/2015/3/8/6 This patchset extends the NVIC driver to sup

Re: [PATCH/RFC 0/6] staging: board: armadillo800eva: Board staging for sh_mobile_lcdc_fb

2015-04-03 Thread Geert Uytterhoeven
Hi Laurent, On Fri, Apr 3, 2015 at 6:24 PM, Laurent Pinchart wrote: > On Friday 03 April 2015 14:41:57 Geert Uytterhoeven wrote: >> This RFC patch series adds board staging support for r8a7740/armadillo. >> For now this supports only the frame buffer device for the on-board LCD. > > I've started

Re: [PATCH 0/2] Cygnus Audio Driver

2015-04-03 Thread Scott Branden
Hi Mark, On 15-03-30 11:43 PM, Mark Brown wrote: On Mon, Mar 30, 2015 at 08:16:22PM -0700, Scott Branden wrote: The audio PLL is embedded in the audio block and only used by the audio block. The audio PLL registers are also in the middle of the audio register map. When you say it's only use

Re: [PATCH_V3 0/2] i2c: jz4780: Add Ingenic JZ4780 i2c driver

2015-04-03 Thread Wolfram Sang
On Tue, Mar 31, 2015 at 02:03:54PM +0100, Zubair Lutfullah Kakakhel wrote: > Hi, > > Here we have two patches that add support for the i2c > controller present in the Ingenic JZ4780. > > Driver tested on the MIPS Creator CI20. > > V2 - > V3 > Fixes based on feedback from Wolfram Sang. Thank-you.

Re: [PATCH] arm64: dts: Add Qualcomm APQ8016 SBC evaluation board dts

2015-04-03 Thread Olof Johansson
On Fri, Apr 3, 2015 at 12:13 PM, Kumar Gala wrote: > > On Apr 3, 2015, at 1:18 PM, Olof Johansson wrote: > >> On Fri, Apr 03, 2015 at 11:14:01AM -0700, Olof Johansson wrote: >>> On Fri, Apr 03, 2015 at 11:12:17AM -0700, Olof Johansson wrote: On Mon, Mar 23, 2015 at 05:51:05PM -0500, Kumar Ga

Re: [PATCH] arm64: dts: Add Qualcomm APQ8016 SBC evaluation board dts

2015-04-03 Thread Kumar Gala
On Apr 3, 2015, at 1:18 PM, Olof Johansson wrote: > On Fri, Apr 03, 2015 at 11:14:01AM -0700, Olof Johansson wrote: >> On Fri, Apr 03, 2015 at 11:12:17AM -0700, Olof Johansson wrote: >>> On Mon, Mar 23, 2015 at 05:51:05PM -0500, Kumar Gala wrote: Add initial device tree support for Qualcomm

Re: [PATCH 1/5] MFD/OF: document MFD devices and handle simple-mfd

2015-04-03 Thread Olof Johansson
Hi, I understand this is bikeshedding to some extent, but I'd also like to avoid needless variation in binding formats: On Tue, Mar 3, 2015 at 1:32 AM, Linus Walleij wrote: > + > +foo@1000 { > + compatible = "syscon", "simple-mfd"; > + reg = <0x01 0x1000>; > + >

Re: [PATCH V2 1/3] i2c: busses: add SLIMpro I2C device driver on APM X-Gene platform

2015-04-03 Thread Wolfram Sang
> >> + paddr = dma_map_single(ctx->dev, ctx->dma_buffer, readlen, > >> +DMA_FROM_DEVICE); > > > > The device should be the device of the dma channel. > > The device is not visible on linux, DMA is done by the helper processor. > Perhaps you cah give me some idea how

Re: [PATCH] arm64: dts: Add Qualcomm APQ8016 SBC evaluation board dts

2015-04-03 Thread Olof Johansson
On Fri, Apr 03, 2015 at 11:14:01AM -0700, Olof Johansson wrote: > On Fri, Apr 03, 2015 at 11:12:17AM -0700, Olof Johansson wrote: > > On Mon, Mar 23, 2015 at 05:51:05PM -0500, Kumar Gala wrote: > > > Add initial device tree support for Qualcomm APQ8016 SBC Evaluation board. > > > This board is also

Re: [PATCH v3 1/4] i2c: mux-pinctrl: Rework to honor disabled child nodes

2015-04-03 Thread Wolfram Sang
> While thinking about it (and I still think of it as a 'big issue' > compared to the intention of the initial patch) I came to the > conclusion that I should maybe just go for a board-specific > i2c-mux-pinctrl node instead of adding it to the SoC dtsi. That will > also avoid doubled i2c busses o

Re: [PATCH] arm64: dts: Add Qualcomm APQ8016 SBC evaluation board dts

2015-04-03 Thread Olof Johansson
On Fri, Apr 03, 2015 at 11:12:17AM -0700, Olof Johansson wrote: > On Mon, Mar 23, 2015 at 05:51:05PM -0500, Kumar Gala wrote: > > Add initial device tree support for Qualcomm APQ8016 SBC Evaluation board. > > This board is also referred to as the DragonBoard 410c. > > > > Signed-off-by: Kumar Gala

Re: [PATCH] arm64: dts: Add Qualcomm APQ8016 SBC evaluation board dts

2015-04-03 Thread Olof Johansson
On Mon, Mar 23, 2015 at 05:51:05PM -0500, Kumar Gala wrote: > Add initial device tree support for Qualcomm APQ8016 SBC Evaluation board. > This board is also referred to as the DragonBoard 410c. > > Signed-off-by: Kumar Gala Hi, Patch applied but see comment below. > --- > arch/arm64/boot/dts

Re: [PATCH 3/4] spi: bcm-mspi: Make BCMA optional to support non-BCMA chips

2015-04-03 Thread Florian Fainelli
On 03/04/15 06:38, Andy Shevchenko wrote: > On Thu, Apr 2, 2015 at 10:23 PM, Jonathan Richardson > wrote: >> The Broadcom MSPI controller is used on various chips. The driver only >> supported BCM53xx chips with BCMA (an AMBA bus variant). The driver is >> refactored to make BCMA optional and prov

Re: [PATCH v5 10/15] serial: stm32-usart: Add STM32 USART Driver

2015-04-03 Thread Joe Perches
On Fri, 2015-04-03 at 19:01 +0200, Maxime Coquelin wrote: > This drivers adds support to the STM32 USART controller, which is a > standard serial driver. trivia: > diff --git a/drivers/tty/serial/stm32-usart.c > b/drivers/tty/serial/stm32-usart.c [] > +static struct uart_ops stm32_uart_ops = {

Re: [PATCH v5 10/15] serial: stm32-usart: Add STM32 USART Driver

2015-04-03 Thread Peter Hurley
On 04/03/2015 01:01 PM, Maxime Coquelin wrote: > This drivers adds support to the STM32 USART controller, which is a > standard serial driver. Reviewed-by: Peter Hurley PS - I saw Rob's comment about 'hw-flow-ctrl' vs 'auto-flow-control' and I'm ok with either so feel free to and my review comme

Re: [PATCH v5 09/15] dt-bindings: Document the STM32 USART bindings

2015-04-03 Thread Rob Herring
On Fri, Apr 3, 2015 at 12:01 PM, Maxime Coquelin wrote: > This adds documentation of device tree bindings for the > STM32 USART > > Tested-by: Chanwoo Choi > Signed-off-by: Maxime Coquelin > --- > .../devicetree/bindings/serial/st,stm32-usart.txt | 32 > ++ > 1 file change

Re: [PATCH v5 07/15] dt-bindings: Document the STM32 timer bindings

2015-04-03 Thread Rob Herring
On Fri, Apr 3, 2015 at 12:01 PM, Maxime Coquelin wrote: > This adds documentation of device tree bindings for the > STM32 timer. > > Tested-by: Chanwoo Choi > Signed-off-by: Maxime Coquelin One minor thing below, otherwise: Acked-by: Rob Herring > --- > .../devicetree/bindings/timer/st,stm3

Re: [PATCH v5 03/15] dt-bindings: Document the ARM System timer bindings

2015-04-03 Thread Rob Herring
On Fri, Apr 3, 2015 at 12:01 PM, Maxime Coquelin wrote: > This adds documentation of device tree bindings for the > ARM System timer. > > Tested-by: Chanwoo Choi > Signed-off-by: Maxime Coquelin Acked-by: Rob Herring > --- > .../devicetree/bindings/arm/armv7m_systick.txt | 26 >

Re: [PATCH/RFC 5/6] staging: board: Add support for devices with complex dependencies

2015-04-03 Thread Russell King - ARM Linux
On Fri, Apr 03, 2015 at 03:27:40PM +0200, Geert Uytterhoeven wrote: > On Fri, Apr 3, 2015 at 2:57 PM, Dan Carpenter > wrote: > >> + error = clk_register_clkdev(clk, bsc->con_id, bsc->dev_id); > >> + if (error) > >> + pr_err("Failed to register clock %s (%d)\n", bsc->clk, > >>

[PATCH v5 04/15] clocksource/drivers: Add ARM System timer driver

2015-04-03 Thread Maxime Coquelin
This patch adds clocksource support for ARMv7-M's System timer, also known as SysTick. Tested-by: Chanwoo Choi Signed-off-by: Maxime Coquelin --- drivers/clocksource/Kconfig | 7 drivers/clocksource/Makefile | 1 + drivers/clocksource/armv7m_systick.c | 79 ++

[PATCH v5 05/15] dt-bindings: Document the STM32 reset bindings

2015-04-03 Thread Maxime Coquelin
This adds documentation of device tree bindings for the STM32 reset controller. Tested-by: Chanwoo Choi Acked-by: Philipp Zabel Acked-by: Rob Herring Signed-off-by: Maxime Coquelin --- .../devicetree/bindings/reset/st,stm32-rcc.txt | 107 + 1 file changed, 107 insertio

[PATCH v5 12/15] ARM: dts: Add ARM System timer as clockevent in armv7m

2015-04-03 Thread Maxime Coquelin
Tested-by: Chanwoo Choi Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/armv7-m.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/armv7-m.dtsi b/arch/arm/boot/dts/armv7-m.dtsi index 5a660d0..b1ad7cf 100644 --- a/arch/arm/boot/dts/armv7-m.dtsi +++ b/arch/arm/bo

[PATCH v5 10/15] serial: stm32-usart: Add STM32 USART Driver

2015-04-03 Thread Maxime Coquelin
This drivers adds support to the STM32 USART controller, which is a standard serial driver. Tested-by: Chanwoo Choi Signed-off-by: Maxime Coquelin --- drivers/tty/serial/Kconfig | 17 + drivers/tty/serial/Makefile | 1 + drivers/tty/serial/stm32-usart.c | 736 +

[PATCH v5 02/15] ARM: ARMv7-M: Enlarge vector table up to 256 entries

2015-04-03 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 v5 08/15] clockevents/drivers: Add STM32 Timer driver

2015-04-03 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. Reviewed-by: Linus Walleij Tested-by: Chanwoo Choi Signed-off-by: Maxime Coquelin --- drivers/clocksource/Kconfi

[PATCH v5 07/15] dt-bindings: Document the STM32 timer bindings

2015-04-03 Thread Maxime Coquelin
This adds documentation of device tree bindings for the STM32 timer. Tested-by: Chanwoo Choi Signed-off-by: Maxime Coquelin --- .../devicetree/bindings/timer/st,stm32-timer.txt | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/

[PATCH v5 03/15] dt-bindings: Document the ARM System timer bindings

2015-04-03 Thread Maxime Coquelin
This adds documentation of device tree bindings for the ARM System timer. Tested-by: Chanwoo Choi Signed-off-by: Maxime Coquelin --- .../devicetree/bindings/arm/armv7m_systick.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bind

[PATCH v5 13/15] ARM: dts: Introduce STM32F429 MCU

2015-04-03 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 - I2C

Re: [PATCH/RFC 5/6] staging: board: Add support for devices with complex dependencies

2015-04-03 Thread Russell King - ARM Linux
On Fri, Apr 03, 2015 at 03:57:27PM +0300, Dan Carpenter wrote: > On Fri, Apr 03, 2015 at 02:42:02PM +0200, Geert Uytterhoeven wrote: > > +int __init board_staging_register_clock(const struct board_staging_clk > > *bsc) > > +{ > > + struct clk *clk; > > + int error; > > + > > + pr_debug("Regi

[PATCH v5 14/15] ARM: configs: Add STM32 defconfig

2015-04-03 Thread Maxime Coquelin
This patch adds a new config for STM32 MCUs. STM32F429 Discovery board boots successfully with this config applied. Tested-by: Chanwoo Choi Signed-off-by: Maxime Coquelin --- arch/arm/configs/stm32_defconfig | 71 1 file changed, 71 insertions(+) create

[PATCH v5 15/15] MAINTAINERS: Add entry for STM32 MCUs

2015-04-03 Thread Maxime Coquelin
Add a MAINTAINER entry covering all STM32 machine and drivers files. Signed-off-by: Maxime Coquelin --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ddc5a8c..08c08c4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1467,6 +1467,14 @@ F:

[PATCH v5 09/15] dt-bindings: Document the STM32 USART bindings

2015-04-03 Thread Maxime Coquelin
This adds documentation of device tree bindings for the STM32 USART Tested-by: Chanwoo Choi Signed-off-by: Maxime Coquelin --- .../devicetree/bindings/serial/st,stm32-usart.txt | 32 ++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/s

[PATCH v5 11/15] ARM: Add STM32 family machine

2015-04-03 Thread Maxime Coquelin
STMicrolectronics's STM32 series is a family of Cortex-M microcontrollers. It is used in various applications, and proposes a wide range of peripherals. Tested-by: Chanwoo Choi Signed-off-by: Maxime Coquelin --- Documentation/arm/stm32/overview.txt | 32 ++ Doc

[PATCH v5 06/15] drivers: reset: Add STM32 reset driver

2015-04-03 Thread Maxime Coquelin
The STM32 MCUs family IPs can be reset by accessing some registers from the RCC block. The list of available reset lines is documented in the DT bindings. Tested-by: Chanwoo Choi Acked-by: Philipp Zabel Signed-off-by: Maxime Coquelin --- drivers/reset/Makefile | 1 + drivers/reset/rese

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

2015-04-03 Thread Maxime Coquelin
When Kernel is executed in place from ROM, the symbol addresses can be lower than the page offset. Tested-by: Chanwoo Choi Signed-off-by: Maxime Coquelin --- scripts/link-vmlinux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinu

[PATCH v5 00/15] Add support to STMicroelectronics STM32 family

2015-04-03 Thread Maxime Coquelin
This fifth round only contains cosmetic fixes, and add some more Acks. STM32 MCUs are Cortex-M CPU, used in various applications (consumer electronics, industrial applications, hobbyists...). Datasheets, user and programming manuals are publicly available on STMicroelectronics website. With this

Re: [PATCH/RFC 0/6] staging: board: armadillo800eva: Board staging for sh_mobile_lcdc_fb

2015-04-03 Thread Laurent Pinchart
Hello Geert, Thank you for the patches. On Friday 03 April 2015 14:41:57 Geert Uytterhoeven wrote: > Hi all, > > This RFC patch series adds board staging support for r8a7740/armadillo. > For now this supports only the frame buffer device for the on-board LCD. I've started adding DT suppor

Re: [PATCH v2 3/3] phy: cygnus-usbphy: Add Broadcom Cygnus USB phy driver

2015-04-03 Thread Kishon Vijay Abraham I
Hi, On Thursday 02 April 2015 02:20 AM, Arun Ramamurthy wrote: This driver adds support for USB 2.0 host and device phy for Broadcom's Cygnus chipset. The host controller is connected to three separate phys and one of the phys (port 2) is connected to the device controller Reviewed-by: Ray Jui

Re: [PATCHv4] media: i2c/adp1653: devicetree support for adp1653

2015-04-03 Thread Sebastian Reichel
Hi, On Fri, Apr 03, 2015 at 10:49:12AM +0200, Javier Martinez Canillas wrote: > >> The convention nowadays is to not use unnamed DT properties for GPIOs > >> but instead use a prefix that explains what those GPIOs are used for. > >> So something like "power-gpios" or "power-gpio" (if there is only

Re: [PATCH v2 2/3] Phy: DT binding documentation for Broadcom Cygnus USB PHY driver

2015-04-03 Thread Kishon Vijay Abraham I
Hi, On Thursday 02 April 2015 02:20 AM, Arun Ramamurthy wrote: Broadcom's Cygnus chip has a USB 2.0 host controller connected to three separate phys. One of the phs (port 2) is also connectd to a usb 2.0 device controller Signed-off-by: Arun Ramamurthy Reviewed-by: Ray Jui Reviewed-by: Scott

Re: [PATCH v6 1/2] DT: hwspinlock: Add binding documentation for Qualcomm hwmutex

2015-04-03 Thread Ohad Ben-Cohen
On Thu, Apr 2, 2015 at 9:11 PM, Tim Bird wrote: > On Wed, Apr 1, 2015 at 9:40 PM, Ohad Ben-Cohen wrote: >> Sorry, I can't take this without a DT ack. > > Hmmm. > > The policy seems to be: > "For driver (not subsystem) bindings: If you are comfortable with the > binding, and it hasn't re

Re: [PATCH v2 1/3] phy: phy-core: allow specifying supply at port level

2015-04-03 Thread Kishon Vijay Abraham I
On Thursday 02 April 2015 02:20 AM, Arun Ramamurthy wrote: From: Dmitry Torokhov Multi-port phy's may have per-port power supplies. Let's change phy core to first attempt to look up the supply at the port level, and then, if not found, check parent device. This commit log is no longer valid

Re: [PATCH 3/4] spi: bcm-mspi: Make BCMA optional to support non-BCMA chips

2015-04-03 Thread Andy Shevchenko
On Thu, Apr 2, 2015 at 10:23 PM, Jonathan Richardson wrote: > The Broadcom MSPI controller is used on various chips. The driver only > supported BCM53xx chips with BCMA (an AMBA bus variant). The driver is > refactored to make BCMA optional and provides a new config for non BCMA > systems. > str

Re: [PATCH 2/4] spi: bcm53xx: Refactor to make driver nonspecific to 53xx SoCs

2015-04-03 Thread Andy Shevchenko
On Thu, Apr 2, 2015 at 10:23 PM, Jonathan Richardson wrote: > The Broadcom MSPI controller is used on various SoCs. It is being > renamed so that it can be extended and reused on other chips. It is > renamed to bcm-mspi. > What if you resend this one with -M -C applied? -- With Best Regards, An

Re: [PATCH/RFC 5/6] staging: board: Add support for devices with complex dependencies

2015-04-03 Thread Geert Uytterhoeven
On Fri, Apr 3, 2015 at 2:57 PM, Dan Carpenter wrote: >> + error = clk_register_clkdev(clk, bsc->con_id, bsc->dev_id); >> + if (error) >> + pr_err("Failed to register clock %s (%d)\n", bsc->clk, error); >> + return error; > > Missing curly braces. Also it's weird th

Re: [PATCH/RFC 5/6] staging: board: Add support for devices with complex dependencies

2015-04-03 Thread Dan Carpenter
On Fri, Apr 03, 2015 at 02:42:02PM +0200, Geert Uytterhoeven wrote: > +int __init board_staging_register_clock(const struct board_staging_clk *bsc) > +{ > + struct clk *clk; > + int error; > + > + pr_debug("Registering clock %s for con_id %s dev_id %s\n", bsc->clk, > + bsc-

Re: [PATCH v4 01/12] DT: leds: Improve description of flash LEDs related properties

2015-04-03 Thread Jacek Anaszewski
Hi Sakari, On 04/03/2015 02:09 PM, Sakari Ailus wrote: Hi Jacek, On Tue, Mar 31, 2015 at 03:52:37PM +0200, Jacek Anaszewski wrote: Description of flash LEDs related properties was not precise regarding the state of corresponding settings in case a property is missing. Add relevant statements.

[PATCH/RFC 5/6] staging: board: Add support for devices with complex dependencies

2015-04-03 Thread Geert Uytterhoeven
Add support for easy registering of one ore more platform devices that may: - need clocks that are described in DT, - need pin control configuration, - rely on a configured GPIO, - be part of a PM Domain. All these dependencies are optional. Signed-off-by: Geert Uytterhoeven --- drivers

[PATCH/RFC 2/6] staging: board: Initialize staging board code earlier

2015-04-03 Thread Geert Uytterhoeven
Currently the staging board code is initialized from a late_initcall(). However, unused PM domains are also disabled from a late_initcall(), which happens before due to link order. Change the initialization of staging board code from using late_initcall() to device_initcall() to fix this. Signed-

[PATCH 1/6] Revert "staging: board: disable as it breaks the build"

2015-04-03 Thread Geert Uytterhoeven
This reverts commit d13778d537a0ed6115d2a79a942af999cfb8eec6. Commit 13c11072536f2613 ("staging:board: remove unnecessary function") fixed the build of drivers/staging/board/board.c. Signed-off-by: Geert Uytterhoeven --- drivers/staging/board/Kconfig | 1 - 1 file changed, 1 deletion(-) diff -

[PATCH/RFC 6/6] staging: board: armadillo800eva: Board staging for sh_mobile_lcdc_fb

2015-04-03 Thread Geert Uytterhoeven
Add staging board support for the r8a7740-based armadillo800eva board and add platform devices to allow in-tree continuous development of the drivers on the armadillo800eva board. When DT bindings are ready for theses drivers then the platform devices in the armadillo800eva staging board code can

[PATCH/RFC 0/6] staging: board: armadillo800eva: Board staging for sh_mobile_lcdc_fb

2015-04-03 Thread Geert Uytterhoeven
Hi all, This RFC patch series adds board staging support for r8a7740/armadillo. For now this supports only the frame buffer device for the on-board LCD. The goal is to complete the move to ARM multiplatform kernels for all shmobile platforms, and drop the existing board files (arch/arm/mac

[PATCH/RFC 4/6] staging: board: kzm9d: Translate hwirq numbers to virq numbers

2015-04-03 Thread Geert Uytterhoeven
As of commit 9a1091ef0017c40a ("irqchip: gic: Support hierarchy irq domain."), GIC IRQ numbers are virtual, breaking hardcoded hardware IRQ numbers in platform device resources. Translate the hardware IRQ numbers to virtual IRQ numbers to fix this. Signed-off-by: Geert Uytterhoeven --- Untested

[PATCH/RFC 3/6] staging: board: Add support for translating hwirq to virq numbers

2015-04-03 Thread Geert Uytterhoeven
As of commit 9a1091ef0017c40a ("irqchip: gic: Support hierarchy irq domain."), GIC IRQ numbers are virtual, breaking hardcoded hardware IRQ numbers in platform device resources. Add support for translating hardware IRQ numbers to virtual IRQ numbers, and fixing up platform device resources with ha

Re: [PATCH v3 1/8] drm/exynos: add Exynos5433 decon driver

2015-04-03 Thread Inki Dae
Hyungwon, Can you re-base your patch set on top of exynos-drm-next-todo? I merged cleanup series[1] and atomic feature support[2] to exynos-drm-next-todo for the test so you can re-base your patch set on top of exynos-drm-next-todo. You would need to modify exynos5433_drm_decon.c module. Please

Re: [PATCH v1 09/11] DT: Add documentation for exynos4-is 'flashes' property

2015-04-03 Thread Sakari Ailus
Hi Jacek, On Wed, Mar 25, 2015 at 09:52:02AM +0100, Jacek Anaszewski wrote: > Hi Sakari, > > On 03/25/2015 02:06 AM, Sakari Ailus wrote: > >Hi Jacek, > > > >On Fri, Mar 20, 2015 at 04:03:29PM +0100, Jacek Anaszewski wrote: > >>This patch adds a description of 'flashes' property > >>to the samsung

Re: [PATCH v4 01/12] DT: leds: Improve description of flash LEDs related properties

2015-04-03 Thread Sakari Ailus
Hi Jacek, On Tue, Mar 31, 2015 at 03:52:37PM +0200, Jacek Anaszewski wrote: > Description of flash LEDs related properties was not precise regarding > the state of corresponding settings in case a property is missing. > Add relevant statements. > Removed is also the requirement making the flash-ma

Re: [PATCHv5] media: i2c/adp1653: devicetree support for adp1653

2015-04-03 Thread Sakari Ailus
Hi Pavel, Thanks for the update. On Fri, Apr 03, 2015 at 10:33:53AM +0200, Pavel Machek wrote: > > We are moving to device tree support on OMAP3, but that currently > breaks ADP1653 driver. This adds device tree support, plus required > documentation. > > Signed-off-by: Pavel Machek > > ---

Re: [PATCHv3] media: i2c/adp1653: devicetree support for adp1653

2015-04-03 Thread Sakari Ailus
Hi Pavel, On Fri, Apr 03, 2015 at 10:23:44AM +0200, Pavel Machek wrote: > Hi! > > > Hi Pawel, > > I'm still Pavel. v, not w. I know too many Pawels. Sorry about that. :-) > > > > > Hi Pawel, > > > > > A corresponding change to the N900 dts would be very nice. > > > > > > Corresponding chang

  1   2   >