Re: [PATCH 1/2] extcon: extcon-dra7xx: Add extcon driver for USB ID detection

2013-08-20 Thread George Cherian
Hi Stephen, Thanks for your review. On 8/20/2013 1:01 AM, Stephen Warren wrote: On 08/16/2013 04:13 AM, George Cherian wrote: Adding extcon driver for USB ID detection to dynamically configure USB Host/Peripheral mode. diff --git a/Documentation/devicetree/bindings/extcon/extcon-dra7xx.txt

Re: [PATCH v2 0/5] mfd: twl6030-irq: rework and add twl6032 support

2013-08-20 Thread Graeme Gregory
On 20/08/13 02:01, Samuel Ortiz wrote: Hi Grygorii, On Thu, Jul 25, 2013 at 04:15:46PM +0300, Grygorii Strashko wrote: This patch series intorduces twl6030-irq module rework to use Threaded IRQ and linear irq_domain, and adds support for PMIC TWL6032 IRQs. After this patch series TWL6030/6032

[PATCH 3/3] ARM: OMAP2+: Let DT say what devices should not to idled or reset

2013-08-20 Thread Rajendra Nayak
Now that we have DT bindings to specify which devices on the SoC should not be reset or idled, get rid of the same information existing as part of the hwmod data files and pass this info from DT instead. For GPMC, the HWMOD_INIT_NO_RESET flag seems to be added in hwmod not due to any errata

[PATCH 2/3] ARM: OMAP2+: Add new bindings for OMAP

