[RFC PATCH] regulator: palmas: enable all modes for SMPS10

2013-05-30 Thread Kishon Vijay Abraham I
SMPS10 supports different modes such as BOOST mode, BYPASS mode and SWITCH. Inorder to configure SMPS10 in these modes, added palmas_set_mode_smps10() and palmas_get_mode_smps10() for the consumers of SMPS10 to configure it accordingly. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Only

Re: [RFC PATCH] regulator: palmas: enable all modes for SMPS10

2013-05-30 Thread Kishon Vijay Abraham I
Hi, On Thursday 30 May 2013 05:02 PM, Mark Brown wrote: On Thu, May 30, 2013 at 04:26:33PM +0530, Kishon Vijay Abraham I wrote: Only compile tested. Just sent a patch to get some comments /ideas on how to handle such one off regulators. to handle What's unclear or confusing? This all looks

[PATCH 1/5] extcon: Add an API to get extcon device from dt node

2013-06-03 Thread Kishon Vijay Abraham I
Added an API of_extcon_get_extcon_dev() to be used by drivers to get extcon device in the case of dt boot (this can be used instead of extcon_get_extcon_dev()). Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/extcon/extcon-class.c | 40

[PATCH 2/5] extcon: Kconfig: Make extcon config type as bool

2013-06-03 Thread Kishon Vijay Abraham I
Changed the extcon config type to bool from module. Having extcon config type as module leads to some undefined reference to errors if the modules that uses these APIs are made as built-in and extcon as module. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/extcon/Kconfig |2

[PATCH 3/5] extcon: add EXPORT_SYMBOL_GPL for exported functions

2013-06-03 Thread Kishon Vijay Abraham I
Added EXPORT_SYMBOL_GPL() for extcon_register_interest and extcon_register_notifier in order to avoid undefined reference error when building the consumer modules of extcon as _modules_. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Lokesh Vutla lokeshvu...@ti.com

[v3 PATCH 5/5] usb: dwc3: use extcon fwrk to receive connect/disconnect

2013-06-03 Thread Kishon Vijay Abraham I
Modified dwc3-omap to receive connect and disconnect notification using extcon framework. Also did the necessary cleanups required after adapting to extcon framework. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Acked-by: Felipe Balbi ba...@ti.com --- Changes from v2: * updated

[PATCH 4/5] usb: dwc3: omap: improve error handling of dwc3_omap_probe

2013-06-03 Thread Kishon Vijay Abraham I
Improved the error handling of dwc3_omap_probe so that on error conditions dwc3_omap is left in the original state. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/dwc3-omap.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git

[PATCH 0/5] dwc3: omap: adapt dwc3 to use extcon framework

2013-06-03 Thread Kishon Vijay Abraham I
be functional in device mode. However there is still some discussion on modelling SMPS10 regulator. Once that gets finalized, dwc3 should be functional in host mode as well. Kishon Vijay Abraham I (5): extcon: Add an API to get extcon device from dt node extcon: Kconfig: Make extcon config type

[PATCH] ARM: OMAP4: change the device names in usb_bind_phy

2013-04-23 Thread Kishon Vijay Abraham I
Vijay Abraham I kis...@ti.com --- Tested in OMAP4 PANDA. arch/arm/mach-omap2/board-4430sdp.c|2 +- arch/arm/mach-omap2/board-omap4panda.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index

Re: [PATCH] ARM: OMAP4: change the device names in usb_bind_phy

2013-05-16 Thread Kishon Vijay Abraham I
Hi, On Thursday 16 May 2013 09:50 PM, Tony Lindgren wrote: * Tomi Valkeinen tomi.valkei...@iki.fi [130516 09:11]: On 16/05/13 18:58, Tony Lindgren wrote: * Tomi Valkeinen tomi.valkei...@iki.fi [130515 03:59]: Just checking.. Do you have CONFIG_OMAP_OCP2SCP=y in your .config? Sounds like the

[RFC PATCH 4/4] arm: omap: remove using usb_bind_phy for binding musb and phy

2013-05-17 Thread Kishon Vijay Abraham I
Now that MUSB for OMAP started using devm_usb_get_phy_by_name which does not require PHY library to already have the binding information, removed usb_bind_phy calls that binds the MUSB controller with the PHY from the board files. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm

[RFC PATCH 3/4] usb: musb: omap: use the new API to get PHY reference by label

2013-05-17 Thread Kishon Vijay Abraham I
After the devices are created using PLATFORM_DEVID_AUTO, devm_usb_get_phy_dev and usb_get_phy_dev can't be used reliably as it relies on the device_names passed in usb_bind_phy. So used the new API devm_usb_get_phy_by_name to get the PHY reference. Signed-off-by: Kishon Vijay Abraham I kis

[RFC PATCH 1/4] arm: omap: Add phy binding info for musb in plat data

2013-05-17 Thread Kishon Vijay Abraham I
In order for controllers to get PHY in case of non dt boot, the phy binding information (phy label) should be added in the platform data of the controller. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/mach-omap2/usb-musb.c |6 +- include/linux/usb/musb.h |3

[RFC PATCH 2/4] usb: phy: add a new API to get PHY ref by label

