Re: [PATCH 00/12] ARM: OMAP2 DT clock conversion

2014-03-03 Thread Tero Kristo
On 02/28/2014 08:33 PM, Tony Lindgren wrote: * Tero Kristo t-kri...@ti.com [140228 10:21]: Hmm, some clock node is broken, might be missing a name or parent name for some reason. Can you try to boot with DEBUG enabled so you get pr_debug:s out and see which clock is being initialized during

Re: [PATCH 7/7] v4l: ti-vpe: Add crop support in VPE driver

2014-03-03 Thread Archit Taneja
Hi, On Monday 03 March 2014 01:20 PM, Hans Verkuil wrote: Hi Archit! On 03/03/2014 08:33 AM, Archit Taneja wrote: Add crop ioctl ops. For VPE, cropping only makes sense with the input to VPE, or the V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE buffer type. For the CAPTURE type, a S_CROP ioctl results

Re: [PATCH v2 3/8] ARM: dts: omap3-overo: Use complete poweroff

2014-03-03 Thread Florian Vaussard
On 02/27/2014 10:07 PM, Nishanth Menon wrote: +devicetree list. On 02/27/2014 02:48 PM, Florian Vaussard wrote: On 02/27/2014 09:38 PM, Nishanth Menon wrote: On 02/27/2014 02:30 PM, Florian Vaussard wrote: Currently, the TWL4030 PMIC does not completely poweroff the processor. Commit

[PATCH v3 7/7] ARM: dts: omap3-tobi: Add AT24C01 EEPROM

2014-03-03 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 v3 6/7] ARM: dts: omap3-tobi: Use include file omap-gpmc-smsc9221

2014-03-03 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 | 30 +++--- 1 file changed, 3 insertions(+), 27

[PATCH v3 3/7] ARM: dts: omap3-overo: Enable WiFi/BT combo

2014-03-03 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-storm-tobi.dts | 8

[PATCH v3 5/7] ARM: dts: omap: Add common file for SMSC9221

2014-03-03 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 v3 2/7] ARM: dts: omap3-overo: Add missing pinctrl

2014-03-03 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.dtsi | 40 +- 1 file changed, 31 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/omap3-overo.dtsi

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

2014-03-03 Thread Florian Vaussard
Hello Tony, Benoit, This is the third version of my Overo series. No major changes since v2, I just dropped the patch related to the ti,use_poweroff binding, and will address this issue later. Most patches are pretty obvious. Patch 5 adds some specific timings for LAN9221 into a generic file. By

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

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

[PATCH v3 1/7] ARM: dts: omap3-tobi: Add missing pinctrl

2014-03-03 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

Re: [PATCH v9 0/9] USB Host support for OMAP5 uEVM

2014-03-03 Thread Roger Quadros
Hi Tony, On 03/01/2014 12:56 AM, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [140227 06:21]: Hi, This patchset brings up USB Host ports and Ethernet port on the OMAP5 uEVM board. It also does some cleanup with respect to DT clock binding for the mfd/omap-usb-host driver. Please

Help needed USB hub disconnected at resume

2014-03-03 Thread Marc Murphy
Hi, I am using the latest stable 3.4.80 kernel with some changes to get the EMAC Phy to initialise correctly after a suspend/resume. The platform is AM3517 with most of the system working nice and smoothly. I have 1 issue though and need some advice/help to get the system to use the USB hub I

Re: [PATCH 1/2] ARM: dts: Add support for OMAP4 Gumstix DuoVero/Parlor

2014-03-03 Thread Florian Vaussard
Hi Tony, Benoit, On 02/24/2014 06:07 PM, Florian Vaussard wrote: Gumstix DuoVero is an OMAP4430-based Computer On Module. Parlor is one of the available expansion board. Tested features: - GPMC ethernet - HSUSB2 and OTG - Audio out - WiFi and Bluetooth (w2cbw0015 SDIO module) - LED and

Re: [PATCH 3/4] power_supply: Introduce PSE compliant algorithm

