Re: [RFC PATCH v2 1/4] retu-mfd: support also Tahvo

2013-04-18 Thread Samuel Ortiz
Hi Aaro,

On Tue, Apr 09, 2013 at 10:51:25PM +0300, Aaro Koskinen wrote:
 Tahvo is a multi-function device on Nokia 770, implementing USB
 transceiver and charge/battery control.
 
 It's so close to Retu that a single driver can support both.
 
 Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi
 Cc: Samuel Ortiz sa...@linux.intel.com
 ---
  drivers/mfd/Kconfig  |6 ++--
  drivers/mfd/retu-mfd.c   |   85 
 --
  include/linux/mfd/retu.h |8 -
  3 files changed, 85 insertions(+), 14 deletions(-)
Simple and good enough, I applied this one.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 0/6] mfd: omap-usb-host: Device tree support for 3.10

2013-04-09 Thread Samuel Ortiz
Hi Roger,

On Mon, Mar 25, 2013 at 12:42:04PM +0200, Roger Quadros wrote:
 Hi Samuel,
 
 I've rebased this now on top of 3.9-rc4. Please pull this into your
 next branch when appropriate. Thanks.
 
 The following changes since commit 8bb9660418e05bb1845ac1a2428444d78e322cc7:
 
   Linux 3.9-rc4 (2013-03-23 16:52:44 -0700)
 
 are available in the git repository at:
   git://github.com/rogerq/linux.git usbhost-mfd-next
 
 Roger Quadros (5):
   mfd: omap-usb-host: update nports in platform_data
   mfd: omap-usb-host: Remove PHY reset handling code
   mfd: omap-usb-tll: move configuration code to omap_tll_init()
   mfd: omap-usb-tll: Add device tree support and binding information
   mfd: omap-usb-host: Add device tree support and binding information
I had to apply them manually, as patches #2 and #5 do not apply.
I am pushing #1, #3 and #4, please rebase 2 and 5 on top of mfd-next and
resend them to me.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [RFC PATCH 1/4] retu-mfd: support also Tahvo

2013-04-08 Thread Samuel Ortiz
Hi Aaro,

On Thu, Mar 07, 2013 at 04:40:18PM +0200, Aaro Koskinen wrote:
 Tahvo is a multi-function device on Nokia 770, implementing USB
 transceiver and charge/battery control.
 
 It's so close to Retu that a single driver can support both.
 
 Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi
 Cc: Samuel Ortiz sa...@linux.intel.com
 ---
  drivers/mfd/Kconfig  |6 +--
  drivers/mfd/retu-mfd.c   |   95 
 +++---
  include/linux/mfd/retu.h |8 +++-
  3 files changed, 92 insertions(+), 17 deletions(-)
Overall the patch looks good, but could you please adress Felipe's comments on
it ?

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: mfd: omap-usb-host: bug fix for 3.9

2013-03-13 Thread Samuel Ortiz
Hi Roger,

On Wed, Feb 27, 2013 at 04:02:53PM +0200, Roger Quadros wrote:
 Hi Samuel,
 
 One of my patch that I sent for 3.9 introduces a bug that fails to
 update the port mode hostconfig register. Because of that, the port modes will
 always be 0 (i.e. EHCI PHY mode) and other modes will not work. PHY mode will
 work, so beagle/panda have no issues.
 
 Since my hardware setup uses only PHY mode, I couldn't catch this problem 
 earlier.
 
 Below is the fix.
 
 From 82466757a212bd8b54d806c9d56b1acccbd4d464 Mon Sep 17 00:00:00 2001
 From: Roger Quadros rog...@ti.com
 Date: Wed, 27 Feb 2013 15:19:24 +0200
 Subject: [PATCH] mfd: omap-usb-host: Actually update hostconfig
 
 The helper functions omap_usbhs_rev1_hostconfig()
 and omap_usbhs_rev2_hostconfig() don't write into
 the hostconfig register. Make sure that we write
 the return value into the hostconfig register.
 
 Signed-off-by: Roger Quadros rog...@ti.com
 ---
  drivers/mfd/omap-usb-host.c |6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)
Patch applied now, thanks.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [GIT PULL] common: OMAP USB Host cleanup for 3.9

2013-02-14 Thread Samuel Ortiz
Hi Roger,