2013-05-17 Thread Kishon Vijay Abraham I
-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/phy/phy.c | 78 +++ include/linux/usb/phy.h | 16 ++ 2 files changed, 94 insertions(+) diff --git a/drivers/usb/phy/phy.c b/drivers/usb/phy/phy.c index a9984c7..0dfdc38 100644

Re: [PATCH v6 0/9] Generic PHY Framework

2013-05-20 Thread Kishon Vijay Abraham I
Hi, On Monday 29 April 2013 03:33 PM, Kishon Vijay Abraham I wrote: 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

Re: [PATCH v4] extcon: Palmas Extcon Driver

2013-05-22 Thread Kishon Vijay Abraham I
Hi, On Tuesday 07 May 2013 10:51 AM, Kishon Vijay Abraham I wrote: Hi, On Tuesday 07 May 2013 06:13 AM, myungjoo.ham wrote: From: Graeme Gregory g...@slimlogic.co.uk This is the driver for the USB comparator built into the palmas chip. It handles the various USB OTG events that can

[PATCH 0/3] palmas usb driver

2013-05-24 Thread Kishon Vijay Abraham I
. A checkpatch warning WARNING: static const char * array should probably be static const char * constis ignored since it introduces a compilation warning. Graeme Gregory (2): drivers: regulator: palmas: add an API to set/clear the switch bit on SMPS10 extcon: Palmas Extcon Driver Kishon Vijay

[PATCH v5 2/3] extcon: Palmas Extcon Driver

2013-05-24 Thread Kishon Vijay Abraham I
...@ti.com Signed-off-by: Ruchika Kharwar ruch...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: George Cherian george.cher...@ti.com [kis...@ti.com: adapted palmas usb driver to use the extcon framework] Signed-off-by: Sebastien Guiriec s-guir...@ti.com --- Changes from v4

[PATCH 1/3] drivers: regulator: palmas: add an API to set/clear the switch bit on SMPS10

2013-05-24 Thread Kishon Vijay Abraham I
-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/regulator/palmas-regulator.c | 26 ++ include/linux/mfd/palmas.h | 2 ++ 2 files changed, 28 insertions(+) diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c index

[PATCH 3/3] usb: dwc3: use extcon fwrk to receive connect/disconnect notification

2013-05-24 Thread Kishon Vijay Abraham I
Modified dwc3-omap to receive connect and disconnect notification using extcon framework. Also did the necessary cleanups required after adapting to extcon framework. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/dwc3-omap.c | 80

Re: [PATCH v5 2/3] extcon: Palmas Extcon Driver

2013-05-26 Thread Kishon Vijay Abraham I
Hi, On Monday 27 May 2013 11:04 AM, Chanwoo Choi wrote: Hi Kishon, I have some comment about this patch and upload modified patch to following repository (extcon-for-palmas). -

Re: [PATCH v5 2/3] extcon: Palmas Extcon Driver

2013-05-27 Thread Kishon Vijay Abraham I
Hi, On Monday 27 May 2013 11:52 AM, Laxman Dewangan wrote: On Monday 27 May 2013 11:38 AM, Chanwoo Choi wrote: On 05/27/2013 02:54 PM, Kishon Vijay Abraham I wrote: Hi, On Monday 27 May 2013 11:04 AM, Chanwoo Choi wrote: Hi Kishon, I have some comment about this patch and upload modified

Re: [PATCH v5 2/3] extcon: Palmas Extcon Driver

2013-05-27 Thread Kishon Vijay Abraham I
Hi, On Monday 27 May 2013 12:06 PM, Laxman Dewangan wrote: On Monday 27 May 2013 12:01 PM, Kishon Vijay Abraham I wrote: Hi, On Monday 27 May 2013 11:52 AM, Laxman Dewangan wrote: On Monday 27 May 2013 11:38 AM, Chanwoo Choi wrote: On 05/27/2013 02:54 PM, Kishon Vijay Abraham I wrote: Hi

Re: [PATCH v5 2/3] extcon: Palmas Extcon Driver

2013-05-27 Thread Kishon Vijay Abraham I
Hi, On Monday 27 May 2013 12:26 PM, Laxman Dewangan wrote: On Monday 27 May 2013 12:11 PM, Kishon Vijay Abraham I wrote: Hi, On Monday 27 May 2013 12:06 PM, Laxman Dewangan wrote: On Monday 27 May 2013 12:01 PM, Kishon Vijay Abraham I wrote: Hi, On Monday 27 May 2013 11:52 AM, Laxman

[PATCH v6] extcon: Palmas Extcon Driver

2013-05-27 Thread Kishon Vijay Abraham I
...@ti.com Signed-off-by: Ruchika Kharwar ruch...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: George Cherian george.cher...@ti.com [kis...@ti.com: adapted palmas usb driver to use the extcon framework] Signed-off-by: Sebastien Guiriec s-guir...@ti.com Signed-off-by: Chanwoo Choi

[PATCH v2] usb: dwc3: use extcon fwrk to receive connect/disconnect notification

2013-05-27 Thread Kishon Vijay Abraham I
Modified dwc3-omap to receive connect and disconnect notification using extcon framework. Also did the necessary cleanups required after adapting to extcon framework. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Acked-by: Chanwoo Choi cw00.c...@samsung.com --- Changes from v1: * regulator

Re: [RFC PATCH 1/4] arm: omap: Add phy binding info for musb in plat data

