Re: [PATCH 2/4] drivers/mmc/host: don't use devm_pinctrl_get_select_default() in probe

2013-10-14 Thread Romain Izard
On 2013-10-13, Wolfram Sang w...@the-dreams.de wrote: Since commit ab78029 (drivers/pinctrl: grab default handles from device core), we can rely on device core for setting the default pins. Compile tested only. Acked-by: Linus Walleij linus.wall...@linaro.org (personally at LCE13)

Re: [PATCH] pinctrl: single: call pcs_soc-rearm() whenever IRQ mask is changed

2013-10-14 Thread Roger Quadros
On 10/11/2013 08:21 PM, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [131011 09:21]: On OMAPs the IO ring must be rearmed each time the pad wakeup configuration is changed. So call pcs_soc-rearm() from pcs_irq_set(). Signed-off-by: Roger Quadros rog...@ti.com ---

Re: [PATCH 1/1] ARM: dts: omap3: Adapt USB OTG to generic PHY framework

2013-10-14 Thread Roger Quadros
Hi Benoit, On 10/10/2013 06:34 PM, Felipe Balbi wrote: On Mon, Oct 07, 2013 at 04:28:13PM +0300, Roger Quadros wrote: The generic PHY framewrok expects different properties than the old USB PHY framework. Supply those properties. Fixes USB OTG port on GAT04 and N900 after the Generic PHY

Re: [PATCH 3/7] drivers: phy: usb3/pipe3: Adapt pipe3 driver to Generic PHY Framework

2013-10-14 Thread Kishon Vijay Abraham I
Hi Roger, On Friday 11 October 2013 08:32 PM, Roger Quadros wrote: On 09/16/2013 10:37 AM, Roger Quadros wrote: On 09/16/2013 06:01 AM, Kishon Vijay Abraham I wrote: On Thursday 12 September 2013 04:49 PM, Roger Quadros wrote: Hi Kishon, On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote:

Re: [PATCH 2/7] usb: dwc3: adapt dwc3 core to use Generic PHY Framework

2013-10-14 Thread Kishon Vijay Abraham I
Hi Roger, On Friday 11 October 2013 08:39 PM, Roger Quadros wrote: Hi, On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: Adapted dwc3 core to use the Generic PHY Framework. So for init, exit, power_on and power_off the following APIs are used phy_init(), phy_exit(), phy_power_on() and

Re: [PATCH 3/7] drivers: phy: usb3/pipe3: Adapt pipe3 driver to Generic PHY Framework

2013-10-14 Thread Roger Quadros
Kishon, On 10/14/2013 12:19 PM, Kishon Vijay Abraham I wrote: Hi Roger, On Friday 11 October 2013 08:32 PM, Roger Quadros wrote: On 09/16/2013 10:37 AM, Roger Quadros wrote: On 09/16/2013 06:01 AM, Kishon Vijay Abraham I wrote: On Thursday 12 September 2013 04:49 PM, Roger Quadros wrote:

Re: [PATCH 2/7] usb: dwc3: adapt dwc3 core to use Generic PHY Framework

2013-10-14 Thread Roger Quadros
+Vivek On 10/14/2013 12:26 PM, Kishon Vijay Abraham I wrote: Hi Roger, On Friday 11 October 2013 08:39 PM, Roger Quadros wrote: Hi, On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: Adapted dwc3 core to use the Generic PHY Framework. So for init, exit, power_on and power_off the

[PATCH] ARM: OMAP2+: hwmod: Add USB hwmod data for AM437x.

2013-10-14 Thread George Cherian
Add hwmod for USBSS and the OCP2SCP for AM437x. AM437x has got 2 instances of USBSS. Signed-off-by: George Cherian george.cher...@ti.com --- This was tested on AM437x EPOS EVM with Afzal's v6 of AM43x PRCM basic support and Tero's DT clock Series arch/arm/mach-omap2/omap_hwmod_43xx_data.c |

[PATCH] ARM: dts: am33xx, change usb ctrl module label

2013-10-14 Thread Markus Pargmann
Control module is not usb specific. This patch changes the label to usb_ctrl_mod. Signed-off-by: Markus Pargmann m...@pengutronix.de --- arch/arm/boot/dts/am33xx.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi

[PATCH] usb: phy: omap: Add omap-control Support for AM437x

2013-10-14 Thread George Cherian
This adds omap control module support for USBSS in AM437x SoC. Update DT binding information to reflect these changes. Signed-off-by: George Cherian george.cher...@ti.com --- Documentation/devicetree/bindings/usb/omap-usb.txt | 2 ++ drivers/usb/phy/phy-omap-control.c | 17

