Re: [PATCHv3 1/4] phy: phy-core: Make GENERIC_PHY an invisible option

2015-05-26 Thread Arun Ramamurthy
Hi On 15-05-26 07:19 AM, Felipe Balbi wrote: HI, On Mon, May 25, 2015 at 02:19:58PM -0700, Arun Ramamurthy wrote: On 15-05-14 05:52 PM, Felipe Balbi wrote: Hi, On Wed, Apr 22, 2015 at 04:04:10PM -0700, Arun Ramamurthy wrote: Most of the phy providers use "select" to enable G

Re: [PATCHv3 1/4] phy: phy-core: Make GENERIC_PHY an invisible option

2015-05-25 Thread Arun Ramamurthy
On 15-05-14 05:52 PM, Felipe Balbi wrote: Hi, On Wed, Apr 22, 2015 at 04:04:10PM -0700, Arun Ramamurthy wrote: Most of the phy providers use "select" to enable GENERIC_PHY. Since select is only recommended when the config is not visible, GENERIC_PHY is changed an invisible

[PATCHv3 2/4] phy: core: Add devm_of_phy_get_by_index to phy-core

2015-04-22 Thread Arun Ramamurthy
introduced API to iterate through them. Signed-off-by: Arun Ramamurthy Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- Documentation/phy.txt | 7 ++- drivers/phy/phy-core.c | 32 include/linux/phy/phy.h | 8 3 files changed, 46 insertions(+), 1

[PATCHv3 0/4] add devm_of_phy_get_by_index and update platform drivers

2015-04-22 Thread Arun Ramamurthy
sages - Exported new phy api v2: - EHCI and OHCI platform Kconfigs select Generic Phy to fix build errors in certain configs. v3: - Made GENERIC_PHY an invisible option so that other configs can select it - Added stubs for devm_of_phy_get_by_index - Reformated code Arun Ramamurt

[PATCHv3 1/4] phy: phy-core: Make GENERIC_PHY an invisible option

2015-04-22 Thread Arun Ramamurthy
se "depends on" when the phy framework is explicity required. USB_MUSB_OMAP2PLUS has a cyclic dependency, so it is left as "select". Signed-off-by: Arun Ramamurthy --- drivers/ata/Kconfig | 1 - drivers/media/platform/exynos4-is/Kconfig | 2 +- drive

[PATCHv3 3/4] usb: ehci-platform: Use devm_of_phy_get_by_index

2015-04-22 Thread Arun Ramamurthy
Getting phys by index instead of phy names so that we do not have to create a naming scheme when multiple phys are present Signed-off-by: Arun Ramamurthy Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/usb/host/ehci-platform.c | 69 ++-- 1 file

[PATCHv3 4/4] usb: ohci-platform: Use devm_of_phy_get_by_index

2015-04-22 Thread Arun Ramamurthy
Getting phys by index instead of phy names so that we do not have to create a naming scheme when multiple phys are present Signed-off-by: Arun Ramamurthy Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/usb/host/ohci-platform.c | 69 ++-- 1 file

Re: [PATCHv2 1/3] phy: core: Add devm_of_phy_get_by_index to phy-core

2015-04-20 Thread Arun Ramamurthy
On 15-04-15 02:59 AM, Kishon Vijay Abraham I wrote: Hi, On Tuesday 14 April 2015 03:40 AM, Arun Ramamurthy wrote: Some generic drivers, such as ehci, may use multiple phys and for such drivers referencing phy(s) by name(s) does not make sense. Instead of inventing new naming schemes and

Re: [PATCHv2 2/3] usb: ehci-platform: Use devm_of_phy_get_by_index

2015-04-14 Thread Arun Ramamurthy
On 15-04-14 07:21 AM, Kishon Vijay Abraham I wrote: Hi, On Tuesday 14 April 2015 06:57 PM, Greg Kroah-Hartman wrote: On Tue, Apr 14, 2015 at 03:17:30PM +0200, Arnd Bergmann wrote: On Tuesday 14 April 2015 14:37:37 Greg Kroah-Hartman wrote: On Tue, Apr 14, 2015 at 01:33:08PM +0200, Arnd Berg

Re: [PATCHv2 2/3] usb: ehci-platform: Use devm_of_phy_get_by_index

2015-04-14 Thread Arun Ramamurthy
My apologies Alan, I missed that comment I was indeed trying to avoid the 80 column rule. It looks like i will have to resend this patch, so i will reformat the code then. Thanks On 15-04-14 07:41 AM, Alan Stern wrote: On Mon, 13 Apr 2015, Arun Ramamurthy wrote: Getting phys by index

[PATCHv2 1/3] phy: core: Add devm_of_phy_get_by_index to phy-core

2015-04-13 Thread Arun Ramamurthy
introduced API to iterate through them. Signed-off-by: Arun Ramamurthy Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/phy/phy-core.c | 32 include/linux/phy/phy.h | 2 ++ 2 files changed, 34 insertions(+) diff --git a/drivers/phy/phy-core.c b/drivers

[PATCHv2 2/3] usb: ehci-platform: Use devm_of_phy_get_by_index

2015-04-13 Thread Arun Ramamurthy
Getting phys by index instead of phy names so that we do not have to create a naming scheme when multiple phys are present Signed-off-by: Arun Ramamurthy Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/usb/host/Kconfig | 1 + drivers/usb/host/ehci-platform.c | 70

[PATCHv2 3/3] usb: ohci-platform: Use devm_of_phy_get_by_index

2015-04-13 Thread Arun Ramamurthy
Getting phys by index instead of phy names so that we do not have to create a naming scheme when multiple phys are present Signed-off-by: Arun Ramamurthy Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/usb/host/Kconfig | 1 + drivers/usb/host/ohci-platform.c | 70

[PATCHv2 0/3] Add devm_of_phy_get_by_index and update platform drivers

2015-04-13 Thread Arun Ramamurthy
sages - Exported new phy api v2: - EHCI and OHCI platform Kconfigs select Generic Phy to fix build errors in certain configs. Arun Ramamurthy (3): phy: core: Add devm_of_phy_get_by_index to phy-core usb: ehci-platform: Use devm_of_phy_get_by_index usb: ohci-platform: Use devm_of_phy_get_by_

[PATCH v1 3/3] usb: ohci-platform: Use devm_of_phy_get_by_index

2015-04-01 Thread Arun Ramamurthy
Getting phys by index instead of phy names so that we do not have to create a naming scheme when multiple phys are present Signed-off-by: Arun Ramamurthy Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/usb/host/ohci-platform.c | 70 ++-- 1 file

[PATCH v1 2/3] usb: ehci-platform: Use devm_of_phy_get_by_index

2015-04-01 Thread Arun Ramamurthy
Getting phys by index instead of phy names so that we do not have to create a naming scheme when multiple phys are present Signed-off-by: Arun Ramamurthy Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/usb/host/ehci-platform.c | 70 ++-- 1 file

[PATCH v1 1/3] phy: core: Add devm_of_phy_get_by_index to phy-core

2015-04-01 Thread Arun Ramamurthy
introduced API to iterate through them. Signed-off-by: Arun Ramamurthy Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/phy/phy-core.c | 32 include/linux/phy/phy.h | 2 ++ 2 files changed, 34 insertions(+) diff --git a/drivers/phy/phy-core.c b/drivers

[PATCH v1 0/3] Add devm_of_phy_get_by_index and update platform drivers

2015-04-01 Thread Arun Ramamurthy
sages - Exported new phy api Arun Ramamurthy (3): phy: core: Add devm_of_phy_get_by_index to phy-core usb: ehci-platform: Use devm_of_phy_get_by_index usb: ohci-platform: Use devm_of_phy_get_by_index drivers/phy/phy-core.c | 32 ++ drivers/usb/host/ehci-platform.c

Re: [PATCH 1/3] phy: core: Add devm_of_phy_get_by_index to phy-core

2015-03-25 Thread Arun Ramamurthy
On 15-03-25 03:03 PM, Kishon Vijay Abraham I wrote: Hi, On Saturday 21 March 2015 02:59 AM, Arun Ramamurthy wrote: On 15-03-20 02:26 PM, Dmitry Torokhov wrote: Hi Arun, On Fri, Mar 20, 2015 at 02:07:08PM -0700, Arun Ramamurthy wrote: Adding devm_of_phy_get_by_index to get phys by

Re: [PATCH 1/3] phy: core: Add devm_of_phy_get_by_index to phy-core

2015-03-20 Thread Arun Ramamurthy
On 15-03-20 02:26 PM, Dmitry Torokhov wrote: Hi Arun, On Fri, Mar 20, 2015 at 02:07:08PM -0700, Arun Ramamurthy wrote: Adding devm_of_phy_get_by_index to get phys by supplying an index and not a phy name when multiple phys are declared Reviewed-by: Ray Jui Reviewed-by: Scott Branden

[PATCH 1/3] phy: core: Add devm_of_phy_get_by_index to phy-core

2015-03-20 Thread Arun Ramamurthy
Adding devm_of_phy_get_by_index to get phys by supplying an index and not a phy name when multiple phys are declared Reviewed-by: Ray Jui Reviewed-by: Scott Branden Signed-off-by: Arun Ramamurthy --- drivers/phy/phy-core.c | 30 ++ include/linux/phy/phy.h | 2

[PATCH 3/3] usb: ohci-platform: Use devm_of_phy_get_by_index

2015-03-20 Thread Arun Ramamurthy
Getting phys by index instead of phy names so that the dt bindings phy-names remain consistent when multiple phys are present Reviewed-by: Ray Jui Reviewed-by: Scott Branden Signed-off-by: Arun Ramamurthy --- drivers/usb/host/ohci-platform.c | 20 1 file changed, 4

[PATCH 2/3] usb: ehci-platform: Use devm_of_phy_get_by_index

2015-03-20 Thread Arun Ramamurthy
Getting phys by index instead of phy names so that the dt bindings phy-names remain consistent when multiple phys are present Reviewed-by: Ray Jui Reviewed-by: Scott Branden Signed-off-by: Arun Ramamurthy --- drivers/usb/host/ehci-platform.c | 20 1 file changed, 4

[PATCH 0/3] Add devm_of_phy_get_by_index and update platform drivers

2015-03-20 Thread Arun Ramamurthy
This patch set adds a new API to get phy by index when multiple phys are present. This patch is based on discussion with Arnd Bergmann about dt bindings for multiple phys. Arun Ramamurthy (3): phy: core: Add devm_of_phy_get_by_index to phy-core usb: ehci-platform: Use

Re: [PATCHv3 1/2] usb: ehci-platform: add support for multiple phys per controller

2015-01-21 Thread Arun Ramamurthy
Thanks Alan. I did run check patch and I had no errors or warnings. I explained my changes in v3 in the cover patch, did that not come through or is it convention to do it in the individual patch? Is the ack for the ohci patch as well? Thanks Arun Ramamurthy On 15-01-21 07:03 AM, Alan

Re: [PATCHv2 1/2] usb: ohci-platform: add support for multiple phys per controller

2015-01-06 Thread Arun Ramamurthy
Thank you for the comments Alan On 15-01-06 07:45 AM, Alan Stern wrote: On Thu, 11 Dec 2014 arun.ramamur...@broadcom.com wrote: From: Arun Ramamurthy Added support for cases where one controller is connected to multiple phys Will this continue to work on systems that use only one PHY

one OHCI and EHCI conroller with multiple phys

2014-11-25 Thread Arun Ramamurthy
management. I would like to patch the ehci driver to accept multiple phys. What is the community's opinion on this ? is there any ongoing work of this nature? Thanks Regards, Arun Ramamurthy -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body