2013-05-27 Thread Kishon Vijay Abraham I
Hi Tony, On Friday 17 May 2013 06:52 PM, Kishon Vijay Abraham I wrote: In order for controllers to get PHY in case of non dt boot, the phy binding information (phy label) should be added in the platform data of the controller. This series would be needed to get MUSB working in OMAP3 boards

Re: [PATCH v2] usb: dwc3: use extcon fwrk to receive connect/disconnect notification

2013-05-27 Thread Kishon Vijay Abraham I
On Tuesday 28 May 2013 07:54 AM, Chanwoo Choi wrote: On 05/27/2013 10:35 PM, Kishon Vijay Abraham I wrote: Modified dwc3-omap to receive connect and disconnect notification using extcon framework. Also did the necessary cleanups required after adapting to extcon framework. Signed-off

Re: [PATCH v6 0/9] Generic PHY Framework

2013-05-28 Thread Kishon Vijay Abraham I
Hi, On Tuesday 21 May 2013 10:31 AM, Kishon Vijay Abraham I wrote: Hi, On Monday 29 April 2013 03:33 PM, Kishon Vijay Abraham I wrote: 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

Re: [PATCH v2 1/5] phy: Add new Exynos USB PHY driver

2013-10-29 Thread Kishon Vijay Abraham I
Hi, On Monday 28 October 2013 07:22 PM, Kamil Debski wrote: Hi Kishon, Thank you for your review! I will answer your comments below. From: Kishon Vijay Abraham I [mailto:kis...@ti.com] Sent: Friday, October 25, 2013 5:40 PM Hi, On Friday 25 October 2013 07:45 PM, Kamil Debski wrote

Re: [RFC PATCH 2/5] phy: Add WIP Exynos 5250 support to the Exynos USB PHY driver

2013-10-29 Thread Kishon Vijay Abraham I
Hi, On Monday 28 October 2013 08:11 PM, Vivek Gautam wrote: Hi Kishon, On Fri, Oct 25, 2013 at 9:13 PM, Kishon Vijay Abraham I kis...@ti.com wrote: Hi, On Friday 25 October 2013 07:45 PM, Kamil Debski wrote: Add support for Exynos 5250. This is work-in-progress commit. Not for merging

Re: [RFC PATCH 2/5] phy: Add WIP Exynos 5250 support to the Exynos USB PHY driver

2013-10-29 Thread Kishon Vijay Abraham I
Hi, On Tuesday 29 October 2013 03:44 PM, Kamil Debski wrote: Hi, From: Kishon Vijay Abraham I [mailto:kis...@ti.com] Sent: Tuesday, October 29, 2013 10:55 AM Hi, On Monday 28 October 2013 08:11 PM, Vivek Gautam wrote: Hi Kishon, On Fri, Oct 25, 2013 at 9:13 PM, Kishon Vijay Abraham I

Re: [PATCH 1/1] drivers: phy: Fix memory leak

2013-10-31 Thread Kishon Vijay Abraham I
Hi, On Friday 25 October 2013 10:56 AM, Sachin Kamat wrote: 'phy' was not being freed upon error in one of the cases. Adjust the 'goto's to fix this. This patch looks good. I'll send this once -rc1 is tagged? Thanks Kishon Signed-off-by: Sachin Kamat sachin.ka...@linaro.org ---

Re: [PATCH] phy: Add MOXA RTL8201CP PHY support

2013-11-01 Thread Kishon Vijay Abraham I
Hi Jonas, On Friday 01 November 2013 08:24 PM, Jonas Jensen wrote: The MOXA UC-711X hardware(s) has an ethernet controller that seem to be developed internally. The IC used is RTL8201CP. This patch adds an MDIO driver and also patches realtek to include RTL8201CP PHY driver. Signed-off-by:

Re: [PATCH v2 1/9] phy: add phy_get_bus_width()/phy_set_bus_width() calls

2013-11-02 Thread Kishon Vijay Abraham I
Hi Tomasz, On Saturday 02 November 2013 06:44 PM, Tomasz Figa wrote: Hi Matt, On Friday 01 of November 2013 15:45:50 Matt Porter wrote: This adds a pair of APIs that allows the generic PHY subsystem to provide information on the PHY bus width. The PHY provider driver may use

Re: [PATCH v2 1/9] phy: add phy_get_bus_width()/phy_set_bus_width() calls

2013-11-03 Thread Kishon Vijay Abraham I
Hi, On Saturday 02 November 2013 11:28 PM, Tomasz Figa wrote: On Saturday 02 of November 2013 13:47:09 Matt Porter wrote: On Sat, Nov 02, 2013 at 10:46:55PM +0530, Kishon Vijay Abraham I wrote: Hi Tomasz, On Saturday 02 November 2013 06:44 PM, Tomasz Figa wrote: Hi Matt, On Friday 01

Re: [PATCH v2 8/9] phy: add Broadcom Kona USB2 PHY driver

2013-11-03 Thread Kishon Vijay Abraham I
Hi, On Saturday 02 November 2013 01:15 AM, Matt Porter wrote: Add a driver for the internal Broadcom Kona USB 2.0 PHY found on the BCM281xx family of SoCs. Signed-off-by: Matt Porter matt.por...@linaro.org --- drivers/phy/Kconfig | 6 ++ drivers/phy/Makefile| 2 +