Re: [PATCH] usb: phy: omap: Add omap-control Support for AM437x

2013-10-14 Thread Roger Quadros
Hi George, On 10/14/2013 03:51 PM, George Cherian wrote: This adds omap control module support for USBSS in AM437x SoC. Update DT binding information to reflect these changes. Signed-off-by: George Cherian george.cher...@ti.com --- Documentation/devicetree/bindings/usb/omap-usb.txt | 2

Re: [PATCHv7 00/36] ARM: OMAP: clock data conversion to DT

2013-10-14 Thread Tero Kristo
Hi Paul, I've been looking at this stuff today, and this will cause pretty huge changes to the set. This probably means a few weeks delay in implementation at least. Some comments on the technical perspectives below. On 10/14/2013 02:45 AM, Paul Walmsley wrote: Here you go: 1. Create DT

[PATCH] arm: omap2+: hwmod: Add qspi data for am437x.

2013-10-14 Thread Sourav Poddar
Add hwmod data for qspi for AM437x. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- This was tested on AM437x EPOS EVM with Afzal's v6 of AM43x PRCM basic support and tero's DT clock series. arch/arm/mach-omap2/omap_hwmod_43xx_data.c | 34

Re: [PATCHv7 00/36] ARM: OMAP: clock data conversion to DT

2013-10-14 Thread Paul Walmsley
On Mon, 14 Oct 2013, Tero Kristo wrote: On 10/14/2013 02:45 AM, Paul Walmsley wrote: 8. A few random comments about the individual clock binding data formats themselves, based on a quick look: A. It seems pretty odd and unnecessarily obscure to do something like this:

Re: [PATCHv7 00/36] ARM: OMAP: clock data conversion to DT

2013-10-14 Thread Tero Kristo
On 10/14/2013 09:27 PM, Paul Walmsley wrote: On Mon, 14 Oct 2013, Tero Kristo wrote: On 10/14/2013 02:45 AM, Paul Walmsley wrote: 8. A few random comments about the individual clock binding data formats themselves, based on a quick look: A. It seems pretty odd and unnecessarily obscure to

Re: [PATCH] arm: omap2+: hwmod: Add qspi data for am437x.

2013-10-14 Thread Paul Walmsley
Hi On Mon, 14 Oct 2013, Sourav Poddar wrote: Add hwmod data for qspi for AM437x. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- This was tested on AM437x EPOS EVM with Afzal's v6 of AM43x PRCM basic support and tero's DT clock series. Could you please rebase this on top of George

[PATCH 3/3] omapdss: Add OPA362 analog video amplifier driver.

2013-10-14 Thread Marek Belisko
This driver add handlign for opa362 chip which is video amplifier with internal gain and filter. Enable/disable is controlled via single gpio. This driver was tested on gta04 board. Signed-off-by: Marek Belisko ma...@goldelico.com Signed-off-by: H. Nikolaus Schaller h...@goldelico.com ---

[PATCH 2/3] video: venc: Add new callback and handling for bypass and acbias setup.

2013-10-14 Thread Marek Belisko
Add new callback to set bypass and acbias. During venc enble disable those bit are updated in devconf1 register. Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/video/omap2/dss/venc.c | 21 + include/video/omapdss.h| 2 ++ 2 files changed, 23

[PATCH 1/3] arm: omap2: Export devconf1 bypass and acbias.

2013-10-14 Thread Marek Belisko
devconf1 reg access is localized only in mach-omap2 and we need to export updating of devconf1 from omapdss venc driver (bypass and acbias bits). Add simple api call which update only necessary bits. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/mach-omap2/Makefile | 2 ++

[PATCH 0/3] omapdss: venc: Add support for bypass and acbias.

2013-10-14 Thread Marek Belisko
This patches is adding bypass and acbias functionality to omapdss venc driver. In first patch we export updatin bypass and acbias in devconf1 register. Next patch add handling for updating in venc driver and last patch add driver for opa362 which is used on gta04 board and set bypass + acbias.

Re: [GIT PULL 1/6] omap non-urgent fixes for v3.13 merge window

