AW: USB problem on beagleboard clone

2012-09-19 Thread Maximilian Schwerin
Hi, -Ursprüngliche Nachricht- Von: linux-usb-ow...@vger.kernel.org [mailto:linux-usb-ow...@vger.kernel.org] Im Auftrag von Paul Walmsley Gesendet: Mittwoch, 19. September 2012 03:24 An: Maximilian Schwerin Cc: linux-omap@vger.kernel.org; linux-...@vger.kernel.org Betreff: Re: USB

Re: [PATCH 2/3] OMAP i2c: pinctrl-ify i2c-omap.c

2012-09-19 Thread Shubhrajyoti
On Wednesday 19 September 2012 09:37 PM, Pantelis Antoniou wrote: #include linux/pm_runtime.h +#include linux/pinctrl/consumer.h +#include linux/err.h err.h include may be removed. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to

Re: Initialising omapfb on AM3517 issues

2012-09-19 Thread Tomi Valkeinen
Hi, On Tue, 2012-09-18 at 16:41 +, Marc Murphy wrote: Hello all, I have been moving from the ti 2.6.37 BSP to the 3.x kernel with quite a bit of success, the main issue I have at the moment is trying to get the frame buffer and any displays I have initialised. [2.805358] omapfb

Re: [PATCH v2] OMAPDSS: Do not require a VDDS_DSI regulator on am35xx

2012-09-19 Thread Tomi Valkeinen
On Tue, 2012-08-21 at 13:39 +0300, Tomi Valkeinen wrote: Hi, On Wed, 2012-08-15 at 15:16 -0400, Raphael Assenat wrote: On our AM3505 based board, dpi.c complains that there is no VDSS_DSI regulator and the framebuffer cannot be enabled. However, this check does not seem to apply to

[GIT PULL] ARM: OMAP5: Enable arch timer support

2012-09-19 Thread Santosh Shilimkar
Tony, Here is the pull request which enables the architected cpu local timer support for OMAP5 devices. The following changes since commit 5698bd757d55b1bb87edd1a9744ab09c142abfc2: Linux 3.6-rc6 (2012-09-16 14:58:51 -0700) are available in the git repository at:

Re: [GIT PULL] ARM: OMAP5: Enable arch timer support

2012-09-19 Thread Shilimkar, Santosh
(With fixed git URL) On Wed, Sep 19, 2012 at 1:21 PM, Santosh Shilimkar santosh.shilim...@ti.com wrote: Tony, Here is the pull request which enables the architected cpu local timer support for OMAP5 devices. The following changes since commit 5698bd757d55b1bb87edd1a9744ab09c142abfc2:

Re: [PATCH 2/2] ARM: OMAP5: Enable arch timer support

2012-09-19 Thread Shilimkar, Santosh
On Tue, Sep 18, 2012 at 11:23 PM, Tony Lindgren t...@atomide.com wrote: * Shilimkar, Santosh santosh.shilim...@ti.com [120917 23:07]: On Tue, Sep 18, 2012 at 3:09 AM, Tony Lindgren t...@atomide.com wrote: * Tony Lindgren t...@atomide.com [120917 14:39]: * Benoit Cousson b-cous...@ti.com

[PATCH 0/8] OMAPDSS: dss device model changes

2012-09-19 Thread Tomi Valkeinen
Hi, This series contains patches that change how omapdss's panel devices (omap_dss_device) are initialized and registered. There are two patches that change behaviour, the rest should be just cleanups: The patch omap_dss_register_device() doesn't take display index affects the number for the

[PATCH 2/8] OMAPDSS: Add dss_get_default_display_name()

2012-09-19 Thread Tomi Valkeinen
Add function dss_get_default_display_name() which returns the name of the default display, given from the board file or via module parameters. The default display name can be used by output drivers to decide which display is the wanted one. Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com ---

[PATCH 1/8] OMAPDSS: omap_dss_register_device() doesn't take display index

2012-09-19 Thread Tomi Valkeinen
We used to have all the displays of the board in one list, and we made a displayX directory in the sysfs, where X was the index of the display in the list. This doesn't work anymore with device tree, as there's no single list to get the number from, and it doesn't work very well even with non-DT

[PATCH 3/8] OMAPDSS: register only one display device per output

2012-09-19 Thread Tomi Valkeinen
We have boards with multiple panel devices connected to the same physical output, of which only one panel can be enabled at one time. Examples of these are Overo, where you can use different daughter boards that have different LCDs, and 3430SDP which has an LCD and a DVI output and a physical

[PATCH 5/8] OMAPDSS: handle errors in dss_init_device

2012-09-19 Thread Tomi Valkeinen
Add error handling to dss_init_device(), which has, for some reason, been missing. Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/video/omap2/dss/core.c|4 +++- drivers/video/omap2/dss/display.c | 23 ++- drivers/video/omap2/dss/dss.h |2 +-

[PATCH 4/8] OMAPDSS: explicitely initialize dssdev-channel for new displays

