[PATCH v4 2/7] usb: dwc3-omap: use of_platform API to create dwc3 core pdev

2012-10-15 Thread Kishon Vijay Abraham I
Used of_platform_populate() to populate dwc3 core platform_device from device tree data. Since now the allocation of unique device id is handled by of_*, removed the call to dwc3_get_device_id. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/dwc3-omap.c | 50

[PATCH v3 3/3] ARM: OMAP: ocp2scp: create omap device for ocp2scp

2012-10-27 Thread Kishon Vijay Abraham I
Platfrom device for ocp2scp is created using omap_device_build in devices file. This is used for both omap4(musb) and omap5(dwc3). Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/mach-omap2/devices.c | 79 + 1 file changed, 79 insertions

[PATCH v3 2/3] ARM: OMAP4: add _dev_attr_ to ocp2scp for representing usb_phy

2012-10-27 Thread Kishon Vijay Abraham I
In order to reflect devices(usb_phy) attached to ocp2scp bus, ocp2scp is assigned a device attribute to represent the attached devices. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Cc: Benoit Cousson b-cous...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 28

[PATCH v3 1/3] drivers: bus: ocp2scp: add pdata support

2012-10-27 Thread Kishon Vijay Abraham I
-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/bus/omap-ocp2scp.c | 67 ++-- include/linux/platform_data/omap_ocp2scp.h | 31 + 2 files changed, 95 insertions(+), 3 deletions(-) create mode 100644 include/linux/platform_data/omap_ocp2scp.h

[PATCH v3 0/3] ocp2scp: add non-dt support

2012-10-27 Thread Kishon Vijay Abraham I
is rebased on linux-next. commit: 8243aafc4f54244984d7ea707265e98810a3a066 Let me know if it had to be based on some other tree/commit. Kishon Vijay Abraham I (3): drivers: bus: ocp2scp: add pdata support ARM: OMAP4: add _dev_attr_ to ocp2scp for representing usb_phy ARM: OMAP: ocp2scp: create

[PATCH v4 2/3] ARM: OMAP4: add _dev_attr_ to ocp2scp for representing usb_phy

2012-11-02 Thread Kishon Vijay Abraham I
In order to reflect devices(usb_phy) attached to ocp2scp bus, ocp2scp is assigned a device attribute to represent the attached devices. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Cc: Benoit Cousson b-cous...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 28

[PATCH v4 3/3] ARM: OMAP: ocp2scp: create omap device for ocp2scp

2012-11-02 Thread Kishon Vijay Abraham I
Platfrom device for ocp2scp is created using omap_device_build in devices file. This is used for both omap4(musb) and omap5(dwc3). Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/mach-omap2/devices.c | 79 + 1 file changed, 79 insertions

[PATCH v4 0/3] ocp2scp: add non-dt support

2012-11-02 Thread Kishon Vijay Abraham I
-omap2/devices.c Changes from v1: * Fixed Sergei's comments on memory leaks Kishon Vijay Abraham I (3): drivers: bus: ocp2scp: add pdata support ARM: OMAP4: add _dev_attr_ to ocp2scp for representing usb_phy ARM: OMAP: ocp2scp: create omap device for ocp2scp arch/arm/mach-omap2/devices.c

[PATCH v4 1/3] drivers: bus: ocp2scp: add pdata support

2012-11-02 Thread Kishon Vijay Abraham I
-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/bus/omap-ocp2scp.c | 68 ++-- include/linux/platform_data/omap_ocp2scp.h | 31 + 2 files changed, 96 insertions(+), 3 deletions(-) create mode 100644 include/linux/platform_data/omap_ocp2scp.h

[PATCH] omap: hwmod: add support to set dmadisable in hwmod framework

2012-05-09 Thread Kishon Vijay Abraham I
...@ti.com Cc: Paul Walmsley p...@pwsan.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- checkpath warnings of line over 80 characters is ignored to aid easier grepping of strings while debugging. arch/arm/mach-omap2/omap_hwmod.c | 50 ++ arch/arm

[RFC PATCH 1/5] arm: omap: hwmod: make *phy_48m* as the main_clk of ocp2scp

2012-05-30 Thread Kishon Vijay Abraham I
Made *ocp2scp_usb_phy_phy_48m* as the main_clk for ocp2scp. Since this ocp2scp module does not have any fck but does have a single opt_clock, it is added as the main_clk for ocp2scp. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c |1 + 1

[RFC PATCH 0/5] omap: add ocp2scp as a misc driver