On Thu, Feb 14, 2013 at 02:01:25PM +0200, Roger Quadros wrote:
 Hi Tony  Samuel,
 
 This is the common patch for the OMAP USB Host cleanup series for 3.9.
 It makes changes to platform headers only.
 The other 2 pull requests, one for each of you will be based on this.
 
 This is based on 3.8-rc6.
 
 Please pull. Thanks.
 
 The following changes since commit 88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7:
 
   Linux 3.8-rc6 (2013-02-01 12:08:14 +1100)
 
 are available in the git repository at:
   git://github.com/rogerq/linux.git usbhost17-common
Pulled, thanks.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [GIT PULL] mfd: OMAP USB Host cleanup for 3.9

2013-02-14 Thread Samuel Ortiz
Hi Roger

On Thu, Feb 14, 2013 at 02:02:55PM +0200, Roger Quadros wrote:
 Hi Samuel,
 
 This contains the MFD portion of the OMAP USB Host cleanup series for 3.9.
 It is based on 3.8-rc6 + usbhost17-common that I've sent earlier.
 
 The first patch touches drivers/usb/ehci-omap.c and is pending ACK from Greg 
 KH.
 The reason it needs to go through MFD tree is that it depends on the platform
 header changes as the MFD drivers.
 
 Please pull. Thanks.
 
 The following changes since commit 7f07863ec60f7d3dbeec5aff881ea074db3925ed:
 
   ARM: OMAP: Consolidate OMAP USB-HS platform data (part 1/3) (2013-02-13 
 13:22:34 +0200)
 
 are available in the git repository at:
   git://github.com/rogerq/linux.git usbhost17-for-mfd
Pulled as well, thanks.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH v9 00/20] OMAP USB Host cleanup

2013-02-03 Thread Samuel Ortiz
Hi Roger,

On Wed, Jan 23, 2013 at 12:37:52PM +0200, Roger Quadros wrote:
 Hi Samuel,
 
 I think this series is in a pretty good shape to pull now :). I've added
 Reviewed-by and Acked-by tags. You can please pull from below.
 
 NOTE: the first patch is a stable fix so Greg KH might want to pick it up for 
 3.8-rc.
 
 The following changes since commit 7d1f9aeff1ee4a20b1aeb377dd0f579fe9647619:
 
   Linux 3.8-rc4 (2013-01-17 19:25:45 -0800)
 
 are available in the git repository at:
   git://github.com/rogerq/linux.git linux-usbhost14-part
 
 This patchset addresses the following
 
 - Consolidate USB Host platform data.
 - Avoid addressing clocks one by one by name and use a for loop + bunch
   of cleanups.
 - Get number of channels/ports dynamically either from revision register
   or from platform data. Avoids getting clocks that are not present.
 - Add OMAP5 and HSIC mode (Not tested).
 
 v9:
 - Addressed clock framework related comments from Russell King.
 - Removed 2 clock data patches from the series as they will be taken care
   of by Paul Walmsey.
Applied all 20 patches, thanks.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 08/14] mfd: omap-usb-host: Remove PHY reset handling code

2013-01-21 Thread Samuel Ortiz
HI Roger,

On Thu, Jan 10, 2013 at 06:51:28PM +0200, Roger Quadros wrote:
 PHY reset GPIO handling will be done in the PHY driver
 
 Signed-off-by: Roger Quadros rog...@ti.com
Acked-by: Samuel Ortiz sa...@linux.intel.com

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 06/14] mfd: omap-usb-host: update nports in platform_data

2013-01-21 Thread Samuel Ortiz
Hi Roger,

On Thu, Jan 10, 2013 at 06:51:26PM +0200, Roger Quadros wrote:
 EHCI driver would need to know the number of ports available
 on the platform. We set the nports parameter of platform_data
 based on IP version if it was not already provided.
 
 Signed-off-by: Roger Quadros rog...@ti.com
Acked-by: Samuel Ortiz sa...@linux.intel.com

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH v4 01/23] mfd: omap-usb-host: get rid of cpu_is_omap..() macros

2012-12-13 Thread Samuel Ortiz
Hi Tony,