2012-09-19 Thread Tomi Valkeinen
HDMI and VENC outputs always use the DIGIT output from DISPC. The dssdev struct contains channel field which is used to specify the DISPC output for the display, but this was not used for HDMI and VENC. This patch fills the channel field explicitely for HDMI and VENC displays so that we can

[PATCH 8/8] OMAPDSS: alloc dssdevs dynamically

2012-09-19 Thread Tomi Valkeinen
We currently create omap_dss_devices statically in board files, and use those devices directly in the omapdss driver. This model prevents us from having the platform data (which the dssdevs in board files practically are) as read-only, and it's also different than what we will use with device

[PATCH 7/8] OMAPDSS: cleanup dss_recheck_connections further

2012-09-19 Thread Tomi Valkeinen
Cleanup dss_recheck_connections, move and rename it to a static dss_init_connections function inside display.c. Improve the function to return errors, and implement a matching dss_uninit_connections that can be used to free the mgr-dssdev link. Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com

[PATCH 6/8] OMAPDSS: cleanup dss_recheck_connections

2012-09-19 Thread Tomi Valkeinen
dss_recheck_connections is quite a mess. With the previous commit that initializes the channel field for HDMI and VENC displays, we can greatly simplify the dss_recheck_connections. Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/video/omap2/dss/overlay.c | 49

Re: [PATCH v4 00/14] MFD/ASoC/Input: twl4030-audio submodule DT support

2012-09-19 Thread Peter Ujfalusi
Hi Samuel, On 09/19/2012 03:24 AM, Samuel Ortiz wrote: Hi Peter, On Mon, Sep 10, 2012 at 01:46:18PM +0300, Peter Ujfalusi wrote: Hello, Generated on top of: git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/omap I applied the first 8 patches, but I'd like to get Mark's ACK

Re: [PATCH 2/3] OMAP i2c: pinctrl-ify i2c-omap.c

2012-09-19 Thread Pantelis Antoniou
Hi On Sep 19, 2012, at 10:09 AM, Shubhrajyoti wrote: On Wednesday 19 September 2012 09:37 PM, Pantelis Antoniou wrote: #include linux/pm_runtime.h +#include linux/pinctrl/consumer.h +#include linux/err.h err.h include may be removed. Right, Updated patch series (without the message patch

[PATCH 0/2] Pinctrl-fy OMAP I2C driver (V2)

2012-09-19 Thread Pantelis Antoniou
Pinctrl-fy the OMAP I2C driver. Due to the requirement of early usage of I2C for regulators and such, earlier initialization of pinctrl is required. This patch series is against git://gitorious.org/linus-tree/linus-tree.git for_3.7/i2c/big_cleanups Note that the I2C DT bindings are against the

[PATCH 2/2] OMAP i2c: pinctrl-ify i2c-omap.c

2012-09-19 Thread Pantelis Antoniou
Add support for pinctrl mux settings in the OMAP I2C driver. If no such pinctl bindings are found a warning message is printed. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/i2c/busses/i2c-omap.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH 1/2] pinctrl: pinctrl-single must be initialized early.

2012-09-19 Thread Pantelis Antoniou
When using pinctrl-single to handle i2c initialization, it has to be done early. On the beaglebone the regulator is connected to the i2c0 bus, and for sure that's the case for many other am33xx boards. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com ---

Re: [PATCHv4 8/8] ARM: OMAP3: do not delete per_clkdm autodeps during idle

2012-09-19 Thread Tero Kristo
On Tue, 2012-09-18 at 22:25 +, Paul Walmsley wrote: Hi Tero, just looking at the usecounting series to see what is mergeable and noticed this: On Fri, 13 Jul 2012, Tero Kristo wrote: Secondly, there are multiple erratas for omap3, which say that the wakedeps should be enabled

[PATCH v3 1/3] ARM: dts: Add twl6030-usb data

2012-09-19 Thread Kishon Vijay Abraham I
Add twl6030-usb data node in twl6030 device tree file. twl6030-usb is the comparator driver for USB that detects VBUS and ID events. The dt data is comprised of two interrupts, one for ID and one for VBUS and a phandle to the regulator. Acked-by: Felipe Balbi ba...@ti.com Signed-off-by: Kishon

[PATCH v3 3/3] ARM: dts: omap: Add usb_otg and glue data

2012-09-19 Thread Kishon Vijay Abraham I
Add usb otg data node in omap4/omap3 device tree file. Also update the node with board specific setting in omapx-board.dts file. The dt data specifies among others the interface type (ULPI or UTMI), mode which is mostly OTG, power that specifies the amount of power this can supply when in host

[PATCH v3 2/3] ARM: dts: Add twl4030-usb data

2012-09-19 Thread Kishon Vijay Abraham I
Add twl4030-usb data node in twl4030 device tree file. twl4030-usb is the phy driver for MUSB used in omap3 chipsets. The dt data is comprised of two interrupts, one for ID and one for VBUS and three phandles to regulator. Acked-by: Felipe Balbi ba...@ti.com Signed-off-by: Kishon Vijay Abraham I