2014-03-03 Thread Pavel Machek
Hi! Just to convey that is_battery_full is a local function and not generic. You can find similar usage in power_supply_core.c (__power_supply_changed_work) and in other drivers. Isn't it advised to have __ prefixes? It is static; everybody sees it is local. __ prefix

[PATCH 1/1] net: cpsw: fix cpdma rx descriptor leak on down interface

2014-03-03 Thread Mugunthan V N
From: Schuyler Patton spat...@ti.com This patch fixes a CPDMA RX Descriptor leak that occurs after taking the interface down when the CPSW is in Dual MAC mode. Previously the CPSW_ALE port was left open up which causes packets to be received and processed by the RX interrupt handler and were

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

2014-03-03 Thread Roger Quadros
Hi Florian, On 03/03/2014 11:34 AM, Florian Vaussard wrote: Add the High-Speed USB PHY. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap3-overo-storm-tobi.dts | 16 ++ arch/arm/boot/dts/omap3-overo-tobi.dts | 16 ++

Re: [PATCH] ARM: OMAP2+: Use handle_fasteoi_irq for INTC interrupt handling

2014-03-03 Thread Sørensen , Stefan
On Sun, 2014-03-02 at 09:37 -0800, Tony Lindgren wrote: * Sørensen, Stefan stefan.soren...@spectralink.com [140301 02:02]: On Fri, 2014-02-28 at 09:11 -0800, Tony Lindgren wrote: * Stefan Sørensen stefan.soren...@spectralink.com [140224 02:12]: Currently INTC interrupts are handled using

Re: Help needed USB hub disconnected at resume

2014-03-03 Thread Roger Quadros
Hi Marc, On 03/03/2014 12:04 PM, Marc Murphy wrote: Hi, I am using the latest stable 3.4.80 kernel with some changes to get the EMAC Phy to initialise correctly after a suspend/resume. The platform is AM3517 with most of the system working nice and smoothly. I have 1 issue though and

Re: [PATCH 1/3] mfd: twl6040: Select i2c fast mode as default with regmap patch

2014-03-03 Thread Peter Ujfalusi
On 02/28/2014 05:07 PM, Nishanth Menon wrote: On 02/28/2014 08:26 AM, Peter Ujfalusi wrote: On 02/28/2014 03:30 PM, Nishanth Menon wrote: TWL6030 can do 3.3MHz by default and there are no speed registers to configure. According to the datasheet the speed of twl6030 is limited to 2.4MHz. I

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

2014-03-03 Thread Kishon Vijay Abraham I
Adapted omap-usb3 PHY driver to Generic PHY Framework and moved phy-omap-usb3 driver in drivers/usb/phy to drivers/phy and also renamed the file to phy-ti-pipe3 since this same driver will be used for SATA PHY and PCIE PHY. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com ---

[PATCH v5 6/6] arm/dts: added dt properties to adapt to the new phy framwork

2014-03-03 Thread Kishon Vijay Abraham I
Added device tree bindings for dwc3, usb2 and usb3 PHYs. The documentation of these can be found at Documentation/devicetree/bindings/phy/phy-bindings.txt and Documentation/devicetree/bindings/phy/ti-phy.txt. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap5.dtsi |

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

2014-03-03 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 --- drivers/phy/phy-omap-usb2.c |2 +-

[PATCH v5 0/6] Make dwc3 use Generic PHY Framework

2014-03-03 Thread Kishon Vijay Abraham I
Added support for optional PHY in dwc3 as not all SoCs having PHYs for DWC3 should be programmed. While this can be considered as a temporary fix, a long term solution would be to add 'nop' PHY for platforms that does not have programmable PHY. Adapted DWC3 and USB3 PHY to use Generic PHY

[PATCH v5 4/6] usb: phy: omap-usb2: remove *set_suspend* callback from omap-usb2

2014-03-03 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 v5 1/6] usb: dwc3: core: support optional PHYs

