Re: [PATCH v4] phy: omap-control: update dra7 and am437 usb2 Documentation bindings

2014-03-07 Thread Kishon Vijay Abraham I
On Friday 07 March 2014 01:55 PM, Kishon Vijay Abraham I wrote: From: Felipe Balbi ba...@ti.com From: Roger Quadros rog...@ti.com There seems to be some problem with this patch. Pls ignore this. Thanks Kishon The dra7-usb2 and am437-usb2 bindings have not yet been used. Change them to be

[PATCH v4] phy: omap-control: update dra7 and am437 usb2 bindings

2014-03-07 Thread Kishon Vijay Abraham I
From: Roger Quadros rog...@ti.com The dra7-usb2 and am437-usb2 bindings have not yet been used. Change them to be more elegant. Signed-off-by: Roger Quadros rog...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Changes from v3: Changed the compatible value to that suggested by

[PATCH v2 0/5] Add USB nodes for am43xx epos and gp evm

2014-03-07 Thread George Cherian
The patch series adds USB dt nodes for am43xx epos and gp evm Boot tested with Benoit's for_3.15 + following patches https://patchwork.kernel.org/patch/3600821/ https://patchwork.kernel.org/patch/3600831/ https://patchwork.kernel.org/patch/3600851/ https://patchwork.kernel.org/patch/3600841/

[PATCH v2 5/5] ARM: dts: am43x-epos-evm: Enable USB

2014-03-07 Thread George Cherian
Enable - ocp2scp - USB PHY control module - USB PHY - dwc3_omap - USB for am43x-epos-evm Signed-off-by: George Cherian george.cher...@ti.com --- arch/arm/boot/dts/am43x-epos-evm.dts | 27 +++ 1 file changed, 27 insertions(+) diff

[PATCH v2 4/5] ARM: dts: am437x-gp-evm: Enable USB

2014-03-07 Thread George Cherian
Enable - ocp2scp - USB PHY control module - USB PHY - dwc3_omap - USB for am437x-gp-evm Signed-off-by: George Cherian george.cher...@ti.com --- arch/arm/boot/dts/am437x-gp-evm.dts | 28 1 file changed, 28 insertions(+) diff

[PATCH v2 3/5] ARM: dts: AM4372: Add USB nodes

2014-03-07 Thread George Cherian
Add nodes for 2 instances each of - ocp2scp - USB PHY control module - USB PHY - dwc3_omap - USB for AM43xx. Signed-off-by: George Cherian george.cher...@ti.com --- arch/arm/boot/dts/am4372.dtsi | 95 +++ 1 file

[PATCH v2 2/5] ARM: dts: am43xx clock data

2014-03-07 Thread George Cherian
Add USB reference clock data Signed-off-by: George Cherian george.cher...@ti.com --- arch/arm/boot/dts/am43xx-clocks.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/am43xx-clocks.dtsi b/arch/arm/boot/dts/am43xx-clocks.dtsi index 142009c..506d036

[PATCH v2 1/5] doc: Add ti,am437x-dwc3 comaptible for dwc3 glue

2014-03-07 Thread George Cherian
Add the compatible ti,am437x-dwc3 for dwc3 glue driver. Signed-off-by: George Cherian george.cher...@ti.com --- Documentation/devicetree/bindings/usb/omap-usb.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/omap-usb.txt

[PATCH v3 6/8] ARM: dts: omap5: add sata node

2014-03-07 Thread Roger Quadros
From: Balaji T K balaj...@ti.com Add support for sata. [Roger Q] Clean up. CC: Benoit Cousson bcous...@baylibre.com CC: Tony Lindgren t...@atomide.com Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 40

[PATCH v3 8/8] ARM: dts: dra7: add OCP2SCP3 and SATA nodes

2014-03-07 Thread Roger Quadros
From: Balaji T K balaj...@ti.com Add nodes for OCP2SCP3 bus, SATA controller and SATA PHY. [Roger Q] Clean up. CC: Benoit Cousson bcous...@baylibre.com Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 39

[PATCH v3 7/8] ARM: DRA7: hwmod: Add ocp2scp3 and sata hwmods

2014-03-07 Thread Roger Quadros
From: Nikhil Devshatwar nikhil...@ti.com Add hwmods for ocp2scp3 and sata modules. [Roger Q] Clean up. CC: Benoit Cousson bcous...@baylibre.com CC: Paul Walmsley p...@pwsan.com Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Nikhil Devshatwar nikhil...@ti.com Signed-off-by: Roger

[PATCH v3 5/8] ARM: OMAP5: hwmod: Add ocp2scp3 and sata hwmods

2014-03-07 Thread Roger Quadros
From: Keshava Munegowda keshava_mgo...@ti.com Create hwmods for ocp2scp3 and sata modules. [Roger Q] Clean up. CC: Benoit Cousson bcous...@baylibre.com CC: Paul Walmsley p...@pwsan.com CC: Tony Lindgren t...@atomide.com Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Roger Quadros

[PATCH v3 3/8] phy: ti-pipe3: Add SATA compatible to Documentation binding