2013-08-20 Thread Rajendra Nayak
On OMAP we have co-processor IPs, memory controllers, GPIOs which control regulators and power switches to PMIC, and SoC internal Bus IPs, some or most of which should either not be reset or idled or both. Have a way to pass this information from DT. (In some cases there are erratas which prevent

[PATCH 1/3] ARM: OMAP2+: hwmod: cleanup HWMOD_INIT_NO_RESET usage

2013-08-20 Thread Rajendra Nayak
For modules/IPs/hwmods which do not have -1- sys-class-reset() and -2- hardreset lines and -3- No way to do an ocp reset (no sysc control) the flag 'HWMOD_INIT_NO_RESET' is not much useful. Cleanup all such instances across various hwmod data files. Signed-off-by: Rajendra Nayak rna...@ti.com

[PATCH 0/3] OMAP: Add DT bindings to specify when devices should not be idled or reset

2013-08-20 Thread Rajendra Nayak
We have devices like co-processors, SoC internal busses, memory controllers etc which should not be idled or reset. In some cases erratas around IP blocks prevent them from either being idled or reset. Have a way to pass this information from Device tree, and get rid of similar information that

[RESEND PATCH] ARM: OMAP: TI81XX: add always-on powerdomain for TI81XX

2013-08-20 Thread Aida Mynzhasova
This patch adds alwon powerdomain support for TI81XX, which is required for stable functioning of a big number of TI81XX subsystems. Signed-off-by: Aida Mynzhasova aida.mynzhas...@skitlab.ru --- arch/arm/mach-omap2/powerdomains3xxx_data.c | 8 arch/arm/mach-omap2/prcm-common.h

Re: [PATCH v2 0/5] mfd: twl6030-irq: rework and add twl6032 support

2013-08-20 Thread Samuel Ortiz
On Tue, Aug 20, 2013 at 08:13:54AM +0100, Graeme Gregory wrote: On 20/08/13 02:01, Samuel Ortiz wrote: Hi Grygorii, On Thu, Jul 25, 2013 at 04:15:46PM +0300, Grygorii Strashko wrote: This patch series intorduces twl6030-irq module rework to use Threaded IRQ and linear irq_domain, and adds

Re: [PATCH v2 00/13] ARM: OMAP2+: AM43x PRCM support

2013-08-20 Thread Benoit Cousson
+ Rajendra and Tero, Hi Afzal, On 19/08/2013 08:36, Afzal Mohammed wrote: Hi Tony, On Tuesday 13 August 2013 01:31 PM, Tony Lindgren wrote: Hi Paul Benoit, Does this series look OK to you guys to queue or ack? Can you please consider queuing this series for the coming merge window as

Re: AM335x, early printk

2013-08-20 Thread Lokesh Vutla
Hi Sebastian, On Monday 19 August 2013 06:07 PM, Sebastian Andrzej Siewior wrote: On 08/19/2013 02:27 PM, Jean Pihet wrote: Hi! Hi Jean, You need to add 'earlyprintk' in the kernel command line, given (I suppose) by U-Boot. Ah, good hint. I hope this helps! Yes. I do not see

Re: [PATCH 1/2] extcon: extcon-dra7xx: Add extcon driver for USB ID detection

2013-08-20 Thread George Cherian
Hi Chanwoo, Thanks for your review. On 8/20/2013 5:54 AM, Chanwoo Choi wrote: Hi George, On 08/16/2013 07:13 PM, George Cherian wrote: Adding extcon driver for USB ID detection to dynamically configure USB Host/Peripheral mode. Signed-off-by: George Cherian george.cher...@ti.com ---

[PATCH v4 3/3] usb: dwc3: Add Qualcomm DWC3 glue layer driver

2013-08-20 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com DWC3 glue layer is hardware layer around Synopsys DesignWare USB3 core. Its purpose is to supply Synopsys IP with required clocks, voltages and interface it with the rest of the SoC. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com ---

[PATCH v4 1/3] usb: dwc3: msm: Add device tree binding information

2013-08-20 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com MSM USB3.0 core wrapper consist of USB3.0 IP from Synopsys (SNPS) and HS, SS PHY's control and configuration registers. It could operate in device mode (SS, HS, FS) and host mode (SS, HS, FS, LS). Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com ---

[PATCH v4 0/3] DWC3 USB support for Qualcomm platform

2013-08-20 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com Hi, Here is fourth version of MSM USB3 drivers patches. Changes since v3: * Remove _clk suffix from clock names * Clarify required child node for qcom,dwc3 * Fix comments in functions headers * Use dbg instead err in drivers probe functions. Changes

[PATCH v4 2/3] usb: phy: Add Qualcomm SS-USB and HS-USB drivers for DWC3 core

2013-08-20 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com These drivers handles control and configuration of the HS and SS USB PHY transceivers. They are part of the driver which manage Synopsys DesignWare USB3 controller stack inside Qualcomm SoC's. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com ---

Re: [PATCH 1/2] extcon: extcon-dra7xx: Add extcon driver for USB ID detection

2013-08-20 Thread Chanwoo Choi
Hi George, diff --git a/Documentation/devicetree/bindings/extcon/extcon-dra7xx.txt b/Documentation/devicetree/bindings/extcon/extcon-dra7xx.txt new file mode 100644 index 000..37e4c22 --- /dev/null +++ b/Documentation/devicetree/bindings/extcon/extcon-dra7xx.txt @@ -0,0 +1,19 @@

Re: [PATCH 1/6] ASoC: omap: simplify platform_get_resource_byname/devm_ioremap_resource

2013-08-20 Thread Mark Brown
On Mon, Aug 19, 2013 at 10:51:51AM +0200, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr Remove unneeded error handling on the result of a call to platform_get_resource_byname when the value is passed to devm_ioremap_resource. Applied, thanks. signature.asc Description:

[PATCH v2 0/6] v4l: VPE mem to mem driver

2013-08-20 Thread Archit Taneja
VPE(Video Processing Engine) is an IP found on DRA7xx, this series adds VPE as a mem to mem v4l2 driver, and VPDMA as a helper library. The previous revision of the series described VPE in detail, you can have a look at it here: http://www.spinics.net/lists/linux-media/msg66518.html There were

[PATCH v2 1/6] v4l: ti-vpe: Create a vpdma helper library

2013-08-20 Thread Archit Taneja
The primary function of VPDMA is to move data between external memory and internal processing modules(in our case, VPE) that source or sink data. VPDMA is capable of buffering this data and then delivering the data as demanded to the modules as programmed. The modules that source or sink data are

[PATCH v2 6/6] experimental: arm: dts: dra7xx: Add a DT node for VPE

2013-08-20 Thread Archit Taneja
Add a DT node for VPE in dra7.dtsi. This is experimental because we might need to split the VPE address space a bit more, and also because the IRQ line described is accessible the IRQ crossbar driver is added for DRA7XX. Cc: Rajendra Nayak rna...@ti.com Cc: Sricharan R r.sricha...@ti.com

[PATCH v2 2/6] v4l: ti-vpe: Add helpers for creating VPDMA descriptors

2013-08-20 Thread Archit Taneja
Create functions which the VPE driver can use to create a VPDMA descriptor and add it to a VPDMA descriptor list. These functions take a pointer to an existing list, and append the configuration/data/control descriptor header to the list. In the case of configuration descriptors, the creation of

[PATCH v2 4/6] v4l: ti-vpe: Add de-interlacer support in VPE

2013-08-20 Thread Archit Taneja
Add support for the de-interlacer block in VPE. For de-interlacer to work, we need to enable 2 more sets of VPE input ports which fetch data from the 'last' and 'last to last' fields of the interlaced video. Apart from that, we need to enable the Motion vector output and input ports, and also

[PATCH v2 5/6] arm: dra7xx: hwmod data: add VPE hwmod data and ocp_if info

2013-08-20 Thread Archit Taneja
Add hwmod data for the VPE IP, this is needed for the IP to be reset during boot, and control the functional clock when the driver needs it via pm_runtime apis. Add the corresponding ocp_if struct and add it DRA7XX's ocp interface list. Cc: Rajendra Nayak rna...@ti.com Cc: Sricharan R

Re: AM335x, early printk

2013-08-20 Thread Afzal Mohammed
Hi Sebastian, On Tuesday 20 August 2013 03:02 PM, Lokesh Vutla wrote: Yes. I do not see the decompress messages but I have an early console later on. Unfortunately it stops now right at the serial core: |pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 |Serial: 8250/16550

Re: [PATCH 1/6] v4l: ti-vpe: Create a vpdma helper library

2013-08-20 Thread Laurent Pinchart
Hi Archit, On Wednesday 14 August 2013 16:27:57 Archit Taneja wrote: On Friday 09 August 2013 03:34 AM, Laurent Pinchart wrote: On Friday 02 August 2013 19:33:38 Archit Taneja wrote: The primary function of VPDMA is to move data between external memory and internal processing modules(in

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-08-20 Thread Felipe Balbi
Hi, On Mon, Aug 19, 2013 at 10:58:09AM +0530, Kishon Vijay Abraham I wrote: So maybe let's stop solving an already solved problem and just state that you need to explicitly assign device ID to use this framework? Felipe, Can we have it the way I had in my v10 patch series till we find

Re: [PATCH v4 2/3] usb: phy: Add Qualcomm SS-USB and HS-USB drivers for DWC3 core

2013-08-20 Thread Felipe Balbi
Hi, On Tue, Aug 20, 2013 at 12:56:04PM +0300, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com These drivers handles control and configuration of the HS and SS USB PHY transceivers. They are part of the driver which manage Synopsys DesignWare USB3 controller stack inside

Re: [GIT PULL] omap fixes against v3.11-rc5

2013-08-20 Thread Tony Lindgren
* Olof Johansson o...@lixom.net [130816 15:05]: Our current fixes branch is based on -rc4, and I didn't see any of these commits in linux-next, so I took the liberty to rebase them back onto our current branch. I.e. pulled, but rebased. Thanks no problem at my end. But to avoid future

Re: [PATCH 1/6] v4l: ti-vpe: Create a vpdma helper library

2013-08-20 Thread Archit Taneja
On Tuesday 20 August 2013 05:09 PM, Laurent Pinchart wrote: Hi Archit, On Wednesday 14 August 2013 16:27:57 Archit Taneja wrote: On Friday 09 August 2013 03:34 AM, Laurent Pinchart wrote: On Friday 02 August 2013 19:33:38 Archit Taneja wrote: The primary function of VPDMA is to move data

Re: [PATCH v2 04/14] crypto: omap-aes: Simplify DMA usage by using direct SGs

2013-08-20 Thread Lokesh Vutla
Hi Joel, On Sunday 18 August 2013 08:12 AM, Joel Fernandes wrote: In early version of this driver, assumptions were made such as DMA layer requires contiguous buffers etc. Due to this, new buffers were allocated, mapped and used for DMA. These assumptions are no longer true and DMAEngine

[PATCHv10] drivers: spi: Add qspi flash controller

2013-08-20 Thread Sourav Poddar
The patch add basic support for the quad spi controller. QSPI is a kind of spi module that allows single, dual and quad read access to external spi devices. The module has a memory mapped interface which provide direct interface for accessing data form external spi devices. The patch will

Re: [PATCHv10] drivers: spi: Add qspi flash controller

2013-08-20 Thread Felipe Balbi
Hi, On Tue, Aug 20, 2013 at 06:35:25PM +0530, Sourav Poddar wrote: +static int qspi_transfer_msg(struct ti_qspi *qspi, struct spi_transfer *t) +{ + int ret; + + if (t-tx_buf) { + ret = qspi_write_msg(qspi, t); + if (ret) { +

Re: [PATCH 1/6] v4l: ti-vpe: Create a vpdma helper library

2013-08-20 Thread Archit Taneja
Hi Laurent, On Tuesday 20 August 2013 05:09 PM, Laurent Pinchart wrote: snip +static int vpdma_load_firmware(struct vpdma_data *vpdma) +{ + int r; + struct device *dev = vpdma-pdev-dev; + + r = request_firmware_nowait(THIS_MODULE, 1, + (const char *)

Re: [PATCHv10] drivers: spi: Add qspi flash controller

2013-08-20 Thread Sourav Poddar
On Tuesday 20 August 2013 06:44 PM, Felipe Balbi wrote: Hi, On Tue, Aug 20, 2013 at 06:35:25PM +0530, Sourav Poddar wrote: +static int qspi_transfer_msg(struct ti_qspi *qspi, struct spi_transfer *t) +{ + int ret; + + if (t-tx_buf) { + ret = qspi_write_msg(qspi, t); +

RE: [PATCH v5 0/4] mtd:nand:omap2: clean-up of supported ECC schemes

2013-08-20 Thread Gupta, Pekon
Hi Artem, Brian, Changes v4 - v5 - Rebased to linux-next IMPORTANT: Need to revert commit fb1585b, [PATCH 2/4] part of previous version http://lists.infradead.org/pipermail/linux-mtd/2013-July/047441.html - Swapped PATCH-1 PATCH-2 to maintain bisectibility compilation

Re: [PATCH 1/2] extcon: extcon-dra7xx: Add extcon driver for USB ID detection

2013-08-20 Thread George Cherian
On 8/20/2013 3:59 PM, Chanwoo Choi wrote: Hi George, diff --git a/Documentation/devicetree/bindings/extcon/extcon-dra7xx.txt b/Documentation/devicetree/bindings/extcon/extcon-dra7xx.txt new file mode 100644 index 000..37e4c22 --- /dev/null +++

Re: [PATCH v4 2/3] usb: phy: Add Qualcomm SS-USB and HS-USB drivers for DWC3 core

2013-08-20 Thread Ivan T. Ivanov
Hi, On Tue, 2013-08-20 at 07:29 -0500, Felipe Balbi wrote: Hi, On Tue, Aug 20, 2013 at 12:56:04PM +0300, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com These drivers handles control and configuration of the HS and SS USB PHY transceivers. They are part of the driver

[PATCHv11] drivers: spi: Add qspi flash controller

2013-08-20 Thread Sourav Poddar
The patch add basic support for the quad spi controller. QSPI is a kind of spi module that allows single, dual and quad read access to external spi devices. The module has a memory mapped interface which provide direct interface for accessing data form external spi devices. The patch will

Re: [PATCH v4 2/3] usb: phy: Add Qualcomm SS-USB and HS-USB drivers for DWC3 core

2013-08-20 Thread Felipe Balbi
Hi, On Tue, Aug 20, 2013 at 04:32:23PM +0300, Ivan T. Ivanov wrote: On Tue, Aug 20, 2013 at 12:56:04PM +0300, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com These drivers handles control and configuration of the HS and SS USB PHY transceivers. They are part of the

Re: [PATCH 1/6] v4l: ti-vpe: Create a vpdma helper library

2013-08-20 Thread Laurent Pinchart
Hi Archit, On Tuesday 20 August 2013 18:46:38 Archit Taneja wrote: On Tuesday 20 August 2013 05:09 PM, Laurent Pinchart wrote: snip +static int vpdma_load_firmware(struct vpdma_data *vpdma) +{ +int r; +struct device *dev = vpdma-pdev-dev; + +r =

Re: [PATCH v5 0/4] mtd:nand:omap2: clean-up of supported ECC schemes

2013-08-20 Thread Artem Bityutskiy
On Tue, 2013-08-20 at 13:20 +, Gupta, Pekon wrote: Hi Artem, Brian, I'll try to go through old e-mails now, and especially ubi/ubifs ones, including yours, and I'll let Brian handle your patches, if I can? :-) I checked them, and they looked good to me: Signed-off-by: Artem Bityutskiy

Re: [PATCH v4 2/3] usb: phy: Add Qualcomm SS-USB and HS-USB drivers for DWC3 core

2013-08-20 Thread Ivan T. Ivanov
Hi, On Tue, 2013-08-20 at 08:37 -0500, Felipe Balbi wrote: Hi, On Tue, Aug 20, 2013 at 04:32:23PM +0300, Ivan T. Ivanov wrote: On Tue, Aug 20, 2013 at 12:56:04PM +0300, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com These drivers handles control and

Re: [PATCH v4 2/3] usb: phy: Add Qualcomm SS-USB and HS-USB drivers for DWC3 core

2013-08-20 Thread Felipe Balbi
On Tue, Aug 20, 2013 at 05:09:11PM +0300, Ivan T. Ivanov wrote: Hi, On Tue, 2013-08-20 at 08:37 -0500, Felipe Balbi wrote: Hi, On Tue, Aug 20, 2013 at 04:32:23PM +0300, Ivan T. Ivanov wrote: On Tue, Aug 20, 2013 at 12:56:04PM +0300, Ivan T. Ivanov wrote: From: Ivan T. Ivanov

Re: [PATCH v4 2/3] usb: phy: Add Qualcomm SS-USB and HS-USB drivers for DWC3 core

2013-08-20 Thread Ivan T. Ivanov
Hi, On Tue, 2013-08-20 at 09:33 -0500, Felipe Balbi wrote: On Tue, Aug 20, 2013 at 05:09:11PM +0300, Ivan T. Ivanov wrote: Hi, On Tue, 2013-08-20 at 08:37 -0500, Felipe Balbi wrote: Hi, On Tue, Aug 20, 2013 at 04:32:23PM +0300, Ivan T. Ivanov wrote: On Tue, Aug 20, 2013

[PATCH v5 1/8] usb: phy: omap-control: Get rid of platform data

2013-08-20 Thread Roger Quadros
omap-control device is present from OMAP4 onwards which support device tree boots only. So get rid of platform data. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/usb/phy/phy-omap-control.c | 18 +++--- include/linux/usb/omap_control_usb.h |4 2 files changed, 7

[PATCH v5 0/8] phy: omap-usb: Support multiple instances and new types

2013-08-20 Thread Roger Quadros
Hi, This patchset does the following: * Get rid of omap_control_usb platform data as we support DT only. * Restructure and add support for new PHY types. We now support the follwing four types TYPE_OMAP - if it has otghs_control mailbox register (e.g. on OMAP4) TYPE_USB2 - if it has Power

[PATCH v5 3/8] usb: phy: omap-usb2: Don't use omap_get_control_dev()

2013-08-20 Thread Roger Quadros
omap_get_control_dev() is being deprecated as it doesn't support multiple instances. As control device is present only from OMAP4 onwards which supports DT only, we use phandles to get the reference to the control device. As we don't support non-DT boot, we just bail out on probe if device node

[PATCH v5 2/8] usb: phy: omap: Add new device types and remove omap_control_usb3_phy_power()

2013-08-20 Thread Roger Quadros
Add support for new device types and in the process rid of ti,type device tree property. The correct type of device will be determined from the compatible string instead. Introduce a compatible string for each device type. At the moment we support 4 types Mailbox, USB2, USB3 and DRA7. Update DT

[PATCH v5 7/8] ARM: dts: omap4: update omap-control-usb nodes

2013-08-20 Thread Roger Quadros
Split otghs_ctrl and USB2 PHY power down into separate omap-control-usb nodes. Get rid of ti,type property. Also get rid of ti,has-mailbox property from usb_otg_hs node and provide the ctrl-module phandle. CC: Benoit Cousson bcous...@baylibre.com Signed-off-by: Roger Quadros rog...@ti.com ---

[PATCH v5 5/8] usb: musb: omap2430: Don't use omap_get_control_dev()

2013-08-20 Thread Roger Quadros
omap_get_control_dev() is being deprecated as it doesn't support multiple instances. As control device is present only from OMAP4 onwards which supports DT only, we use phandles to get the reference to the control device. Also get rid of ti,has-mailbox property as it is redundant and we can

[PATCH v5 8/8] ARM: dts: omap5: update omap-control-usb node

2013-08-20 Thread Roger Quadros
Split USB2 PHY and USB3 PHY into separate omap-control-usb nodes. Get rid of ti,type property. CC: Benoit Cousson bcous...@baylibre.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 20 1 files changed, 12 insertions(+), 8 deletions(-) diff

[PATCH v5 6/8] usb: phy: omap: get rid of omap_get_control_dev()

2013-08-20 Thread Roger Quadros
This function was preventing us from supporting multiple instances. Get rid of it. Since we support DT boots only, users can get the control device phandle from the DT node. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/usb/phy/phy-omap-control.c | 31 ++-

[PATCH v5 4/8] usb: phy: omap-usb3: Don't use omap_get_control_dev()

2013-08-20 Thread Roger Quadros
omap_get_control_dev() is being deprecated as it doesn't support multiple instances. As control device is present only from OMAP4 onwards which supports DT only, we use phandles to get the reference to the control device. As we don't support non-DT boot, we just bail out on probe if device node

[GIT PULL] ARM: OMAP: Device Tree for 3.12

2013-08-20 Thread Benoit Cousson
Hi Tony, Please pull the following commits for OMAP Device Tree for v3.12. Thanks, Benoit Add the minimal DTS support for DRA7xx based SoC core. Add the initial support for N900 and gta04 phones. Do a lot of various cleanups.

Re: [PATCH v4 2/3] usb: phy: Add Qualcomm SS-USB and HS-USB drivers for DWC3 core

2013-08-20 Thread Kumar Gala
On Aug 20, 2013, at 9:54 AM, Ivan T. Ivanov wrote: Hi, On Tue, 2013-08-20 at 09:33 -0500, Felipe Balbi wrote: On Tue, Aug 20, 2013 at 05:09:11PM +0300, Ivan T. Ivanov wrote: Hi, On Tue, 2013-08-20 at 08:37 -0500, Felipe Balbi wrote: Hi, On Tue, Aug 20, 2013 at 04:32:23PM +0300,

[PATCH 0/2] crypto: omap-sham: Misc updates for driver

2013-08-20 Thread Lokesh Vutla
This patch series updates the following for the driver: - Enable polling mode if DMA fails. - Correct the DMA burst size. Lokesh Vutla (2): crypto: omap-sham: Enable Polling mode if DMA fails crypto: omap-sham: correct dma burst size drivers/crypto/omap-sham.c | 72

[PATCH 2/2] crypto: omap-sham: correct dma burst size

2013-08-20 Thread Lokesh Vutla
Each cycle of SHA512 operates on 32 data words where as SHA256 operates on 16 data words. This needs to be updated while configuring DMA channels. Doing the same. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com --- drivers/crypto/omap-sham.c | 11 --- 1 file changed, 4 insertions(+), 7

[PATCH 1/2] crypto: omap-sham: Enable Polling mode if DMA fails

2013-08-20 Thread Lokesh Vutla
For writing input buffer into DATA_IN register current driver has the following state machine: - if input buffer 9 : use fallback driver - else if input buffer block size : Copy input buffer into data_in regs - else use dma transfer. In cases where requesting for DMA channels fails for some

Re: [PATCH v4 2/3] usb: phy: Add Qualcomm SS-USB and HS-USB drivers for DWC3 core

2013-08-20 Thread Pawel Moll
On Tue, 2013-08-20 at 16:01 +0100, Kumar Gala wrote: On Aug 20, 2013, at 9:54 AM, Ivan T. Ivanov wrote: Hi, On Tue, 2013-08-20 at 09:33 -0500, Felipe Balbi wrote: On Tue, Aug 20, 2013 at 05:09:11PM +0300, Ivan T. Ivanov wrote: Hi, On Tue, 2013-08-20 at 08:37 -0500, Felipe

RE: [PATCH v5 1/8] usb: phy: omap-control: Get rid of platform data

2013-08-20 Thread thomas.langer
Hello Roger, this will not work! Roger Quadros wrote on 2013-08-20: - struct omap_control_usb_platform_data *pdata = - dev_get_platdata(pdev-dev); + + if (np) { + of_property_read_u32(np, ti,type, control_usb-type); here you are dereferencing

Re: [PATCH v4 2/3] usb: phy: Add Qualcomm SS-USB and HS-USB drivers for DWC3 core

2013-08-20 Thread Ivan T. Ivanov
On Tue, 2013-08-20 at 10:01 -0500, Kumar Gala wrote: On Aug 20, 2013, at 9:54 AM, Ivan T. Ivanov wrote: Hi, On Tue, 2013-08-20 at 09:33 -0500, Felipe Balbi wrote: On Tue, Aug 20, 2013 at 05:09:11PM +0300, Ivan T. Ivanov wrote: Hi, On Tue, 2013-08-20 at 08:37 -0500, Felipe

Re: [PATCH v4 1/4] ARM: OMAP2+: AM33XX: I2C Sleep/wake sequence support

2013-08-20 Thread Russ Dill
On Sun, Aug 18, 2013 at 10:49 PM, Gururaja Hebbar gururaja.heb...@ti.com wrote: On 8/15/2013 4:04 AM, Russ Dill wrote: On Wed, Aug 14, 2013 at 3:18 AM, Gururaja Hebbar gururaja.heb...@ti.com wrote: On 8/14/2013 3:50 AM, Russ Dill wrote: Changes since v1: * Rebased onto new am335x PM

Re: [PATCH v2 0/5] mfd: twl6030-irq: rework and add twl6032 support

2013-08-20 Thread Grygorii Strashko
On 08/20/2013 11:18 AM, Samuel Ortiz wrote: On Tue, Aug 20, 2013 at 08:13:54AM +0100, Graeme Gregory wrote: On 20/08/13 02:01, Samuel Ortiz wrote: Hi Grygorii, On Thu, Jul 25, 2013 at 04:15:46PM +0300, Grygorii Strashko wrote: This patch series intorduces twl6030-irq module rework to use

Re: [PATCH] i2c-omap: always send stop after nack

2013-08-20 Thread Grygorii Strashko
On 08/19/2013 03:11 PM, Wolfram Sang wrote: Hi, Which means your original patch starts to make a lot more sense. I wonder is this is really what we should be doing though - breaking out of the loop, I mean. Yup, that is fine. I applied the old patch with Acks from Hein and Felipe to -next.

Re: [PATCH] ARM: omap2: Use a consistent AM33XX SoC option description

2013-08-20 Thread Ezequiel Garcia
On Fri, Aug 09, 2013 at 11:18:43AM +0200, Javier Martinez Canillas wrote: On Thu, Aug 8, 2013 at 11:32 PM, Ezequiel Garcia ezequiel.gar...@free-electrons.com wrote: Fix the option description to match the other TI SoCs. This is just a cosmetic change. Signed-off-by: Ezequiel Garcia

Re: [PATCH 1/2] extcon: extcon-dra7xx: Add extcon driver for USB ID detection

2013-08-20 Thread Stephen Warren
On 08/20/2013 12:55 AM, George Cherian wrote: Hi Stephen, Thanks for your review. On 8/20/2013 1:01 AM, Stephen Warren wrote: On 08/16/2013 04:13 AM, George Cherian wrote: Adding extcon driver for USB ID detection to dynamically configure USB Host/Peripheral mode. diff --git

Re: [PATCH v4 2/3] usb: phy: Add Qualcomm SS-USB and HS-USB drivers for DWC3 core

2013-08-20 Thread Pawel Moll
On Tue, 2013-08-20 at 16:06 +0100, Pawel Moll wrote: On Tue, 2013-08-20 at 16:01 +0100, Kumar Gala wrote: On Aug 20, 2013, at 9:54 AM, Ivan T. Ivanov wrote: Hi, On Tue, 2013-08-20 at 09:33 -0500, Felipe Balbi wrote: On Tue, Aug 20, 2013 at 05:09:11PM +0300, Ivan T. Ivanov

Re: [PATCH v5 5/8] usb: musb: omap2430: Don't use omap_get_control_dev()

2013-08-20 Thread Sergei Shtylyov
Hello. On 08/20/2013 06:56 PM, Roger Quadros wrote: omap_get_control_dev() is being deprecated as it doesn't support multiple instances. As control device is present only from OMAP4 onwards which supports DT only, we use phandles to get the reference to the control device. Also get rid of

[PATCH] hwrng: reorder OMAP TRNG driver code

2013-08-20 Thread Olof Johansson
The newly added omap4 support in the driver was added without consideration for building older configs. When building omap1_defconfig, it resulted in: drivers/char/hw_random/omap-rng.c:190:12: warning: 'omap4_rng_init' defined but not used [-Wunused-function]

Re: [PATCH v5 0/4] mtd:nand:omap2: clean-up of supported ECC schemes

2013-08-20 Thread Brian Norris
On Tue, Aug 20, 2013 at 7:02 AM, Artem Bityutskiy dedeki...@gmail.com wrote: On Tue, 2013-08-20 at 13:20 +, Gupta, Pekon wrote: Hi Artem, Brian, I'll try to go through old e-mails now, and especially ubi/ubifs ones, including yours, and I'll let Brian handle your patches, if I can? :-)

Re: [PATCH V2] mmc: omap_hsmmc: Fix sleep too long in ISR context.

2013-08-20 Thread Hein Tibosch
Hi, [ added some people from TI ] On 8/7/2013 6:05 PM, majianpeng wrote: V2: clean up code. V1: www.mail-archive.com/linux-omap@vger.../msg93239.html‎ We found a problem when we removed a working sd card that the irqaction of omap_hsmmc can sleep to 3.6s. This cause our

OMAP baseline test results for v3.11-rc6

2013-08-20 Thread Paul Walmsley
Here are some basic OMAP test results for Linux v3.11-rc6. Logs and other details at: http://www.pwsan.com/omap/testlogs/test_v3.11-rc6/20130818180958/ Test summary Build: uImage: Pass (14/14): n800_multi_omap2xxx, n800_only_a, omap1_defconfig,

Re: [PATCHv3 8/9] ARM: OMAP2+: AM33XX: Basic suspend resume support

2013-08-20 Thread Paul Walmsley
Hi folks, catching up on this thread. On 08/06/2013 12:49 PM, Dave Gerlach wrote: + +static int am33xx_pm_suspend(void) +{ + int i, j, ret = 0; + + int status = 0; + struct platform_device *pdev; + struct omap_device *od; + + /* + * By default the following

Re: [PATCH 1/2] extcon: extcon-dra7xx: Add extcon driver for USB ID detection

2013-08-20 Thread Chanwoo Choi
+ +if (dra7xx_usb-irq_gpio) { +status = devm_request_threaded_irq(dra7xx_usb-dev, irq_num, +NULL, id_irq_handler, IRQF_SHARED | +IRQF_ONESHOT | IRQF_TRIGGER_FALLING, +dev_name(pdev-dev), (void *) dra7xx_usb); +if (status)

Re: [PATCHv3 2/9] ARM: OMAP2+: AM33XX: control: Add some control module registers and APIs

2013-08-20 Thread Paul Walmsley
Hi a few comments On Wed, 14 Aug 2013, Suman Anna wrote: The remoteproc infrastructure is currently tied closely with the virtio/rpmsg framework, and the boot requires that there are virtio devices present in the resource table from the firmware image. Using static channels is something

Re: [PATCH 3/3] ARM: OMAP4: dts: Add main and optional clock data into DT

2013-08-20 Thread Paul Walmsley
Hi On Tue, 23 Jul 2013, Rajendra Nayak wrote: With support to parse clock data from DT, move all main and optional clock information from hwmod to DT. We still retain clocks in hwmod for devices which do not have a DT node. Signed-off-by: Rajendra Nayak rna...@ti.com ---

Re: [PATCH v2 0/2] ARM: dts: Add SHAM and AES DT information

2013-08-20 Thread Paul Walmsley
Hi Benoît, On Wed, 17 Jul 2013, Mark A. Greer wrote: From: Mark A. Greer mgr...@animalcreek.com Long overdue patches to add the device tree updates and documentation for the SHAM and AES modules on the am33xx. The supporting code is already in the mainline kernel. This series is based

Re: [PATCH v2 04/14] crypto: omap-aes: Simplify DMA usage by using direct SGs

2013-08-20 Thread Joel Fernandes
On 08/20/2013 07:57 AM, Lokesh Vutla wrote: Hi Joel, On Sunday 18 August 2013 08:12 AM, Joel Fernandes wrote: In early version of this driver, assumptions were made such as DMA layer requires contiguous buffers etc. Due to this, new buffers were allocated, mapped and used for DMA. These

Re: [PATCH 1/3] ARM: OMAP2+: hwmod-data: Add SSI information

2013-08-20 Thread Paul Walmsley
Hi Sebastian On Sun, 11 Aug 2013, Sebastian Reichel wrote: From: Sebastian Reichel s...@ring0.de This patch adds Synchronous Serial Interface (SSI) hwmod support for OMAP34xx SoCs. a few comments: - please add your Signed-off-by: to the patch description, per

Re: [PATCH v5 2/4] mtd:nand:omap2: clean-up BCHx_HW and BCHx_SW ECC configurations in device_probe

2013-08-20 Thread Brian Norris
On Sun, Jul 14, 2013 at 02:24:49AM +0530, Pekon Gupta wrote: ECC scheme on NAND devices can be implemented in multiple ways.Some using Software algorithm, while others using in-build Hardware engines. omap2-nand driver currently supports following flavours of ECC schemes.

Re: [PATCH v5 0/4] mtd:nand:omap2: clean-up of supported ECC schemes

2013-08-20 Thread Brian Norris
Hi Pekon, I don't think I will take this series (at least not yet), because of the device-tree ABI breakage. On Sun, Jul 14, 2013 at 02:24:47AM +0530, Pekon Gupta wrote: Changes v4 - v5 - Rebased to linux-next IMPORTANT: Need to revert commit fb1585b, [PATCH 2/4] part of previous version

Re: [PATCH 00/12] DRA7xx PRCM, hwmod and DT data

2013-08-20 Thread Paul Walmsley
Hi On Tue, 9 Jul 2013, Rajendra Nayak wrote: This series adds the data files for DRA7xx devices for PRCM, hwmod and DT. This is dependent on the core support [1] patches for DRA7xx and leaves out the clock data since its on its way to DT [2] The regbit headers for prm and cm are cleaned

Re: [PATCH v2 00/13] ARM: OMAP2+: AM43x PRCM support

2013-08-20 Thread Paul Walmsley
Hi On Fri, 2 Aug 2013, Afzal Mohammed wrote: AM43x PRCM support (excluding clock tree) is being added with this series. AM43x reuses most of the IP's from AM335x, as that is the case, much of the AM335x hwmod data is reused. ... Currently there is no public TRM available for AM43x. Can

Re: [PATCH v2 06/13] ARM: OMAP2+: PRCM: AM43x definitions

2013-08-20 Thread Paul Walmsley
On Fri, 2 Aug 2013, Afzal Mohammed wrote: Add AM43x CMINST, CDOFFS, RM_RSTST RM_RSTCTRL definitions - minimal ones that would be used. Signed-off-by: Afzal Mohammed af...@ti.com ... +/* PRM instances */ +#define AM43XX_PRM_OCP_SOCKET_INST 0x +#define

Re: [PATCH] hwrng: reorder OMAP TRNG driver code

2013-08-20 Thread Lokesh Vutla
Hi Olof, On Tuesday 20 August 2013 11:37 PM, Olof Johansson wrote: The newly added omap4 support in the driver was added without consideration for building older configs. When building omap1_defconfig, it resulted in: drivers/char/hw_random/omap-rng.c:190:12: warning: 'omap4_rng_init'

[PATCH v11 8/8] usb: phy: twl4030-usb: remove *set_suspend* and *phy_init* ops

2013-08-20 Thread Kishon Vijay Abraham I
Now that twl4030-usb is adapted to the new generic PHY framework, *set_suspend* and *phy_init* ops can be removed from twl4030-usb driver. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Acked-by: Felipe Balbi ba...@ti.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com ---

[PATCH v11 7/8] usb: phy: omap-usb2: remove *set_suspend* callback from omap-usb2

2013-08-20 Thread Kishon Vijay Abraham I
Now that omap-usb2 is adapted to the new generic PHY framework, *set_suspend* ops can be removed from omap-usb2 driver. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Acked-by: Felipe Balbi ba...@ti.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com --- drivers/phy/phy-omap-usb2.c |

[PATCH v11 5/8] ARM: dts: omap: update usb_otg_hs data

2013-08-20 Thread Kishon Vijay Abraham I
Updated the usb_otg_hs dt data to include the *phy* and *phy-names* binding in order for the driver to use the new generic PHY framework. Also updated the Documentation to include the binding information. The PHY binding information can be found at

[PATCH v11 6/8] usb: musb: omap2430: use the new generic PHY framework

2013-08-20 Thread Kishon Vijay Abraham I
Use the generic PHY framework API to get the PHY. The usb_phy_set_resume and usb_phy_set_suspend is replaced with power_on and power_off to align with the new PHY framework. musb-xceiv can't be removed as of now because musb core uses xceiv.state and xceiv.otg. Once there is a separate state

[PATCH v11 4/8] arm: omap3: twl: add phy consumer data in twl4030_usb_data

2013-08-20 Thread Kishon Vijay Abraham I
The PHY framework uses the phy consumer data populated in platform data in the case of non-dt boot to return the reference to the PHY when the controller (PHY consumer) requests for it. So populated the phy consumer data in the platform data of twl usb. Signed-off-by: Kishon Vijay Abraham I

[PATCH v11 1/8] drivers: phy: add generic PHY framework

2013-08-20 Thread Kishon Vijay Abraham I
The PHY framework provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. For dt-boot, the PHY drivers should also register *PHY provider* with the framework. PHY drivers should create the PHY by

[PATCH v11 2/8] usb: phy: omap-usb2: use the new generic PHY framework

2013-08-20 Thread Kishon Vijay Abraham I
Used the generic PHY framework API to create the PHY. Now the power off and power on are done in omap_usb_power_off and omap_usb_power_on respectively. The omap-usb2 driver is also moved to driver/phy. However using the old USB PHY library cannot be completely removed because OTG is intertwined

[PATCH v11 0/8] PHY framework

2013-08-20 Thread Kishon Vijay Abraham I
Added a generic PHY framework that provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. This framework will be of use only to devices that uses external PHY (PHY functionality is not embedded

[PATCH v11 3/8] usb: phy: twl4030: use the new generic PHY framework

2013-08-20 Thread Kishon Vijay Abraham I
Used the generic PHY framework API to create the PHY. For powering on and powering off the PHY, power_on and power_off ops are used. Once the MUSB OMAP glue is adapted to the new framework, the suspend and resume ops of usb phy library will be removed. Also twl4030-usb driver is moved to