[PATCH v3 0/3] ARM: dts: omap: add dt data for MUSB

2012-09-19 Thread Kishon Vijay Abraham I
This patch series adds dt data to get MUSB working in omap4 and omap3 Changes from v2: * Changes the subject of all the patches to include ARM: dts: * Added reg property and interrupt property for usb_otg_hs. Previously these were obtained from ti,hwmods property. * Rebased on

Re: [PATCH v2 1/9] ARM: OMAP: iommu: fix including iommu.h without IOMMU_API selected

2012-09-19 Thread Laurent Pinchart
On Wednesday 12 September 2012 14:45:44 Omar Ramirez Luna wrote: If included without IOMMU_API being selected it will break compilation: arch/arm/plat-omap/include/plat/iommu.h: In function 'dev_to_omap_iommu': arch/arm/plat-omap/include/plat/iommu.h:148: error: 'struct

[PATCH 0/2] ARM/dts: OMAP4: Enable twl6040 GPO functionality

2012-09-19 Thread Peter Ujfalusi
Hello, The following two patch is needed for the twl6040 GPO driver (going via MFD tree) to work correctly. Regards, Peter --- Peter Ujfalusi (2): ARM/dts: omap4-sdp: Enable GPO functionality for twl6040 ARM/dts: omap4-panda: Enable GPO functionality for twl6040

[PATCH 1/2] ARM/dts: omap4-sdp: Enable GPO functionality for twl6040

2012-09-19 Thread Peter Ujfalusi
Add the needed properties for twl6040 so the GPO functionality can be used by other drivers. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap4-sdp.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/omap4-sdp.dts

[PATCH 2/2] ARM/dts: omap4-panda: Enable GPO functionality for twl6040

2012-09-19 Thread Peter Ujfalusi
Add the needed properties for twl6040 so the GPO functionality can be used by other drivers. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap4-panda.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/omap4-panda.dts

Re: [PATCH 3/3] i2c: OMAP fix driver initialization message

2012-09-19 Thread Pantelis Antoniou
Hi Benoit, On Sep 18, 2012, at 10:24 PM, a0919096 wrote: Hi Panto, That patch is good, but a similar one was already posted by Florian. https://patchwork.kernel.org/patch/1392671/ Checking the email thread it seems that Wolfram pulled it. Regards, Benoit Great. One less

Re: [PATCH 2/2] OMAP i2c: pinctrl-ify i2c-omap.c

2012-09-19 Thread Shubhrajyoti Datta
On Thu, Sep 20, 2012 at 12:04 PM, Pantelis Antoniou pa...@antoniou-consulting.com wrote: Add support for pinctrl mux settings in the OMAP I2C driver. If no such pinctl bindings are found a warning message is printed. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- looks

Re: [PATCH v2 0/3] MFD/GPIO: Add twl6040 GPO driver

2012-09-19 Thread Samuel Ortiz
Hi Peter, On Thu, Aug 16, 2012 at 03:13:12PM +0300, Peter Ujfalusi wrote: Hello, Changes since v1: - Removed the ti,use-gpo property from DT bindings - Register the GPO driver if we booted with DT blob or in legacy if the pdata for the GPO driver is present - DT binding Documentation

Re: [PATCH V6 1/2] of: Add generic device tree DMA helpers

2012-09-19 Thread Arnd Bergmann
On Tuesday 18 September 2012, Mitch Bradley wrote: There is a delicious irony here with respect to Shark. Shark has real Open Firmware. It's the platform that I used for the first OFW port to ARM. We (the Shark design team) had a version of NetBSD that would run on Shark without any native

Re: [PATCH v2 0/3] MFD/GPIO: Add twl6040 GPO driver

2012-09-19 Thread Samuel Ortiz
Hi Peter, On Thu, Aug 16, 2012 at 03:13:12PM +0300, Peter Ujfalusi wrote: Hello, Changes since v1: - Removed the ti,use-gpo property from DT bindings - Register the GPO driver if we booted with DT blob or in legacy if the pdata for the GPO driver is present - DT binding Documentation

Re: [PATCH V4 0/5] ARM: OMAP: HOST: TLL driver implementation

2012-09-19 Thread Samuel Ortiz
Hi Keshava, On Mon, Jul 16, 2012 at 07:01:06PM +0530, Keshava Munegowda wrote: The TLL (Transceiver Less Link) is an separate IP block, independent of the host controller. Basically this TLL operates like USB PHY which allows the user to connect two USB transceiver interfaces together directly

[PATCH 0/4] usb: phy: add usb3 phy driver

2012-09-19 Thread Kishon Vijay Abraham I
Added a driver for usb3 phy that handles the interaction between usb phy device and dwc3 controller. Currently writing to control module register is taken care in this driver which will be removed once the control module driver is in place. Also included the patch from Moiz to fix gadget pullup

[PATCH 4/4] usb: phy: omap-usb2: enable 960Mhz clock for omap5