2014-03-07 Thread Roger Quadros
SATA PHY needs a new compatible ID. Add it to the DT binding documentation. Acked-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/phy/ti-phy.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH v3 4/8] ARM: dts: omap5: Add clocks to USB3 PHY node

2014-03-07 Thread Roger Quadros
The USB3 PHY driver now expects named clocks. Add the relevant clocks to the USB3 PHY node. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index

[PATCH v3 0/8] ARM: OMAP: SATA support for OMAP5 DRA7

2014-03-07 Thread Roger Quadros
Hi Tony Felipe, Kishon has pulled in the relevant PHY patches into his tree. These are the remaining patches from the series. Patches 1 to 3 need to go through Felipe's USB tree. Patches 4 to 8 need to go through Tony's OMAP tree. Thanks. Patches are based on 3.14-rc4 with balbi/next,

[PATCH v3 2/8] phy: ti-pipe3: Add clocks to PIPE3 PHY Documentation binding

2014-03-07 Thread Roger Quadros
Add wakeup, system and reference clocks to DT binding documentation. Acked-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/phy/ti-phy.txt | 12 1 file changed, 12 insertions(+) diff --git

[PATCH v3 1/8] phy: omap-control: update dra7 and am437 usb2 Documentation bindings

2014-03-07 Thread Roger Quadros
The dra7-usb2 and am437-usb2 bindings have not yet been used. Change them to be more elegant. Acked-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/phy/ti-phy.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH v2 3/5] ARM: dts: AM4372: Add USB nodes

2014-03-07 Thread Roger Quadros
On 03/07/2014 11:15 AM, George Cherian wrote: Add nodes for 2 instances each of - ocp2scp - USB PHY control module - USB PHY - dwc3_omap - USB for AM43xx. Signed-off-by: George Cherian george.cher...@ti.com Acked-by: Roger Quadros rog...@ti.com cheers,

Re: [PATCH v2 4/5] ARM: dts: am437x-gp-evm: Enable USB

2014-03-07 Thread Roger Quadros
Hi George, On 03/07/2014 11:15 AM, George Cherian wrote: Enable - ocp2scp - USB PHY control module - USB PHY - dwc3_omap - USB for am437x-gp-evm Signed-off-by: George Cherian george.cher...@ti.com --- arch/arm/boot/dts/am437x-gp-evm.dts | 28

Re: [PATCH v2 4/5] ARM: dts: am437x-gp-evm: Enable USB

2014-03-07 Thread George Cherian
On 3/7/2014 3:55 PM, Roger Quadros wrote: Hi George, On 03/07/2014 11:15 AM, George Cherian wrote: Enable - ocp2scp - USB PHY control module - USB PHY - dwc3_omap - USB for am437x-gp-evm Signed-off-by: George Cherian george.cher...@ti.com ---

Re: [PATCH v2 7/7] v4l: ti-vpe: Add selection API in VPE driver

2014-03-07 Thread Archit Taneja
Hi Hans, On Tuesday 04 March 2014 05:05 PM, Hans Verkuil wrote: On 03/04/14 12:25, Archit Taneja wrote: I had a minor question about the selection API: Are the V4L2_SET_TGT_CROP/COMPOSE_DEFAULT and the corresponding 'BOUNDS' targets supposed to be used with VIDIOC_S_SELECTION? If so, what's

[PATCH v3 0/5] Add USB nodes for am43xx epos and gp evm

2014-03-07 Thread George Cherian
The patch series adds USB dt nodes for am43xx epos and gp evm Boot tested with Benoit's for_3.15 + following patches https://patchwork.kernel.org/patch/3600821/ https://patchwork.kernel.org/patch/3600831/ https://patchwork.kernel.org/patch/3600851/ https://patchwork.kernel.org/patch/3600841/

[PATCH v3 3/5] ARM: dts: AM4372: Add USB nodes

2014-03-07 Thread George Cherian
Add nodes for 2 instances each of - ocp2scp - USB PHY control module - USB PHY - dwc3_omap - USB for AM43xx. Signed-off-by: George Cherian george.cher...@ti.com Acked-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/am4372.dtsi | 95

[PATCH v3 4/5] ARM: dts: am437x-gp-evm: Enable USB

2014-03-07 Thread George Cherian
Enable - ocp2scp - USB PHY control module - USB PHY - dwc3_omap - USB for am437x-gp-evm Signed-off-by: George Cherian george.cher...@ti.com --- arch/arm/boot/dts/am437x-gp-evm.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git

[PATCH v3 1/5] doc: Add ti,am437x-dwc3 comaptible for dwc3 glue

2014-03-07 Thread George Cherian
Add the compatible ti,am437x-dwc3 for dwc3 glue driver. Signed-off-by: George Cherian george.cher...@ti.com --- Documentation/devicetree/bindings/usb/omap-usb.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/omap-usb.txt

[PATCH v3 2/5] ARM: dts: am43xx clock data