2014-03-03 Thread Kishon Vijay Abraham I
Since PHYs for dwc3 is optional (not all SoCs having PHYs for DWC3 should be programmed), do not return from probe if the USB PHY library returns -ENODEV as that indicates the platform does not have a programmable PHY. While this can be considered as a temporary fix, a long term solution would be

[PATCH v5 2/6] usb: dwc3: adapt dwc3 core to use Generic PHY Framework

2014-03-03 Thread Kishon Vijay Abraham I
Adapted dwc3 core to use the Generic PHY Framework. So for init, exit, power_on and power_off the following APIs are used phy_init(), phy_exit(), phy_power_on() and phy_power_off(). However using the old USB phy library wont be removed till the PHYs of all other SoC's using dwc3 core is adapted

[PATCH] OMAPDSS: convert pixel clock to common videomode style

2014-03-03 Thread Tomi Valkeinen
omapdss has its own video-timings struct, but we want to move the common videomode. The first step is to change the omapdss's pixelclock unit from kHz to Hz. Also, omapdss uses pixel_clock field name, whereas the common videomode uses pixelclock field name. This patch changes the field name also,

RE: [PATCH 5/7] v4l: ti-vpe: Allow usage of smaller images

2014-03-03 Thread Kamil Debski
Hi Archit, From: Archit Taneja [mailto:arc...@ti.com] Sent: Monday, March 03, 2014 8:33 AM The minimum width and height for VPE input/output was kept as 128 pixels. VPE doesn't have a constraint on the image height, it requires the image width to be atleast 16 bytes. 16 bytes - shouldn't

Re: Help needed USB hub disconnected at resume

2014-03-03 Thread Igor Grinberg
On 03/03/14 13:06, Roger Quadros wrote: Hi Marc, On 03/03/2014 12:04 PM, Marc Murphy wrote: Hi, I am using the latest stable 3.4.80 kernel with some changes to get the EMAC Phy to initialise correctly after a suspend/resume. The platform is AM3517 with most of the system working nice

RE: [PATCH 7/7] v4l: ti-vpe: Add crop support in VPE driver

2014-03-03 Thread Kamil Debski
Hi Archit, From: Archit Taneja [mailto:arc...@ti.com] Sent: Monday, March 03, 2014 9:26 AM Hi, On Monday 03 March 2014 01:20 PM, Hans Verkuil wrote: Hi Archit! On 03/03/2014 08:33 AM, Archit Taneja wrote: Add crop ioctl ops. For VPE, cropping only makes sense with the input to

Re: [PATCH v5 0/6] Make dwc3 use Generic PHY Framework

2014-03-03 Thread Roger Quadros
Hi Kishon, Which tree are these patches based on? cheers, -roger On 03/03/2014 01:38 PM, Kishon Vijay Abraham I wrote: Added support for optional PHY in dwc3 as not all SoCs having PHYs for DWC3 should be programmed. While this can be considered as a temporary fix, a long term solution would

Re: [PATCH 7/7] v4l: ti-vpe: Add crop support in VPE driver

2014-03-03 Thread Archit Taneja
Hi, On Monday 03 March 2014 05:51 PM, Kamil Debski wrote: Hi Archit, From: Archit Taneja [mailto:arc...@ti.com] Sent: Monday, March 03, 2014 9:26 AM Hi, On Monday 03 March 2014 01:20 PM, Hans Verkuil wrote: Hi Archit! On 03/03/2014 08:33 AM, Archit Taneja wrote: Add crop ioctl ops. For

Re: [PATCH v5 0/6] Make dwc3 use Generic PHY Framework

2014-03-03 Thread Kishon Vijay Abraham I
Roger, On Monday 03 March 2014 05:51 PM, Roger Quadros wrote: Hi Kishon, Which tree are these patches based on? mainline + Felipe's testing/next + Revert usb: dwc3: core: enable Suspend bit for USB2/3 PHYs + Revert usb: dwc3: preparation for adapting dwc3 to generic phy framework Thanks

