[PATCH] ARM: dts: Add peach-pit board support

2014-04-19 Thread Arun Kumar K
Adds the google peach-pit board dts file which uses exynos5420 SoC. Signed-off-by: Arun Kumar K Signed-off-by: Doug Anderson --- arch/arm/boot/dts/Makefile |1 + arch/arm/boot/dts/exynos5420-peach-pit.dts | 225 2 files changed, 226 insertions(+

Re: [PATCH 4/8] ARM: mvebu: Add USB3 UTMI support

2014-04-19 Thread Felipe Balbi
Hi, On Fri, Apr 18, 2014 at 12:22:39PM +0200, Gregory CLEMENT wrote: > The usb3-utmi registers allow to configure the internal USB PHY of the > Armada 380/385 SoCs. A small initialization is needed to be able to use > the USB3 ports. > > Signed-off-by: Gregory CLEMENT looks like this should be

Re: [PATCH 3/8] xhci-platform: Add a new controller using xhci: Armada 38x

2014-04-19 Thread Felipe Balbi
On Fri, Apr 18, 2014 at 12:22:38PM +0200, Gregory CLEMENT wrote: > Extend the compatible string list with xhci-armada-380. It is used to > describe xhci controller which is in the Armada 38x SoCs. > > Signed-off-by: Gregory CLEMENT > --- > Documentation/devicetree/bindings/usb/usb-xhci.txt | 3 +

Re: [PATCH 2/8] usb: host: xhci-plat: Add support for the Armada 38x glue code

2014-04-19 Thread Felipe Balbi
On Fri, Apr 18, 2014 at 12:22:37PM +0200, Gregory CLEMENT wrote: > For the armada 38x SoCs which come with an xhci controller, specific > initialization must be done during probe, especially in relation with > the MBus windows initialization. This patch adds this support. > > Signed-off-by: Gregor

Re: [PATCH 1/8] usb: host: xhci-plat: Allow to register glue code using the device tree

2014-04-19 Thread Felipe Balbi
Hi, On Fri, Apr 18, 2014 at 12:22:36PM +0200, Gregory CLEMENT wrote: > This patch allow to register specific glue code for xhci controller. > It creates a structure called xhci_plat_ops to register functions > specific to an SoC. Currently there are only probe() and remove() but What SoC-specific

Re: [RFC PATCH v2 05/14] ARM: dts: samsung-fimd: add I80 specific properties

2014-04-19 Thread YoungJun Cho
Hi Andrzej Thank you for comments. On 04/18/2014 09:32 PM, Andrzej Hajda wrote: Hi again, On 04/17/2014 01:53 PM, YoungJun Cho wrote: In case of using CPU interface panel, the relevant registers should be set. So this patch adds relevant dt bindings. Changelog v2: - Changes "samsung,sysreg-p

Re: [RFC PATCH 02/14] drm/exynos: dsi: delay setting clocks after reset

2014-04-19 Thread YoungJun Cho
Hi Andrzej Thank you for comments. On 04/18/2014 09:15 PM, Andrzej Hajda wrote: Hi YoungJun, Thanks for the whole patchset. On 04/15/2014 07:47 AM, YoungJun Cho wrote: Some phy control registers are not kept after software reset. So this patch makes the clocks containing phy control to be se

Re: [PATCH v4 1/7] drivers: input: keyboard: st-keyscan: add keyscan driver

2014-04-19 Thread Dmitry Torokhov
On Wed, Apr 16, 2014 at 10:49:29AM +0200, Gabriel Fernandez wrote: > On 13 April 2014 07:10, Dmitry Torokhov wrote: > > > > Does the version of the patch below still work for you? > > > Yes it's was tested on b2000 and b2089 sti boards. > > > Thanks. > > > > -- > > Dmitry > > > Thanks for yours r

Re: [PATCHv3 14/14] DTS: ARM: OMAP3-N900: Add modem support

2014-04-19 Thread Pavel Machek
On Sat 2014-03-29 01:31:50, Sebastian Reichel wrote: > Add modem device tree data to Nokia N900's DTS file. > > Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/hor

Re: [PATCHv3 13/14] DTS: ARM: OMAP3-N900: Add SSI support

2014-04-19 Thread Pavel Machek
On Sat 2014-03-29 01:31:49, Sebastian Reichel wrote: > Add SSI device tree data for OMAP3 and Nokia N900. > > Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/hors

Re: [PATCHv3 11/14] HSI: Introduce Nokia N900 modem driver

2014-04-19 Thread Pavel Machek
On Sat 2014-03-29 01:31:47, Sebastian Reichel wrote: > The Nokia N900's modem is connected via Synchronous Serial Interface (SSI), > which is a legacy version of MIPI's High-speed Synchronous Serial Interface > (HSI). > > The handles the GPIOs for enabling and resetting the modem and instanciates

Re: [PATCHv3 12/14] ARM: dts: omap3 clocks: simplify ssi aliases

2014-04-19 Thread Pavel Machek
On Sat 2014-03-29 01:31:48, Sebastian Reichel wrote: > From: Sebastian Reichel > > update aliases for the ssi clocks ssi_ssr_fck, ssi_sst_fck and ssi_ick > to make them consistent for omap34xx and omap36xx. This makes it > possible to reference the clocks from generic omap3 dts files. > > Signed

Re: [PATCHv3 10/14] HSI: Introduce driver for SSI Protocol

2014-04-19 Thread Pavel Machek
Hi! > This adds a driver for the SSI McSAAB protocol as used in > the Nokia N900. > > Signed-off-by: Carlos Chinea > Signed-off-by: Sebastian Reichel > +#define SSIP_MIN_PN_HDR 6 /* FIXME: Revisit */ > +#define SSIP_WDTOUT 2000/* FIXME: has to be 500 msecs> */

Re: [PATCH v2 5/7] ARM: dma: Use dma_pfn_offset for dma address translation

2014-04-19 Thread Russell King - ARM Linux
On Sat, Apr 19, 2014 at 10:32:50AM -0400, Santosh Shilimkar wrote: > From: Grygorii Strashko > > In most of cases DMA addresses can be performed using offset value of > Bus address space relatively to physical address space as following: > > PFN->DMA: > __pfn_to_phys(pfn + [-]dma_pfn_offset) >

Re: [PATCHv3 09/14] Documentation: DT: omap-ssi binding documentation

2014-04-19 Thread Pavel Machek
On Sat 2014-03-29 01:31:45, Sebastian Reichel wrote: > Create device tree binding documentation for > OMAP Synchronous Serial Interface (SSI) device. > > Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://a

Re: [PATCHv3 08/14] HSI: Introduce OMAP SSI driver

2014-04-19 Thread Pavel Machek
Hi! > Add OMAP SSI driver to the HSI subsystem. > > The Synchronous Serial Interface (SSI) is a legacy version > of HSI. As in the case of HSI, it is mainly used to connect > Application engines (APE) with cellular modem engines (CMT) > in cellular handsets. > > It provides a multichannel, full-

Re: [PATCHv3 07/14] HSI: Add common DT binding for HSI client devices

2014-04-19 Thread Pavel Machek
On Sat 2014-03-29 01:31:43, Sebastian Reichel wrote: > Implement and document generic DT bindings for HSI clients. > > Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek > diff --git a/drivers/hsi/hsi.c b/drivers/hsi/hsi.c > index 07e1639..5973906 100644 > --- a/drivers/hsi/hsi.c > +++

Re: [PATCHv3 06/14] HSI: export method to (un)register clients

2014-04-19 Thread Pavel Machek
On Sat 2014-03-29 01:31:42, Sebastian Reichel wrote: > Expose method for registering and unregistering HSI clients, so that > client drivers can register other client drivers. > > This is useful for HSI drivers, which want to use the functionality > of other HSI drivers. For example the N900 modem

Re: [PATCHv3 05/14] HSI: Add channel resource support to HSI clients

2014-04-19 Thread Pavel Machek
Hi! > Make HSI channel ids platform data, which can be provided > by platform data. > > static void hsi_client_release(struct device *dev) > { > - kfree(to_hsi_client(dev)); > + struct hsi_client *cl = to_hsi_client(dev); > + > + if (cl->tx_cfg.channels) > + kfree(cl->tx

Re: [PATCHv3 03/14] HSI: hsi-char: fix driver for multiport scenarios

2014-04-19 Thread Pavel Machek
On Sat 2014-03-29 01:31:39, Sebastian Reichel wrote: > Fix return code check of alloc_chrdev_region, which > returns 0 on success. > > Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cu

Re: [PATCHv3 04/14] HSI: method to unregister clients from an hsi port

2014-04-19 Thread Pavel Machek
On Sat 2014-03-29 01:31:40, Sebastian Reichel wrote: > This exports a method to unregister all clients from > an hsi port. > > Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~p

Re: [PATCHv3 02/14] MAINTAINERS: update HSI entry

2014-04-19 Thread Pavel Machek
On Sat 2014-03-29 01:31:38, Sebastian Reichel wrote: > Add git tree for hsi subsystem, update Sebastian Reichel's e-mail > address and add Documentation/hsi.txt as maintained file. > > Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmac

Re: [PATCHv3 01/14] Documentation: HSI: Add some general description for the HSI subsystem

2014-04-19 Thread Pavel Machek
On Sat 2014-03-29 01:31:37, Sebastian Reichel wrote: > Add a document, which gives a rough introduction about what HSI > is and how its handled by the Linux kernel. > > Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pict

Re: [PATCH v2 0/7] of: setup dma parameters using dma-ranges and dma-coherent

2014-04-19 Thread Thomas Petazzoni
Dear Santosh Shilimkar, On Sat, 19 Apr 2014 10:32:45 -0400, Santosh Shilimkar wrote: > Here is an updated version of [2] based on discussion. Series introduces > support for setting up dma parameters based on device tree properties > like 'dma-ranges' and 'dma-coherent' and also update to ARM 32 b

[PATCH] ARM: dts: twl4030: Add twl4030-madc node

2014-04-19 Thread Marek Belisko
Add madc node to twl4030 so DT boards can use it. Signed-off-by: Marek Belisko --- arch/arm/boot/dts/twl4030.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi index 86cfc7d..36ae916 100644 --- a/arch/arm/boot/dts/twl403

[PATCH v2 7/7] ARM: mm: use phys_addr_t in __dma_page_[cpu_to_dev/dev_to_cpu]

2014-04-19 Thread Santosh Shilimkar
On a 32 bit ARM architecture with LPAE extension physical addresses cannot fit into unsigned long variable. So fix it by using phys_addr_t instead of unsigned long. Signed-off-by: Santosh Shilimkar --- arch/arm/mm/dma-mapping.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH v2 6/7] ARM: dma: implement set_arch_dma_coherent_ops()

2014-04-19 Thread Santosh Shilimkar
Implement the set_arch_dma_coherent_ops() for ARM architecture. Cc: Greg Kroah-Hartman Cc: Russell King Cc: Arnd Bergmann Cc: Olof Johansson Cc: Grant Likely Cc: Rob Herring Cc: Catalin Marinas Cc: Linus Walleij Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- arch/

[PATCH v2 5/7] ARM: dma: Use dma_pfn_offset for dma address translation

2014-04-19 Thread Santosh Shilimkar
From: Grygorii Strashko In most of cases DMA addresses can be performed using offset value of Bus address space relatively to physical address space as following: PFN->DMA: __pfn_to_phys(pfn + [-]dma_pfn_offset) DMA->PFN: __phys_to_pfn(dma_addr) + [-]dma_pfn_offset Cc: Greg Kroah-Hartman C

[PATCH v2 0/7] of: setup dma parameters using dma-ranges and dma-coherent

2014-04-19 Thread Santosh Shilimkar
Here is an updated version of [2] based on discussion. Series introduces support for setting up dma parameters based on device tree properties like 'dma-ranges' and 'dma-coherent' and also update to ARM 32 bit port. Earlier version of the same series is here [1]. The 'dma-ranges' helps to take car

[PATCH v2 1/7] device: introduce per device dma_pfn_offset

2014-04-19 Thread Santosh Shilimkar
On few architectures, there are few restrictions on DMAble area of system RAM. That also means that devices needs to know about this restrictions so that the dma_masks can be updated accordingly and dma address translation helpers can add/subtract the dma offset. In most of cases DMA addresses can

[PATCH v2 4/7] of: configure the platform device dma parameters

2014-04-19 Thread Santosh Shilimkar
Retrieve DMA configuration from DT and setup platform device's DMA parameters. The DMA configuration in DT has to be specified using "dma-ranges" and "dma-coherent" properties if supported. We setup dma_pfn_offset using "dma-ranges" and dma_coherent_ops using "dma-coherent" device tree properties.

[PATCH v2 2/7] of: introduce of_dma_get_range() helper

2014-04-19 Thread Santosh Shilimkar
From: Grygorii Strashko The of_dma_get_range() allows to find "dma-range" property for the specified device and parse it. dma-ranges format: DMA addr (dma_addr) : naddr cells CPU addr (phys_addr_t) : pna cells size : nsize cells Cc: Greg Kroah-Har

[PATCH v2 3/7] of: introduce of_dma_is_coherent() helper

2014-04-19 Thread Santosh Shilimkar
The of_dma_is_coherent() helper parses the given DT device node to see if the "dma-coherent" property is supported and returns true or false accordingly. If the arch is always coherent or always noncoherent, then the default DMA ops has to be specified accordingly. Cc: Greg Kroah-Hartman Cc: Rus

Re: [PATCH v2 05/13] extcon: extcon-class: improve extcon client API

2014-04-19 Thread Aaro Koskinen
Hi, On Mon, Apr 14, 2014 at 01:46:16PM +0200, Robert Baldyga wrote: > dev_info(&pdev->dev, > - "OMAP USB OTG controller rev %d.%d (%s, id=%d, vbus=%d)\n", > - (rev >> 4) & 0xf, rev & 0xf, config->extcon, otg_dev->id, > + "OMAP USB OTG controller rev %d.

Re: [PATCH 26/29] ARM: orion5x: convert RD-88F5182 to Device Tree

2014-04-19 Thread Sebastian Hesselbarth
[added devtree ML and Sascha Hauer] On 04/19/2014 09:46 AM, Thomas Petazzoni wrote: > Dear Sebastian Hesselbarth, > > On Mon, 14 Apr 2014 13:26:18 +0200, Sebastian Hesselbarth wrote: > >>> + chosen { >>> + bootargs = "console=ttyS0,115200n8 earlyprintk"; >> >> + [linux,]stdout-path =

Re: [PATCH 1/4] ARM: EXYNOS: Fix definitions of S5P_ARM_CORE_* registers

2014-04-19 Thread Tomasz Figa
Hi Chanwoo, On 19.04.2014 09:47, Chanwoo Choi wrote: Hi Tomasz, On Fri, Apr 18, 2014 at 11:42 PM, Tomasz Figa wrote: On SoCs with more than 2 cores there are more than 2 S5P_ARM_CORE_* registers that can be addressed with fixed stride of 0x80. This patch renames the definitions of S5P_ARM_COR

Re: [PATCH 1/4] ARM: EXYNOS: Fix definitions of S5P_ARM_CORE_* registers

2014-04-19 Thread Chanwoo Choi
Hi Tomasz, On Fri, Apr 18, 2014 at 11:42 PM, Tomasz Figa wrote: > On SoCs with more than 2 cores there are more than 2 S5P_ARM_CORE_* > registers that can be addressed with fixed stride of 0x80. This patch > renames the definitions of S5P_ARM_CORE1_* registers to be S5P_ARM_CORE_* > and make them