Re: [PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2013-11-03 Thread Kishon Vijay Abraham I
Hi Vivek, On Thursday 31 October 2013 01:15 PM, Vivek Gautam wrote: Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs. The new driver uses the generic PHY framework and will interact with DWC3 controller present on Exynos5 series of SoCs. In Exynos, you have a single IP that

Re: [RFC 04/12] phy: Add simple-phy driver

2013-11-03 Thread Kishon Vijay Abraham I
Hi, On Friday 25 October 2013 01:21 PM, Tomasz Stanislawski wrote: Hi, Please refer to the comments below. On 10/24/2013 05:52 PM, Kishon Vijay Abraham I wrote: Hi, On Monday 21 October 2013 07:48 PM, Tomasz Stanislawski wrote: Add simple-phy driver to support a single register PHY

Re: [PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2013-11-04 Thread Kishon Vijay Abraham I
On Monday 04 November 2013 05:56 PM, Tomasz Figa wrote: Hi Kishon, On Monday 04 of November 2013 12:24:42 Kishon Vijay Abraham I wrote: Hi Vivek, On Thursday 31 October 2013 01:15 PM, Vivek Gautam wrote: Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs. The new driver uses

Re: [PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2013-11-04 Thread Kishon Vijay Abraham I
Hi, On Monday 04 November 2013 03:45 PM, Kamil Debski wrote: Hi Kishon, From: Kishon Vijay Abraham I [mailto:kis...@ti.com] Sent: Monday, November 04, 2013 7:55 AM Hi Vivek, On Thursday 31 October 2013 01:15 PM, Vivek Gautam wrote: Add a new driver for the USB 3.0 PHY on Exynos5 series

Re: [RFC] Does PHY UTMI data width belong to DWC2 or PHY binding?

2013-10-23 Thread Kishon Vijay Abraham I
, Kishon Vijay Abraham I wrote: I think it makes sense to keep the data width property in the dwc2 node itself. I mean it describes how the dwc2 IP is configured in that particular SoC (given that it can be either 8 or 16). If I'm reading the RT3052 datasheet correctly (GHWCFG4 register), the IP

[PATCH] drivers: video: exynos: Fix compiler Warning

2013-10-24 Thread Kishon Vijay Abraham I
); Reported-by: Olof Johansson o...@lixom.net Cc: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/video/exynos/exynos_mipi_dsi.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/exynos/exynos_mipi_dsi.c b/drivers/video

Re: [RFC 05/12] phy: use of_phy_simple_xlate for NULL xlate function

2013-10-24 Thread Kishon Vijay Abraham I
Hi, On Monday 21 October 2013 07:48 PM, Tomasz Stanislawski wrote: Use default handler of_phy_simple_xlate() when NULL is passed as argument to of_phy_provider_register(). Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com --- drivers/phy/phy-core.c |2 +- 1 file changed, 1

Re: [RFC 04/12] phy: Add simple-phy driver

2013-10-24 Thread Kishon Vijay Abraham I
Hi, On Monday 21 October 2013 07:48 PM, Tomasz Stanislawski wrote: Add simple-phy driver to support a single register PHY interfaces present on Exynos4 SoC. How are these PHY interfaces modelled in the SoC? Where does the register actually reside? Signed-off-by: Tomasz Stanislawski

Re: [PATCH v2 1/5] phy: Add new Exynos USB PHY driver

2013-10-25 Thread Kishon Vijay Abraham I
Hi, On Friday 25 October 2013 07:45 PM, Kamil Debski wrote: Add a new driver for the Exynos USB PHY. The new driver uses the generic PHY framework. The driver includes support for the Exynos 4x10 and 4x12 SoC families. Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by:

Re: [RFC PATCH 2/5] phy: Add WIP Exynos 5250 support to the Exynos USB PHY driver

2013-10-25 Thread Kishon Vijay Abraham I
Hi, On Friday 25 October 2013 07:45 PM, Kamil Debski wrote: Add support for Exynos 5250. This is work-in-progress commit. Not for merging. Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/phy/Kconfig |7 +

Re: [PATCH 3/5] phy: Add support for S5PV210 to the Exynos USB PHY driver

2013-10-25 Thread Kishon Vijay Abraham I
Hi, On Friday 25 October 2013 07:45 PM, Kamil Debski wrote: From: Mateusz Krawczuk m.krawc...@partner.samsung.com Add support for the Samsung's S5PV210 SoC to the Exynos USB PHY driver. Signed-off-by: Mateusz Krawczuk m.krawc...@partner.samsung.com [k.deb...@samsung.com: whitespace

Re: [PATCH 4/5] usb: ehci-s5p: Change to use phy provided by the generic phy framework

2013-10-25 Thread Kishon Vijay Abraham I
Hi, On Friday 25 October 2013 07:45 PM, Kamil Debski wrote: Change the phy provider used from the old usb phy specific to a new one using the generic phy framework. looks good :-) Thanks Kishon Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park

Re: [PATCH 5/5] usb: s3c-hsotg: Use the new Exynos USB phy driver with the generic phy framework

2013-10-25 Thread Kishon Vijay Abraham I
On Friday 25 October 2013 07:45 PM, Kamil Debski wrote: Change the used phy driver to the new Exynos USB phy driver that uses the generic phy framework. Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

Re: [PATCH V3] PCI: exynos: add support for MSI

2013-10-08 Thread Kishon Vijay Abraham I
Hi Jingoo, On Friday 06 September 2013 12:24 PM, Jingoo Han wrote: This patch adds support for Message Signaled Interrupt in the Exynos PCIe diver using Synopsys designware PCIe core IP. Signed-off-by: Siva Reddy Kallam siva.kal...@samsung.com Signed-off-by: Srikanth T Shivanand

Re: [PATCH] PCI: designware: Add irq_create_mapping()

2013-10-09 Thread Kishon Vijay Abraham I
@samsung.com Cc: Kishon Vijay Abraham I kis...@ti.com --- Tested on Exynos5440. drivers/pci/host/pcie-designware.c | 10 -- drivers/pci/host/pcie-designware.h |1 + 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host

Re: [PATCH] PCI: designware: Add irq_create_mapping()

2013-10-09 Thread Kishon Vijay Abraham I
On Wednesday 09 October 2013 02:47 PM, Jingoo Han wrote: On Wednesday, October 09, 2013 6:06 PM, Kishon Vijay Abraham I wrote: On Wednesday 09 October 2013 01:39 PM, Jingoo Han wrote: Without irq_create_mapping(), the correct irq number cannot be provided. In this case, it makes problem

Re: [PATCH] PCI: designware: Add irq_create_mapping()

2013-10-09 Thread Kishon Vijay Abraham I
On Wednesday 09 October 2013 03:35 PM, Jingoo Han wrote: On Wednesday, October 09, 2013 6:48 PM, Kishon Vijay Abraham I wrote: On Wednesday 09 October 2013 02:47 PM, Jingoo Han wrote: On Wednesday, October 09, 2013 6:06 PM, Kishon Vijay Abraham I wrote: On Wednesday 09 October 2013 01:39 PM

[PATCH v5] extcon: palmas: Added a new compatible type *ti,palmas-usb-vid*

2013-10-10 Thread Kishon Vijay Abraham I
The Palmas device contains only a USB VBUS-ID detector, so added a compatible type *ti,palmas-usb-vid*. Didn't remove the existing compatible types for backward compatibility. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Changes from v4: * added compatible property ti,twl6035-usb-vid

Re: [PATCH v5] extcon: palmas: Added a new compatible type *ti,palmas-usb-vid*

2013-10-10 Thread Kishon Vijay Abraham I
On Thursday 10 October 2013 03:09 PM, Mark Rutland wrote: On Thu, Oct 10, 2013 at 08:32:57AM +0100, Kishon Vijay Abraham I wrote: The Palmas device contains only a USB VBUS-ID detector, so added a compatible type *ti,palmas-usb-vid*. Didn't remove the existing compatible types for backward

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

2013-10-10 Thread Kishon Vijay Abraham I
On Thursday 12 September 2013 03:57 PM, Vivek Gautam wrote: On Thu, Sep 12, 2013 at 3:40 PM, Kishon Vijay Abraham I kis...@ti.com wrote: On Thursday 12 September 2013 02:57 PM, Vivek Gautam wrote: Hi Kishon, On Mon, Sep 2, 2013 at 9:13 PM, Kishon Vijay Abraham I kis...@ti.com wrote

[PATCH 1/2] ARM: dts: omap5-uevm: remove always_on, boot_on from smps10_out1

2013-10-10 Thread Kishon Vijay Abraham I
smps10 should be enabled only in the case of host mode. So stop doing always_on, boot_on from smps10_out1. The driver will enable it in host mode. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap5-uevm.dts |2 -- 1 file changed, 2 deletions(-) diff --git a/arch

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

2013-10-10 Thread Kishon Vijay Abraham I
From: George Cherian george.cher...@ti.com Added dr_mode property in dwc3 and set its default mode to device. Signed-off-by: George Cherian george.cher...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap5.dtsi |1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH v5] extcon: palmas: Added a new compatible type *ti,palmas-usb-vid*