Re: [PATCH 5/7] v4l: ti-vpe: Allow usage of smaller images

2014-03-03 Thread Archit Taneja
Hi, On Monday 03 March 2014 05:44 PM, Kamil Debski wrote: Hi Archit, From: Archit Taneja [mailto:arc...@ti.com] Sent: Monday, March 03, 2014 8:33 AM The minimum width and height for VPE input/output was kept as 128 pixels. VPE doesn't have a constraint on the image height, it requires the

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

2014-03-03 Thread Florian Vaussard
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. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap3-overo-storm-tobi.dts | 16 ++

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

2014-03-03 Thread Roger Quadros
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. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch ---

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

2014-03-03 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 4/5] ARM: dts: am43x-epos-evm: Enable USB

2014-03-03 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 | 44 1 file changed, 44

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

2014-03-03 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 | 44 + 1 file changed, 44 insertions(+)

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

2014-03-03 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 | 99 +++ 1 file

[PATCH 1/5] ARM: dts: am43xx clock data

2014-03-03 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 0/5] Add USB nodes for am43xx epos and gp evm

2014-03-03 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/

RE: Help needed USB hub disconnected at resume

2014-03-03 Thread Marc Murphy
Hi Igor The Hub is a Microchip USB2513B-AEZG and is connected to EHCI controller port via the DUP_P and DUP_N pins. There is a reset applied to the chip at power on. Regards Marc From: Igor Grinberg [grinb...@compulab.co.il] Sent: 03 March 2014 12:16

Re: [PATCH RESEND v11 6/7] ARM: OMAP: enable SYSCON and REGULATOR_PBIAS in omap2plus_defconfig

2014-03-03 Thread Balaji T K
On Wednesday 26 February 2014 10:31 PM, Tony Lindgren wrote: * Balaji T K balaj...@ti.com [140219 07:00]: Enable REGULATOR_PBIAS needed for SD card on most OMAPs. Signed-off-by: Balaji T K balaj...@ti.com I belive this is the only one missing my ack: Acked-by: Tony Lindgren t...@atomide.com

[RESEND Patch 6/9] ARM: dts: DRA7: Add device nodes for ABB

2014-03-03 Thread Mugunthan V N
From: Nishanth Menon n...@ti.com Add ABB device nodes for DRA7 family of devices. Data is based on DRA7 Technical Reference Manual revision I (Sept 2013) Signed-off-by: Nishanth Menon n...@ti.com Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 132

[RESEND Patch 9/9] ARM: DTS: DRA7: Add routable-irqs property for gic node

2014-03-03 Thread Mugunthan V N
From: Sricharan R r.sricha...@ti.com There is a IRQ crossbar device in the soc, which maps the irq requests from the peripherals to the mpu interrupt controller's inputs. The gic provides the support for such IPs in the form of routable-irqs. So adding the property here to gic node. Cc: Benoit

[RESEND Patch 8/9] ARM: DTS: DRA7: Replace peripheral interrupt numbers with crossbar inputs

2014-03-03 Thread Mugunthan V N
From: Sricharan R r.sricha...@ti.com Now with the crossbar IP in picture, the peripherals do not have the fixed interrupt lines. Instead they rely on the crossbar irqchip to allocate and map a free interrupt line to its crossbar input. So replacing all the peripheral interrupt numbers with its

[RESEND Patch 5/9] ARM: dts: OMAP4: Add device nodes for ABB