2014-03-07 Thread George Cherian
Add USB reference clock data Signed-off-by: George Cherian george.cher...@ti.com --- arch/arm/boot/dts/am43xx-clocks.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/am43xx-clocks.dtsi b/arch/arm/boot/dts/am43xx-clocks.dtsi index 142009c..506d036

[PATCH v3 5/5] ARM: dts: am43x-epos-evm: Enable USB

2014-03-07 Thread George Cherian
Enable - ocp2scp - USB PHY control module - USB PHY - dwc3_omap - USB for am43x-epos-evm Signed-off-by: George Cherian george.cher...@ti.com --- arch/arm/boot/dts/am43x-epos-evm.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git

[RFC PATCH 9/9] arm: dts: dra7: Change the total dma-req numbers to crossbar channels

2014-03-07 Thread Sricharan R
On DRA7 there is a crossbar router which maps the peripheral dma request channels to the dma controller inputs. The dma-controller can receive requests from any of the crossbar channels. So register the total number crossbar channels instead of the shared dma-request lines. Signed-off-by:

[RFC PATCH 5/9] drivers: dma: Add dma crossbar driver

2014-03-07 Thread Sricharan R
DRA7XX dma controller IP's are preceded by a crossbar which routes the dma requests from the peripherals to the dma request input lines of the appropriate dma controller. With this the dma controller's available request lines are shared between the peripherals. The driver maintains a list of free

[RFC PATCH 7/9] arm: dts: dra: Add dma-request crossbar phandle to dma-specs

2014-03-07 Thread Sricharan R
The dma-request lines from peripherals are connected to the dma-controller through a crossbar router. Adding this crossbar phandle to the peripheral's dma-specs. This is used by the driver to identify the router associated with a dma-request line and map it. Signed-off-by: Sricharan R

[RFC PATCH 8/9] arm: dra: Enable dma crossbar support on dra7xx

2014-03-07 Thread Sricharan R
Enable dma crossbar support on dra7xx Signed-off-by: Sricharan R r.sricha...@ti.com --- arch/arm/configs/omap2plus_defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index 3a0b53d..1cf8277 100644 ---

[RFC PATCH 1/9] drivers: dma: omap-dma: Avoid hard-coding of the dma-request channels

2014-03-07 Thread Sricharan R
The total number of dma-request channels is hard-coded. Instead read the data from DT. Signed-off-by: Sricharan R r.sricha...@ti.com --- drivers/dma/omap-dma.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap-dma.c index

[RFC PATCH 6/9] arm: dts: dra: Add dma crossbar node

2014-03-07 Thread Sricharan R
Adding the crossbar node. Signed-off-by: Sricharan R r.sricha...@ti.com --- arch/arm/boot/dts/dra7.dtsi |7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index 1fd75aa..f84991b 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++

[RFC PATCH 3/9] drivers: dma: omap-dma: Add a seperate xlate function to get router data

2014-03-07 Thread Sricharan R
Each dma-request channel can be connected to the dma-controller either directly or through a crossbar router. In such cases request lines should be routed to the dma-controller. Adding a xlate function which would retrieve and store the router data associated with a particular channel in the

[RFC PATCH 4/9] drivers: omap-dma: Add crossbar line as a resource to omap_chan structure

2014-03-07 Thread Sricharan R
In socs which have crossbar to route the peripheral dma request line to the dma controller, only the peripheral crossbar request line number is fixed and this is passed through the DT nodes. The dma request channel to be used is allocated dynamically. The total number of crossbar channels are

[RFC PATCH 0/9] drivers: dma: Add support for dma-channel router

2014-03-07 Thread Sricharan R
In some SoCs the dma request lines from the peripherals are routed to the dma-controller through a crossbar. With this the dma controller's available request lines are shared between the peripherals. This adds support to register the crossbar router associated with a dma-channel and let the

[RFC PATCH 2/9] drivers: dma: of-dma: Add support for dma-request line routers

2014-03-07 Thread Sricharan R
In some socs dma requests lines from the peripherals to the dma controller can be connected either directly or through a crossbar router. The crossbar in turn maps the peripheral request line to a free dma-controller request line. In such cases the crossbar associated with the particular request

Re: [PATCH] ARM: OMAP2+: INTC: Acknowledge stuck active interrupts

2014-03-07 Thread Sørensen , Stefan
On Thu, 2014-03-06 at 10:32 -0800, Tony Lindgren wrote: While playing with this, you may want to also do one more test and forward port these two patches adding checks for spurious interrupts: 6ccc4c0d ARM: OMAP3: Warn about spurious interrupts 846c29f1 ARM: OMAP3: Clean up spurious

[PATCH v3 1/2] ASoC: tlv320aic32x4: Sort Makefile in alphabetic order

2014-03-07 Thread Jyri Sarha
The tlv320aic32x4 related lines were wrongly placed after tlv320aic3x lines. Signed-off-by: Jyri Sarha jsa...@ti.com --- sound/soc/codecs/Makefile |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/Makefile b/sound/soc/codecs/Makefile index

[PATCH v3 0/2] AM43xx-ePOS-EVM audio support with TLV320AIC31XX driver