2013-10-10 Thread Kishon Vijay Abraham I
Hi, On Thursday 10 October 2013 03:09 PM, Mark Rutland wrote: On Thu, Oct 10, 2013 at 08:32:57AM +0100, Kishon Vijay Abraham I wrote: The Palmas device contains only a USB VBUS-ID detector, so added a compatible type *ti,palmas-usb-vid*. Didn't remove the existing compatible types

[PATCH v6] extcon: palmas: Added a new compatible type *ti,palmas-usb-vid*

2013-10-10 Thread Kishon Vijay Abraham I
The Palmas device contains only a USB VBUS-ID detector, so added a compatible type *ti,palmas-usb-vid*. Didn't remove the existing compatible types for backward compatibility. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Changes from v5: * Fixed documentation Changes from v4: * added

Re: When USB PHY framework should be used?

2013-10-11 Thread Kishon Vijay Abraham I
On Friday 11 October 2013 12:51 AM, Arokux X wrote: Hi, recently I have been working on mainlining a simple bus glue driver for the USB EHCI for the Allwinner family of the ARM SoCs aka sunxi. The patches are almost ready and can be found at [1] and will be submitted once completely ready.

Re: [PATCH 1/2] ARM: dts: omap5-uevm: remove always_on, boot_on from smps10_out1

