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] usb: phy-tegra-usb.c: wrong pointer check for remap UTMI

2013-12-03 Thread Venu Byravarasu
om: Stephen Warren [mailto: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 Byravaras

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.kerne

[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
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 'n

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

2013-05-16 Thread Venu Byravarasu
an a plain 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.

[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 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
an a plain 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

[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&m=136497946026787&w=2 Venu Byravarasu (10): ARM: tegra: finalize USB EHCI and PHY bindings arm: dt: Tegra20: Modify ULPI reset GPIO properti

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] 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&a

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

2013-04-03 Thread Venu Byravarasu
an a plain 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

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

2013-04-03 Thread Venu Byravarasu
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&m=136361016003625&w=2 Venu Byravarasu (7): ARM: tegra: finalize USB EHCI and PHY bindings ARM: tegra: update device trees for USB bindin

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 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

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

2013-03-19 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 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
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
x27;s 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

RE: [PATCH v3] rtc: add devm_rtc_device_{register,unregister}()

2013-03-05 Thread Venu Byravarasu
> -Original Message- > From: Jingoo Han [mailto:jg1@samsung.com] > Sent: Wednesday, March 06, 2013 11:43 AM > To: Venu Byravarasu > Cc: 'Andrew Morton'; linux-kernel@vger.kernel.org; 'Tejun Heo'; 'Greg KH'; > 'Alessandro Zummo&#

RE: [PATCH v3] rtc: add devm_rtc_device_{register,unregister}()

2013-03-05 Thread Venu Byravarasu
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Jingoo Han > Sent: Tuesday, February 26, 2013 7:20 AM > To: 'Andrew Morton' > Cc: linux-kernel@vger.kernel.org; 'Tejun Heo'; 'Greg KH'; 'Alessandro > Zummo'; rtc-li...

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

2013-03-03 Thread Venu Byravarasu
> -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Thursday, February 28, 2013 11:47 PM > To: Venu Byravarasu > Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; linux- > u...@vger.kernel.org; linux-kernel@vger.kernel.org > Sub

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

2013-02-27 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 --- When U-Boot configures a Tegra USB controller in device mode and if the EHCI driver of kernel tries to set it to HOST mode, message "irq 52: nobody cared&quo

RE: [PATCH 03/11] rtc: rtc-efi: use pr_err()/pr_warn() instead of printk()

2013-02-14 Thread Venu Byravarasu
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Jingoo Han > Sent: Friday, February 15, 2013 11:29 AM > To: 'Andrew Morton' > Cc: linux-kernel@vger.kernel.org; 'Alessandro Zummo'; rtc- > li...@googlegroups.com; 'Jin

RE: [PATCH v3] usb: phy: moving all PHY API definitions to usb/phy directory

2013-02-07 Thread Venu Byravarasu
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Stephen Warren > Sent: Thursday, February 07, 2013 10:26 PM > To: kishon > Cc: Venu Byravarasu; ba...@ti.com; gre...@linuxfoundation

[PATCH v3] usb: phy: moving all PHY API definitions to usb/phy directory

2013-02-07 Thread Venu Byravarasu
As drivers/usb/otg/otg.c contains most of the PHY related APIs which are not OTG specific, moving them to more logical place under drivers/usb/phy. Signed-off-by: Venu Byravarasu --- delta from v2: renamed usb_phy.c to phy.c. delta from v1: Missed adding newly created file usb_phy.c with

RE: [PATCH] rtc: Modify leap year test for more simpler way

2013-02-06 Thread Venu Byravarasu
By definition, leap year is one, which is a divisible by 4 & 400, excluding multiples of 100s. Hence I feel this patch is not correct. Thanks, Venu > -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Jonghwa Lee > S

[PATCH] regmap: fix compilation error

2013-02-04 Thread Venu Byravarasu
As a compilation error is seen due to missing header file in next-20130204, fixing it. Signed-off-by: Venu Byravarasu --- drivers/base/regmap/regmap.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index

[PATCH v2] usb: host: tegra: make use of PHY pointer of HCD

2013-01-24 Thread Venu Byravarasu
As pointer to PHY structure can be stored in struct usb_hcd making use of it, to call Tegra PHY APIs. Call to usb_phy_shutdown() is moved up in tegra_ehci_remove(), so that to avoid dereferencing of hcd after its freed up. Signed-off-by: Venu Byravarasu --- First version of patch can be found

[PATCH] arm: tegra: dt: Add reset GPIO information to PHY DT node

2013-01-24 Thread Venu Byravarasu
As reset GPIO information is PHY specific detail, adding it to PHY DT node. Signed-off-by: Venu Byravarasu --- .../bindings/usb/nvidia,tegra20-usb-phy.txt|3 +++ arch/arm/boot/dts/tegra20-harmony.dts |4 arch/arm/boot/dts/tegra20-paz00.dts|4

[PATCH] serial: tegra: Fix compilation error

2013-01-22 Thread Venu Byravarasu
Fix compilation error, by adding the correct header file for Tegra clocks. Signed-off-by: Venu Byravarasu --- drivers/tty/serial/serial-tegra.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/tty/serial/serial-tegra.c b/drivers/tty/serial/serial-tegra.c index

RE: [PATCH v2] usb: phy: moving all PHY API definitions to usb/phy directory

2013-01-22 Thread Venu Byravarasu
> -Original Message- > From: Roger Quadros [mailto:rog...@ti.com] > Sent: Tuesday, January 22, 2013 7:51 PM > To: Venu Byravarasu > Cc: ba...@ti.com; gre...@linuxfoundation.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH v2] usb: ph

RE: [PATCH] usb: phy: moving all PHY API definitions to usb/phy directory

2013-01-22 Thread Venu Byravarasu
> -Original Message- > From: Felipe Balbi [mailto:ba...@ti.com] > Sent: Tuesday, January 22, 2013 4:31 PM > To: Venu Byravarasu > Cc: ba...@ti.com; gre...@linuxfoundation.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH] usb: ph

[PATCH v2] usb: phy: moving all PHY API definitions to usb/phy directory

2013-01-22 Thread Venu Byravarasu
As drivers/usb/otg/otg.c contains most of the PHY related APIs which are not OTG specific, moving them to more logical place under driver/usb/phy. Signed-off-by: Venu Byravarasu --- delta from v1: Missed adding newly created file usb_phy.c with previous patch. hence sending v2, after adding that

[PATCH] usb: phy: moving all PHY API definitions to usb/phy directory

2013-01-22 Thread Venu Byravarasu
As drivers/usb/otg/otg.c contains most of the PHY related APIs which are not OTG specific, moving them to more logical place under driver/usb/phy. Signed-off-by: Venu Byravarasu --- drivers/usb/otg/otg.c| 184 -- drivers/usb/phy/Makefile |1

[PATCH v3 4/4] usb: Add APIs to access host registers from Tegra PHY

2013-01-17 Thread Venu Byravarasu
As Tegra PHY driver needs to access one of the Host registers, added few APIs. Signed-off-by: Venu Byravarasu --- delta from v2: Renamed USB_PORTSC1 to TEGRA_USB_PORTSC1. Removed tegra_ehci_set_wakeon_events() and its references. Used standard defines for accessing PORTSC fields defined in

RE: [PATCH v2 4/4] usb: Add APIs to access host registers from Tegra PHY

2013-01-17 Thread Venu Byravarasu
> -Original Message- > From: Venu Byravarasu > Sent: Friday, January 18, 2013 10:26 AM > To: 'Alan Stern' > Cc: gre...@linuxfoundation.org; ba...@ti.com; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; swar...@wwwdotorg.org; linux- > te...@vger.k

RE: [PATCH v2 4/4] usb: Add APIs to access host registers from Tegra PHY

2013-01-17 Thread Venu Byravarasu
> -Original Message- > From: Alan Stern [mailto:st...@rowland.harvard.edu] > Sent: Thursday, January 17, 2013 9:34 PM > To: Felipe Balbi > Cc: Venu Byravarasu; gre...@linuxfoundation.org; linux- > u...@vger.kernel.org; linux-kernel@vger.kernel.org; > swar...@ww

RE: [PATCH v2 4/4] usb: Add APIs to access host registers from Tegra PHY

2013-01-17 Thread Venu Byravarasu
> -Original Message- > From: Alan Stern [mailto:st...@rowland.harvard.edu] > Sent: Thursday, January 17, 2013 8:45 PM > To: Venu Byravarasu > Cc: gre...@linuxfoundation.org; ba...@ti.com; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; swar...@wwwdotor

RE: [PATCH v2 4/4] usb: Add APIs to access host registers from Tegra PHY

2013-01-17 Thread Venu Byravarasu
> -Original Message- > From: Felipe Balbi [mailto:ba...@ti.com] > Sent: Thursday, January 17, 2013 2:33 PM > To: Venu Byravarasu > Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; > ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; >

[PATCH v2 4/4] usb: Add APIs to access host registers from Tegra PHY

2013-01-17 Thread Venu Byravarasu
As Tegra PHY driver need to access one of the Host registers, added few APIs to ehci tegra driver. Signed-off-by: Venu Byravarasu --- delta from v1: Taken care of RWC bits, while accessing PORTSC register. drivers/usb/host/ehci-tegra.c | 70 - drivers

[PATCH 3/4] USB: PHY: Tegra: Get rid of instance number to differentiate PHY type

2013-01-16 Thread Venu Byravarasu
Tegra20 USB has 3 PHY instances: Instance 1 and 3 are UTMI. Instance 2 is ULPI. As instance number was used to differentiate ULPI from UTMI, used DT param to get this info and processed accordingly. Signed-off-by: Venu Byravarasu --- drivers/usb/phy/tegra_usb_phy.c | 23

[PATCH 1/4] arm: tegra: Add DT nodes for Tegra USB PHY

2013-01-16 Thread Venu Byravarasu
Add DT nodes for Tegra USB PHY along with related documentation. Also added a phandle property to controller DT node, for referring to connected PHY instance. Signed-off-by: Venu Byravarasu --- .../bindings/usb/nvidia,tegra20-ehci.txt |1 + .../bindings/usb/nvidia,tegra20-usb

[PATCH 4/4] usb: Add APIs to access host registers from Tegra PHY

2013-01-16 Thread Venu Byravarasu
As Tegra PHY driver needs to access one of the Host registers, added few APIs. Signed-off-by: Venu Byravarasu --- drivers/usb/host/ehci-tegra.c | 71 - drivers/usb/phy/tegra_usb_phy.c | 51 +++ include/linux/usb

[PATCH 0/4] usb: Supporting patches for registering Tegra USB PHY as a platform driver

2013-01-16 Thread Venu Byravarasu
PHY driver and added APIs to ehci driver for this purpose. Venu Byravarasu (4): arm: tegra: Add DT nodes for Tegra USB PHY USB: PHY: Get rid of instance number to differentiate legacy controller USB: PHY: Tegra: Get rid of instance number to differentiate PHY type usb: Add APIs to

[PATCH 2/4] USB: PHY: Get rid of instance number to differentiate legacy controller

2013-01-16 Thread Venu Byravarasu
Tegra20 USB has 3 PHY instances. Instance 0 is based on legacy PHY interface and other two are standard interfaces. As instance number was used to differentiate legacy from standard interfaces, used DT param to get this info and processed accordingly. Signed-off-by: Venu Byravarasu --- drivers

RE: linux-next: Why no Tree for Jan 15?

2013-01-15 Thread Venu Byravarasu
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Sedat Dilek > Sent: Tuesday, January 15, 2013 6:51 PM > To: Stephen Rothwell > Cc: linux-next; LKML > Subject: linux-next: Why no Tree for Jan 15? > > Hi Stephen, >

[PATCH] usb: phy: remove unused APIs from Tegra PHY.

2013-01-15 Thread Venu Byravarasu
As tegra_usb_phy_clk_disable/enable() are not being used, removing them. Signed-off-by: Venu Byravarasu --- drivers/usb/phy/tegra_usb_phy.c | 13 - include/linux/usb/tegra_usb_phy.h |4 2 files changed, 0 insertions(+), 17 deletions(-) diff --git a/drivers/usb/phy

[PATCH RESEND 2/2] usb: host: tegra: Resetting PORT0 based on information received via DT.

2013-01-02 Thread Venu Byravarasu
Tegra USB host driver is using port instance number, to handle some of the hardware issues on SOC e.g. reset PORT0 twice etc. As instance number based handling looks ugly, making use of information passed through DT for achieving this. Signed-off-by: Venu Byravarasu Acked-by: Alan Stern

[PATCH RESEND 1/2] arm: tegra: Add new DT property to USB node.

2013-01-02 Thread Venu Byravarasu
As Tegra USB host driver is using instance number for resetting PORT0 twice, adding a new DT property for handling this. Signed-off-by: Venu Byravarasu --- .../bindings/usb/nvidia,tegra20-ehci.txt |2 ++ arch/arm/boot/dts/tegra20.dtsi |1 + 2 files changed

[PATCH RESEND 0/2] usb: tegra: modifying port reset based on instance number

2013-01-02 Thread Venu Byravarasu
reset the port second time. Venu Byravarasu (2): arm: tegra: Add new DT property to USB node. usb: host: tegra: Resetting PORT0 based on information received via DT. .../bindings/usb/nvidia,tegra20-ehci.txt |2 ++ arch/arm/boot/dts/tegra20.dtsi |1

RE: [PATCH] usb: tegra: Removing dependency on PHY instance number

2012-12-23 Thread Venu Byravarasu
> -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Saturday, December 22, 2012 2:32 AM > To: Venu Byravarasu > Cc: st...@rowland.harvard.edu; gre...@linuxfoundation.org; > ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel

RE: [PATCH v3] usb: phy: use kzalloc to allocate struct tegra_usb_phy

2012-12-23 Thread Venu Byravarasu
Thanks Stephen. Venu > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Saturday, December 22, 2012 2:25 AM > To: Venu Byravarasu > Cc: ba...@ti.com; gre...@linuxfoundation.org; sshtyl...@mvista.com; > linux-kernel@vger

[PATCH] usb: tegra: Removing dependency on PHY instance number

2012-12-20 Thread Venu Byravarasu
used on USB PHY instance 1 & UTMI is used on other two instances. Hence modified PHY type detection also from instance number to the parameter passed from host driver. Signed-off-by: Venu Byravarasu --- As PHY instance 2 is of UTMI type with non legacy interface, replaced "phy->instanc

[PATCH v3] usb: phy: use kzalloc to allocate struct tegra_usb_phy

2012-12-20 Thread Venu Byravarasu
Use kzalloc instead of kmalloc to allocate struct tegra_usb_phy. This ensures that all function pointers in member u_phy are initialized to NULL. Signed-off-by: Venu Byravarasu --- This patch is v3 patch for the patch discussed at http://marc.info/?l=linux-kernel&m=135599303216132&w=2

RE: [PATCH] usb: phy: tegra: Using devm API for memory allocation

2012-12-20 Thread Venu Byravarasu
> -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Wednesday, December 19, 2012 11:08 PM > To: Venu Byravarasu > Cc: ba...@ti.com; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; linux-...@vger.kernel.org > Subject: Re: [P

[PATCH v2] usb: phy: using kzalloc instead of kmalloc

2012-12-20 Thread Venu Byravarasu
As Tegra PHY driver open is using kmalloc, changing it to kzalloc. Signed-off-by: Venu Byravarasu --- This patch is v2 patch for the patch discussed at http://marc.info/?l=linux-usb&m=135593869431766&w=2 drivers/usb/phy/tegra_usb_phy.c |2 +- 1 files changed, 1 insertions(+), 1 d

RE: [PATCH] usb: phy: tegra: Using devm API for memory allocation

2012-12-18 Thread Venu Byravarasu
> -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Tuesday, December 18, 2012 10:03 PM > To: Venu Byravarasu > Cc: ba...@ti.com; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; linux-...@vger.kernel.org > Subject: Re: [P

[PATCH] usb: host: tegra: make use of PHY pointer of HCD

2012-12-17 Thread Venu Byravarasu
As pointer to PHY structure can be stored in struct usb_hcd making use of it, to call PHY APIs. Call to usb_phy_shutdown() is moved up in tegra_ehci_remove(), so that to avoid dereferencing of hcd after its freed up. Signed-off-by: Venu Byravarasu --- This patch depends on patch http

[PATCH] usb: phy: tegra: Using devm API for memory allocation

2012-12-17 Thread Venu Byravarasu
Using devm_kzalloc for allocating memory needed for PHY pointer and hence removing kfree calls to PHY pointer. Signed-off-by: Venu Byravarasu --- drivers/usb/phy/tegra_usb_phy.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/usb/phy/tegra_usb_phy.c b/drivers

[PATCH] arm: tegra: remove USB address related macros from iomap.h

2012-12-17 Thread Venu Byravarasu
USB register base address and sizes defined in iomap.h are not used in any files other than board-dt-tegra20.c. Hence removed those defines from header file and using the absolute values in board files. Signed-off-by: Venu Byravarasu --- arch/arm/mach-tegra/board-dt-tegra20.c |6

[PATCH 2/2] usb: host: tegra: Resetting PORT0 based on information received via DT.

2012-12-13 Thread Venu Byravarasu
Tegra USB host driver is using port instance number, to handle some of the hardware issues on SOC e.g. reset PORT0 twice etc. As instance number based handling looks ugly, making use of information passed through DT for achieving this. Signed-off-by: Venu Byravarasu --- drivers/usb/host/ehci

[PATCH 0/2] usb: tegra: modifying port reset based on instance number

2012-12-13 Thread Venu Byravarasu
reset the port second time. Venu Byravarasu (2): arm: tegra: Add new DT property to USB node. usb: host: tegra: Resetting PORT0 based on information received via DT. .../bindings/usb/nvidia,tegra20-ehci.txt |2 ++ arch/arm/boot/dts/tegra20.dtsi |1

[PATCH 1/2] arm: tegra: Add new DT property to USB node.

2012-12-13 Thread Venu Byravarasu
As Tegra USB host driver is using instance number for resetting PORT0 twice, adding a new DT property for handling this. Signed-off-by: Venu Byravarasu --- .../bindings/usb/nvidia,tegra20-ehci.txt |2 ++ arch/arm/boot/dts/tegra20.dtsi |1 + 2 files changed

RE: [PATCH 2/2] rtc-tps65910: enable RTC power domain on initialization

2012-11-30 Thread Venu Byravarasu
> -Original Message- > From: Andrew Morton [mailto:a...@linux-foundation.org] > Sent: Friday, November 30, 2012 5:44 AM > To: Kim, Milo > Cc: Venu Byravarasu; Samuel Ortiz; a.zu...@towertech.it; > swar...@wwwdotorg.org; Sivaram Nair; linux-kernel@vger.kernel.org > Su

  1   2   >