2014-03-03 Thread Mugunthan V N
From: Andrii.Tseglytskyi andrii.tseglyts...@ti.com Add ABB device nodes for OMAP443x family of devices. abb_iva is populated, but disabled as it is not used on current OMAP443x family, but the node is used on OMAP446x family. Data is based on OMAP443x Technical Reference Manual revision AN (April

[RESEND Patch 7/9] ARM: DTS: DRA7: Add crossbar device binding

2014-03-03 Thread Mugunthan V N
From: Sricharan R r.sricha...@ti.com This adds the irq crossbar device node. There is a IRQ crossbar device in the soc, which maps the irq requests from the peripherals to the mpu interrupt controller's inputs. The Peripheral irq requests are connected to only one crossbar input and the output

[RESEND Patch 0/9] dts pending patches for TI omap

2014-03-03 Thread Mugunthan V N
Benoit/Tony Here I am send all the pending dt patches that can go into 3.15 merge window, all the patches were already posted to mailing list and has beed reviewed. I have rebased the patches on top of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git omap-for-v3.15/dt and

[RESEND Patch 4/9] ARM: dts: OMAP36xx: Add device node for ABB

2014-03-03 Thread Mugunthan V N
From: Andrii.Tseglytskyi andrii.tseglyts...@ti.com Add ABB device node for OMAP36xx family of devices. Data is based on OMAP36XX Technical Reference Manual revision AB (Dec 2012). [n...@ti.com: co-developer] Signed-off-by: Nishanth Menon n...@ti.com Signed-off-by: Andrii.Tseglytskyi

[RESEND Patch 2/9] ARM: dts: am335x-evm: add SD card hotplug support

2014-03-03 Thread Mugunthan V N
From: Balaji T K balaj...@ti.com Add card detect gpio for SD card slot Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evm.dts

[RESEND Patch 3/9] ARM: dts: am43x-epos-evm: add SD card hotplug support

2014-03-03 Thread Mugunthan V N
From: Balaji T K balaj...@ti.com Add card detect gpio for SD card slot and include dt gpio header. Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am4372.dtsi| 1 + arch/arm/boot/dts/am43x-epos-evm.dts | 9 + 2

[RESEND Patch 0/9] dts pending patches for TI omap

2014-03-03 Thread Mugunthan V N
Benoit/Tony Here I am send all the pending patches that can go into 3.15 merge window, all the patches were already posted to mailing list and has beed reviewed. Here I am rebasing the patches on top of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git omap-for-v3.15/dt and

[RESEND Patch 1/9] ARM: dts: am437x gp-evm: add sd card dt nodes

2014-03-03 Thread Mugunthan V N
From: Balaji T K balaj...@ti.com enable sd card slot on am437x-gp-evm Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am437x-gp-evm.dts | 27 +++ 1 file changed, 27 insertions(+) diff --git

[PATCH 09/12] phy: ti-pipe3: streamline PHY operations

2014-03-03 Thread Roger Quadros
Limit .power_on() and .power_off() to just control the PHY power and not the DPLL. The DPLL will be enabled in .init() and idled in .exit(). Don't reprogram the DPLL if it has been already locked by the bootloader. This fixes a problem with SATA, where it fails if SATA was used by the bootloader.

[PATCH 08/12] ARM: dts: omap5: add sata node

2014-03-03 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 12/12] ARM: dts: dra7: add OCP2SCP3 and SATA nodes

2014-03-03 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 11/12] ARM: DRA7: hwmod: Add ocp2scp3 and sata hwmods

2014-03-03 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 10/12] phy: ti-pipe3: Fix suspend/resume and module reload

2014-03-03 Thread Roger Quadros
Due to Errata i783, SATA breaks if its DPLL is idled. The recommeded workaround to issue a softreset to the SATA controller doesn't seem to work. Here we just prevent SATA DPLL from Idling and hence avoid the issue altogether. Signed-off-by: Roger Quadros rog...@ti.com ---

[PATCH 02/12] phy: omap-control: Update DT binding information

2014-03-03 Thread Roger Quadros
Move omap-control binding information to the right location. Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/phy/ti-phy.txt | 25 ++ Documentation/devicetree/bindings/usb/omap-usb.txt | 24 - 2 files changed, 25

[PATCH 01/12] phy: rename struct omap_control_usb to struct omap_control_phy

2014-03-03 Thread Roger Quadros
From: Kishon Vijay Abraham I kis...@ti.com Rename struct omap_control_usb to struct omap_control_phy since it can be used to control PHY of USB, SATA and PCIE. Also move the driver and include files under *phy* and made the corresponding changes in the users of phy-omap-control. Signed-off-by:

[PATCH 05/12] phy: ti-pipe3: Add SATA DPLL support

2014-03-03 Thread Roger Quadros
USB and SATA DPLLs need different settings. Provide the SATA DPLL settings and use the proper DPLL settings based on device tree node's compatible_id. Update the DT binding information. Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/phy/ti-phy.txt | 3 +-

[PATCH 06/12] phy: omap: Select OMAP_OCP2SCP bus driver

2014-03-03 Thread Roger Quadros
The OMAP_USB2 and OMAP_PIP3 phy devices will not be detected if the OMAP_OCP2SCP driver is not present. So select it. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/phy/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig index

[PATCH 00/12] ARM: OMAP: SATA support for OMAP5 DRA7

2014-03-03 Thread Roger Quadros
Hi, This series adds SATA support for OMAP5 uevm and DRA7-evm boards. - Cleans up the ti-pipe3 PHY driver - Adds SATA DPLL support to ti-pipe3 PHY driver - Adds SATA nodes to hwmod and SoC DT data Patches are based on [1]. To test SATA you will also need [2]. [1] -

[PATCH 04/12] ARM: dts: omap5: Add clocks to usb3_phy node

2014-03-03 Thread Roger Quadros
The pipe3-phy driver expects certain named clocks. Provide the necessary clocks. CC: Benoît Cousson bcous...@baylibre.com CC: Tony Lindgren t...@atomide.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 03/12] phy: ti-pipe3: cleanup clock handling

2014-03-03 Thread Roger Quadros
As this driver is no longer USB specific, use generic clock names. - Fix PLL_SD_SHIFT from 9 to 10 - As optclk and wkupclk may not be always required, don't bail out if they aren't available. - Don't separate prepare/unprepare clock from enable/disable. This ensures optimal power savings.

[PATCH 07/12] ARM: OMAP5: hwmod: Add ocp2scp3 and sata hwmods

2014-03-03 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

Re: [PATCH v5 0/6] Make dwc3 use Generic PHY Framework

2014-03-03 Thread Felipe Balbi
Hi, On Mon, Mar 03, 2014 at 05:08:09PM +0530, Kishon Vijay Abraham I wrote: Added support for optional PHY in dwc3 as not all SoCs having PHYs for DWC3 should be programmed. While this can be considered as a temporary fix, a long term solution would be to add 'nop' PHY for platforms that does

Re: [PATCH] ARM: OMAP2+: Use handle_fasteoi_irq for INTC interrupt handling

2014-03-03 Thread Tony Lindgren
* Sørensen, Stefan stefan.soren...@spectralink.com [140303 03:08]: On Sun, 2014-03-02 at 09:37 -0800, Tony Lindgren wrote: * Sørensen, Stefan stefan.soren...@spectralink.com [140301 02:02]: On Fri, 2014-02-28 at 09:11 -0800, Tony Lindgren wrote: * Stefan Sørensen

Re: [PATCH] sound: omap: n810: fix init with DT boot

2014-03-03 Thread Jarkko Nikula
On 03/01/2014 08:08 PM, Aaro Koskinen wrote: Since 3.14-rc1 only DT boot has been supported on N810. Make a minimal fix to retain functionality. This file should be properly converted to DT in longer term. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- sound/soc/omap/n810.c | 4

Re: [PATCHv4 4/7] hwspinlock/core: add common OF helpers

2014-03-03 Thread Suman Anna
Ohad, On 03/02/2014 02:19 PM, Bjorn Andersson wrote: On Sat, Mar 1, 2014 at 9:14 PM, Ohad Ben-Cohen o...@wizery.com wrote: On Mon, Feb 10, 2014 at 9:14 PM, Suman Anna s-a...@ti.com wrote: On 02/07/2014 04:49 PM, Bjorn Andersson wrote: It seems to be standard practice to pass the error value