2012-05-30 Thread Kishon Vijay Abraham I
device tree adaptation of the ocp2scp driver. Developed on http://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next If it has to be based on some other tree, please let me know. Kishon Vijay Abraham I (5): arm: omap: hwmod: make *phy_48m* as the main_clk of ocp2scp arm: omap

[RFC PATCH 5/5] arm: omap: ocp2scp: create omap device for ocp2scp

2012-05-30 Thread Kishon Vijay Abraham I
Platfrom device for ocp2scp is created using omap_device_build in devices file. This is used for both omap4(musb) and omap5(dwc3). Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/mach-omap2/devices.c | 72 + 1 files changed, 72

[RFC PATCH 4/5] ARM: OMAP4: add _dev_attr_ to ocp2scp for representing usb_phy

2012-05-30 Thread Kishon Vijay Abraham I
In order to reflect devices(usb_phy) attached to ocp2scp bus, ocp2scp is assigned a device attribute to represent the attached devices. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Cc: Benoit Cousson b-cous...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 21

[RFC PATCH 3/5] drivers: misc: omap: add a new driver for ocp2scp

2012-05-30 Thread Kishon Vijay Abraham I
Adds a new driver _ocp2scp_. This driver takes the responsibility of creating all the devices that is connected to OCP2SCP. In the case of OMAP4, USB2PHY is connected to ocp2scp. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/misc/Kconfig |8 ++ drivers

[RFC PATCH 2/5] arm: omap: remove ocp2scp_usb_phy_ick clock node

2012-05-30 Thread Kishon Vijay Abraham I
ocp2scp_usb_phy_ick clock node was a fake clock node created to control MODULEMODE of ocp2scp. Since the hwmod for ocp2scp is now added (which can be used to control MODULEMODE) this clock node is removed. Cc: Benoit Cousson b-cous...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com

[RFC PATCH 3/3] arm: omap: phy: remove unused functions from omap-phy-internal.c

2012-05-30 Thread Kishon Vijay Abraham I
All the unnessary functions in omap-phy-internal is removed. These functionality are now handled by omap-usb2 phy driver. Cc: Felipe Balbi ba...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/mach-omap2/omap_phy_internal.c | 138 --- arch/arm

[RFC PATCH 1/3] drivers: usb: otg: add a new driver for omap usb2 phy

2012-05-30 Thread Kishon Vijay Abraham I
All phy related programming like enabling/disabling the clocks, powering on/off the phy is taken care of by this driver. It is also used for OTG related functionality like srp. Cc: Felipe Balbi ba...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/otg/Kconfig

[RFC PATCH 0/3] usb: musb: add new phy driver

2012-05-30 Thread Kishon Vijay Abraham I
*[RFC PATCH 0/5] omap: add ocp2scp as a misc driver* patch series Compile tested only. Kishon Vijay Abraham I (3): drivers: usb: otg: add a new driver for omap usb2 phy usb: musb: omap glue: use omap-usb2 as the phy driver arm: omap: phy: remove unused functions from omap-phy-internal.c

[PATCH 0/5] usb: musb: cleanup

2012-06-05 Thread Kishon Vijay Abraham I
) * send usb2 phy driver * make musb omap glue make use of usb2 phy driver and make twl630 as a comparator driver. Patch series depends on [PATCH v4 0/3] usb: multi-phy support Performed device mode testing in omap4 panda and omap3 beagle Kishon Vijay Abraham I (5): usb: musb: move work_struct

[PATCH 1/5] usb: musb: move work_struct(otg_notifier_work) from core to omap glue

2012-06-05 Thread Kishon Vijay Abraham I
-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/musb/musb_core.h |2 -- drivers/usb/musb/omap2430.c | 24 +++- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h index f4a40f0..dbcdeea 100644

[PATCH 5/5] drivers: usb: otg: twl: use devres API to allocate resources

2012-06-05 Thread Kishon Vijay Abraham I
used devres API while allocating memory resource in twl4030 and twl6030 so that these resources are released automatically on driver detach. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/otg/twl4030-usb.c | 15 +++ drivers/usb/otg/twl6030-usb.c | 16

[PATCH 4/5] usb: musb: omap: use devres API to allocate resources

2012-06-05 Thread Kishon Vijay Abraham I
used devres API while allocating memory resource and while getting usb phy so that these resources are released automatically on driver detach. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/musb/omap2430.c | 19 +++ 1 files changed, 7 insertions(+), 12

[PATCH 3/5] drivers: usb: musb: move otg specific initializations from twl to glue

2012-06-05 Thread Kishon Vijay Abraham I
Vijay Abraham I kis...@ti.com --- drivers/usb/musb/omap2430.c |5 + drivers/usb/otg/twl4030-usb.c |8 drivers/usb/otg/twl6030-usb.c |6 -- 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index