2012-09-19 Thread Kishon Vijay Abraham I
usb_otg_ss_refclk960m is needed by usb2 phy present in omap5. For omap4, the clk_get of this clock will fail since it does not have this clock. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation/devicetree/bindings/usb/usb-phy.txt |3 +++ drivers/usb/phy/omap-usb2.c

[PATCH 2/4] usb: dwc3: Fix gadget pullup in SS mode

2012-09-19 Thread Kishon Vijay Abraham I
From: Moiz Sonasath m-sonas...@ti.com For the gadget pullup functionality to work in SS mode it requires a particular sequence of toggling the run-stop bit. Here is the required sequence: - Set DCTL[31] - Clear DCTL[31] - Clear OMAP5430_CONTROL_CORE__PHY_POWER_USB[14] - Clear DCTL[8:5] = 0x00 -

[PATCH 1/4] usb: phy: add a new driver for usb3 phy

2012-09-19 Thread Kishon Vijay Abraham I
Added a driver for usb3 phy that handles the interaction between usb phy device and dwc3 controller. This also includes device tree support for usb3 phy driver and the documentation with device tree binding information is updated. Currently writing to control module register is taken care in

[PATCH 3/4] usb: phy: omap-usb3: Decrease the number of transitions to recovery

2012-09-19 Thread Kishon Vijay Abraham I
Power-cycling the PHY (partially) decreases the number of transitions to Recovery state. Hence changed the power up sequence to a partial power-up before a full power-up of the PHY. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Moiz Sonasath m-sonas...@ti.com ---

Re: [RFT/PATCH] serial: omap: prevent resume if device is not suspended.

2012-09-19 Thread Grazvydas Ignotas
On Tue, Sep 18, 2012 at 5:02 PM, Felipe Balbi ba...@ti.com wrote: On Tue, Sep 18, 2012 at 06:10:50PM +0530, Sourav Poddar wrote: Greg's tty-next is not booting on 2420 based N800. The failure is observed at serial init itself. The reason might be that n800 tries to resume even though it is not

Re: [PATCH 2/4] usb: dwc3: Fix gadget pullup in SS mode

2012-09-19 Thread Felipe Balbi
Hi, On Wed, Sep 19, 2012 at 05:00:27PM +0530, Kishon Vijay Abraham I wrote: From: Moiz Sonasath m-sonas...@ti.com For the gadget pullup functionality to work in SS mode it requires a particular sequence of toggling the run-stop bit. Here is the required sequence: - Set DCTL[31] - Clear

Re: [PATCH 3/4] usb: phy: omap-usb3: Decrease the number of transitions to recovery

2012-09-19 Thread Felipe Balbi
On Wed, Sep 19, 2012 at 05:00:28PM +0530, Kishon Vijay Abraham I wrote: Power-cycling the PHY (partially) decreases the number of transitions to Recovery state. Hence changed the power up sequence to a partial power-up before a full power-up of the PHY. Signed-off-by: Kishon Vijay Abraham I

Re: [PATCH 4/4] usb: phy: omap-usb2: enable 960Mhz clock for omap5

2012-09-19 Thread Felipe Balbi
On Wed, Sep 19, 2012 at 05:00:29PM +0530, Kishon Vijay Abraham I wrote: usb_otg_ss_refclk960m is needed by usb2 phy present in omap5. For omap4, the clk_get of this clock will fail since it does not have this clock. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com ---

[PATCH v2 00/15] tidspbridge driver MMU-related cleanups

2012-09-19 Thread Laurent Pinchart
Hello, Here's the second version of my tidspbridge MMU-related cleanup patches. The first version has been sent privately only, don't try to search the mailing list archive for it :-) Replacing hw/hw_mmu.c and part of core/tiomap3430.c with generic IOMMU calls should be less difficult now.

[PATCH v2 01/15] tidspbridge: hw_mmu: Reorder functions to avoid forward declarations

2012-09-19 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/staging/tidspbridge/hw/hw_mmu.c | 95 +-- 1 files changed, 39 insertions(+), 56 deletions(-) diff --git

[PATCH v2 02/15] tidspbridge: hw_mmu: Removed unused functions

2012-09-19 Thread Laurent Pinchart
The hw_mmu_tlb_flush() function is unused, and the mmu_flush_entry() function is used by hw_mmu_tlb_flush() only. Remove them both. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/staging/tidspbridge/hw/hw_mmu.c |

[PATCH v2 03/15] tidspbridge: tiomap3430: Reorder functions to avoid forward declarations

2012-09-19 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/staging/tidspbridge/core/tiomap3430.c | 1123 - 1 files changed, 537 insertions(+), 586 deletions(-) diff --git

[PATCH v2 04/15] tidspbridge: tiomap3430: Remove unneeded dev_context local variables

2012-09-19 Thread Laurent Pinchart
Most function that takes a device context as argument immediately assign it to a local variable of the same type and use the local variable. Remove the variable and use the function parameter directly. Rename all remaining occurences of dev_context to dev_ctxt to be consistent with the rest of the

[PATCH v2 05/15] tidspbridge: tiomap3430: Factor out common page release code