2013-10-11 Thread Kishon Vijay Abraham I
On Thursday 10 October 2013 07:49 PM, Nishanth Menon wrote: On 16:19-20131010, Kishon Vijay Abraham I wrote: smps10 should be enabled only in the case of host mode. So stop doing always_on, boot_on from smps10_out1. The driver will enable it in host mode. Signed-off-by: Kishon Vijay Abraham

Re: [PATCH v6] extcon: palmas: Added a new compatible type *ti,palmas-usb-vid*

2013-10-11 Thread Kishon Vijay Abraham I
On Thursday 10 October 2013 06:41 PM, Laxman Dewangan wrote: On Thursday 10 October 2013 06:07 PM, Kishon Vijay Abraham I wrote: The Palmas device contains only a USB VBUS-ID detector, so added a compatible type *ti,palmas-usb-vid*. Didn't remove the existing compatible types for backward

Re: [PATCH 1/2] ARM: dts: omap5-uevm: remove always_on, boot_on from smps10_out1

2013-10-11 Thread Kishon Vijay Abraham I
Hi, On Friday 11 October 2013 12:00 PM, Nishanth Menon wrote: On Fri, Oct 11, 2013 at 1:13 AM, Kishon Vijay Abraham I kis...@ti.com wrote: regulator-boot-on indicates that PMIC enables it by default as part of OTP or some internal behavior - Looking at the measurements done on uEVM and OTP

Re: [PATCH 1/2] ARM: dts: omap5-uevm: remove always_on, boot_on from smps10_out1

2013-10-11 Thread Kishon Vijay Abraham I
On Friday 11 October 2013 12:23 PM, Kishon Vijay Abraham I wrote: Hi, On Friday 11 October 2013 12:00 PM, Nishanth Menon wrote: On Fri, Oct 11, 2013 at 1:13 AM, Kishon Vijay Abraham I kis...@ti.com wrote: regulator-boot-on indicates that PMIC enables it by default as part of OTP or some

Re: [PATCH v6] extcon: palmas: Added a new compatible type *ti,palmas-usb-vid*

2013-10-11 Thread Kishon Vijay Abraham I
Hi Chanwoo, On Friday 11 October 2013 12:36 PM, Chanwoo Choi wrote: On 10/11/2013 03:15 PM, Kishon Vijay Abraham I wrote: On Thursday 10 October 2013 06:41 PM, Laxman Dewangan wrote: On Thursday 10 October 2013 06:07 PM, Kishon Vijay Abraham I wrote: The Palmas device contains only a USB VBUS

Re: [PATCH v6] extcon: palmas: Added a new compatible type *ti,palmas-usb-vid*

2013-10-11 Thread Kishon Vijay Abraham I
On Friday 11 October 2013 01:53 PM, Chanwoo Choi wrote: On 10/11/2013 04:52 PM, Kishon Vijay Abraham I wrote: Hi Chanwoo, On Friday 11 October 2013 12:36 PM, Chanwoo Choi wrote: On 10/11/2013 03:15 PM, Kishon Vijay Abraham I wrote: On Thursday 10 October 2013 06:41 PM, Laxman Dewangan wrote

[PATCH] usb: phy: Fix NULL pointer exception during usb_get_phy

2013-05-10 Thread Kishon Vijay Abraham I
-by: Robert Jarzmik robert.jarz...@free.fr Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/phy/phy-fsl-usb.c |1 + drivers/usb/phy/phy-gpio-vbus-usb.c |1 + drivers/usb/phy/phy-isp1301.c |1 + 3 files changed, 3 insertions(+) diff --git a/drivers/usb/phy/phy

Re: [PATCH v4] extcon: Palmas Extcon Driver

2013-05-14 Thread Kishon Vijay Abraham I
On Tuesday 07 May 2013 04:15 PM, Mark Brown wrote: On Tue, May 07, 2013 at 03:17:08PM +0530, Kishon Vijay Abraham I wrote: On Tuesday 07 May 2013 01:28 PM, Mark Brown wrote: The platform can provide it's own vbus control in which case this is not needed. So why is there no interaction

[PATCH] ARM: dts: omap3 beagle: Add usb otg hs dt data

2013-05-15 Thread Kishon Vijay Abraham I
Added board specific dt data for omap3 beagle in omap3-beagle.dts file. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap3-beagle.dts |7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/arch/arm/boot/dts/omap3

Re: [PATCH v11 0/8] PHY framework

2013-09-03 Thread Kishon Vijay Abraham I
Hi Greg, On Wednesday 28 August 2013 12:50 AM, Felipe Balbi wrote: Hi, On Mon, Aug 26, 2013 at 01:44:49PM +0530, Kishon Vijay Abraham I wrote: On Wednesday 21 August 2013 11:16 AM, Kishon Vijay Abraham I wrote: Added a generic PHY framework that provides a set of APIs for the PHY drivers

Re: [PATCH v11 0/8] PHY framework

2013-09-04 Thread Kishon Vijay Abraham I
On Tuesday 03 September 2013 09:20 PM, Greg KH wrote: On Tue, Sep 03, 2013 at 08:55:23PM +0530, Kishon Vijay Abraham I wrote: Hi Greg, On Wednesday 28 August 2013 12:50 AM, Felipe Balbi wrote: Hi, On Mon, Aug 26, 2013 at 01:44:49PM +0530, Kishon Vijay Abraham I wrote: On Wednesday 21

[PATCH 0/7] Make dwc3 use Generic PHY Framework and misc cleanup