[PATCH 2/5] usb: musb: twl: use mailbox API to send VBUS or ID events

2012-06-05 Thread Kishon Vijay Abraham I
The atomic notifier from twl4030/twl6030 to notifiy VBUS and ID events, is replaced by a direct call to omap musb blue. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/musb/omap2430.c | 90 ++--- drivers/usb/otg/twl4030-usb.c | 42

[PATCH v3 1/5] usb: musb: move work_struct(otg_notifier_work) from core to omap glue

2012-06-22 Thread Kishon Vijay Abraham I
queue implementation is specific to omap (omap2430.c), the work_struct is defined as a member of struct musb (musb_core.h). Hence moved the work_struct from musb_core to omap glue. Cc: Vikram Pandita vikram.pand...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/musb

[PATCH v3 0/5] usb: musb: cleanup

2012-06-22 Thread Kishon Vijay Abraham I
Author: Mantesh Sarasetti mant...@ti.com Date: Fri Jun 1 14:54:30 2012 +0300 usb: musb: host: Disable MUSB DMA mode incase of DMA channel request failure Performed device mode testing in omap4 panda and omap3 beagle. Kishon Vijay Abraham I (5): usb: musb: move work_struct

[PATCH v3 3/5] drivers: usb: musb: move otg specific initializations from twl to glue

2012-06-22 Thread Kishon Vijay Abraham I
Vijay Abraham I kis...@ti.com --- drivers/usb/musb/omap2430.c |5 + drivers/usb/otg/twl4030-usb.c |8 drivers/usb/otg/twl6030-usb.c |6 -- 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index

[PATCH v3 2/5] usb: musb: twl: use mailbox API to send VBUS or ID events

2012-06-22 Thread Kishon Vijay Abraham I
The atomic notifier from twl4030/twl6030 to notifiy VBUS and ID events, is replaced by a direct call to omap musb blue. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/musb/omap2430.c | 94 +--- drivers/usb/otg/twl4030-usb.c | 46

[PATCH v3 4/5] usb: musb: omap: use devres API to allocate resources

2012-06-22 Thread Kishon Vijay Abraham I
used devres API while allocating memory resource and while getting usb phy so that these resources are released automatically on driver detach. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- This patch uses an API thats introduced in [PATCH v7 0/3] usb: multi-phy support drivers/usb

[PATCH v3 5/5] drivers: usb: otg: twl: use devres API to allocate resources

2012-06-22 Thread Kishon Vijay Abraham I
used devres API while allocating memory resource in twl4030 and twl6030 so that these resources are released automatically on driver detach. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/otg/twl4030-usb.c | 15 +++ drivers/usb/otg/twl6030-usb.c | 16

[RFC PATCH 02/10] arm/dts: omap: Add omap-usb2 dt data

2012-06-22 Thread Kishon Vijay Abraham I
Add omap-usb2 data node in omap4 device tree file. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap4.dtsi |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 9082191..e670394

[RFC PATCH 06/10] drivers: usb: twl4030: Add device tree support for twl4030 usb

2012-06-22 Thread Kishon Vijay Abraham I
Add device tree support for twl6030 usb driver. Update the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- .../devicetree/bindings/usb/twl-usb.txt| 19 ++ drivers/usb/otg/twl4030-usb.c

[RFC PATCH 10/10] arm: omap: phy: remove unused functions from omap-phy-internal.c

2012-06-22 Thread Kishon Vijay Abraham I
All the unnessary functions in omap-phy-internal is removed. These functionality are now handled by omap-usb2 phy driver. Cc: Felipe Balbi ba...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/omap_phy_internal.c | 138

[RFC PATCH 04/10] drivers: usb: twl6030: Add dt support for twl6030 usb

2012-06-22 Thread Kishon Vijay Abraham I
Add device tree support for twl6030 usb driver. Update the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- .../devicetree/bindings/usb/twl-usb.txt| 18 + drivers/usb/otg/twl6030-usb.c | 41

[RFC PATCH 03/10] drivers: usb: otg: make twl6030_usb as a comparator driver to omap_usb2

2012-06-22 Thread Kishon Vijay Abraham I
All the PHY configuration other than VBUS, ID GND and OTG SRP are removed from twl6030. The phy configurations are taken care by the dedicated usb2 phy driver. So twl6030 is made as comparator driver for VBUS and ID detection. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb

[RFC PATCH 09/10] arm/dts: omap: Add usb_otg and glue data