On Thu, Dec 13, 2012 at 01:49:49PM -0800, Tony Lindgren wrote:
 Hi Samuel,
 
 * Roger Quadros rog...@ti.com [121210 02:23]:
  Instead of using cpu_is_omap..() macros in the device driver we
  rely on information provided in the platform data.
  
  The only information we need is whether the USB Host module has
  a single ULPI bypass control bit for all ports or individual bypass
  control bits for each port. OMAP3 REV2.1 and earlier have the former.
 
 I'd like to apply this patch as a fix so I can finally nuke plat/cpu.h
 for omaps by -rc1 before more drivers start using it again.
 
 That is assuming nobody else is planning on merging this series for
 v3.8 presumably. 
This should go into 3.9, yes.


 Want to ack this one?
Looks fine to me:
Acked-by: Samuel Ortiz sa...@linux.intel.com

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH V4 0/5] ARM: OMAP: HOST: TLL driver implementation

2012-09-21 Thread Samuel Ortiz
Hi Paul,

On Wed, Sep 19, 2012 at 08:39:40PM +, Paul Walmsley wrote:
 
 Hi Samuel,
 
 I've queued patch 1 of this series for 3.7, which should go upstream via 
 the OMAP - arm-soc path.  Also asked Keshava to re-send patch 5 to me 
 once patches 2-4 have been merged.
 
 It's up to you how to handle patches 2-4.  The series is a good step 
 forward for us in terms of cleanup.  But what is probably worthwhile at 
 some point is for that USB TLL phy code (added in patch 2) to be moved 
 into some place like drivers/usb/phy, since it's not MFD-related.
That would be ideal, yes. I kept patches 2-4 as they're alreeady going in the
right direction (I dropped patches 1 and 5).

Thanks for the heads up.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH V4 0/5] ARM: OMAP: HOST: TLL driver implementation

2012-09-19 Thread Samuel Ortiz
Hi Keshava,

On Mon, Jul 16, 2012 at 07:01:06PM +0530, Keshava Munegowda wrote:
 The TLL (Transceiver Less Link) is an separate IP block, independent of
 the host controller. Basically this TLL operates like USB PHY which allows
 the user to connect two USB transceiver interfaces together directly
 without the use of differential transceivers in omap3 and later chips.
 The TLL configuration is removed from the UHH driver and implemented as
 a seperate platform driver. Now, the UHH driver configures the TLL
 through API's exported by the TLL platform driver.
 
 Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com
 
 In v4:
 - rebased on top of linux kernel version 3.5.rc7
 - reworked as per the comments given by Paul Walmsley p...@pwsan.com
 
 In v3:
   - rebased on top V3 of Russ dill's patch
'ARM: OMAP3: USB: Fix the EHCI ULPI PHY reset issue'
fixes an issue where the ULPI PHYs were not held in reset
while initializing the EHCI controller
   http://permalink.gmane.org/gmane.linux.usb.general/65988
   
   - rebased on top of patch 
 OMAP: USB : Fix the EHCI enumeration and core retention issue
  http://permalink.gmane.org/gmane.linux.usb.general/66239
 
 In V2:
 - covered review comments from linux omap and usb community
 - rebased on top Russ dill's patch
'ARM: OMAP3: USB: Fix the EHCI ULPI PHY reset issue'
fixes an issue where the ULPI PHYs were not held in reset
while initializing the EHCI controller
 
 Keshava Munegowda (5):
   ARM: OMAP: Add the USB TLL clocks device name
   ARM: OMAP: USB: HOST TLL platform driver
   ARM: OMAP: USB: Invoke the TLL driver from USB HS core driver
   ARM: OMAP: USB: Remove TLL specific code from USB HS core driver
   ARM: OMAP: Remove older device name of the USB TLL clocks
All 5 patches applied now. I had to manually apply patches #1 and #5. Could
you please check that it's looking good to you ?

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] OMAP: USB : Fix the EHCI enumeration and core retention issue

2012-07-11 Thread Samuel Ortiz
Hi Keshava, Kevin,

On Fri, Jul 06, 2012 at 05:29:00PM +0530, Munegowda, Keshava wrote:
 Samuel
   I have sent that patch to disable the ehci in
 omap2plus_defconfig; after merging that
 please merge this patch too. This will fix the crashes in during boot
 with NFS in beagleXM
I'm going to apply and push this patch for 3.5, and the defconfig patch can be
pushed through Tony's tree.
Kevin, could you please ACK it ?

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html