2012-09-19 Thread Laurent Pinchart
The same block of code is used in two places to release pages. Factor it out to a function. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/staging/tidspbridge/core/tiomap3430.c | 81 ++--- 1

[PATCH v2 07/15] tidspbridge: tiomap3430: Remove unneeded local variables

2012-09-19 Thread Laurent Pinchart
Several local variables just hold copies of function arguments. Remove them and use the function arguments directly. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/staging/tidspbridge/core/tiomap3430.c | 60

[PATCH v2 09/15] tidspbridge: Remove unused hw_mmu_map_attrs_t::donotlockmpupage field

2012-09-19 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/staging/tidspbridge/core/tiomap3430.c |4 drivers/staging/tidspbridge/hw/hw_mmu.h |1 - 2 files changed, 0 insertions(+), 5 deletions(-) diff --git

[PATCH v2 06/15] tidspbridge: tiomap3430: Remove ul_ prefix

2012-09-19 Thread Laurent Pinchart
There's no need to prefix all u32 variables with ul_. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/staging/tidspbridge/core/tiomap3430.c | 183 - 1 files changed, 87 insertions(+), 96

[PATCH v2 10/15] ARM: OMAP: iommu: fix including iommu.h without IOMMU_API selected

2012-09-19 Thread Laurent Pinchart
From: Omar Ramirez Luna omar.l...@linaro.org If included without IOMMU_API being selected it will break compilation: arch/arm/plat-omap/include/plat/iommu.h: In function 'dev_to_omap_iommu': arch/arm/plat-omap/include/plat/iommu.h:148: error: 'struct dev_archdata' has no member

[PATCH v2 11/15] arm: omap: iommu: Include required headers in iommu.h and iopgtable.h

2012-09-19 Thread Laurent Pinchart
Both headers make use of externally defined structures, types or functions. Include the appropriate headers. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- arch/arm/plat-omap/include/plat/iommu.h |4 arch/arm/plat-omap/include/plat/iopgtable.h |2 ++ 2

[PATCH v2 13/15] tidspbridge: Simplify pte_update and mem_map_vmalloc functions

2012-09-19 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/staging/tidspbridge/core/tiomap3430.c | 148 +++- 1 files changed, 68 insertions(+), 80 deletions(-) diff --git

[PATCH v2 12/15] tidspbridge: Use constants defined in IOMMU platform headers

2012-09-19 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/staging/tidspbridge/core/io_sm.c |7 +- drivers/staging/tidspbridge/core/tiomap3430.c | 38 +++- drivers/staging/tidspbridge/core/tiomap_io.c |2 +-

[PATCH v2 14/15] tidspbridge: Use correct types to describe physical, MPU, DSP addresses

2012-09-19 Thread Laurent Pinchart
Physical addresses: name them 'pa' and use the phys_addr_t type MPU virtual addresses: name them 'va' and use the unsigned long type DSP virtual addresses: name them 'da' and use the u32 type Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Omar Ramirez Luna

[PATCH v2 15/15] tidspbridge: Replace hw_mmu_map_attrs_t structure with a prot bitfield

2012-09-19 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/staging/tidspbridge/core/tiomap3430.c | 83 --- drivers/staging/tidspbridge/core/ue_deh.c |8 +--

[PATCH v2 08/15] tidspbridge: Fix VM_PFNMAP mapping

2012-09-19 Thread Laurent Pinchart
VMAs marked with the VM_PFNMAP flag have no struct page associated with the memory PFNs. Don't call get_page()/put_page() on the pages supposedly associated with the PFNs. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Omar Ramirez Luna omar.rami...@ti.com ---

Re: [RFC PATCH v2 1/5] ARM: mm: implement LoUIS API for cache maintenance ops

2012-09-19 Thread Lorenzo Pieralisi
On Tue, Sep 18, 2012 at 07:12:52PM +0100, Nicolas Pitre wrote: On Tue, 18 Sep 2012, Lorenzo Pieralisi wrote: ARM v7 architecture introduced the concept of cache levels and related control registers. New processors like A7 and A15 embed an L2 unified cache controller that becomes part of

[PATCH v7 00/11] OMAP-GPMC: generic time calc, prepare for driver

2012-09-19 Thread Afzal Mohammed
Hi, This version - v7 as compared to previous version, takes care of rounding issues due to the usage of nanoseconds in generic timing routine. All calculations are now in picoseconds. Once all timings are calculated it is converted to nanoseconds so that calculated timing values are compatible

[PATCH v7 01/11] ARM: OMAP2+: nand: unify init functions

2012-09-19 Thread Afzal Mohammed
Helper function for updating nand platform data has been added the capability to take timing structure arguement. Usage of omap_nand_flash_init() has been replaced by modifed one, omap_nand_flash_init was doing things similar to board_nand_init except that NAND CS# were being acquired based on

[PATCH v7 02/11] ARM: OMAP2+: nand: remove redundant rounding

2012-09-19 Thread Afzal Mohammed
gpmc_cs_set_timings() calculate ticks to be programmed by rounding time in ns to next tick value. Hence remove redundant rounding of nanosecond timing. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc-nand.c | 30 +- 1 file changed, 13