2013-09-02 Thread Kishon Vijay Abraham I
://github.com/rogerq/linux.git usb-control-module Kishon Vijay Abraham I (7): usb: dwc3: get usb_phy only if the platform indicates the presence of PHY usb: dwc3: adapt dwc3 core to use Generic PHY Framework drivers: phy: usb3/pipe3: Adapt pipe3 driver to Generic PHY Framework

[PATCH 7/7] drivers: phy: renamed struct omap_control_usb to struct omap_control_phy

2013-09-02 Thread Kishon Vijay Abraham I
renamed struct omap_control_usb to struct omap_control_phy since it can be used to control PHY of USB, SATA and PCIE. Also moved the driver and include files under *phy* and made the corresponding changes in the users of phy-omap-control. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com

[PATCH 4/7] Documentation: dt bindings: move ..usb/usb-phy.txt to ..phy/omap-phy.txt

2013-09-02 Thread Kishon Vijay Abraham I
Since now we have a separate folder for phy, move the PHY dt binding documentation of OMAP to that folder. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- .../devicetree/bindings/{usb/usb-phy.txt = phy/omap-phy.txt}|2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename

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

2013-09-02 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 +- drivers/usb

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

2013-09-02 Thread Kishon Vijay Abraham I
Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap5.dtsi |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index 94abef5..9fe71ff 100644 --- a/arch/arm/boot/dts/omap5.dtsi +++ b/arch

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

2013-09-02 Thread Kishon Vijay Abraham I
to the Generic PHY Framework. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation/devicetree/bindings/usb/dwc3.txt |6 ++- drivers/usb/dwc3/Kconfig |1 + drivers/usb/dwc3/core.c| 49 drivers/usb/dwc3

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

2013-09-02 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-omap-pipe3 since this same driver will be used for SATA PHY and PCIE PHY. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation

[PATCH 1/7] usb: dwc3: get usb_phy only if the platform indicates the presence of PHY

2013-09-02 Thread Kishon Vijay Abraham I
-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/Kconfig |1 + drivers/usb/dwc3/core.c | 60 +- drivers/usb/dwc3/platform_data.h |1 + 3 files changed, 28 insertions(+), 34 deletions(-) diff --git a/drivers/usb/dwc3

Re: [PATCH 1/4] arm: omap: Add phy binding info for musb in plat data

2013-07-04 Thread Kishon Vijay Abraham I
Hi, On Thursday 04 July 2013 05:14 PM, Tony Lindgren wrote: * Kishon Vijay Abraham I kis...@ti.com [130619 01:58]: In order for controllers to get PHY in case of non dt boot, the phy binding information (phy label) should be added in the platform data of the controller. Signed-off-by: Kishon

[PATCH] musb: omap: Fix: pass all the resources to musb core

2013-07-08 Thread Kishon Vijay Abraham I
commit 09fc7d (usb: musb: fix incorrect usage of resource pointer) assumes musb core will always have only 2 resources. But for OMAP platforms there can be 3 resources (2 irq resource and 1 iomem resource). Fixed it here. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/musb

[PATCH v2 2/4] usb: phy: add a new API to get PHY ref by label

2013-07-08 Thread Kishon Vijay Abraham I
-off-by: Kishon Vijay Abraham I kis...@ti.com Acked-by: Felipe Balbi ba...@ti.com Tested-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/usb/phy/phy.c | 77 +++ include/linux/usb/phy.h | 14 + 2 files changed, 91 insertions(+) diff --git

[PATCH v2 0/4] usb: musb: fix USB enumeration issue in OMAP3 platform

2013-07-08 Thread Kishon Vijay Abraham I
*) Changed the signature of usb_get_phy_by_name() not to use struct device * Kishon Vijay Abraham I (4): arm: omap: Add phy binding info for musb in plat data usb: phy: add a new API to get PHY ref by label usb: musb: omap: use the new API to get PHY reference by label arm: omap: remove

[PATCH v2 4/4] arm: omap: remove using usb_bind_phy for binding musb and phy

2013-07-08 Thread Kishon Vijay Abraham I
Now that MUSB for OMAP started using devm_usb_get_phy_by_name which does not require PHY library to already have the binding information, removed usb_bind_phy calls that binds the MUSB controller with the PHY from the board files. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Acked

[PATCH v2 3/4] usb: musb: omap: use the new API to get PHY reference by label

2013-07-08 Thread Kishon Vijay Abraham I
After the devices are created using PLATFORM_DEVID_AUTO, devm_usb_get_phy_dev and usb_get_phy_dev can't be used reliably as it relies on the device_names passed in usb_bind_phy. So used the new API devm_usb_get_phy_by_name to get the PHY reference. Signed-off-by: Kishon Vijay Abraham I kis

[PATCH v2 1/4] arm: omap: Add phy binding info for musb in plat data

2013-07-08 Thread Kishon Vijay Abraham I
In order for controllers to get PHY in case of non dt boot, the phy binding information (phy label) should be added in the platform data of the controller. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Acked-by: Felipe Balbi ba...@ti.com Tested-by: Tomi Valkeinen tomi.valkei...@ti.com

Re: [PATCH 2/5] usb: phy: phy-omap-control: Add API to power on/off USB PHY for AM335X