Re: [PATCH 00/12] ARM: OMAP2 DT clock conversion

2014-03-03 Thread Tony Lindgren
* Tero Kristo t-kri...@ti.com [140303 00:20]: On 02/28/2014 08:33 PM, Tony Lindgren wrote: * Tero Kristo t-kri...@ti.com [140228 10:21]: Hmm, some clock node is broken, might be missing a name or parent name for some reason. Can you try to boot with DEBUG enabled so you get pr_debug:s out

Re: [PATCH 06/12] phy: omap: Select OMAP_OCP2SCP bus driver

2014-03-03 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [140303 07:11]: The OMAP_USB2 and OMAP_PIP3 phy devices will not be detected if the OMAP_OCP2SCP driver is not present. So select it. Selecting drivers like this will easily lead into missing dependencies. Especially it's bad for tristate driver options that

Re: [PATCH 00/12] ARM: OMAP2 DT clock conversion

2014-03-03 Thread Tero Kristo
On 03/03/2014 08:46 PM, Tony Lindgren wrote: * Tero Kristo t-kri...@ti.com [140303 00:20]: On 02/28/2014 08:33 PM, Tony Lindgren wrote: * Tero Kristo t-kri...@ti.com [140228 10:21]: Hmm, some clock node is broken, might be missing a name or parent name for some reason. Can you try to boot

Re: [PATCH 02/12] phy: omap-control: Update DT binding information

2014-03-03 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [140303 07:10]: Move omap-control binding information to the right location. Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/phy/ti-phy.txt | 25 ++ Documentation/devicetree/bindings/usb/omap-usb.txt |

Ethernet controller not starting

2014-03-03 Thread Jon Ringle
I'm working on porting an ARM board from linux-3.10 to linux-3.12 (now the latest LTS kernel). I found that Ethernet controller on the board no longer comes up on linux-3.12. I was able to bisect the issue I'm having to the following commit: 45f0a85c8258741d11bda25c0a5669c06267204a is the

Re: [GIT PULL] ARM: OMAP: Device Tree for 3.15

2014-03-03 Thread Benoit Cousson
On 02/03/2014 23:17, Tony Lindgren wrote: * Benoit Cousson bcous...@baylibre.com [140302 12:45]: Hi Tony, Please pull the following commits for OMAP Device Tree for v3.15. Thanks pulling into omap-for-v3.15/dt. Thank you Tony. Regards, Benoit -- Benoît Cousson BayLibre Embedded Linux

Re: [PATCH] ARM: dts: add BeagleBone Audio Cape (Rev A) dtsi

2014-03-03 Thread Benoit Cousson
On 28/02/2014 23:17, Tony Lindgren wrote: * Jack Mitchell m...@embed.me.uk [140122 03:09]: From: Jack Mitchell j...@embed.me.uk Devicetree include file for setting up the am335x mcasp bus, i2c-2 bus, and audio codec required for a functioning BeagleBone Audio Cape. Signed-off-by: Jack

Re: [PATCH 1/1] net: cpsw: fix cpdma rx descriptor leak on down interface

2014-03-03 Thread David Miller
From: Mugunthan V N mugunthan...@ti.com Date: Mon, 3 Mar 2014 16:19:06 +0530 From: Schuyler Patton spat...@ti.com This patch fixes a CPDMA RX Descriptor leak that occurs after taking the interface down when the CPSW is in Dual MAC mode. Previously the CPSW_ALE port was left open up which

[PATCH RESEND] mmc: omap_hsmmc: support more DT properties

2014-03-03 Thread Daniel Mack
This should probably be done implicitly through mmc_of_parse(), but that doesn't play well along with the multi-slot model the hsmmc driver features. Hence, for now, do it manually. The properties are already documented in Documentation/devicetree/bindings/mmc/mmc.txt. Signed-off-by: Daniel Mack

[PATCH RESEND] sound: omap: n810: fix init with DT boot