[PATCH v7 03/11] ARM: OMAP2+: gpmc: handle additional timings

2012-09-19 Thread Afzal Mohammed
Configure busturnaround, cycle2cycledelay, waitmonitoringtime, clkactivationtime in gpmc_cs_set_timings(). This is done so that boards can configure these parameters of gpmc in Kernel instead of relying on bootloader. Also configure bool type timings like extradelay. This needed change to the

[PATCH v7 04/11] ARM: OMAP2+: onenand: refactor for clarity

2012-09-19 Thread Afzal Mohammed
Refactor set_async_mode set_sync_mode functions to separate out timing calculation actual configuration (GPMC OneNAND side). Thanks to Jon for his suggestions. Signed-off-by: Afzal Mohammed af...@ti.com Reviewed-by: Jon Hunter jon-hun...@ti.com --- v6: 1. Set OneNAND part to async

[PATCH v7 05/11] ARM: OMAP2+: GPMC: Remove unused OneNAND get_freq() platform function

2012-09-19 Thread Afzal Mohammed
From: Jon Hunter jon-hun...@ti.com A platform function pointer for getting the frequency of a OneNAND device was added so that a platform could specify a custom function for returning the frequency and not just rely on the OneNAND version to determine the frequency. However, this platform

[PATCH v7 06/11] ARM: OMAP2+: gpmc: find features by ip rev check

2012-09-19 Thread Afzal Mohammed
Newer IP's have wr_access and wr_data_mux_bus fields. Use IP revision values to determine availability of these fields and hence decide on whether to configure them. Signed-off-by: Afzal Mohammed af...@ti.com Reviewed-by: Jon Hunter jon-hun...@ti.com --- arch/arm/mach-omap2/gpmc.c | 12

[PATCH v7 07/11] ARM: OMAP2+: gpmc: remove cs# in sync clk div calc

2012-09-19 Thread Afzal Mohammed
Divider value for a certain sync clk is determined solely based on gpmc fclk. CS# does not have any role here, thus remove presence of CS# in clock divider calculation API. Signed-off-by: Afzal Mohammed af...@ti.com Reviewed-by: Jon Hunter jon-hun...@ti.com --- arch/arm/mach-omap2/gpmc-onenand.c

[PATCH v7 08/11] ARM: OMAP2+: gpmc: generic timing calculation

2012-09-19 Thread Afzal Mohammed
Presently there are three peripherals that gets it timing by runtime calculation. Those peripherals can work with frequency scaling that affects gpmc clock. But timing calculation for them are in different ways. Here a generic runtime calculation method is proposed. Input to this function were

[PATCH v7 09/11] ARM: OMAP2+: onenand: generic timing calculation

2012-09-19 Thread Afzal Mohammed
Generic gpmc timing calculation helper is available now, use it instead of custom timing calculation. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc-onenand.c | 124 + 1 file changed, 43 insertions(+), 81 deletions(-) diff --git

[PATCH v7 10/11] ARM: OMAP2+: smc91x: generic timing calculation

2012-09-19 Thread Afzal Mohammed
Generic gpmc timing calculation helper is available now, use it instead of custom timing calculation. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc-smc91x.c | 43 --- 1 file changed, 17 insertions(+), 26 deletions(-) diff --git

[PATCH v7 11/11] ARM: OMAP2+: tusb6010: generic timing calculation

2012-09-19 Thread Afzal Mohammed
Generic gpmc timing calculation helper is available now, use it instead of custom timing calculation. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/usb-tusb6010.c | 182 + 1 file changed, 44 insertions(+), 138 deletions(-) diff --git

RE: [PATCH v6 10/10] ARM: OMAP2+: tusb6010: generic timing calculation

2012-09-19 Thread Mohammed, Afzal
Hi Tony, On Tue, Sep 18, 2012 at 04:40:02, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [120917 15:54]: Can you please try with the attached patch ? Gave it a quick try and it seemed to work.. But when I tried rebasing my patches for the cbus to keep things working with

Re: [RFC PATCH v2 3/5] ARM: kernel: update cpu_suspend code to use cache LoUIS operations

2012-09-19 Thread Dave Martin
On Tue, Sep 18, 2012 at 05:35:33PM +0100, Lorenzo Pieralisi wrote: In processors like A15/A7 L2 cache is unified and integrated within the processor cache hierarchy, so that it is not considered an outer cache anymore. For processors like A15/A7 flush_cache_all() ends up cleaning all cache

Re: [PATCH V6 1/2] of: Add generic device tree DMA helpers

2012-09-19 Thread Matt Porter
On Fri, Sep 14, 2012 at 05:41:56PM -0500, Jon Hunter wrote: ... Typo nits in the binding examples below... Documentation/devicetree/bindings/dma/dma.txt | 81 + drivers/of/Makefile |2 +- drivers/of/dma.c | 219

[PATCH] of: dma: fix typos in generic dma binding definition

