Re: [PATCH v3 0/9] Tegra xHCI support

2014-09-17 Thread Mikko Perttunen
On 09/17/2014 01:40 AM, Stephen Warren wrote: That's a huge time-sink, unless I work out NFS root, which probably isn't properly or easily supported by any distro. FWIW, this is how I've been working, and it hasn't been /that/ difficult to get working. The Tegra side is trivial, just append

Re: [PATCH v2 4/9] pinctrl: tegra-xusb: Add USB PHY support

2014-08-26 Thread Mikko Perttunen
On 25/08/14 22:22, Stephen Warren wrote: On 08/18/2014 11:08 AM, Andrew Bresticker wrote: In addition to the PCIe and SATA PHYs, the XUSB pad controller also supports 3 UTMI, 2 HSIC, and 2 USB3 PHYs. Each USB3 PHY uses a single PCIe or SATA lane and is mapped to one of the three UTMI ports.

Re: [PATCH v2 2/3] Documentation: devicetree: phy-tegra-usb: Add vbus-supply property for host mode PHYs

2013-07-30 Thread Mikko Perttunen
On 07/30/2013 12:23 AM, Felipe Balbi wrote: * PGP Signed by an unknown key Hi, On Tue, Jul 30, 2013 at 12:19:32AM +0300, Felipe Balbi wrote: On Mon, Jul 29, 2013 at 09:24:46AM -0600, Stephen Warren wrote: On 06/28/2013 06:33 AM, Mikko Perttunen wrote: Add vbus-supply as an optional property

[PATCH] Fix switched around host, otg in tegra20-usb-phy documentation

2013-07-30 Thread Mikko Perttunen
Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- Documentation/devicetree/bindings/usb/nvidia,tegra20-usb-phy.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/nvidia,tegra20-usb-phy.txt b/Documentation/devicetree/bindings/usb

[PATCH] usb: tegra: Fix typo in tegra20-usb-phy documentation

2013-07-30 Thread Mikko Perttunen
The device tree binding documentation for tegra20-usb-phy used to claim that the vbus-supply property is required for host phys and optional for otg phys. This should be the other way around. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- Documentation/devicetree/bindings/usb/nvidia

Re: [PATCH] Fix switched around host, otg in tegra20-usb-phy documentation

2013-07-30 Thread Mikko Perttunen
On 07/30/2013 09:44 AM, Felipe Balbi wrote: * PGP Signed by an unknown key On Tue, Jul 30, 2013 at 09:38:44AM +0300, Mikko Perttunen wrote: Signed-off-by: Mikko Perttunen mperttu...@nvidia.com return -ENOLOG; sorry, I can't apply without a commit log. Please mention that the previous commit

[PATCH REPOST 0/2] usb: phy: tegra: Read UTMI parameters from device tree

2013-07-17 Thread Mikko Perttunen
This patchset moves the USB UTMI interface parameters from hardcoded tables in the PHY driver to device tree and adds code to read them from there. This is a repost of the v2 version of the patchset. Mikko Perttunen (2): ARM: dts: tegra20: Rename USB UTMI parameters according to new

[PATCH REPOST 1/2] ARM: dts: tegra20: Rename USB UTMI parameters according to new definitions

2013-07-17 Thread Mikko Perttunen
This patch changes the Tegra20 USB PHY nodes to use the UTMI configuration parameter names as specified in the device tree binding documentation after patch ARM: tegra: finalize USB EHCI and PHY bindings. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com Acked-by: Stephen Warren swar

[PATCH REPOST 2/2] usb: phy: tegra: Read UTMIP parameters from device tree

2013-07-17 Thread Mikko Perttunen
UTMIP parameters used to be hardcoded into tables in the PHY driver. This patch reads them from the device tree instead in accordance with the phy-tegra-usb DT documentation. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com Reviewed-by: Stephen Warren swar...@nvidia.com Tested-by: Stephen

[PATCH v3 3/3] ARM: tegra: Remove obsolete nvidia,vbus-gpio properties

2013-07-17 Thread Mikko Perttunen
USB VBUS regulators are now specified with the vbus-supply property instead of nvidia,vbus-gpio, so remove the obsolete properties. The equivalent vbus-supply properties were already added in patch ARM: tegra: update device trees for USB binding rework. Signed-off-by: Mikko Perttunen mperttu

[PATCH v3 2/3] usb: tegra: Add vbus-supply property for host mode PHYs

2013-07-17 Thread Mikko Perttunen
Document vbus-supply as an optional property for host mode phy-tegra-usb PHYs. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com Reviewed-by: Stephen Warren swar...@nvidia.com Tested-by: Stephen Warren swar...@nvidia.com --- Documentation/devicetree/bindings/usb/nvidia,tegra20-usb-phy.txt | 2

[PATCH v3 1/3] usb: tegra: Use regulators instead of GPIOs for USB PHY VBUS

2013-07-17 Thread Mikko Perttunen
for tegra usb phy devices are specified with the device tree attribute vbus-supply = x where x is a regulator defined in the device tree. The old nvidia,vbus-gpio property is no longer supported. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com Reviewed-by: Stephen Warren swar...@nvidia.com Tested

[PATCH v3 0/3] usb: tegra: Replace nvidia,vbus-gpio property with vbus-supply

2013-07-17 Thread Mikko Perttunen
This patchset removes the ehci-tegra device tree property nvidia,vbus-gpio and adds support for the vbus-supply property to phy-tegra-usb. v3: Change commit messages, fix one 80 character line Mikko Perttunen (3): usb: tegra: Use regulators instead of GPIOs for USB PHY VBUS usb: tegra: Add

Re: [PATCH v2 0/3] usb: tegra: Replace nvidia,vbus-gpio property with vbus-supply

2013-07-15 Thread Mikko Perttunen
Hey Felipe/Stephen, what's the status of this patchset and the other one (usb: phy: tegra: Read UTMI parameters from device tree)? Can I consider them accepted/pulled for 3.12? Thanks, Mikko On 06/28/2013 03:33 PM, Mikko Perttunen wrote: This patchset removes the ehci-tegra device tree

Re: [PATCH v2 0/3] usb: tegra: Replace nvidia,vbus-gpio property with vbus-supply

2013-07-02 Thread Mikko Perttunen
Thanks for testing! On 07/02/2013 12:08 AM, Stephen Warren wrote: On 06/28/2013 06:33 AM, Mikko Perttunen wrote: This patchset removes the ehci-tegra device tree property nvidia,vbus-gpio and adds support for the vbus-supply property to phy-tegra-usb. With bug-fix patch ARM: tegra: fix VBUS

[PATCH v2 0/3] usb: tegra: Replace nvidia,vbus-gpio property with vbus-supply

2013-06-28 Thread Mikko Perttunen
This patchset removes the ehci-tegra device tree property nvidia,vbus-gpio and adds support for the vbus-supply property to phy-tegra-usb. Mikko Perttunen (3): usb: phy,host: tegra: Use regulators instead of GPIOs for USB PHY VBUS Documentation: devicetree: phy-tegra-usb: Add vbus-supply

[PATCH v2 3/3] ARM: dts: tegra20: Remove obsolete nvidia,vbus-gpio properties

2013-06-28 Thread Mikko Perttunen
USB VBUS regulators are now specified with the vbus-supply property instead of nvidia,vbus-gpio, so remove the obsolete properties. The equivalent vbus-supply properties were already added in patch ARM: tegra: update device trees for USB binding rework. Signed-off-by: Mikko Perttunen mperttu

[PATCH v2 2/3] Documentation: devicetree: phy-tegra-usb: Add vbus-supply property for host mode PHYs

2013-06-28 Thread Mikko Perttunen
Add vbus-supply as an optional property for host mode phy-tegra-usb PHYs. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- Documentation/devicetree/bindings/usb/nvidia,tegra20-usb-phy.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree

[PATCH v2 1/3] usb: phy,host: tegra: Use regulators instead of GPIOs for USB PHY VBUS

2013-06-28 Thread Mikko Perttunen
for tegra usb phy devices are specified with the device tree attribute vbus-supply = x where x is a regulator defined in the device tree. The old nvidia,vbus-gpio property is no longer supported. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- drivers/usb/host/ehci-tegra.c | 34

Re: [PATCH 1/4] usb: phy: tegra: Add support for device tree-based vbus regulator control

2013-06-27 Thread Mikko Perttunen
On Wed, 26 Jun 2013 20:14:35 +0300, Stephen Warren swar...@wwwdotorg.org wrote: On 06/26/2013 03:59 AM, Mikko Perttunen wrote: After this patch, usb vbus regulators for tegra usb phy devices can be specified with the device tree attribute vbus-supply = x where x is a regulator defined

Re: [PATCH v2 2/2] usb: phy: tegra: Read UTMIP parameters from device tree

2013-06-27 Thread Mikko Perttunen
On 06/26/2013 08:51 PM, Stephen Warren wrote: On 06/26/2013 06:34 AM, Mikko Perttunen wrote: UTMIP parameters used to be hardcoded into tables in the PHY driver. This patch reads them from the device tree instead in accordance with the phy-tegra-usb DT documentation. This looks fine, although

[PATCH 1/4] usb: phy: tegra: Add support for device tree-based vbus regulator control