2013-07-08 Thread Kishon Vijay Abraham I
Hi, On Monday 08 July 2013 04:13 PM, George Cherian wrote: Add API to power on/off USB PHY for AM335X. This API will be called from phy-am-usb driver. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/usb/phy/phy-omap-control.c | 32

Re: [PATCH 3/5] phy: phy-amxxxx-usb: Add PHY driver for amxxxx platform

2013-07-08 Thread Kishon Vijay Abraham I
Hi, On Monday 08 July 2013 04:13 PM, George Cherian wrote: Adds phy driver support for am33xx platform, the host/device peripheral controller shall get this phy object to control the phy operations. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/phy/Kconfig | 12

Re: [PATCH 4/5] arm: dts: Add USB phy nodes for AM33XX

2013-07-08 Thread Kishon Vijay Abraham I
Hi, On Monday 08 July 2013 04:13 PM, George Cherian wrote: Add DT bindings of phy nodes for AM33XX platform. Signed-off-by: George Cherian george.cher...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git

Re: [PATCH 5/5] usb: musb: dsps: Remove the phy control from glue and add phy driver APIs

2013-07-08 Thread Kishon Vijay Abraham I
Hi, On Monday 08 July 2013 04:13 PM, George Cherian wrote: Remove usb phy control module access from platform glue. The same is now done using am phy driver and phy-omap-control. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/usb/musb/musb_dsps.c | 105

Re: [PATCH 0/5] Add phy support for AM335X platform using Generic PHy framework

2013-07-09 Thread Kishon Vijay Abraham I
Hi, On Tuesday 09 July 2013 11:10 AM, George Cherian wrote: On 7/9/2013 1:14 AM, Sebastian Andrzej Siewior wrote: On 07/08/2013 12:43 PM, George Cherian wrote: This patch series adds phy support for AM335X platform. This patch series is based on Generic PHY framework [1]. This series has

Re: [PATCH V3] pci: exynos: split into two parts such as Synopsys part and Exynos part

2013-09-21 Thread Kishon Vijay Abraham I
Hi, On Thursday 12 September 2013 04:16 PM, Pratyush Anand wrote: On Thu, Sep 12, 2013 at 03:48:03PM +0530, Pratyush Anand wrote: On Thu, Sep 12, 2013 at 06:07:23PM +0800, Kishon Vijay Abraham I wrote: Hi, On Thursday 12 September 2013 03:22 PM, Pratyush Anand wrote: Hi Kishon, On Thu

Re: [PATCH V3] pci: exynos: split into two parts such as Synopsys part and Exynos part

2013-09-22 Thread Kishon Vijay Abraham I
Hi Arnd, Thanks for replying :-) On Sunday 22 September 2013 03:33 AM, Arnd Bergmann wrote: On Saturday 21 September 2013, Kishon Vijay Abraham I wrote: { u32 val; void __iomem *val1; void __iomem *dbi_base = pp-dbi_base; /* Program viewport 0 : INBOUND

Re: [PATCH V3] pci: exynos: split into two parts such as Synopsys part and Exynos part

2013-09-22 Thread Kishon Vijay Abraham I
Hi Pratyush, On Monday 23 September 2013 09:44 AM, Pratyush Anand wrote: Hi Kishon, On Sun, Sep 22, 2013 at 07:16:34PM +0800, Kishon Vijay Abraham I wrote: Hi Arnd, Thanks for replying :-) On Sunday 22 September 2013 03:33 AM, Arnd Bergmann wrote: On Saturday 21 September 2013, Kishon

Re: [PATCH V3] pci: exynos: split into two parts such as Synopsys part and Exynos part

2013-09-25 Thread Kishon Vijay Abraham I
On Wednesday 25 September 2013 02:53 AM, Arnd Bergmann wrote: On Monday 23 September 2013, Kishon Vijay Abraham I wrote: Btw if we hadn't programmed inbound translation table, the address will go untranslated (according to the data book). I guess that's how it was working for Jingoo Han

Re: [PATCH V3] pci: exynos: split into two parts such as Synopsys part and Exynos part

2013-09-26 Thread Kishon Vijay Abraham I
Hi Arnd, On Thursday 26 September 2013 03:21 PM, Arnd Bergmann wrote: On Thursday 26 September 2013, Kishon Vijay Abraham I wrote: On Wednesday 25 September 2013 02:53 AM, Arnd Bergmann wrote: On Monday 23 September 2013, Kishon Vijay Abraham I wrote: Btw if we hadn't programmed inbound

[PATCH v12 3/7] usb: phy: twl4030: use the new generic PHY framework

2013-09-27 Thread Kishon Vijay Abraham I
/phy/. However using the old usb phy library cannot be completely removed because otg is intertwined with phy and moving to the new framework completely will break otg. Once we have a separate otg state machine, we can get rid of the usb phy library. Signed-off-by: Kishon Vijay Abraham I kis

[PATCH v12 0/7] PHY framework

2013-09-27 Thread Kishon Vijay Abraham I
Kishon Vijay Abraham I (7): drivers: phy: add generic PHY framework usb: phy: omap-usb2: use the new generic PHY framework usb: phy: twl4030: use the new generic PHY framework arm: omap3: twl: add phy consumer data in twl4030_usb_data ARM: dts: omap: update usb_otg_hs data usb: musb

<    4   5   6   7   8   9   10   11   12   13   >