2014-03-07 Thread Jyri Sarha
Since the v2 version of the patches [1] I have dropped davinci-evm related patches since I plan to start using simple-card for machine driver. I have also addressed Mark Brown's comments [2] as I described in my mail here [3]. Best regards, Jyri [1]

[PATCH v3 2/2] ASoC: tlv320aic31xx: Add basic codec driver implementation

2014-03-07 Thread Jyri Sarha
This commit adds a bare bones driver support for TLV320AIC31XX family audio codecs. The driver adds basic stereo playback trough headphone and speaker outputs and mono capture trough microphone inputs. The driver is currently missing support at least for mini DSP features and jack detection. I

Re: [PATCH v2 7/7] v4l: ti-vpe: Add selection API in VPE driver

2014-03-07 Thread Hans Verkuil
On 03/07/2014 12:50 PM, Archit Taneja wrote: Hi Hans, On Tuesday 04 March 2014 05:05 PM, Hans Verkuil wrote: On 03/04/14 12:25, Archit Taneja wrote: I had a minor question about the selection API: Are the V4L2_SET_TGT_CROP/COMPOSE_DEFAULT and the corresponding 'BOUNDS' targets supposed to

[PATCH 0/8] USB support for DRA7-evm

2014-03-07 Thread Roger Quadros
Hi, This series enables the 2 USB ports on the DRA7-evm. Patches are based on on 3.14-rc4 with balbi/next, linux-phy/next, omap-for-v3.15/dt merged and [1] applied. [1] - http://article.gmane.org/gmane.linux.drivers.devicetree/65223. cheers, -roger --- Roger Quadros (8): CLK: ti: dra7:

[PATCH 7/8] ARM: dts: dra7: Add USB related nodes

2014-03-07 Thread Roger Quadros
Add nodes for the Super Speed USB controllers, omap-control-usb, USB2 PHY and USB3 PHY devices. Remove ocp2scp1 address space from hwmod data as it is now provided via device tree. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 110

[PATCH 3/8] ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss

2014-03-07 Thread Roger Quadros
Add the sysconfig class bits for the Super Speed USB controllers Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c

[PATCH 4/8] phy: omap-usb2: Use generic clock names wkupclk and refclk

2014-03-07 Thread Roger Quadros
As clocks might be named differently on multiple platforms, use a generic name in the driver and allow device tree node to specify the platform specific clock name. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/phy/phy-omap-usb2.c | 8 1 file changed, 4 insertions(+), 4

[PATCH 8/8] dts: dra7-evm: add USB support

2014-03-07 Thread Roger Quadros
Add USB pinmux information and USB modes for the first 2 USB controllers. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7-evm.dts | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts

[PATCH 6/8] ARM: dts: omap4+: Add clocks to USB2 PHY node

2014-03-07 Thread Roger Quadros
The USB2 PHY driver expects named clocks for wakeup clock and reference clock. Provide this information for USB2 PHY nodes in OMAP4 and OMAP5 SoC DTS. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap4.dtsi | 2 ++ arch/arm/boot/dts/omap5.dtsi | 2 ++ 2 files changed, 4

[PATCH 5/8] phy: omap-usb2: Add clock names to Documentation binding

2014-03-07 Thread Roger Quadros
Add wkupclk and refclk information to DT binding information. Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/phy/ti-phy.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/ti-phy.txt

[PATCH 1/8] CLK: ti: dra7: Initialize USB_DPLL

2014-03-07 Thread Roger Quadros
USB_DPLL must be initialized and locked at boot so that USB modules can work. Also program USB_DLL_M2 output to half rate. CC: Mike Turquette mturque...@linaro.org CC: Tero Kristo t-kri...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- drivers/clk/ti/clk-7xx.c | 11 +++ 1 file

[PATCH 2/8] ARM: dts: dra7-clock: Add l3init_960m_gfclk clock gate

2014-03-07 Thread Roger Quadros
This clock gate description was missing in older Reference manuals. It is present on the SoC to provide 960MHz reference clock to the internal USB PHYs. Use l3init_960m_gfclk as parent of usb_otg_ss1_refclk960m and usb_otg_ss2_refclk960m. CC: Tero Kristo t-kri...@ti.com Signed-off-by: Roger

Re: [PATCH v2 7/7] v4l: ti-vpe: Add selection API in VPE driver

2014-03-07 Thread Archit Taneja
Hi, On Friday 07 March 2014 06:29 PM, Hans Verkuil wrote: Do you think I can go ahead with posting the v3 patch set for 3.15, and work on fixing the compliance issue for the -rc fixes? It's fine to upstream this in staging, but while not all compliance errors are fixed it can't go to

[PATCH v2 0/4] mtd: nand: omap: add support for BCH16_ECC

2014-03-07 Thread Pekon Gupta
*changes v1 - v2* Rebased and Cleaned on following versions of pending patches (1) [PATCH v8 0/6] mtd: nand: omap: optimized chip-ecc.correct() for H/W ECC schemes http://lists.infradead.org/pipermail/linux-mtd/2014-February/052092.html (2) [PATCH v6 0/4] mtd: nand: omap: optimize