2014-03-03 Thread Aaro Koskinen
Since 3.14-rc1 only DT boot has been supported on N810, so this file fails to init. Make a minimal fix to retain functionality. This file should be properly converted to DT in longer term. There seems to be still other unresolved issues with N810 audio support, but this patch is needed at minimum

Re: Ethernet controller not starting

2014-03-03 Thread Rafael J. Wysocki
On Monday, March 03, 2014 02:41:01 PM Jon Ringle wrote: I'm working on porting an ARM board from linux-3.10 to linux-3.12 (now the latest LTS kernel). I found that Ethernet controller on the board no longer comes up on linux-3.12. I was able to bisect the issue I'm having to the following

Re: Ethernet controller not starting

2014-03-03 Thread Jon Ringle
On Mon, Mar 3, 2014 at 6:43 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Monday, March 03, 2014 02:41:01 PM Jon Ringle wrote: I'm working on porting an ARM board from linux-3.10 to linux-3.12 (now the latest LTS kernel). I found that Ethernet controller on the board no longer comes up on

Re: [PATCH RESEND] sound: omap: n810: fix init with DT boot

2014-03-03 Thread Mark Brown
On Tue, Mar 04, 2014 at 12:45:18AM +0200, Aaro Koskinen wrote: Since 3.14-rc1 only DT boot has been supported on N810, so this file fails to init. Make a minimal fix to retain functionality. This file should be properly converted to DT in longer term. Applied, please remember to use subject

Re: Help needed USB hub disconnected at resume

2014-03-03 Thread Igor Grinberg
On 03/03/14 16:11, Marc Murphy wrote: Hi Igor The Hub is a Microchip USB2513B-AEZG and is connected to EHCI controller port via the DUP_P and DUP_N pins. There is a reset applied to the chip at power on. If the reset signal is sw controllable, you might want to toggle it before the

[PATCHv7 0/4] power_supply: Introduce power supply charging driver

2014-03-03 Thread Jenny TC
v1: introduced feature as a framework within power supply class driver with separate files for battid framework and charging framework v2: fixed review comments, moved macros and inline functions to power_supply.h v3: moved the feature as a separate driver, combined battid framework and

[PATCHv7 4/4] power_supply: bq24261 charger driver

2014-03-03 Thread Jenny TC
This patch introduces BQ24261 charger driver. The driver makes use of power supply charging driver to setup charging. So the driver does hardware abstraction and handles h/w specific corner cases. The charging logic resides with power supply charging driver Signed-off-by: Jenny TC

[PATCH v7 1/4] power_supply: Add inlmt,iterm, min/max temp props

2014-03-03 Thread Jenny TC
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 POWER_SUPPLY_PROP_INLMT - input current limit programmed by charger.

[PATCHv7 3/4] power_supply: Introduce PSE compliant algorithm

2014-03-03 Thread Jenny TC
As per Product Safety Engineering (PSE) specification for battery charging, the battery characteristics and thereby the charging rates can vary on different temperature zones. This patch introduces a PSE compliant charging algorithm with maintenance charging support. The algorithm can be selected

Re: [PATCH 7/7] v4l: ti-vpe: Add crop support in VPE driver

2014-03-03 Thread Archit Taneja
Hi Hans, On Monday 03 March 2014 01:20 PM, Hans Verkuil wrote: Hi Archit! On 03/03/2014 08:33 AM, Archit Taneja wrote: Add crop ioctl ops. For VPE, cropping only makes sense with the input to VPE, or the V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE buffer type. For the CAPTURE type, a S_CROP ioctl

Re: [PATCH 7/7] v4l: ti-vpe: Add crop support in VPE driver

2014-03-03 Thread Hans Verkuil
On 03/04/2014 08:38 AM, Archit Taneja wrote: Hi Hans, On Monday 03 March 2014 01:20 PM, Hans Verkuil wrote: Hi Archit! On 03/03/2014 08:33 AM, Archit Taneja wrote: Add crop ioctl ops. For VPE, cropping only makes sense with the input to VPE, or the V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE