RE: [PATCH 1/2] mmc: enable mmc host device to suspend/resume asynchronously

2015-12-29 Thread Venu Byravarasu
Looks good to me. Acked-by: Venu Byravarasu BR, Venu -Original Message- From: Fu, Zhonghui [mailto:zhonghui...@linux.intel.com] Sent: Monday, December 28, 2015 9:09 PM To: Ulf Hansson Cc: Adrian Hunter; chaotian.j...@mediatek.com; l...@metafoo.de; Venu Byravarasu; sergei.shtyl

RE: [PATCH 1/2] mmc: enable mmc host device to suspend/resume asynchronously

2015-12-29 Thread Venu Byravarasu
Looks good to me. Acked-by: Venu Byravarasu <vbyravar...@nvidia.com> BR, Venu -Original Message- From: Fu, Zhonghui [mailto:zhonghui...@linux.intel.com] Sent: Monday, December 28, 2015 9:09 PM To: Ulf Hansson Cc: Adrian Hunter; chaotian.j...@mediatek.com; l...@metafoo.de

RE: [PATCH] usb: phy-tegra-usb.c: wrong pointer check for remap UTMI

2013-12-03 Thread Venu Byravarasu
ailto:swar...@wwwdotorg.org] > Sent: Wednesday, December 04, 2013 9:29 AM > To: Chris Ruehl; ba...@ti.com > Cc: gre...@linuxfoundation.org; thierry.red...@gmail.com; linux- > u...@vger.kernel.org; linux-te...@vger.kernel.org; linux- > ker...@vger.kernel.org; Venu Byravarasu > Subject

RE: [PATCH] usb: phy-tegra-usb.c: wrong pointer check for remap UTMI

2013-12-03 Thread Venu Byravarasu
...@wwwdotorg.org] Sent: Wednesday, December 04, 2013 9:29 AM To: Chris Ruehl; ba...@ti.com Cc: gre...@linuxfoundation.org; thierry.red...@gmail.com; linux- u...@vger.kernel.org; linux-te...@vger.kernel.org; linux- ker...@vger.kernel.org; Venu Byravarasu Subject: Re: [PATCH] usb: phy-tegra-usb.c

RE: [PATCH 1/3] watchdog: xilinx: Fix driver header

2013-05-30 Thread Venu Byravarasu
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Michal Simek > Sent: Thursday, May 30, 2013 5:56 PM > To: linux-kernel@vger.kernel.org > Cc: Michal Simek; Michal Simek; Wim Van Sebroeck; linux- >

RE: [PATCH 1/3] watchdog: xilinx: Fix driver header

2013-05-30 Thread Venu Byravarasu
-Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- ow...@vger.kernel.org] On Behalf Of Michal Simek Sent: Thursday, May 30, 2013 5:56 PM To: linux-kernel@vger.kernel.org Cc: Michal Simek; Michal Simek; Wim Van Sebroeck; linux- watch...@vger.kernel.org

[PATCH v4 4/8] usb: phy: tegra: Return correct error value provided by clk_get_sys

2013-05-16 Thread Venu Byravarasu
In case if clk_get_sys fails, return correct error value provided by the API. Signed-off-by: Venu Byravarasu --- delta from v1, v2 & v3: no change. drivers/usb/phy/phy-tegra-usb.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/usb/phy/phy-tegra-usb

[PATCH v4 6/8] usb: phy: tegra: get ULPI reset GPIO info using DT.

2013-05-16 Thread Venu Byravarasu
As GPIO information is avail through DT, used it to get Tegra ULPI reset GPIO number. Added a new member to tegra_usb_phy structure to store this number. Signed-off-by: Venu Byravarasu --- delta from v1, v2 & v3: no change. drivers/usb/phy/phy-tegra-usb.c |

[PATCH v4 8/8] usb: phy: registering Tegra USB PHY as platform driver

2013-05-16 Thread Venu Byravarasu
based handling in host driver. Made use of DT params to get the PHY Pad registers. Signed-off-by: Venu Byravarasu --- delta from v3: Removed functions pointers to access PORTSC registers from PHY & accessing them from PHY using exported functions. delta from v2: Rebased to TOT and applied

[PATCH v4 7/8] usb: phy: tegra: Add error handling & clean up.

2013-05-16 Thread Venu Byravarasu
Check return values from all GPIO APIs and handle errors accordingly. Remove the call to clk_disable_unprepare(); this function does not prepare or enable the clock, so the error path should not disable or unprepare it. Signed-off-by: Venu Byravarasu --- delta from v3: Modified comment section

[PATCH v4 5/8] usb: phy: tegra: Get PHY mode using DT

2013-05-16 Thread Venu Byravarasu
Added a new PHY mode to support OTG. Obtained Tegra USB PHY mode using DT property. Signed-off-by: Venu Byravarasu --- delta from v3 & v2: No change delta from v1: replaced gadget with peripheral. drivers/usb/host/ehci-tegra.c |1 - drivers/usb/phy/phy-tegra-usb.c |

[PATCH v4 2/8] arm: dt: Tegra20: Modify ULPI reset GPIO properties

2013-05-16 Thread Venu Byravarasu
1. All Tegra20 ULPI reset GPIO DT properties are modified to indicate active low nature of the GPIO. 2. Placed USB PHY DT node immediately below the EHCI controller DT nodes and corrected reg value in the name of USB PHY DT node. Signed-off-by: Venu Byravarasu --- delta from v3: No code changes

[PATCH v4 3/8] ARM: tegra: update device trees for USB binding rework

2013-05-16 Thread Venu Byravarasu
the driver has been updated to assume the new bindings. Signed-off-by: Venu Byravarasu --- delta from v3: Added status field to USB PHY DT nodes. delta from v2: 1. Removed dr_mode setting to otg, due to lack of knowledge of all Vbus supplies, on all target platforms. 2. All changes related to 'nvidia

[PATCH v4 1/8] ARM: tegra: finalize USB EHCI and PHY bindings

2013-05-16 Thread Venu Byravarasu
GPIO 6) Added nvidia,is-wired property to indicate whether the device is hard wired on the board, or pluggable. This patch fixes the binding definition to resolve these issues. Signed-off-by: Venu Byravarasu --- delta from v3: Added a blank line at EOF of nvidia,tegra20-usb-phy.txt. delta from

[PATCH v4 0/8] Tegra USB PHY driver series

2013-05-16 Thread Venu Byravarasu
delta from v3: This patch series is prepared as follow up of TEGRA USB PHY driver patch series discussed at: https://lkml.org/lkml/2013/5/10/241 Venu Byravarasu (8): ARM: tegra: finalize USB EHCI and PHY bindings arm: dt: Tegra20: Modify ULPI reset GPIO properties ARM: tegra: update device

[PATCH v4 0/8] Tegra USB PHY driver series

2013-05-16 Thread Venu Byravarasu
delta from v3: This patch series is prepared as follow up of TEGRA USB PHY driver patch series discussed at: https://lkml.org/lkml/2013/5/10/241 Venu Byravarasu (8): ARM: tegra: finalize USB EHCI and PHY bindings arm: dt: Tegra20: Modify ULPI reset GPIO properties ARM: tegra: update device

[PATCH v4 1/8] ARM: tegra: finalize USB EHCI and PHY bindings

2013-05-16 Thread Venu Byravarasu
GPIO 6) Added nvidia,is-wired property to indicate whether the device is hard wired on the board, or pluggable. This patch fixes the binding definition to resolve these issues. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v3: Added a blank line at EOF of nvidia,tegra20

[PATCH v4 3/8] ARM: tegra: update device trees for USB binding rework

2013-05-16 Thread Venu Byravarasu
the driver has been updated to assume the new bindings. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v3: Added status field to USB PHY DT nodes. delta from v2: 1. Removed dr_mode setting to otg, due to lack of knowledge of all Vbus supplies, on all target platforms. 2. All

[PATCH v4 2/8] arm: dt: Tegra20: Modify ULPI reset GPIO properties

2013-05-16 Thread Venu Byravarasu
1. All Tegra20 ULPI reset GPIO DT properties are modified to indicate active low nature of the GPIO. 2. Placed USB PHY DT node immediately below the EHCI controller DT nodes and corrected reg value in the name of USB PHY DT node. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta

[PATCH v4 5/8] usb: phy: tegra: Get PHY mode using DT

2013-05-16 Thread Venu Byravarasu
Added a new PHY mode to support OTG. Obtained Tegra USB PHY mode using DT property. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v3 v2: No change delta from v1: replaced gadget with peripheral. drivers/usb/host/ehci-tegra.c |1 - drivers/usb/phy/phy-tegra

[PATCH v4 7/8] usb: phy: tegra: Add error handling clean up.

2013-05-16 Thread Venu Byravarasu
Check return values from all GPIO APIs and handle errors accordingly. Remove the call to clk_disable_unprepare(); this function does not prepare or enable the clock, so the error path should not disable or unprepare it. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v3

[PATCH v4 8/8] usb: phy: registering Tegra USB PHY as platform driver

2013-05-16 Thread Venu Byravarasu
based handling in host driver. Made use of DT params to get the PHY Pad registers. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v3: Removed functions pointers to access PORTSC registers from PHY accessing them from PHY using exported functions. delta from v2: Rebased to TOT

[PATCH v4 6/8] usb: phy: tegra: get ULPI reset GPIO info using DT.

2013-05-16 Thread Venu Byravarasu
As GPIO information is avail through DT, used it to get Tegra ULPI reset GPIO number. Added a new member to tegra_usb_phy structure to store this number. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v1, v2 v3: no change. drivers/usb/phy/phy-tegra-usb.c | 25

[PATCH v4 4/8] usb: phy: tegra: Return correct error value provided by clk_get_sys

2013-05-16 Thread Venu Byravarasu
In case if clk_get_sys fails, return correct error value provided by the API. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v1, v2 v3: no change. drivers/usb/phy/phy-tegra-usb.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/usb/phy

[PATCH v3 02/10] arm: dt: Tegra20: Modify ULPI reset GPIO properties

2013-05-10 Thread Venu Byravarasu
changes with this patch: 1. All Tegra20 ULPI reset GPIO DT properties are modified to indicate active low nature of the GPIO. 2. Placed USB PHY DT node immediately below the EHCI controller DT nodes and corrected reg value in the name of USB PHY DT node. Signed-off-by: Venu Byravarasu

[PATCH v3 07/10] usb: phy: tegra: get ULPI reset GPIO info using DT.

2013-05-10 Thread Venu Byravarasu
As GPIO information is avail through DT, used it to get Tegra ULPI reset GPIO number. Added a new member to tegra_usb_phy structure to store this number. Signed-off-by: Venu Byravarasu --- delta from v1 & v2: no change. drivers/usb/phy/phy-tegra-usb.c |

[PATCH v3 03/10] ARM: tegra: update device trees for USB binding rework

2013-05-10 Thread Venu Byravarasu
. Signed-off-by: Venu Byravarasu --- delta from v1: 1. Fixed voltage regulators were used for vbus-supply 2. Added UTMI PHY timing Parameters to DT. delta from v2: 1. Removed dr_mode setting to otg, due to: a. Any ways existing Tegra USB driver does not support OTG. b. lack of knowledge of all Vbus

[PATCH v3 04/10] Revert "usb: phy: tegra: don't call into tegra-ehci directly"

2013-05-10 Thread Venu Byravarasu
This reverts commit ee5d5499edb94cd03738a52a7e234b139da8fd72. Signed-off-by: Venu Byravarasu --- As PHY is being registered as separate driver, solution proposed with this patch cannot work anymore. Hence pushed patch 10 of this series to address the issue. drivers/usb/host/ehci-tegra.c

[PATCH v3 05/10] usb: phy: tegra: Get PHY mode using DT

2013-05-10 Thread Venu Byravarasu
Added a new PHY mode to support OTG. Obtained Tegra USB PHY mode using DT property. Signed-off-by: Venu Byravarasu --- delta from v1: replaced gadget with peripheral. delta from v2: No change drivers/usb/host/ehci-tegra.c |3 +-- drivers/usb/phy/phy-tegra-usb.c | 13

[PATCH v3 10/10] Usb: Move PORTSC access to PHY

2013-05-10 Thread Venu Byravarasu
Changes with this patch: 1. As PHY is being registered as separate platform driver & EHCI Tegra is no more calling PHY open, moved tegra_ehci_set_pts & tegra_ehci_set_phcd functions to PHY driver, 2. Removed unused defines for multiple USB port base addresses Signed-off-by: Venu By

[PATCH v3 09/10] usb: phy: registering Tegra USB PHY as platform driver

2013-05-10 Thread Venu Byravarasu
based handling in host driver. Made use of DT params to get the PHY Pad registers. Signed-off-by: Venu Byravarasu --- delta from v1: 1. Removed extra memory allocation for u_phy->otg 2. Moved ulpi_init code into separate function. 3. Initializing all clk and GPIOs in probe. 4. Used devm_ A

[PATCH v3 08/10] usb: phy: tegra: Add error handling & clean up.

2013-05-10 Thread Venu Byravarasu
Check return values from all GPIO APIs and handle errors accordingly. Remove the call to clk_disable_unprepare(); this function does not prepare or enable the clock, so the error path should not disable or unprepare it. Signed-off-by: Venu Byravarasu --- delta from v1: no changes. delta from

[PATCH v3 06/10] usb: phy: tegra: Return correct error value provided by clk_get_sys

2013-05-10 Thread Venu Byravarasu
In case if clk_get_sys fails, return correct error value provided by the API. Signed-off-by: Venu Byravarasu --- delta from v1 & v2: no change. drivers/usb/phy/phy-tegra-usb.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/usb/phy/phy-tegra-usb.c b/dri

[PATCH v3 01/10] ARM: tegra: finalize USB EHCI and PHY bindings

2013-05-10 Thread Venu Byravarasu
GPIO 6) Added nvidia,is-wired property to indicate whether the device is hard wired on the board, or pluggable. This patch fixes the binding definition to resolve these issues. Signed-off-by: Venu Byravarasu --- delta from v1: 1. added UTMI PHY timing params. 2. replaced gadget with peripheral

[PATCH v3 00/10] Tegra USB PHY driver series

2013-05-10 Thread Venu Byravarasu
delta from v2: This patch is prepared as follow up patch of TEGRA USB PHY driver patch series discussed at: http://marc.info/?l=linux-tegra=136497946026787=2 Venu Byravarasu (10): ARM: tegra: finalize USB EHCI and PHY bindings arm: dt: Tegra20: Modify ULPI reset GPIO properties ARM: tegra

[PATCH v3 00/10] Tegra USB PHY driver series

2013-05-10 Thread Venu Byravarasu
delta from v2: This patch is prepared as follow up patch of TEGRA USB PHY driver patch series discussed at: http://marc.info/?l=linux-tegram=136497946026787w=2 Venu Byravarasu (10): ARM: tegra: finalize USB EHCI and PHY bindings arm: dt: Tegra20: Modify ULPI reset GPIO properties ARM: tegra

[PATCH v3 01/10] ARM: tegra: finalize USB EHCI and PHY bindings

2013-05-10 Thread Venu Byravarasu
GPIO 6) Added nvidia,is-wired property to indicate whether the device is hard wired on the board, or pluggable. This patch fixes the binding definition to resolve these issues. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v1: 1. added UTMI PHY timing params. 2. replaced

[PATCH v3 06/10] usb: phy: tegra: Return correct error value provided by clk_get_sys

2013-05-10 Thread Venu Byravarasu
In case if clk_get_sys fails, return correct error value provided by the API. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v1 v2: no change. drivers/usb/phy/phy-tegra-usb.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/usb/phy/phy

[PATCH v3 08/10] usb: phy: tegra: Add error handling clean up.

2013-05-10 Thread Venu Byravarasu
Check return values from all GPIO APIs and handle errors accordingly. Remove the call to clk_disable_unprepare(); this function does not prepare or enable the clock, so the error path should not disable or unprepare it. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v1

[PATCH v3 09/10] usb: phy: registering Tegra USB PHY as platform driver

2013-05-10 Thread Venu Byravarasu
based handling in host driver. Made use of DT params to get the PHY Pad registers. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v1: 1. Removed extra memory allocation for u_phy-otg 2. Moved ulpi_init code into separate function. 3. Initializing all clk and GPIOs in probe. 4

[PATCH v3 10/10] Usb: Move PORTSC access to PHY

2013-05-10 Thread Venu Byravarasu
Changes with this patch: 1. As PHY is being registered as separate platform driver EHCI Tegra is no more calling PHY open, moved tegra_ehci_set_pts tegra_ehci_set_phcd functions to PHY driver, 2. Removed unused defines for multiple USB port base addresses Signed-off-by: Venu Byravarasu

[PATCH v3 05/10] usb: phy: tegra: Get PHY mode using DT

2013-05-10 Thread Venu Byravarasu
Added a new PHY mode to support OTG. Obtained Tegra USB PHY mode using DT property. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v1: replaced gadget with peripheral. delta from v2: No change drivers/usb/host/ehci-tegra.c |3 +-- drivers/usb/phy/phy-tegra-usb.c

[PATCH v3 03/10] ARM: tegra: update device trees for USB binding rework

2013-05-10 Thread Venu Byravarasu
. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v1: 1. Fixed voltage regulators were used for vbus-supply 2. Added UTMI PHY timing Parameters to DT. delta from v2: 1. Removed dr_mode setting to otg, due to: a. Any ways existing Tegra USB driver does not support OTG. b. lack

[PATCH v3 04/10] Revert usb: phy: tegra: don't call into tegra-ehci directly

2013-05-10 Thread Venu Byravarasu
This reverts commit ee5d5499edb94cd03738a52a7e234b139da8fd72. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- As PHY is being registered as separate driver, solution proposed with this patch cannot work anymore. Hence pushed patch 10 of this series to address the issue. drivers/usb

[PATCH v3 07/10] usb: phy: tegra: get ULPI reset GPIO info using DT.

2013-05-10 Thread Venu Byravarasu
As GPIO information is avail through DT, used it to get Tegra ULPI reset GPIO number. Added a new member to tegra_usb_phy structure to store this number. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v1 v2: no change. drivers/usb/phy/phy-tegra-usb.c | 25

[PATCH v3 02/10] arm: dt: Tegra20: Modify ULPI reset GPIO properties

2013-05-10 Thread Venu Byravarasu
changes with this patch: 1. All Tegra20 ULPI reset GPIO DT properties are modified to indicate active low nature of the GPIO. 2. Placed USB PHY DT node immediately below the EHCI controller DT nodes and corrected reg value in the name of USB PHY DT node. Signed-off-by: Venu Byravarasu vbyravar

RE: [PATCH v2 2/7] ARM: tegra: update device trees for USB binding rework

2013-04-04 Thread Venu Byravarasu
> -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Thursday, April 04, 2013 12:47 AM > To: Venu Byravarasu > Cc: gre...@linuxfoundation.org; ba...@ti.com; > st...@rowland.harvard.edu; linux-te...@vger.kernel.org; linux- > u...@vger.ker

RE: [PATCH v2 6/7] usb: phy: tegra: Add error handling & clean up.

2013-04-04 Thread Venu Byravarasu
> -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Thursday, April 04, 2013 1:06 AM > To: Venu Byravarasu > Cc: gre...@linuxfoundation.org; ba...@ti.com; > st...@rowland.harvard.edu; linux-te...@vger.kernel.org; linux- > u...@vger.ker

RE: [PATCH v2 1/7] ARM: tegra: finalize USB EHCI and PHY bindings

2013-04-04 Thread Venu Byravarasu
> -Original Message- > From: linux-tegra-ow...@vger.kernel.org [mailto:linux-tegra- > ow...@vger.kernel.org] On Behalf Of Stephen Warren > Sent: Thursday, April 04, 2013 12:38 AM > To: Venu Byravarasu > Cc: gre...@linuxfoundation.org; ba...@ti.com; > st...@rowland.

RE: [PATCH v2 1/7] ARM: tegra: finalize USB EHCI and PHY bindings

2013-04-04 Thread Venu Byravarasu
-Original Message- From: linux-tegra-ow...@vger.kernel.org [mailto:linux-tegra- ow...@vger.kernel.org] On Behalf Of Stephen Warren Sent: Thursday, April 04, 2013 12:38 AM To: Venu Byravarasu Cc: gre...@linuxfoundation.org; ba...@ti.com; st...@rowland.harvard.edu; linux-te

RE: [PATCH v2 6/7] usb: phy: tegra: Add error handling clean up.

2013-04-04 Thread Venu Byravarasu
-Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Thursday, April 04, 2013 1:06 AM To: Venu Byravarasu Cc: gre...@linuxfoundation.org; ba...@ti.com; st...@rowland.harvard.edu; linux-te...@vger.kernel.org; linux- u...@vger.kernel.org; linux-kernel

RE: [PATCH v2 2/7] ARM: tegra: update device trees for USB binding rework

2013-04-04 Thread Venu Byravarasu
-Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Thursday, April 04, 2013 12:47 AM To: Venu Byravarasu Cc: gre...@linuxfoundation.org; ba...@ti.com; st...@rowland.harvard.edu; linux-te...@vger.kernel.org; linux- u...@vger.kernel.org; linux-kernel

RE: [PATCH] usb: host: tegra: Reset Tegra USB controller before init

2013-04-03 Thread Venu Byravarasu
> -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Tuesday, April 02, 2013 9:02 PM > To: Venu Byravarasu > Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; linux- > u...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject:

[PATCH resend] usb: host: tegra: Reset Tegra USB controller before init

2013-04-03 Thread Venu Byravarasu
To clear any configurations made by U-Boot on Tegra USB controller, reset it before init in probe. Signed-off-by: Venu Byravarasu Acked-by: Alan Stern Acked-by: Greg Kroah-Hartman reviewed-by: Stephen Warren --- This patch was already reviewed at: http://marc.info/?l=linux-usb

[PATCH v2 1/7] ARM: tegra: finalize USB EHCI and PHY bindings

2013-04-03 Thread Venu Byravarasu
GPIO 6) Added nvidia,is-wired property to indicate whether the device is hard wired on the board, or pluggable. This patch fixes the binding definition to resolve these issues. Signed-off-by: Venu Byravarasu --- delta from v1: 1. added UTMI PHY timing params. 2. replaced gadget with peripheral

[PATCH v2 2/7] ARM: tegra: update device trees for USB binding rework

2013-04-03 Thread Venu Byravarasu
the driver has been updated to assume the new bindings. Signed-off-by: Venu Byravarasu --- delta from v1: 1. Fixed voltage regulators were used for vbus-supply 2. Added UTMI PHY timing Parameters to DT. arch/arm/boot/dts/tegra20-colibri-512.dtsi |4 ++ arch/arm/boot/dts/tegra20-harmony.dts

[PATCH v2 3/7] usb: phy: tegra: Get PHY mode using DT

2013-04-03 Thread Venu Byravarasu
Added a new PHY mode to support OTG. Obtained Tegra USB PHY mode using DT property. Signed-off-by: Venu Byravarasu --- delta from v1: replaced gadget with peripheral. drivers/usb/host/ehci-tegra.c |3 +-- drivers/usb/phy/phy-tegra-usb.c | 13 +++-- include/linux/usb

[PATCH v2 7/7] usb: phy: registering Tegra USB PHY as platform driver

2013-04-03 Thread Venu Byravarasu
based handling in host driver. Made use of DT params to get the PHY Pad registers. Signed-off-by: Venu Byravarasu --- delta from v1: 1. Removed extra memory allocation for u_phy->otg 2. Moved ulpi_init code into separate function. 3. Initializing all clk and GPIOs in probe. 4. Used devm_ A

[PATCH v2 5/7] usb: phy: tegra: get ULPI reset GPIO info using DT.

2013-04-03 Thread Venu Byravarasu
As GPIO information is avail through DT, used it to get Tegra ULPI reset GPIO number. Added a new member to tegra_usb_phy structure to store this number. Signed-off-by: Venu Byravarasu --- delta from v2: no change. drivers/usb/phy/phy-tegra-usb.c | 25 +++-- include

[PATCH v2 4/7] usb: phy: tegra: Return correct error value provided by clk_get_sys

2013-04-03 Thread Venu Byravarasu
In case if clk_get_sys fails, return correct error value provided by the API. Signed-off-by: Venu Byravarasu --- delta from v1: no change. drivers/usb/phy/phy-tegra-usb.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/usb/phy/phy-tegra-usb.c b/drivers/usb

[PATCH v2 6/7] usb: phy: tegra: Add error handling & clean up.

2013-04-03 Thread Venu Byravarasu
Check return values from all GPIO APIs and handle errors accordingly. Remove clk_disable_unprepare which is no more needed. Signed-off-by: Venu Byravarasu --- delta from v2: no change. drivers/usb/phy/phy-tegra-usb.c | 50 ++ 1 files changed, 39 insertions

[PATCH v2 0/7] Tegra USB PHY driver series

2013-04-03 Thread Venu Byravarasu
delta from v1: This patch is prepared as follow up patch of TEGRA USB PHY driver patch series being discussed at: http://marc.info/?l=linux-tegra=136361016003625=2 Venu Byravarasu (7): ARM: tegra: finalize USB EHCI and PHY bindings ARM: tegra: update device trees for USB binding rework usb

[PATCH v2 0/7] Tegra USB PHY driver series

2013-04-03 Thread Venu Byravarasu
delta from v1: This patch is prepared as follow up patch of TEGRA USB PHY driver patch series being discussed at: http://marc.info/?l=linux-tegram=136361016003625w=2 Venu Byravarasu (7): ARM: tegra: finalize USB EHCI and PHY bindings ARM: tegra: update device trees for USB binding rework

[PATCH v2 6/7] usb: phy: tegra: Add error handling clean up.

2013-04-03 Thread Venu Byravarasu
Check return values from all GPIO APIs and handle errors accordingly. Remove clk_disable_unprepare which is no more needed. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v2: no change. drivers/usb/phy/phy-tegra-usb.c | 50 ++ 1 files

[PATCH v2 4/7] usb: phy: tegra: Return correct error value provided by clk_get_sys

2013-04-03 Thread Venu Byravarasu
In case if clk_get_sys fails, return correct error value provided by the API. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v1: no change. drivers/usb/phy/phy-tegra-usb.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/usb/phy/phy-tegra

[PATCH v2 5/7] usb: phy: tegra: get ULPI reset GPIO info using DT.

2013-04-03 Thread Venu Byravarasu
As GPIO information is avail through DT, used it to get Tegra ULPI reset GPIO number. Added a new member to tegra_usb_phy structure to store this number. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v2: no change. drivers/usb/phy/phy-tegra-usb.c | 25

[PATCH v2 7/7] usb: phy: registering Tegra USB PHY as platform driver

2013-04-03 Thread Venu Byravarasu
based handling in host driver. Made use of DT params to get the PHY Pad registers. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v1: 1. Removed extra memory allocation for u_phy-otg 2. Moved ulpi_init code into separate function. 3. Initializing all clk and GPIOs in probe. 4

[PATCH v2 3/7] usb: phy: tegra: Get PHY mode using DT

2013-04-03 Thread Venu Byravarasu
Added a new PHY mode to support OTG. Obtained Tegra USB PHY mode using DT property. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v1: replaced gadget with peripheral. drivers/usb/host/ehci-tegra.c |3 +-- drivers/usb/phy/phy-tegra-usb.c | 13

[PATCH v2 2/7] ARM: tegra: update device trees for USB binding rework

2013-04-03 Thread Venu Byravarasu
the driver has been updated to assume the new bindings. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v1: 1. Fixed voltage regulators were used for vbus-supply 2. Added UTMI PHY timing Parameters to DT. arch/arm/boot/dts/tegra20-colibri-512.dtsi |4 ++ arch/arm/boot/dts

[PATCH v2 1/7] ARM: tegra: finalize USB EHCI and PHY bindings

2013-04-03 Thread Venu Byravarasu
GPIO 6) Added nvidia,is-wired property to indicate whether the device is hard wired on the board, or pluggable. This patch fixes the binding definition to resolve these issues. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v1: 1. added UTMI PHY timing params. 2. replaced

[PATCH resend] usb: host: tegra: Reset Tegra USB controller before init

2013-04-03 Thread Venu Byravarasu
To clear any configurations made by U-Boot on Tegra USB controller, reset it before init in probe. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com Acked-by: Alan Stern st...@rowland.harvard.edu Acked-by: Greg Kroah-Hartman gre...@linuxfoundation.org reviewed-by: Stephen Warren swar

RE: [PATCH] usb: host: tegra: Reset Tegra USB controller before init

2013-04-03 Thread Venu Byravarasu
-Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Tuesday, April 02, 2013 9:02 PM To: Venu Byravarasu Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; linux- u...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] usb: host: tegra

RE: [PATCH] usb: host: tegra: Reset Tegra USB controller before init

2013-04-02 Thread Venu Byravarasu
> -Original Message- > From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, March 05, 2013 6:04 AM > To: Stephen Warren > Cc: Venu Byravarasu; st...@rowland.harvard.edu; linux- > u...@vger.kernel.org; linux-kernel@vger.kernel.org > Sub

RE: [PATCH] usb: host: tegra: Reset Tegra USB controller before init

2013-04-02 Thread Venu Byravarasu
-Original Message- From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] Sent: Tuesday, March 05, 2013 6:04 AM To: Stephen Warren Cc: Venu Byravarasu; st...@rowland.harvard.edu; linux- u...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] usb: host

RE: [PATCH 7/7] usb: phy: registering tegra USB PHY as platform driver

2013-03-20 Thread Venu Byravarasu
> -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Wednesday, March 20, 2013 1:51 AM > To: Venu Byravarasu > Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; > ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kern

RE: [PATCH 2/7] ARM: tegra: update device trees for USB binding rework

2013-03-20 Thread Venu Byravarasu
> -Original Message- > From: Felipe Balbi [mailto:ba...@ti.com] > Sent: Wednesday, March 20, 2013 5:55 PM > To: Venu Byravarasu > Cc: kishon; gre...@linuxfoundation.org; st...@rowland.harvard.edu; > ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.

RE: [PATCH 3/7] usb: phy: tegra: Get PHY mode using DT

2013-03-20 Thread Venu Byravarasu
> -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Wednesday, March 20, 2013 1:29 AM > To: Venu Byravarasu > Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; > ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kern

RE: [PATCH 2/7] ARM: tegra: update device trees for USB binding rework

2013-03-20 Thread Venu Byravarasu
> -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Wednesday, March 20, 2013 1:24 AM > To: Venu Byravarasu > Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; > ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kern

RE: [PATCH 2/7] ARM: tegra: update device trees for USB binding rework

2013-03-20 Thread Venu Byravarasu
> -Original Message- > From: kishon [mailto:kis...@ti.com] > Sent: Wednesday, March 20, 2013 4:53 PM > To: Venu Byravarasu > Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; > ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > swar...@ww

RE: [PATCH 1/7] ARM: tegra: finalize USB EHCI and PHY bindings

2013-03-20 Thread Venu Byravarasu
> -Original Message- > From: kishon [mailto:kis...@ti.com] > Sent: Wednesday, March 20, 2013 4:49 PM > To: Venu Byravarasu > Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; > ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > swar...@ww

RE: [PATCH 0/7] USB: PHY: Tegra: registering TEGRA USB PHY as platform driver

2013-03-20 Thread Venu Byravarasu
> -Original Message- > From: Venu Byravarasu > Sent: Wednesday, March 20, 2013 11:30 AM > To: 'Stephen Warren' > Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; > ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-te...@vger.k

RE: [PATCH 0/7] USB: PHY: Tegra: registering TEGRA USB PHY as platform driver

2013-03-20 Thread Venu Byravarasu
> -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Wednesday, March 20, 2013 1:22 AM > To: Venu Byravarasu > Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; > ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kern

RE: [PATCH 0/7] USB: PHY: Tegra: registering TEGRA USB PHY as platform driver

2013-03-20 Thread Venu Byravarasu
-Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Wednesday, March 20, 2013 1:22 AM To: Venu Byravarasu Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-te

RE: [PATCH 0/7] USB: PHY: Tegra: registering TEGRA USB PHY as platform driver

2013-03-20 Thread Venu Byravarasu
-Original Message- From: Venu Byravarasu Sent: Wednesday, March 20, 2013 11:30 AM To: 'Stephen Warren' Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-te...@vger.kernel.org; devicetree-disc

RE: [PATCH 1/7] ARM: tegra: finalize USB EHCI and PHY bindings

2013-03-20 Thread Venu Byravarasu
-Original Message- From: kishon [mailto:kis...@ti.com] Sent: Wednesday, March 20, 2013 4:49 PM To: Venu Byravarasu Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; swar...@wwwdotorg.org; linux-te

RE: [PATCH 2/7] ARM: tegra: update device trees for USB binding rework

2013-03-20 Thread Venu Byravarasu
-Original Message- From: kishon [mailto:kis...@ti.com] Sent: Wednesday, March 20, 2013 4:53 PM To: Venu Byravarasu Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; swar...@wwwdotorg.org; linux-te

RE: [PATCH 2/7] ARM: tegra: update device trees for USB binding rework

2013-03-20 Thread Venu Byravarasu
-Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Wednesday, March 20, 2013 1:24 AM To: Venu Byravarasu Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-te

RE: [PATCH 3/7] usb: phy: tegra: Get PHY mode using DT

2013-03-20 Thread Venu Byravarasu
-Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Wednesday, March 20, 2013 1:29 AM To: Venu Byravarasu Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-te

RE: [PATCH 2/7] ARM: tegra: update device trees for USB binding rework

2013-03-20 Thread Venu Byravarasu
-Original Message- From: Felipe Balbi [mailto:ba...@ti.com] Sent: Wednesday, March 20, 2013 5:55 PM To: Venu Byravarasu Cc: kishon; gre...@linuxfoundation.org; st...@rowland.harvard.edu; ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; swar...@wwwdotorg.org

RE: [PATCH 7/7] usb: phy: registering tegra USB PHY as platform driver

2013-03-20 Thread Venu Byravarasu
-Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Wednesday, March 20, 2013 1:51 AM To: Venu Byravarasu Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-te

RE: [PATCH 5/7] usb: phy: tegra: get ULPI reset GPIO info using DT.

2013-03-18 Thread Venu Byravarasu
> -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Sergei Shtylyov > Sent: Monday, March 18, 2013 6:32 PM > To: Venu Byravarasu > Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; >

[PATCH 0/7] USB: PHY: Tegra: registering TEGRA USB PHY as platform driver

2013-03-18 Thread Venu Byravarasu
As part of this series, apart from patch containing changes to register TEGRA USB PHY driver as platform driver, prepared below patches: 1. Re-arranging & adding new DT properties. 2. Getting various params from DT properties added. 3. code clean up. Venu Byravarasu (7): ARM: tegra: fina

[PATCH 7/7] usb: phy: registering tegra USB PHY as platform driver

2013-03-18 Thread Venu Byravarasu
based handling in host driver. Made use of DT params to get the PHY Pad registers. Merged tegra_phy_init into tegra_usb_phy_init. Signed-off-by: Venu Byravarasu --- drivers/usb/host/ehci-tegra.c | 99 ++-- drivers/usb/phy/tegra_usb_phy.c | 308

[PATCH 4/7] usb: phy: tegra: Return correct error value provided by clk_get_sys

2013-03-18 Thread Venu Byravarasu
In case if clk_get_sys fails, return correct error value provided by the API. Signed-off-by: Venu Byravarasu --- drivers/usb/phy/tegra_usb_phy.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/usb/phy/tegra_usb_phy.c b/drivers/usb/phy/tegra_usb_phy.c index

[PATCH 2/7] ARM: tegra: update device trees for USB binding rework

2013-03-18 Thread Venu Byravarasu
the driver has been updated to assume the new bindings. Signed-off-by: Venu Byravarasu --- arch/arm/boot/dts/tegra20-colibri-512.dtsi |4 +++ arch/arm/boot/dts/tegra20-harmony.dts |8 +++--- arch/arm/boot/dts/tegra20-iris-512.dts |4 +++ arch/arm/boot/dts/tegra20-paz00.dts

[PATCH 6/7] usb: phy: tegra: Add error handling & clean up.

2013-03-18 Thread Venu Byravarasu
Check return values from all GPIO APIs and handle errors accordingly. Remove clk_disable_unprepare which is no more needed. Signed-off-by: Venu Byravarasu --- drivers/usb/phy/tegra_usb_phy.c | 50 ++ 1 files changed, 39 insertions(+), 11 deletions(-) diff

[PATCH 3/7] usb: phy: tegra: Get PHY mode using DT

2013-03-18 Thread Venu Byravarasu
Added a new PHY mode to support OTG. Obtained Tegra USB PHY mode using DT property. Signed-off-by: Venu Byravarasu --- drivers/usb/host/ehci-tegra.c |3 +-- drivers/usb/phy/tegra_usb_phy.c | 13 +++-- include/linux/usb/tegra_usb_phy.h |3 ++- 3 files changed, 14

[PATCH 5/7] usb: phy: tegra: get ULPI reset GPIO info using DT.

2013-03-18 Thread Venu Byravarasu
As GPIO information is avail through DT, used it to get Tegra ULPI reset GPIO number. Added a new member to tegra_usb_phy structure to store this number. Signed-off-by: Venu Byravarasu --- drivers/usb/phy/tegra_usb_phy.c | 25 +++-- include/linux/usb/tegra_usb_phy.h

[PATCH 1/7] ARM: tegra: finalize USB EHCI and PHY bindings

2013-03-18 Thread Venu Byravarasu
register space. We can't assume the PHY1 driver is present, so the PHY3 driver will directly access those registers. 3) The list of clocks required by the PHY was missing some required entries. This patch fixes the binding definition to resolve these issues. Signed-off-by: Venu Byravarasu

[PATCH 1/7] ARM: tegra: finalize USB EHCI and PHY bindings

2013-03-18 Thread Venu Byravarasu
register space. We can't assume the PHY1 driver is present, so the PHY3 driver will directly access those registers. 3) The list of clocks required by the PHY was missing some required entries. This patch fixes the binding definition to resolve these issues. Signed-off-by: Venu Byravarasu vbyravar

  1   2   3   4   >