[PATCH v2 3/4] mtd: nand: omap: add support for BCH16_ECC - NAND driver updates

2014-03-07 Thread Pekon Gupta
This patch add support for BCH16 ecc-scheme in OMAP NAND driver, by extending following functions: - omap_enable_hwecc (nand_chip-ecc.hwctl): configure GPMC controller - omap_calculate_ecc_bch (nand_chip-ecc.calculate): fetch ECC signature from GPMC controller - omap_elm_correct_data

[PATCH v2 1/4] mtd: nand: omap: add support for BCH16_ECC - GPMC driver updates

2014-03-07 Thread Pekon Gupta
This patch add support for BCH16_ECC in GPMC (controller) driver: - extend configuration space to include BCH16 registers - extend parsing of DT binding for selecting BCH16 ecc-scheme Signed-off-by: Pekon Gupta pe...@ti.com --- arch/arm/mach-omap2/gpmc.c | 15 +++

[PATCH v2 4/4] mtd: nand: omap: Documentation: How to select correct ECC scheme for your device ?

2014-03-07 Thread Pekon Gupta
- Adds DT binding property for BCH16 ECC scheme - Adds describes on factors which determine choice of ECC scheme for particular device Signed-off-by: Pekon Gupta pe...@ti.com --- .../devicetree/bindings/mtd/gpmc-nand.txt | 39 ++ 1 file changed, 39 insertions(+)

[PATCH v2 2/4] mtd: nand: omap: add support for BCH16_ECC - ELM driver updates

2014-03-07 Thread Pekon Gupta
ELM hardware engine is used to detect ECC errors for BCHx ecc-schemes (like BCH4/BCH8/BCH16). This patch extends configuration of ELM registers for loading of BCH16 ECC syndrome. Signed-off-by: Pekon Gupta pe...@ti.com --- drivers/mtd/devices/elm.c | 42

Re: [PATCH v2 7/7] v4l: ti-vpe: Add selection API in VPE driver

2014-03-07 Thread Hans Verkuil
On 03/07/2014 02:22 PM, Archit Taneja wrote: Hi, On Friday 07 March 2014 06:29 PM, Hans Verkuil wrote: Do you think I can go ahead with posting the v3 patch set for 3.15, and work on fixing the compliance issue for the -rc fixes? It's fine to upstream this in staging, but while not all

[PATCH] dma: omap-dma: Implement device_slave_caps callback

2014-03-07 Thread Peter Ujfalusi
With the callback implemented omap-dma can provide information to client drivers regarding to supported address widths, directions, residue granularity, etc. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma/omap-dma.c | 18 ++ 1 file changed, 18 insertions(+)

Re: [PATCH 1/8] CLK: ti: dra7: Initialize USB_DPLL

2014-03-07 Thread Tero Kristo
On 03/07/2014 03:09 PM, Roger Quadros wrote: USB_DPLL must be initialized and locked at boot so that USB modules can work. Also program USB_DLL_M2 output to half rate. CC: Mike Turquette mturque...@linaro.org CC: Tero Kristo t-kri...@ti.com Signed-off-by: Roger Quadros rog...@ti.com ---

Re: [PATCH v2 7/7] v4l: ti-vpe: Add selection API in VPE driver

2014-03-07 Thread Archit Taneja
On Friday 07 March 2014 07:02 PM, Hans Verkuil wrote: On 03/07/2014 02:22 PM, Archit Taneja wrote: Hi, On Friday 07 March 2014 06:29 PM, Hans Verkuil wrote: Do you think I can go ahead with posting the v3 patch set for 3.15, and work on fixing the compliance issue for the -rc fixes? It's

Re: [PATCH 2/8] ARM: dts: dra7-clock: Add l3init_960m_gfclk clock gate

2014-03-07 Thread Tero Kristo
On 03/07/2014 03:09 PM, Roger Quadros wrote: This clock gate description was missing in older Reference manuals. It is present on the SoC to provide 960MHz reference clock to the internal USB PHYs. Can you provide a document reference here? -Tero Use l3init_960m_gfclk as parent of

Re: [PATCH v7 1/4] mmc: omap_hsmmc: Enable SDIO IRQ.

2014-03-07 Thread Balaji T K
On Wednesday 05 March 2014 02:00 PM, Andreas Fenkart wrote: Hi, 2014-02-28 18:04 GMT+01:00 Balaji T K balaj...@ti.com: On Tuesday 25 February 2014 06:07 PM, Andreas Fenkart wrote: For now, only support SDIO interrupt if we are booted with DT. This is because some platforms need special

Re: [PATCH v3 4/7] ARM: dts: omap3-overo: Add HSUSB PHY

2014-03-07 Thread Florian Vaussard
On 03/05/2014 09:01 AM, Florian Vaussard wrote: On 03/03/2014 02:07 PM, Roger Quadros wrote: On 03/03/2014 02:48 PM, Florian Vaussard wrote: Hi Roger, On 03/03/2014 12:03 PM, Roger Quadros wrote: Hi Florian, On 03/03/2014 11:34 AM, Florian Vaussard wrote: Add the High-Speed USB PHY.