2013-06-26 Thread Mikko Perttunen
After this patch, usb vbus regulators for tegra usb phy devices can be specified with the device tree attribute vbus-supply = x where x is a regulator defined in the device tree. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- drivers/usb/phy/phy-tegra-usb.c | 24

[PATCH 0/4] usb: tegra: Replace nvidia,vbus-gpio property with vbus-supply

2013-06-26 Thread Mikko Perttunen
This patchset removes the ehci-tegra device tree property nvidia,vbus-gpio and adds support for the vbus-supply property to phy-tegra-usb. Mikko Perttunen (4): usb: phy: tegra: Add support for device tree-based vbus regulator control usb: host: tegra: Remove direct vbus regulator control

[PATCH 4/4] ARM: dts: tegra20: Remove obsolete vbus-gpio properties

2013-06-26 Thread Mikko Perttunen
USB VBUS regulators are now specified with the vbus-supply property instead of vbus-gpio, so remove the obsolete properties. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- arch/arm/boot/dts/tegra20-seaboard.dts | 1 - arch/arm/boot/dts/tegra20-trimslice.dts | 1 - arch/arm/boot/dts

[PATCH 3/4] Documentation: devicetree: phy-tegra-usb: Add vbus-supply property for host mode PHYs

2013-06-26 Thread Mikko Perttunen
Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- Documentation/devicetree/bindings/usb/nvidia,tegra20-usb-phy.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/nvidia,tegra20-usb-phy.txt b/Documentation/devicetree/bindings/usb/nvidia,tegra20

[PATCH 2/4] usb: host: tegra: Remove direct vbus regulator control using GPIOs

2013-06-26 Thread Mikko Perttunen
control, so that an actual regulator interface can be used by the phy layer to control the usb vbus regulator. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- drivers/usb/host/ehci-tegra.c | 34 +- 1 file changed, 1 insertion(+), 33 deletions(-) diff --git

Re: [PATCH 4/4] ARM: dts: tegra20: Remove obsolete vbus-gpio properties

2013-06-26 Thread Mikko Perttunen
On Wed, 26 Jun 2013 13:17:58 +0300, Felipe Balbi ba...@ti.com wrote: * PGP Signed by an unknown key On Wed, Jun 26, 2013 at 12:59:41PM +0300, Mikko Perttunen wrote: USB VBUS regulators are now specified with the vbus-supply property instead of vbus-gpio, so remove the obsolete properties

[PATCH 1/2] ARM: dts: tegra20: Rename USB UTMI parameters according to new definitions

2013-06-26 Thread Mikko Perttunen
Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- arch/arm/boot/dts/tegra20.dtsi | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index 9653fd8..e457083 100644 --- a/arch/arm

[PATCH 2/2] usb: phy: tegra: Read UTMIP parameters from device tree

2013-06-26 Thread Mikko Perttunen
UTMIP parameters used to be hardcoded into tables in the PHY driver. This patch moves them into the device tree in accordance with the phy-tegra-usb DT documentation. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- drivers/usb/phy/phy-tegra-usb.c | 129

Re: [PATCH 1/2] ARM: dts: tegra20: Rename USB UTMI parameters according to new definitions

2013-06-26 Thread Mikko Perttunen
On Wed, 26 Jun 2013 15:14:42 +0300, Felipe Balbi ba...@ti.com wrote: * PGP Signed by an unknown key On Wed, Jun 26, 2013 at 02:58:46PM +0300, Mikko Perttunen wrote: Signed-off-by: Mikko Perttunen mperttu...@nvidia.com you need a commit log, sorry. Even if obvious Ok, I'll send V2

[PATCH v2 2/2] usb: phy: tegra: Read UTMIP parameters from device tree

2013-06-26 Thread Mikko Perttunen
UTMIP parameters used to be hardcoded into tables in the PHY driver. This patch reads them from the device tree instead in accordance with the phy-tegra-usb DT documentation. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- drivers/usb/phy/phy-tegra-usb.c | 129

[PATCH v2 1/2] ARM: dts: tegra20: Rename USB UTMI parameters according to new definitions

2013-06-26 Thread Mikko Perttunen
This patch changes the Tegra20 USB PHY nodes to use the UTMI configuration parameter names as specified in the device tree binding documentation after patch ARM: tegra: finalize USB EHCI and PHY bindings. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- arch/arm/boot/dts/tegra20.dtsi

[PATCH v2 0/2] usb: phy: tegra: Read UTMI parameters from device tree

2013-06-26 Thread Mikko Perttunen
This patchset moves the USB UTMI interface parameters from hardcoded tables in the PHY driver to device tree and adds code to read them from there. Mikko Perttunen (2): ARM: dts: tegra20: Rename USB UTMI parameters according to new definitions usb: phy: tegra: Read UTMIP parameters from