2012-06-22 Thread Kishon Vijay Abraham I
Add usb otg data node in omap4/omap3 device tree file. Also update the node with board specific setting in omapx-board.dts file. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap3-beagle.dts |6 ++ arch/arm/boot/dts/omap3-evm.dts|6 ++ arch/arm

[RFC PATCH 08/10] drivers: usb: musb: Add device tree support for omap musb glue

2012-06-22 Thread Kishon Vijay Abraham I
Added device tree support for omap musb driver and updated the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation/devicetree/bindings/usb/omap-usb.txt | 32 + drivers/usb/musb/omap2430.c

[RFC PATCH 01/10] drivers: usb: otg: add a new driver for omap usb2 phy

2012-06-22 Thread Kishon Vijay Abraham I
is updated. Cc: Felipe Balbi ba...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- .../devicetree/bindings/misc/omap-ocp2scp.txt |3 + Documentation/devicetree/bindings/usb/omap-usb.txt | 14 ++ drivers/usb/otg/Kconfig| 17 +- drivers/usb/otg

[RFC PATCH 07/10] arm/dts: Add twl4030-usb data

2012-06-22 Thread Kishon Vijay Abraham I
Add twl4030-usb data node in twl4030 device tree file. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/twl4030.dtsi | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030

[RFC PATCH 00/10] omap: musb: Add device tree support

2012-06-22 Thread Kishon Vijay Abraham I
0/5] usb: musb: cleanup [RFC PATCH 00/11] OMAP System Control Module [RFC PATCH v2 0/2] omap: add ocp2scp as a misc driver Performed device mode testing on OMAP4 panda and OMAP3 beagle. Kishon Vijay Abraham I (10): drivers: usb: otg: add a new driver for omap usb2 phy arm/dts: omap: Add omap

[RFC PATCH 05/10] arm/dts: Add twl6030-usb data

2012-06-22 Thread Kishon Vijay Abraham I
Add twl6030-usb data node in twl6030 device tree file Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/twl6030.dtsi |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot/dts/twl6030.dtsi index

[PATCH] drivers: usb/power: fix return value check of usb_get_phy

2012-06-26 Thread Kishon Vijay Abraham I
usb_get_phy will return -ENODEV if it's not able to find the phy. Hence fixed all the callers of usb_get_phy to check for this error condition instead of relying on a non-zero value as success condition. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Developed on git://git.kernel.org/pub

[PATCH v1 00/11] omap: musb: Add device tree support

2012-06-28 Thread Kishon Vijay Abraham I
discussion on where to place the ocp2scp driver. Once that gets finalized, I'll resend this patch series again with that adaptaion. Performed MUSB device mode testing on OMAP4 panda, OMAP4 SDP and OMAP3 beagle. Kishon Vijay Abraham I (11): drivers: usb: otg: add a new driver for omap usb2 phy