Re: OMAP138 (davinci) ecap driver support

2014-03-07 Thread Laszlo Papp
Ping? -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v7 1/4] mmc: omap_hsmmc: Enable SDIO IRQ.

2014-03-07 Thread Tony Lindgren
* Balaji T K balaj...@ti.com [140307 07:15]: On Wednesday 05 March 2014 02:00 PM, Andreas Fenkart wrote: 2014-02-28 18:04 GMT+01:00 Balaji T K balaj...@ti.com: I tried testing this patch series on am335x, I see throughput in the range of KBs. Will give another try with Tony's version. KB

Re: [PATCH] ARM: OMAP2+: INTC: Acknowledge stuck active interrupts

2014-03-07 Thread Tony Lindgren
* Sørensen, Stefan stefan.soren...@spectralink.com [140307 04:44]: On Thu, 2014-03-06 at 10:32 -0800, Tony Lindgren wrote: While playing with this, you may want to also do one more test and forward port these two patches adding checks for spurious interrupts: 6ccc4c0d ARM: OMAP3: Warn

Re: [PATCH 5/8] phy: omap-usb2: Add clock names to Documentation binding

2014-03-07 Thread Felipe Balbi
On Fri, Mar 07, 2014 at 03:09:08PM +0200, Roger Quadros wrote: Add wkupclk and refclk information to DT binding information. Signed-off-by: Roger Quadros rog...@ti.com --- so, should I take this one ? -- balbi signature.asc Description: Digital signature

Re: [PATCH 5/8] phy: omap-usb2: Add clock names to Documentation binding

2014-03-07 Thread Kishon Vijay Abraham I
Felipe, On Friday 07 March 2014 09:34 PM, Felipe Balbi wrote: On Fri, Mar 07, 2014 at 03:09:08PM +0200, Roger Quadros wrote: Add wkupclk and refclk information to DT binding information. Signed-off-by: Roger Quadros rog...@ti.com --- so, should I take this one ? yes.. the ti-phy.txt is

Re: [PATCH 5/8] phy: omap-usb2: Add clock names to Documentation binding

2014-03-07 Thread Felipe Balbi
On Fri, Mar 07, 2014 at 09:53:03PM +0530, Kishon Vijay Abraham I wrote: Felipe, On Friday 07 March 2014 09:34 PM, Felipe Balbi wrote: On Fri, Mar 07, 2014 at 03:09:08PM +0200, Roger Quadros wrote: Add wkupclk and refclk information to DT binding information. Signed-off-by: Roger Quadros

[PATCH v3] crypto: omap-sham: Map SG pages if they are HIGHMEM before accessing

2014-03-07 Thread Joel Fernandes
HIGHMEM pages may not be mapped so we must kmap them before accessing. This resolves a random OOPs error that was showing up during OpenSSL SHA tests. Signed-off-by: Joel Fernandes jo...@ti.com --- v2: Don't check for HIGHMEM, already done by kmap/unmap v3: Use atomic as call can happen in irq

[PATCH v6] phy: omap-usb2: move omap_usb.h from linux/usb/ to linux/phy/