2013-10-14 Thread Kevin Hilman
Tony Lindgren t...@atomide.com writes: The following changes since commit 15c03dd4859ab16f9212238f29dd315654aa94f6: Linux 3.12-rc3 (2013-09-29 15:02:38 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap

Re: [GIT PULL 2/6] omap pdata and dt preparation changes for v3.13 merge window

2013-10-14 Thread Kevin Hilman
Tony Lindgren t...@atomide.com writes: The following changes since commit d0e639c9e06d44e713170031fe05fb60ebe680af: Linux 3.12-rc4 (2013-10-06 14:00:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap

Re: [GIT PULL 4/6] omap device tree changes for v3.13 merge window

2013-10-14 Thread Kevin Hilman
Tony Lindgren t...@atomide.com writes: The following changes since commit d0e639c9e06d44e713170031fe05fb60ebe680af: Linux 3.12-rc4 (2013-10-06 14:00:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap

Re: [GIT PULL 3/6] omap hwmod changes for v3.13 merge window

2013-10-14 Thread Kevin Hilman
Tony Lindgren t...@atomide.com writes: The following changes since commit d0e639c9e06d44e713170031fe05fb60ebe680af: Linux 3.12-rc4 (2013-10-06 14:00:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap

Re: [GIT PULL 6/6] omap soc changes for v3.13 merge window

2013-10-14 Thread Kevin Hilman
Tony Lindgren t...@atomide.com writes: The following changes since commit d0e639c9e06d44e713170031fe05fb60ebe680af: Linux 3.12-rc4 (2013-10-06 14:00:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap

Re: [GIT PULL 5/6] omap display and board pdata changes for v3.13 merge window

2013-10-14 Thread Kevin Hilman
Tony Lindgren t...@atomide.com writes: The following changes since commit d0e639c9e06d44e713170031fe05fb60ebe680af: Linux 3.12-rc4 (2013-10-06 14:00:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap

Re: [GIT PULL 3/6] omap hwmod changes for v3.13 merge window

2013-10-14 Thread Olof Johansson
On Mon, Oct 14, 2013 at 03:44:44PM -0700, Kevin Hilman wrote: Tony Lindgren t...@atomide.com writes: The following changes since commit d0e639c9e06d44e713170031fe05fb60ebe680af: Linux 3.12-rc4 (2013-10-06 14:00:20 -0700) are available in the git repository at:

Re: [GIT PULL 3/6] omap hwmod changes for v3.13 merge window

2013-10-14 Thread Olof Johansson
On Mon, Oct 14, 2013 at 9:25 PM, Kevin Hilman khil...@linaro.org wrote: On Oct 14, 2013 9:12 PM, Olof Johansson o...@lixom.net wrote: On Mon, Oct 14, 2013 at 03:44:44PM -0700, Kevin Hilman wrote: Tony Lindgren t...@atomide.com writes: The following changes since commit

Re: [PATCH] arm: omap2+: hwmod: Add qspi data for am437x.

2013-10-14 Thread Sourav Poddar
On Tuesday 15 October 2013 01:04 AM, Paul Walmsley wrote: Hi On Mon, 14 Oct 2013, Sourav Poddar wrote: Add hwmod data for qspi for AM437x. Signed-off-by: Sourav Poddarsourav.pod...@ti.com --- This was tested on AM437x EPOS EVM with Afzal's v6 of AM43x PRCM basic support and tero's DT clock

[PATCHv2] arm: omap2+: hwmod: Add qspi data for am437x.

2013-10-14 Thread Sourav Poddar
Add hwmod data for qspi for AM437x. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- This was tested on AM437x EPOS EVM with Afzal's v6 of AM43x PRCM basic support and tero's DT clock series. v1-v2: Rebase on George Cherian USB hwmod patches. arch/arm/mach-omap2/omap_hwmod_43xx_data.c |

Re: [PATCH 2/7] usb: dwc3: adapt dwc3 core to use Generic PHY Framework

2013-10-14 Thread Kishon Vijay Abraham I
Hi Roger, On Monday 14 October 2013 03:51 PM, Roger Quadros wrote: +Vivek On 10/14/2013 12:26 PM, Kishon Vijay Abraham I wrote: Hi Roger, On Friday 11 October 2013 08:39 PM, Roger Quadros wrote: Hi, On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: Adapted dwc3 core to use the

[PATCH v9 1/9] mtd: nand: omap: combine different flavours of 1-bit hamming ecc schemes

2013-10-14 Thread Pekon Gupta
OMAP NAND driver currently supports multiple flavours of 1-bit Hamming ecc-scheme, like: - OMAP_ECC_HAMMING_CODE_DEFAULT 1-bit hamming ecc code using software library - OMAP_ECC_HAMMING_CODE_HW 1-bit hamming ecc-code using GPMC h/w engine - OMAP_ECC_HAMMING_CODE_HW_ROMCODE

[PATCH v9 4/9] mtd: nand: omap: enable auto-detection of bus-width for omap-nand drivers

2013-10-14 Thread Pekon Gupta
Autodetection of NAND device bus-width was added in generic NAND driver as part of following commit commit 64b37b2a63eb2f80b65c7185f0013f8ffc637ae3 Author: Matthieu CASTET matthieu.cas...@parrot.com AuthorDate: 2012-11-06 mtd: nand: add NAND_BUSWIDTH_AUTO to

[PATCH v9 3/9] mtd: nand: omap: cleanup: replace local references with generic framework names

2013-10-14 Thread Pekon Gupta
This patch updates following in omap_nand_probe() and omap_nand_remove() - replaces info-nand with nand_chip (struct nand_chip *nand_chip) - replaces info-mtd with mtd (struct mtd_info *mtd) - white-space and formatting cleanup Signed-off-by: Pekon Gupta pe...@ti.com --- drivers/mtd/nand/omap2.c

[PATCH v9 2/9] ARM: OMAP2+: cleaned-up DT support of various ECC schemes

2013-10-14 Thread Pekon Gupta
OMAP NAND driver support multiple ECC scheme, which can used in different flavours, depending on in-build Hardware engines present on SoC. This patch updates following in DT bindings related to sectionion of ecc-schemes - ti,elm-id: replaces elm_id (maintains backward compatibility) -

[PATCH v9 0/9] mtd:nand:omap2: clean-up of supported ECC schemes

2013-10-14 Thread Pekon Gupta
*changes v8 - v9* [PATCH 1/9] no update from [PATCH v8 1/6] [PATCH 2/9] only commit log updated from [PATCH v8 2/6] As per feedbacks from Brian Norris computersforpe...@gmail.com previous revision [PATCH v8 3/6] and [PATCH 4/6] are split into following sub-patches: - [PATCH 3/9] new replaces

[PATCH v2 2/2] ARM: dts: omap5: Add dr_mode for dwc3

2013-10-14 Thread Kishon Vijay Abraham I
From: George Cherian george.cher...@ti.com Added dr_mode property in dwc3 and set its default mode to device. Currently dwc3 driver doesn't have support for OTG mode. So explicitly setting to peripheral even dwc3 is a OTG controller since OMAP5 has already got an EHCI host. Signed-off-by: George

[PATCH v9 8/9] ARM: dts: AM33xx: updated default ECC scheme in nand-ecc-opt

2013-10-14 Thread Pekon Gupta
Updated DTS to replace deprecated binding with newer values Refer: Documentation/devicetree/bindings/mtd/gpmc-nand.txt Signed-off-by: Pekon Gupta pe...@ti.com Reviewed-by: Felipe Balbi ba...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 3 +-- arch/arm/boot/dts/omap3430-sdp.dts | 2 +- 2 files

[PATCH v9 6/9] mtd: nand: omap: clean-up ecc layout for BCH ecc schemes

2013-10-14 Thread Pekon Gupta
In current implementation omap3_init_bch_tail() is a common function to define ecc layout for different BCHx ecc schemes.This patch: (1) removes omap3_init_bch_tail() and defines ecc layout for individual ecc-schemes along with populating their nand_chip-ecc data in omap_nand_probe(). This

[PATCH v9 5/9] mtd:nand:omap2: clean-up BCHx_HW and BCHx_SW ECC configurations in device_probe

2013-10-14 Thread Pekon Gupta
current implementation in omap3_init_bch() has some redundant code like: (1) omap3_init_bch() re-probes the DT-binding to detect presence of ELM h/w engine on SoC. And based on that it selects implemetation of ecc-scheme. However, this is already done as part of GPMC DT parsing. (2) As

[PATCH v9 9/9] mtd: nand: omap: updated devm_xx for all resource allocation and free calls

2013-10-14 Thread Pekon Gupta
Managed Device Resource or devm_xx calls takes care of automatic freeing of the resource in case of: - failure during driver probe - failure during resource allocation - detaching or unloading of driver module (rmmod) Reference: Documentation/driver-model/devres.txt Though OMAP NAND driver

[PATCH v9 7/9] mtd: nand: omap: use drivers/mtd/nand/nand_bch.c wrapper for BCH ECC instead of lib/bch.c

2013-10-14 Thread Pekon Gupta
generic frame-work in mtd/nand/nand_bch.c is a wrapper above lib/bch.h which encapsulates all control information specific to BCH ecc algorithm in software. Thus this patch: (1) replace omap specific implementations with equivalent wrapper in nand_bch.c so that more generic code is re-used.