2012-09-19 Thread Matt Porter
Some semicolons were left out in the examples. Signed-off-by: Matt Porter mpor...@ti.com --- Documentation/devicetree/bindings/dma/dma.txt |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/dma.txt

Re: [RFC PATCH v2 2/5] ARM: mm: rename jump labels in v7_flush_dcache_all function

2012-09-19 Thread Dave Martin
On Tue, Sep 18, 2012 at 05:35:32PM +0100, Lorenzo Pieralisi wrote: This patch renames jump labels in v7_flush_dcache_all in order to define a specific flush cache levels entry point. TODO: factor out the level flushing loop if considered worthwhile and define the input registers

Re: [PATCH V6 1/2] of: Add generic device tree DMA helpers

2012-09-19 Thread Matt Porter
On Fri, Sep 14, 2012 at 05:41:56PM -0500, Jon Hunter wrote: diff --git a/Documentation/devicetree/bindings/dma/dma.txt b/Documentation/devicetree/bindings/dma/dma.txt new file mode 100644 index 000..a4f59a5 --- /dev/null +++ b/Documentation/devicetree/bindings/dma/dma.txt @@ -0,0 +1,81

Re: [PATCH V6 1/2] of: Add generic device tree DMA helpers

2012-09-19 Thread Rob Herring
On 09/14/2012 05:41 PM, Jon Hunter wrote: This is based upon the work by Benoit Cousson [1] and Nicolas Ferre [2] to add some basic helpers to retrieve a DMA controller device_node and the DMA request/channel information. [snip] Reviewed-by: Arnd Bergmann a...@arndb.de Reviewed-by: Nicolas

Re: [PATCH V6 1/2] of: Add generic device tree DMA helpers

2012-09-19 Thread Arnd Bergmann
On Wednesday 19 September 2012, Matt Porter wrote: +Optional properties: +- #dma-channels: Number of DMA channels supported by the controller. +- #dma-requests: Number of DMA requests signals supported by the + controller. Shouldn't these two optional

Re: [PATCH V6 1/2] of: Add generic device tree DMA helpers

2012-09-19 Thread Rob Herring
On 09/19/2012 09:24 AM, Arnd Bergmann wrote: On Wednesday 19 September 2012, Matt Porter wrote: +Optional properties: +- #dma-channels: Number of DMA channels supported by the controller. +- #dma-requests: Number of DMA requests signals supported by the +

Re: [PATCH V6 1/2] of: Add generic device tree DMA helpers

2012-09-19 Thread Matt Porter
On Wed, Sep 19, 2012 at 09:36:36AM -0500, Rob Herring wrote: On 09/19/2012 09:24 AM, Arnd Bergmann wrote: On Wednesday 19 September 2012, Matt Porter wrote: +Optional properties: +- #dma-channels: Number of DMA channels supported by the controller. +- #dma-requests: Number of DMA

Re: [PATCH 1/4] usb: phy: add a new driver for usb3 phy

2012-09-19 Thread Marc Kleine-Budde
On 09/19/2012 01:30 PM, Kishon Vijay Abraham I wrote: Added a driver for usb3 phy that handles the interaction between usb phy device and dwc3 controller. This also includes device tree support for usb3 phy driver and the documentation with device tree binding information is updated.

Re: [PATCH V6 1/2] of: Add generic device tree DMA helpers

2012-09-19 Thread Mitch Bradley
On 9/19/2012 7:09 PM, Arnd Bergmann wrote: On Tuesday 18 September 2012, Mitch Bradley wrote: There is a delicious irony here with respect to Shark. Shark has real Open Firmware. It's the platform that I used for the first OFW port to ARM. We (the Shark design team) had a version of NetBSD

Re: [PATCH 4/4] usb: phy: omap-usb2: enable 960Mhz clock for omap5

2012-09-19 Thread Marc Kleine-Budde
On 09/19/2012 01:56 PM, Felipe Balbi wrote: On Wed, Sep 19, 2012 at 05:00:29PM +0530, Kishon Vijay Abraham I wrote: usb_otg_ss_refclk960m is needed by usb2 phy present in omap5. For omap4, the clk_get of this clock will fail since it does not have this clock. Signed-off-by: Kishon Vijay

Re: [PATCH 4/4] usb: phy: omap-usb2: enable 960Mhz clock for omap5

2012-09-19 Thread Felipe Balbi
On Wed, Sep 19, 2012 at 04:45:01PM +0200, Marc Kleine-Budde wrote: On 09/19/2012 01:56 PM, Felipe Balbi wrote: On Wed, Sep 19, 2012 at 05:00:29PM +0530, Kishon Vijay Abraham I wrote: usb_otg_ss_refclk960m is needed by usb2 phy present in omap5. For omap4, the clk_get of this clock will fail

[PATCH v2] of: dma: fix typos in generic dma binding definition

2012-09-19 Thread Matt Porter
Some semicolons were left out in the examples. The #dma-channels and #dma-requests properties have a prefix that is, by convention, reserved for cell size properties. Rename those properties to dma-channels and dma-requests. Signed-off-by: Matt Porter mpor...@ti.com ---