2014-03-07 Thread Kishon Vijay Abraham I
No functional change. Moved omap_usb.h from linux/usb/ to linux/phy/. Also removed the unused members of struct omap_usb (after phy-omap-pipe3 started using it's own header file) Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Changes from v5: fixes the following compilation error

Re: [PATCHv3 00/41] OMAPDSS: DT support v3

2014-03-07 Thread Tony Lindgren
* Tomi Valkeinen tomi.valkei...@ti.com [140305 23:32]: Hi Tony, On 21/01/14 12:56, Tomi Valkeinen wrote: Hi, Here's version 3 of the DSS DT series. Can you have a look at the arch/arm/ parts in the series and ack if they're ok, i.e, patches 1, 2, 32. Patches 1, 2 32 look OK to me,

Re: [PATCH v6] phy: omap-usb2: move omap_usb.h from linux/usb/ to linux/phy/

2014-03-07 Thread Felipe Balbi
On Fri, Mar 07, 2014 at 10:18:08PM +0530, Kishon Vijay Abraham I wrote: No functional change. Moved omap_usb.h from linux/usb/ to linux/phy/. Also removed the unused members of struct omap_usb (after phy-omap-pipe3 started using it's own header file) does this depend in any other patch ? I get

Re: [PATCH 1/8] CLK: ti: dra7: Initialize USB_DPLL

2014-03-07 Thread Tony Lindgren
* Tero Kristo t-kri...@ti.com [140307 05:46]: On 03/07/2014 03:09 PM, Roger Quadros wrote: USB_DPLL must be initialized and locked at boot so that USB modules can work. Also program USB_DLL_M2 output to half rate. CC: Mike Turquette mturque...@linaro.org CC: Tero Kristo t-kri...@ti.com

Re: [PATCH v6] phy: omap-usb2: move omap_usb.h from linux/usb/ to linux/phy/

2014-03-07 Thread Kishon Vijay Abraham I
On Friday 07 March 2014 10:20 PM, Felipe Balbi wrote: On Fri, Mar 07, 2014 at 10:18:08PM +0530, Kishon Vijay Abraham I wrote: No functional change. Moved omap_usb.h from linux/usb/ to linux/phy/. Also removed the unused members of struct omap_usb (after phy-omap-pipe3 started using it's own

Re: [PATCH v6] phy: omap-usb2: move omap_usb.h from linux/usb/ to linux/phy/

2014-03-07 Thread Felipe Balbi
On Fri, Mar 07, 2014 at 11:09:02PM +0530, Kishon Vijay Abraham I wrote: On Friday 07 March 2014 10:20 PM, Felipe Balbi wrote: On Fri, Mar 07, 2014 at 10:18:08PM +0530, Kishon Vijay Abraham I wrote: No functional change. Moved omap_usb.h from linux/usb/ to linux/phy/. Also removed the unused

Re: [PATCH v6] phy: omap-usb2: move omap_usb.h from linux/usb/ to linux/phy/

2014-03-07 Thread Kishon Vijay Abraham I
On Friday 07 March 2014 11:10 PM, Felipe Balbi wrote: On Fri, Mar 07, 2014 at 11:09:02PM +0530, Kishon Vijay Abraham I wrote: On Friday 07 March 2014 10:20 PM, Felipe Balbi wrote: On Fri, Mar 07, 2014 at 10:18:08PM +0530, Kishon Vijay Abraham I wrote: No functional change. Moved omap_usb.h

[GIT PULL] omap device tree changes for v3.15, part 2

2014-03-07 Thread Tony Lindgren
The following changes since commit f777ba1780584b100ab9664cc06d04f3bb273a84: Merge tag 'for_3.15/dts_signed' of git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt into omap-for-v3.15/dt (2014-03-02 14:22:03 -0800) are available in the git repository at:

Re: [PATCH v6] phy: omap-usb2: move omap_usb.h from linux/usb/ to linux/phy/

2014-03-07 Thread Felipe Balbi
On Fri, Mar 07, 2014 at 11:16:10PM +0530, Kishon Vijay Abraham I wrote: On Friday 07 March 2014 11:10 PM, Felipe Balbi wrote: On Fri, Mar 07, 2014 at 11:09:02PM +0530, Kishon Vijay Abraham I wrote: On Friday 07 March 2014 10:20 PM, Felipe Balbi wrote: On Fri, Mar 07, 2014 at 10:18:08PM +0530,

[PATCH v4 1/9] ARM: dts: overo: reorganize include files

2014-03-07 Thread Florian Vaussard
Currently, overo-related include files are organized as follow: omap3-overo.dtsi | | omap34xx.dtsi omap3-overo-tobi-common.dtsi omap36xx.dtsi | | | |

[PATCH v4 0/9] ARM: dts: Better support for Gumstix Overo (for 3.15?)

2014-03-07 Thread Florian Vaussard
Hello Tony, Benoit, This is the fourth version of my Overo series. Compared to v3, I reorganized a bit the include files (omap3-overo.dtsi - omap3-overo-base.dtsi and created SoC-specific omap3-overo.dtsi and omap3-overo-storm.dtsi). This was necessary to correctly define the pinmux for the

[PATCH v4 4/9] ARM: dts: omap3-overo: Enable WiFi/BT combo

2014-03-07 Thread Florian Vaussard
MMC2 is used by the on-board WiFi module populated on some boards (based on Marvell Libertas 8688 SDIO). The Bluetooth is connected to UART2. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap3-overo-base.dtsi | 72

[PATCH v4 2/9] ARM: dts: omap3-tobi: Add missing pinctrl

2014-03-07 Thread Florian Vaussard
Add missing pinctrl entries: - i2c3 Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap3-overo-tobi-common.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi

[PATCH v4 6/9] ARM: dts: omap: Add common file for SMSC9221

2014-03-07 Thread Florian Vaussard
Some devices (SMSC9217, SMSC9218 and SMSC9221 at least) have better timings, allowing a higher transfer speed. Create a common file with these timings. Performance results with iperf: - omap-gpmc-smsc911x.dtsi = 54.9 Mbps - omap-gpmc-smsc9221.dtsi = 92.7 Mbps Signed-off-by: Florian Vaussard

[PATCH v4 9/9] ARM: dts: overo: Push uart3 pinmux down to expansion board

2014-03-07 Thread Florian Vaussard
UART3 is used by expansion boards to get a tty console. Thus, the pinmux should be defined by expansion boards, instead of being imposed by the processor board. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap3-overo-base.dtsi| 11 ---

[PATCH v4 7/9] ARM: dts: omap3-tobi: Use include file omap-gpmc-smsc9221

2014-03-07 Thread Florian Vaussard
Use the timings provided by omap-gpmc-smsc9221. This does not change the timings, but it avoids code duplication. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap3-overo-tobi-common.dtsi | 42 ++ 1 file changed, 3 insertions(+), 39

[PATCH v4 8/9] ARM: dts: omap3-tobi: Add AT24C01 EEPROM

2014-03-07 Thread Florian Vaussard
Add the AT24C01 EEPROM node populated on most Gumstix expansion board. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap3-overo-tobi-common.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi

[PATCH v4 5/9] ARM: dts: omap3-overo: Add HSUSB PHY

2014-03-07 Thread Florian Vaussard
Add the High-Speed USB PHY. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap3-overo-base.dtsi | 44 arch/arm/boot/dts/omap3-overo-storm.dtsi | 16 arch/arm/boot/dts/omap3-overo.dtsi | 16 3 files

[PATCH v4 3/9] ARM: dts: omap3-overo: Add missing pinctrl

2014-03-07 Thread Florian Vaussard
Add missing pinctrl entries for: - i2c1 - mmc1 Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap3-overo-base.dtsi | 40 + 1 file changed, 31 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/omap3-overo-base.dtsi

Re: [PATCH 2/4] power_supply: Introduce generic psy charging driver

2014-03-07 Thread Pavel Machek
Hi! +++ b/include/linux/power/power_supply_charger.h +#define MAX_CUR_VOLT_SAMPLES 3 +#define DEF_CUR_VOLT_SAMPLE_JIFF (30*HZ) Why are things defined in Jiffies like this insead of seconds, milliseconds etc? This will vary with the current operating frequency of the system, why

Re: [PATCH 2/4] power_supply: Introduce generic psy charging driver

2014-03-07 Thread Pavel Machek
On Fri 2014-03-07 11:04:59, Linus Walleij wrote: On Fri, Feb 28, 2014 at 6:01 PM, Pavel Machek pa...@ucw.cz wrote: On Thu 2014-02-27 21:08:01, Linus Walleij wrote: On Thu, Feb 20, 2014 at 6:53 AM, Jenny TC jenny...@intel.com wrote: +++ b/include/linux/power/power_supply_charger.h

Re: [PATCHv8 1/4] power_supply: Add inlmt,iterm, min/max temp props

2014-03-07 Thread Pavel Machek
On Fri 2014-03-07 10:59:31, Jenny TC wrote: Add new power supply properties for input current, charge termination current, min and max temperature POWER_SUPPLY_PROP_TEMP_MIN - minimum operatable temperature POWER_SUPPLY_PROP_TEMP_MAX - maximum operatable temperature

Re: [PATCHv8 2/4] power_supply: Introduce generic psy charging driver

2014-03-07 Thread Pavel Machek
Hi! The Power Supply charging driver connects multiple subsystems to do charging in a generic way. The subsystems involves power_supply, thermal and battery communication subsystems (1wire).With this the charging is handled in a generic way. after ., please. + +The Power Supply charging

[PATCH 2/5] iommu/omap: Fix 'no page for' debug message in flush_iotlb_page()

2014-03-07 Thread Laurent Pinchart
The flush_iotlb_page() function prints a debug message when no corresponding page was found in the TLB. That condition is incorrectly checked and always resolves to true, given that the for_each_iotlb_cr() loop is never interrupted and always reaches obj-nr_tlb_entries. Signed-off-by: Laurent

[PATCH 3/5] iommu/omap: Flush the TLB only after updating translation table entries

2014-03-07 Thread Laurent Pinchart
Flushing the TLB before updating translation entries creates a race condition and can lead to stale TLB entries if a translation request arrives between flushing the TLB and updating the translation entries. As there's no requirement to flush the TLB before updating the entries, flush it after

[PATCH 0/5] OMAP IOMMU fixes and IOMMU architecture questions

2014-03-07 Thread Laurent Pinchart
Hello, This patch set fixes miscellaneous issues with the OMAP IOMMU driver, found when trying to port the OMAP3 ISP away from omap-iovmm to the ARM DMA API. The biggest issue is fixed by patch 5/5, while the other patches fix smaller problems that I've noticed when reading the code, without

[PATCH 1/5] iommu/omap: Use the cache cleaning API

2014-03-07 Thread Laurent Pinchart
The page table entries must be cleaned from the cache before being accessed by the IOMMU. Instead of implementing cache management manually (and ignoring L2 cache), use clean_dcache_area() to make sure the entries are visible to the device. Signed-off-by: Laurent Pinchart

[PATCH 4/5] iommu/omap: Remove comment about supporting single page mappings only

2014-03-07 Thread Laurent Pinchart
The IOMMU core breaks out mappings into pages already, there's no need to support mapping multiple pages in one go. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/iommu/omap-iommu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/iommu/omap-iommu.c

[PATCH 5/5] iommu/omap: Fix map protection value handling

2014-03-07 Thread Laurent Pinchart
The prot flags passed to the IOMMU map handler are defined in include/linux/iommu.h as IOMMU_(READ|WRITE|CACHE|EXEC). However, the driver expects to receive MMU_RAM_* OMAP-specific flags. This causes IOMMU flags being interpreted as page sizes, leading to failures. Hardcode the OMAP mapping

  1   2   >