[PATCH v1 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-06-28 Thread Kishon Vijay Abraham I
is updated. Currently writing to control module register is taken care in this driver which will be removed once the control module driver is in place. Cc: Felipe Balbi ba...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- .../devicetree/bindings/misc/omap-ocp2scp.txt |3

[PATCH v1 02/11] arm/dts: omap: Add omap-usb2 dt data

2012-06-28 Thread Kishon Vijay Abraham I
Add omap-usb2 data node in omap4 device tree file. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap4.dtsi |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index bda5df3..4d2dcc1

[PATCH v1 04/11] arm: omap: hwmod: add a new addr space in otg for writing to control module

2012-06-28 Thread Kishon Vijay Abraham I
to control module by itself. So a new address space to represent this control module register is added to usb_otg_hs. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch

[PATCH v1 08/11] arm/dts: Add twl4030-usb data

2012-06-28 Thread Kishon Vijay Abraham I
Add twl4030-usb data node in twl4030 device tree file. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/twl4030.dtsi | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030

[PATCH v1 06/11] arm/dts: Add twl6030-usb data

2012-06-28 Thread Kishon Vijay Abraham I
Add twl6030-usb data node in twl6030 device tree file Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/twl6030.dtsi |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot/dts/twl6030.dtsi index

[PATCH v1 10/11] arm/dts: omap: Add usb_otg and glue data

2012-06-28 Thread Kishon Vijay Abraham I
Add usb otg data node in omap4/omap3 device tree file. Also update the node with board specific setting in omapx-board.dts file. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap3-beagle.dts |6 ++ arch/arm/boot/dts/omap3-evm.dts|6 ++ arch/arm

[PATCH v1 11/11] arm: omap: phy: remove unused functions from omap-phy-internal.c

2012-06-28 Thread Kishon Vijay Abraham I
All the unnessary functions in omap-phy-internal is removed. These functionality are now handled by omap-usb2 phy driver. Cc: Felipe Balbi ba...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/omap_phy_internal.c | 138

[PATCH v1 09/11] drivers: usb: musb: Add device tree support for omap musb glue

2012-06-28 Thread Kishon Vijay Abraham I
Added device tree support for omap musb driver and updated the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation/devicetree/bindings/usb/omap-usb.txt | 34 - drivers/usb/musb/omap2430.c

[PATCH v1 05/11] drivers: usb: twl6030: Add dt support for twl6030 usb

2012-06-28 Thread Kishon Vijay Abraham I
Add device tree support for twl6030 usb driver. Update the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- .../devicetree/bindings/usb/twl-usb.txt| 18 drivers/usb/otg/twl6030-usb.c | 45

[PATCH v1 07/11] drivers: usb: twl4030: Add device tree support for twl4030 usb

2012-06-28 Thread Kishon Vijay Abraham I
Add device tree support for twl6030 usb driver. Update the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- .../devicetree/bindings/usb/twl-usb.txt| 19 + drivers/usb/otg/twl4030-usb.c

[PATCH v1 03/11] drivers: usb: otg: make twl6030_usb as a comparator driver to omap_usb2

2012-06-28 Thread Kishon Vijay Abraham I
be removed once a driver for control module is in place. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/musb/omap2430.c | 52 --- drivers/usb/musb/omap2430.h |9 +++ drivers/usb/otg/twl6030-usb.c | 114 + 3 files

[PATCH] arm: omap: hwmod: make *phy_48m* as the main_clk of ocp2scp

2012-07-02 Thread Kishon Vijay Abraham I
...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Changes from [RFC PATCH 1/5] arm: omap: hwmod: make *phy_48m* as the main_clk of ocp2scp: * Removed *ocp2scp_usb_phy_phy_48m* as the optional functional clock arch/arm/mach-omap2/omap_hwmod_44xx_data.c |7 +-- 1 files changed, 1

[PATCH RESEND] usb: musb: omap: fix crash when musb glue (omap) gets initialized

2012-03-22 Thread Kishon Vijay Abraham I
access. It is fixed here. Cc: sta...@vger.kernel.org Cc: Felipe Balbi ba...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Tested MUSB in 4430SDP. drivers/usb/musb/omap2430.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/musb/omap2430.c b

[PATCH] usb: dwc3: core: move dwc3_cache_hwparams before dwc3_alloc_event_buffers

2012-11-15 Thread Kishon Vijay Abraham I
that dwc3_alloc_event_buffers sees the correct number of event buffers. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/core.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index b923183..88e8d31 100644

[PATCH v2] usb: dwc3: core: move dwc3_cache_hwparams before dwc3_alloc_event_buffers

2012-11-16 Thread Kishon Vijay Abraham I
that dwc3_alloc_event_buffers sees the correct number of event buffers. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Felipe Balbi ba...@ti.com --- Changes from v1: Added *parens* to the commit message as per Sergei's comments. drivers/usb/dwc3/core.c |4 ++-- 1 file changed, 2

[RFC PATCH 5/7] ARM: dts: omap: Add usb_otg and glue data

2013-01-15 Thread Kishon Vijay Abraham I
mode. Acked-by: Felipe Balbi ba...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap3-beagle-xm.dts |6 ++ arch/arm/boot/dts/omap3-evm.dts |6 ++ arch/arm/boot/dts/omap3-overo.dtsi|6 ++ arch/arm/boot/dts/omap3.dtsi | 11

[RFC PATCH 6/7] ARM: dts: omap: Add omap-usb2 dt data

2013-01-15 Thread Kishon Vijay Abraham I
Add omap-usb2 data node in omap4 device tree file. Since omap-usb2 is connected to ocp2scp, omap-usb2 dt data is added as a child node of ocp2scp. Acked-by: Felipe Balbi ba...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap4.dtsi |4 1 file changed

[RFC PATCH 3/7] ARM: OMAP2: MUSB: Specify omap4 has mailbox

2013-01-15 Thread Kishon Vijay Abraham I
Added has_mailbox to the musb platform data to specify that omap uses an external mailbox (in control module) to communicate with the musb core during device connect and disconnect. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/mach-omap2/usb-musb.c |3 +++ include/linux

[RFC PATCH 2/7] ARM: OMAP: devices: create device for usb part of control module

2013-01-15 Thread Kishon Vijay Abraham I
A seperate driver has been added to handle the usb part of control module. A device for the above driver is created here, using the register address information to be used by the driver for powering on the PHY and for writing to the mailbox. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com

[RFC PATCH 0/7] usb: musb: add driver for control module

2013-01-15 Thread Kishon Vijay Abraham I
basic enumeration testing in omap4 beagle, omap4 sdp and omap3 beagle. Kishon Vijay Abraham I (7): drivers: usb: phy: add a new driver for usb part of control module ARM: OMAP: devices: create device for usb part of control module ARM: OMAP2: MUSB: Specify omap4 has mailbox drivers: usb: start

[RFC PATCH 7/7] ARM: dts: omap: Add omap control usb data

2013-01-15 Thread Kishon Vijay Abraham I
Add omap control usb data in omap4 device tree file. This will have the register address of registers to power on the PHY and to write to mailbox. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap4.dtsi |8 1 file changed, 8 insertions(+) diff --git

[RFC PATCH 3/6] usb: otg: utils: change the phy lib to support multiple PHYs of same type

2013-01-16 Thread Kishon Vijay Abraham I
and an index should be passed. Based on the binding information that is added in the platform file, get_phy will return the approappropriate PHY. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/mach-shmobile/board-marzen.c |2 +- drivers/power/ab8500_charger.c|2

[RFC PATCH 5/6] usb: otg: add device tree support to otg library

2013-01-16 Thread Kishon Vijay Abraham I
...@pengutronix.de Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/otg/otg.c | 77 +++ include/linux/usb/phy.h |8 + 2 files changed, 85 insertions(+) diff --git a/drivers/usb/otg/otg.c b/drivers/usb/otg/otg.c index dbf2043

[RFC PATCH 4/6] ARM: dts: OMAP: Add phandle to bind PHY with USB controller

2013-01-16 Thread Kishon Vijay Abraham I
Added a phandle in the dt node for usb_otg to bind the PHY with the USB controller and also updated the documentation with the binding information. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- I'll add this patch in this series usb: musb: add driver for control module which contains

[RFC PATCH 2/6] ARM: OMAP: USB: Add phy binding information

2013-01-16 Thread Kishon Vijay Abraham I
platforms here. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- This kind-of binding should be done in all the platforms (I've done only for OMAP platform). arch/arm/mach-omap2/usb-musb.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/usb-musb.c

[RFC PATCH 1/6] usb: otg: Add an API to bind the USB controller and PHY

2013-01-16 Thread Kishon Vijay Abraham I
the binding information. This API should be called by platform specific initialization code. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/otg/otg.c | 37 + include/linux/usb/phy.h | 22 ++ 2 files changed, 59

[RFC PATCH 0/6] USB: Add multiple PHYs of same type

2013-01-16 Thread Kishon Vijay Abraham I
for control module patch series. Did basic enumeration testing in omap4 panda, omap4 sdp and omap3 beagle. Kishon Vijay Abraham I (6): usb: otg: Add an API to bind the USB controller and PHY ARM: OMAP: USB: Add phy binding information usb: otg: utils: change the phy lib to support multiple PHYs

[RFC PATCH 6/6] USB: MUSB: OMAP: get PHY by phandle for dt boot

2013-01-16 Thread Kishon Vijay Abraham I
The OMAP glue has been modified to get PHY by phandle for dt boot. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/musb/omap2430.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index

[PATCH 1/4] drivers: usb: phy: add a new driver for usb part of control module

2013-01-18 Thread Kishon Vijay Abraham I
glue and in omap-usb2 phy will be removed. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation/devicetree/bindings/usb/omap-usb.txt | 26 ++- Documentation/devicetree/bindings/usb/usb-phy.txt |5 + drivers/usb/phy/Kconfig|9 + drivers/usb/phy

[PATCH 4/4] drivers: usb: start using the control module driver

2013-01-18 Thread Kishon Vijay Abraham I
Start using the control module driver for powering on the PHY and for writing to the mailbox instead of writing to the control module registers on their own. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation/devicetree/bindings/usb/omap-usb.txt |4 ++ Documentation

[PATCH 2/4] ARM: OMAP: devices: create device for usb part of control module

2013-01-18 Thread Kishon Vijay Abraham I
A seperate driver has been added to handle the usb part of control module. A device for the above driver is created here, using the register address information to be used by the driver for powering on the PHY and for writing to the mailbox. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com

[PATCH 0/4] usb: musb: add driver for control module

2013-01-18 Thread Kishon Vijay Abraham I
/linux/kernel/git/balbi/usb.git xceiv Did basic enumeration testing in omap4 panda, omap4 sdp and omap3 beagle. Kishon Vijay Abraham I (4): drivers: usb: phy: add a new driver for usb part of control module ARM: OMAP: devices: create device for usb part of control module ARM: OMAP2: MUSB

[PATCH 3/4] ARM: OMAP2: MUSB: Specify omap4 has mailbox

2013-01-18 Thread Kishon Vijay Abraham I
Added has_mailbox to the musb platform data to specify that omap uses an external mailbox (in control module) to communicate with the musb core during device connect and disconnect. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/mach-omap2/usb-musb.c |3 +++ include/linux

[PATCH 2/3] ARM: dts: omap: Add omap-usb2 dt data

2013-01-18 Thread Kishon Vijay Abraham I
Add omap-usb2 data node in omap4 device tree file. Since omap-usb2 is connected to ocp2scp, omap-usb2 dt data is added as a child node of ocp2scp. Acked-by: Felipe Balbi ba...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap4.dtsi |4 1 file changed

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

2013-01-18 Thread Kishon Vijay Abraham I
mode. Acked-by: Felipe Balbi ba...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation/devicetree/bindings/usb/omap-usb.txt |2 ++ arch/arm/boot/dts/omap3-beagle-xm.dts |6 ++ arch/arm/boot/dts/omap3-evm.dts|6 ++ arch/arm

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

2013-01-18 Thread Kishon Vijay Abraham I
for control usb and hence added a separate dt node for control usb. This series was developed on git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git xceiv + usb: musb: add driver for control module patch series Did basic enumeration testing in omap4 panda, omap4 sdp and omap3 beagle. Kishon Vijay

[PATCH 1/3] ARM: dts: omap: Add omap control usb data

2013-01-18 Thread Kishon Vijay Abraham I
Add omap control usb data in omap4 device tree file. This will have the register address of registers to power on the PHY and to write to mailbox. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap4.dtsi |8 1 file changed, 8 insertions(+) diff --git

[PATCH v2 3/4] ARM: OMAP2: MUSB: Specify omap4 has mailbox

2013-01-21 Thread Kishon Vijay Abraham I
Added has_mailbox to the musb platform data to specify that omap uses an external mailbox (in control module) to communicate with the musb core during device connect and disconnect. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/mach-omap2/usb-musb.c |3 +++ include/linux

[PATCH v2 0/4] usb: musb: add driver for control module

2013-01-21 Thread Kishon Vijay Abraham I
requirement for it arises. This series was developed on git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git xceiv Did basic enumeration testing in omap4 panda and omap3 beagle. Kishon Vijay Abraham I (4): drivers: usb: phy: add a new driver for usb part of control module ARM: OMAP

[PATCH v2 2/4] ARM: OMAP: devices: create device for usb part of control module

2013-01-21 Thread Kishon Vijay Abraham I
A seperate driver has been added to handle the usb part of control module. A device for the above driver is created here, using the register address information to be used by the driver for powering on the PHY and for writing to the mailbox. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com

[PATCH v2 4/4] drivers: usb: start using the control module driver

2013-01-21 Thread Kishon Vijay Abraham I
Start using the control module driver for powering on the PHY and for writing to the mailbox instead of writing to the control module registers on their own. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation/devicetree/bindings/usb/omap-usb.txt |4 ++ Documentation

[PATCH v2 1/4] drivers: usb: phy: add a new driver for usb part of control module

2013-01-21 Thread Kishon Vijay Abraham I
glue and in omap-usb2 phy will be removed. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation/devicetree/bindings/usb/omap-usb.txt | 26 ++- Documentation/devicetree/bindings/usb/usb-phy.txt |5 + drivers/usb/phy/Kconfig|9 + drivers/usb/phy

[PATCH v1 0/6] USB: Add support for multiple PHYs of same type

2013-01-22 Thread Kishon Vijay Abraham I
series and ARM: dts: omap: add dt data for MUSB Did basic enumeration testing in omap4 panda and omap3 beagle. Kishon Vijay Abraham I (6): usb: otg: Add an API to bind the USB controller and PHY usb: otg: utils: add facilities in phy lib to support multiple PHYs of same type ARM: OMAP: USB

[PATCH v1 5/6] usb: otg: add device tree support to otg library

2013-01-22 Thread Kishon Vijay Abraham I
...@pengutronix.de Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/otg/otg.c | 77 +++ include/linux/usb/phy.h |8 + 2 files changed, 85 insertions(+) diff --git a/drivers/usb/otg/otg.c b/drivers/usb/otg/otg.c index 1f30b22

[PATCH v1 1/6] usb: otg: Add an API to bind the USB controller and PHY

2013-01-22 Thread Kishon Vijay Abraham I
a new API to pass the binding information. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/otg/otg.c | 37 + include/linux/usb/phy.h | 22 ++ 2 files changed, 59 insertions(+) diff --git a/drivers/usb/otg/otg.c b

[PATCH v1 2/6] usb: otg: utils: add facilities in phy lib to support multiple PHYs of same type

2013-01-22 Thread Kishon Vijay Abraham I
API. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/otg/otg.c | 114 ++- include/linux/usb/phy.h | 13 ++ 2 files changed, 126 insertions(+), 1 deletion(-) diff --git a/drivers/usb/otg/otg.c b/drivers/usb/otg/otg.c index

[PATCH v1 4/6] drivers: usb: musb: omap: make use of the new PHY lib APIs

2013-01-22 Thread Kishon Vijay Abraham I
New PHY lib APIs like usb_add_phy_dev() and devm_usb_get_phy_dev() are used in MUSB (OMAP), in order to make use of the binding information provided in the board file (of OMAP platforms). All the platforms should be modified similar to this to add and get the PHY. Signed-off-by: Kishon Vijay

[PATCH v1 3/6] ARM: OMAP: USB: Add phy binding information

2013-01-22 Thread Kishon Vijay Abraham I
. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/mach-omap2/board-2430sdp.c |2 ++ arch/arm/mach-omap2/board-3430sdp.c |2 ++ arch/arm/mach-omap2/board-4430sdp.c |2 ++ arch/arm/mach-omap2/board-cm-t35.c |2 ++ arch/arm/mach-omap2

[PATCH v1 6/6] USB: MUSB: OMAP: get PHY by phandle for dt boot

2013-01-22 Thread Kishon Vijay Abraham I
The OMAP glue has been modified to get PHY by phandle for dt boot. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/musb/omap2430.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index

[PATCH v3 00/13] OMAP: McBSP: hwmod adaptation and runtime conversion

2011-02-18 Thread Kishon Vijay Abraham I
.html [2]: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg39615.html [3]: https://patchwork.kernel.org/patch/233211/ Charulatha V (3): OMAP2420: hwmod data: Add McBSP OMAP2430: hwmod data: Add McBSP OMAP3: hwmod data: Add McBSP Kishon Vijay Abraham I (10): OMAP: hwmod: allow

[PATCH v3 01/13] OMAP: hwmod: allow hwmod to provide address space accessible from SDMA

2011-02-18 Thread Kishon Vijay Abraham I
Adds support for resource API to get address space info other than just MPU. The drivers can now use platform_get_resource_byname() to get resource of type 'IORESOURCE_MEM' by name. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Benoit Cousson b-cous...@ti.com Acked-by: Paul

[PATCH v3 02/13] OMAP: McBSP: Convert McBSP to platform device model

2011-02-18 Thread Kishon Vijay Abraham I
Implement McBSP as platform device and add support for registering through platform device layer using resource structures. Later in this patch series, OMAP2+ McBSP driver would be modified to use hwmod framework after populating the omap2+ hwmod database. Signed-off-by: Kishon Vijay Abraham I

[PATCH v3 09/13] OMAP: McBSP: use omap_device APIs to modify SYSCONFIG

2011-02-18 Thread Kishon Vijay Abraham I
are used to modify SYSCONFIG register. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Cc: Paul Walmsley p...@pwsan.com Acked-by: Peter Ujfalusi peter.ujfal...@nokia.com Acked-by: Jarkko Nikula jhnik...@gmail.com Acked-by: Mark Brown broo...@opensource.wolfsonmicro.com --- depends

[PATCH v3 07/13] OMAP3: hwmod: add dev_attr for McBSP sidetone

2011-02-18 Thread Kishon Vijay Abraham I
Since the sidetone block is tightly coupled to the mcbsp, sidetone information is directly added to mcbsp2 3 hwmod dev_attr. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Benoit Cousson b-cous...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 10 ++ arch

[PATCH v3 13/13] OMAP: hwmod: Removal of macros for data that is obtained from hwmod database

2011-02-18 Thread Kishon Vijay Abraham I
Information like base address and DMA channel nubers should no longer be obtained using macros. These information should be obtained from hwmod database. Hence the macros that define the base address are removed. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Charulatha V ch

[PATCH v3 04/13] OMAP2430: hwmod data: Add McBSP

2011-02-18 Thread Kishon Vijay Abraham I
From: Charulatha V ch...@ti.com Add McBSP hwmod data for OMAP2430. Added a revision member inorder to facilitate the driver to differentiate between mcbsp in different omap. Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Shubhrajyoti

<    1   2   3   4   5   6   7   8   9   10   >