Re: [PATCH 13/16] ARM: omap: move platform_data definitions

2012-09-19 Thread Arnd Bergmann
On Tuesday 18 September 2012, Peter Ujfalusi wrote: I thought I have replied to this... Whichever way you prefer. I can craft a series to clean up the plat/mcbsp.h usage and move the mcbsp header via ASoC tree. I'm also fine if you do the move. Let me know what you prefer. I think I'll

Re: [PATCH 4/4] usb: phy: omap-usb2: enable 960Mhz clock for omap5

2012-09-19 Thread Marc Kleine-Budde
On 09/19/2012 04:42 PM, Felipe Balbi wrote: On Wed, Sep 19, 2012 at 04:45:01PM +0200, Marc Kleine-Budde wrote: On 09/19/2012 01:56 PM, Felipe Balbi wrote: On Wed, Sep 19, 2012 at 05:00:29PM +0530, Kishon Vijay Abraham I wrote: usb_otg_ss_refclk960m is needed by usb2 phy present in omap5. For

Re: [PATCH V6 1/2] of: Add generic device tree DMA helpers

2012-09-19 Thread Arnd Bergmann
On Wednesday 19 September 2012, Matt Porter wrote: On Wed, Sep 19, 2012 at 09:36:36AM -0500, Rob Herring wrote: On 09/19/2012 09:24 AM, Arnd Bergmann wrote: On Wednesday 19 September 2012, Matt Porter wrote: +Optional properties: +- #dma-channels: Number of DMA channels supported

Re: [PATCH 1/1] drivers: bus: Move the OMAP interconnect driver to drivers/bus/

2012-09-19 Thread Arnd Bergmann
On Monday 17 September 2012, Tony Lindgren wrote: * Santosh Shilimkar santosh.shilim...@ti.com [120914 02:21]: OMAP interconnect drivers are used for the interconnect error handling. Since they are bus driver, lets move it to newly created drivers/bus. Cc: Arnd Bergmann a...@arndb.de

Re: [PATCH 1/1] drivers: bus: Move the OMAP interconnect driver to drivers/bus/

2012-09-19 Thread Olof Johansson
On Wed, Sep 19, 2012 at 7:58 AM, Arnd Bergmann a...@arndb.de wrote: On Monday 17 September 2012, Tony Lindgren wrote: * Santosh Shilimkar santosh.shilim...@ti.com [120914 02:21]: OMAP interconnect drivers are used for the interconnect error handling. Since they are bus driver, lets move it

Re: [PATCH v2] of: dma: fix typos in generic dma binding definition

2012-09-19 Thread Arnd Bergmann
On Wednesday 19 September 2012, Matt Porter wrote: Some semicolons were left out in the examples. The #dma-channels and #dma-requests properties have a prefix that is, by convention, reserved for cell size properties. Rename those properties to dma-channels and dma-requests.

[PATCH] usb: otg: Resolving a config conflict between omap4030_usb/omap6030 and usb_musb_omap2plus

2012-09-19 Thread jrm . kurtz
From: Jerome Kurtz jrm.ku...@gmail.com When I try to compile with TWL6030_USB=y, TWL4030_USB=y and USB_MUSB_OMAP2PLUS=m, I get the following error: drivers/built-in.o: In function `twl4030_usb_irq': /home/xxx/kernel/linux/drivers/usb/otg/twl4030-usb.c:518: undefined reference to

Re: [PATCH v2] backlight: Add TPS65217 WLED driver

2012-09-19 Thread Samuel Ortiz
Hi Matthias, On Tue, Sep 18, 2012 at 10:05:07PM +0200, Matthias Kaehlcke wrote: The MFD API probably allows you to do exactly that by defining a specific cell for bl. Could you please try to use this API or otherwise justify not using it? you seem to have missed v3 of the patch which

Re: [RFC PATCH 2/5] mfd: introduce retu-mfd driver

2012-09-19 Thread Samuel Ortiz
Hi Aaro, On Wed, Aug 29, 2012 at 12:34:24AM +0300, Aaro Koskinen wrote: Retu is a multi-function device found on Nokia Internet Tablets implementing at least watchdog, RTC, headset detection and power button functionality. This patch implements a minimum functionality providing only

Re: [PATCH 2/4] mfd: introduce retu-mfd driver

2012-09-19 Thread Samuel Ortiz
Hi Aaro, On Mon, Sep 03, 2012 at 11:23:23PM +0300, Aaro Koskinen wrote: Retu is a multi-function device found on Nokia Internet Tablets implementing at least watchdog, RTC, headset detection and power button functionality. This patch implements minimum functionality providing register

Re: AW: USB problem on beagleboard clone

2012-09-19 Thread Paul Walmsley
On Wed, 19 Sep 2012, Maximilian Schwerin wrote: They're BeagleBoard XM clones. We're still trying to find out what the real problem is. The problem persists across three separate layouts using the same USB device and application. We're currently trying to see if this is related to MUSB

  1   2   >