Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v6:
- Supports DM USB for peripherals
- Removed DTS changes that disabled USB1 on DRA7 because DM_USB_DEV is
now supported
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
board/ti/
For USB ports that use the Driver Model, turn on the clocks during the
late init stage.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
Reviewed-by: Tom Rini <tr...@konsulko.com>
---
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
Enable DM_USB and DM_USB_DEV for AM57xx based boards.
Signed-off-by: Vignesh R <vigne...@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v6:
- AM57 configs: enable DM_USB and DM_USB_DEV. Use DWC3_GENERIC in place of
DWC3_OF_SIMPLE. disable non DM
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
board/ti/dra7xx/evm.c | 104 --
1 file changed, 104 deletions(-)
diff --git a/bo
This is required when DM_USB is used, to bind the USB phys.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
- split dts changes in 2 commits: one for binding the children of
o
syscon_regmap_lookup_by_phandle() can be used to get the regmap of a syscon
device from a reference in the DTS. It operates similarly to the linux
version of the namesake function.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v6: None
Changes in v5: None
Changes
From: Vignesh R <vigne...@ti.com>
Enable USB clocks in late init stage to support ports under DM_USB.
Signed-off-by: Vignesh R <vigne...@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes i
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v6:
- DRA7 configs: enable DM_USB and DM_USB_DEV. Use DWC3_GENERIC in place of
DWC3_OF_SIMPLE. disable non DM USB options
Changes in v5: None
Changes in v4:
- Remove dependency on MISC
- Renamed the commit (DM_USB is a
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
drivers/usb/dwc3/dwc3-generic.c | 86 +
1 file changed, 86 insertions(+)
diff --git a/drive
This drivers supports the USB2 PHY found on omap5 and dra7 SOCs.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
- omap-usb2-phy: Implement power_on and power_off callbacks
drive
From: Vignesh R <vigne...@ti.com>
Add support to handle USB3 PHYs present on AM57xx/DRA7xx SoCs. This is
needed to move AM57xx to DM_USB.
Signed-off-by: Vignesh R <vigne...@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v6:
- ti-pipe3-phy: ta
This make the driver more generic. At this point this driver can replace
the dwc3-of-simple implementation.
Make the description in the Kconfig more generic too.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
drivers/usb/dwc3/Kconfig| 7 +-
drivers/usb/dwc3/dwc3-gen
The driver will be probed when usb_gadget_initialize() is called.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
drivers/usb/dwc3/dwc3-generic.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/drivers/usb/dwc3/dwc3-generic.c b/drivers/usb/dwc3/dwc3-generic.c
index 4
When DM_USB_DEV the platform code for the USB device must be replaced by
calls to a USB device driver.
usb_gadget_initialize() probes the USB device driver.
usb_gadget_release() removes the USB device driver.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
drivers/usb/dwc
Those operations can be used for peripheral operation as well as host
operation.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
drivers/usb/dwc3/core.c | 88 -
drivers/usb/dwc3/ep0.c | 1 -
drivers/usb/host/xhci-dwc3.
The select_dr_mode operation is executed when the glue driver is probed.
The role of this optional function is to configure the operating mode
of the controller at the glue level.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
drivers/usb/dwc3/dwc3-generic.
vice is first needed.
- handles PHYs when in the peripheral mode. The code to handle the PHYs is
shared with the host side
- handles clock and reset
- bind host controller to the more generic driver 'xhci-dwc3'
Jean-Jacques Hiblot (7):
usb: gadget: Do not call board_usb_xxx() directly in USB ga
Add 2 functions to wrap the calls to board_usb_init() and
board_usb_cleanup().
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
cmd/fastboot.c | 4 ++--
cmd/rockusb.c | 4 ++--
cmd/thordown.c | 4 ++--
cmd/usb_gadget_sdp.c | 4 ++-
Using CONFIG_DM_USB for this purpose prevents using DM_USB for host and not
for device.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
drivers/usb/Kconfig | 6 ++
drivers/usb/dwc3/core.c | 2 +-
drivers/usb/dwc3/dwc3-generic.c | 4 +++-
3 files chang
On 18/05/2018 15:24, Jean-Jacques Hiblot wrote:
On 18/05/2018 13:15, Michal Simek wrote:
By enabling BLK by default this is the next driver which needs to get
support for DM_USB. Adding generic DWC3 glue logic which only
parse nodes and read device mode. Based on it probe proper
host
On 18/05/2018 13:15, Michal Simek wrote:
By enabling BLK by default this is the next driver which needs to get
support for DM_USB. Adding generic DWC3 glue logic which only
parse nodes and read device mode. Based on it probe proper
host/peripheral DWC3 drivers for it.
Signed-off-by: Michal
Hi Michal,
I've been trying your series on DRA7 platforms. Thanks for the work.
I have a few comments though.
On 18/05/2018 13:15, Michal Simek wrote:
From: Mugunthan V N
The patch is preparing dwc3 core for enabling DM_USB with peripheral
driver with using driver
On 16/05/2018 17:21, Tom Rini wrote:
On Wed, May 16, 2018 at 11:04:18AM +0200, Marek Vasut wrote:
On 05/16/2018 11:00 AM, Jean-Jacques Hiblot wrote:
On 16/05/2018 00:13, Marek Vasut wrote:
On 05/15/2018 06:10 PM, Jean-Jacques Hiblot wrote:
Hi Marek,
On 04/05/2018 21:06, Marek Vasut
On 16/05/2018 11:04, Marek Vasut wrote:
On 05/16/2018 11:00 AM, Jean-Jacques Hiblot wrote:
On 16/05/2018 00:13, Marek Vasut wrote:
On 05/15/2018 06:10 PM, Jean-Jacques Hiblot wrote:
Hi Marek,
On 04/05/2018 21:06, Marek Vasut wrote:
Shouldnt the driver turn this on?
AFAIK
On 16/05/2018 00:13, Marek Vasut wrote:
On 05/15/2018 06:10 PM, Jean-Jacques Hiblot wrote:
Hi Marek,
On 04/05/2018 21:06, Marek Vasut wrote:
Shouldnt the driver turn this on?
AFAIK there is no clock driver for the OMAP. So we have to do it
before
the driver is probed.
Maybe it's time
+Lokesh
On 15/05/2018 18:10, Jean-Jacques Hiblot wrote:
Hi Marek,
On 04/05/2018 21:06, Marek Vasut wrote:
Shouldnt the driver turn this on?
AFAIK there is no clock driver for the OMAP. So we have to do it
before
the driver is probed.
Maybe it's time to implement it instead of piling up
Hi Marek,
On 04/05/2018 21:06, Marek Vasut wrote:
Shouldnt the driver turn this on?
AFAIK there is no clock driver for the OMAP. So we have to do it before
the driver is probed.
Maybe it's time to implement it instead of piling up those hacks ?
I was thinking along the same lines at some
On 04/05/2018 17:43, Marek Vasut wrote:
On 05/04/2018 04:42 PM, Jean-Jacques Hiblot wrote:
On 04/05/2018 16:38, Marek Vasut wrote:
On 05/04/2018 04:34 PM, Jean-Jacques Hiblot wrote:
For USB ports that use the Driver Model, turn on the clocks during the
late init stage.
Signed-off-by: Jean
On 04/05/2018 16:38, Marek Vasut wrote:
On 05/04/2018 04:34 PM, Jean-Jacques Hiblot wrote:
For USB ports that use the Driver Model, turn on the clocks during the
late init stage.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
Reviewed-by: Tom Rini <tr...@konsulko.com>
This is required when DM_USB is used, to bind the USB phys.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
- split dts changes in 2 commits: one for binding the children of
ocp2scp@4a08, a
Enable DM_USB for AM57xx based boards.
Signed-off-by: Vignesh R <vigne...@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v5: None
Changes in v4:
- Remove dependency on MISC
- Remove omap specific glue layer and use dwc3-of-simple glue layer
Changes
syscon_regmap_lookup_by_phandle() can be used to get the regmap of a syscon
device from a reference in the DTS. It operates similarly to the linux
version of the namesake function.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v5: None
Changes in v4:
- Fix word m
For USB ports that use the Driver Model, turn on the clocks during the
late init stage.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
Reviewed-by: Tom Rini <tr...@konsulko.com>
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
board/ti/dra7x
-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
- Instead of disabling USB1 port in dts files, use *-u-boot.dtsi files
arch/arm/dts/dra7-evm-u-boot.dtsi | 8
arch/arm/dts/dra71-evm-u-boot.dtsi
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v5: None
Changes in v4:
- Remove dependency on MISC
- Renamed the commit (DM_USB is already enabled, the only missing option
is for the USB2 phy driver)
Changes in v3: None
Changes in v2: None
configs/dra7xx_evm_def
- Instead of disabling USB1 port in dts files, use *-u-boot.dtsi files
- Enable DM_USB in am57xx_evm_defconfig. USB3 (super speed) is supported.
Jean-Jacques Hiblot (7):
syscon: dm: Add a new method to get a regmap from DTS
phy: Add a new driver for OMAP's USB2 PHYs
board: ti: dra7xx-evm: turn
From: Vignesh R <vigne...@ti.com>
Enable USB clocks in late init stage to support ports under DM_USB.
Signed-off-by: Vignesh R <vigne...@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v
This drivers supports the USB2 PHY found on omap5 and dra7 SOCs.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
- omap-usb2-phy: Implement power_on and power_off callbacks
drivers/phy/Kconfig
From: Vignesh R <vigne...@ti.com>
Add support to handle USB3 PHYs present on AM57xx/DRA7xx SoCs. This is
needed to move AM57xx to DM_USB.
Signed-off-by: Vignesh R <vigne...@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v5: None
Changes in v4:
che if not enabled */
+ if (!icache_status())
+ icache_enable();
+
dcache_enable();
}
Tested-by: Jean-Jacques Hiblot <jjhib...@ti.com>
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On 18/04/2018 11:02, Alex Kiernan wrote:
Now we have a guard for printf, disable it in the build if it's not
selected.
Signed-off-by: Alex Kiernan
---
lib/panic.c | 3 +++
lib/tiny-printf.c | 13 -
lib/vsprintf.c| 4 +++-
3 files changed,
On 17/04/2018 20:35, Jean-Jacques Hiblot wrote:
Hi Marek,
that should be fixed by applying
https://patchwork.ozlabs.org/patch/897532/
You should also apply https://patchwork.ozlabs.org/patch/897537/
Without it the probe fails on dra7xx-evm
JJ
On 17/04/2018 20:25, Marek Vasut wrote:
Hi
Hi Marek,
that should be fixed by applying https://patchwork.ozlabs.org/patch/897532/
JJ
On 17/04/2018 20:25, Marek Vasut wrote:
Hi,
can you look at this build problem in u-boot-usb/master on dra7xx_evm
and send me a patch?
https://travis-ci.org/marex/u-boot-usb/jobs/367566783
u-boot-usb$
e children of
ocp2scp@4a08, and one to disable USB1 on all DRA7 EVMs
- Instead of disabling USB1 port in dts files, use *-u-boot.dtsi files
- Enable DM_USB in am57xx_evm_defconfig. USB3 (super speed) is supported.
Jean-Jacques Hiblot (9):
usb: dwc3-of-simple: Fix dependencies
usb: dwc3-of-s
For USB ports that use the Driver Model, turn on the clocks during the
late init stage.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
Reviewed-by: Tom Rini <tr...@konsulko.com>
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
board/ti/dra7x
This drivers supports the USB2 PHY found on omap5 and dra7 SOCs.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v4: None
Changes in v3: None
Changes in v2:
- omap-usb2-phy: Implement power_on and power_off callbacks
drivers/phy/Kconfig | 8 ++
drive
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v4:
- Remove dependency on MISC
- Renamed the commit (DM_USB is already enabled, the only missing option
is for the USB2 phy driver)
Changes in v3: None
Changes in v2: None
configs/dra7xx_evm_defconfig| 1 +
c
This is required when DM_USB is used, to bind the USB phys.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v4: None
Changes in v3: None
Changes in v2:
- split dts changes in 2 commits: one for binding the children of
ocp2scp@4a08, and one to disable USB1 on al
Enable DM_USB for AM57xx based boards.
Signed-off-by: Vignesh R <vigne...@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v4:
- Remove dependency on MISC
Changes in v3: None
Changes in v2:
- Enable DM_USB in am57xx_evm_defconfig. USB3 (super speed)
syscon_regmap_lookup_by_phandle() can be used to get the regmap of a syscon
device from a reference in the DTS. It operates similarly to the linux
version of the namesake function.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v4:
- Fix word missing in commit log
C
-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v4: None
Changes in v3: None
Changes in v2:
- Instead of disabling USB1 port in dts files, use *-u-boot.dtsi files
arch/arm/dts/dra7-evm-u-boot.dtsi | 8
arch/arm/dts/dra71-evm-u-boot.dtsi | 9 +
arch/arm/dts
From: Vignesh R <vigne...@ti.com>
Add support to handle USB3 PHYs present on AM57xx/DRA7xx SoCs. This is
needed to move AM57xx to DM_USB.
Signed-off-by: Vignesh R <vigne...@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v4: None
Changes in v3:
From: Vignesh R <vigne...@ti.com>
Enable USB clocks in late init stage to support ports under DM_USB.
Signed-off-by: Vignesh R <vigne...@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v4: None
Changes in v3: None
Changes in v2:
- am57xx boards: w
Add the compatibility with "ti,dwc3" and enable it by default if DM_USB
is enabled.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
drivers/usb/host/Kconfig | 1 +
drivers/usb/host/dwc3-of-simple.
This simple glue layer does not require CONFIG_MISC, but it does require
CONFIG_DM_USB.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
drivers/usb/host/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
int dwc3_of_simple_clk_init(struct udevice *dev,
+ struct dwc3_of_simple *simple)
+{
+ int ret;
+
+ ret = clk_get_bulk(dev, >clks);
+ if (ret == -ENOTSUPP)
Must be ENOSYS instead of ENOTSUPP, otherwise probe fails on platform not using
the clk framewor
Hi Neil,
while trying to test your patches on dwc3, I ran into a compilation issue.
On 03/04/2018 11:40, Neil Armstrong wrote:
This patch adds a "bulk" API to the reset API in order to get/deassert/
assert/release a group of reset signals associated with a device.
This bulk API will avoid
On 09/04/2018 16:46, Guillaume Gardet wrote:
Le 09/04/2018 à 16:21, Jean-Jacques Hiblot a écrit :
On 09/04/2018 16:03, Guillaume Gardet wrote:
Le 09/04/2018 à 15:58, Jean-Jacques Hiblot a écrit :
On 09/04/2018 14:02, Guillaume Gardet wrote:
Hi Jaehoon,
There are problems with SD
On 09/04/2018 16:03, Guillaume Gardet wrote:
Le 09/04/2018 à 15:58, Jean-Jacques Hiblot a écrit :
On 09/04/2018 14:02, Guillaume Gardet wrote:
Hi Jaehoon,
There are problems with SD card access on Samsung Chromebook (snow)
with latest master (and also 2018.05-rc1 and 2018.03).
eMMC
On 09/04/2018 14:02, Guillaume Gardet wrote:
Hi Jaehoon,
There are problems with SD card access on Samsung Chromebook (snow)
with latest master (and also 2018.05-rc1 and 2018.03).
eMMC is ok, but SD card access leads to 'unable to select a mode'
problem. If I disable HS mode, I can access
On 06/04/2018 14:00, Michal Simek wrote:
Hi,
On 6.4.2018 11:13, Jean-Jacques Hiblot wrote:
Enhancements to SCSI support for driver model have broken the support for
DM_SCSI on DRA7 platforms. This series fixes it.
Tested on:
- dra76 evm
Jean-Jacques Hiblot (2):
dwc_ahci: Fix breakage
Those options are required to enable support for SATA on DRA7 platforms.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
configs/dra7xx_evm_defconfig| 2 ++
configs/dra7xx_hs_evm_defconfig | 2 ++
2 files changed, 4 insertions(+)
diff --git a/configs/dra7xx_evm_defconfig b/c
The dwc_ahci has been broken for quite some time now. The breakage has been
introduced by the series "dm: scsi: Enhance SCSI support for driver model"
Use ahci_bind_scsi() and ahci_probe_scsi() to properly bind and probe the
driver.
Signed-off-by: Jean-Jacques Hiblot <jj
Enhancements to SCSI support for driver model have broken the support for
DM_SCSI on DRA7 platforms. This series fixes it.
Tested on:
- dra76 evm
Jean-Jacques Hiblot (2):
dwc_ahci: Fix breakage
configs: dra7xx_evm/dra7xx_hs_evm: Enable AHCI and PIPE3
configs/dra7xx_evm_defconfig| 2
e children of
ocp2scp@4a08, and one to disable USB1 on all DRA7 EVMs
- Instead of disabling USB1 port in dts files, use *-u-boot.dtsi files
- Enable DM_USB in am57xx_evm_defconfig. USB3 (super speed) is supported.
Jean-Jacques Hiblot (8):
syscon: dm: Add a new method to get a regmap from
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
Reviewed-by: Tom Rini <tr...@konsulko.com>
---
Changes in v3: None
Changes in v2: None
configs/dra7xx_evm_defconfig| 2 ++
configs/dra7xx_hs_evm_defconfig | 2 ++
2 files changed, 4 insertions(+)
diff --git a/configs/dra7xx_e
This is required when DM_USB is used, to bind the USB phys.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v3: None
Changes in v2:
- split dts changes in 2 commits: one for binding the children of
ocp2scp@4a08, and one to disable USB1 on all DRA7 EVMs
arch/a
For USB ports that use the Driver Model, turn on the clocks during the
late init stage.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
Reviewed-by: Tom Rini <tr...@konsulko.com>
---
Changes in v3: None
Changes in v2: None
board/ti/dra7xx/evm.c | 19 +++
1 file
From: Vignesh R <vigne...@ti.com>
Enable USB clocks in late init stage to support ports under DM_USB.
Signed-off-by: Vignesh R <vigne...@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v3: None
Changes in v2:
- am57xx boards: when DM
From: Vignesh R <vigne...@ti.com>
Add support to handle USB3 PHYs present on AM57xx/DRA7xx SoCs. This is
needed to move AM57xx to DM_USB.
Signed-off-by: Vignesh R <vigne...@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v3: None
Changes in v2:
-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v3: None
Changes in v2:
- Instead of disabling USB1 port in dts files, use *-u-boot.dtsi files
arch/arm/dts/dra7-evm-u-boot.dtsi | 8
arch/arm/dts/dra71-evm-u-boot.dtsi | 9 +
arch/arm/dts/dra72-evm-revc-u-boo
This drivers supports the USB2 PHY found on omap5 and dra7 SOCs.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v3: None
Changes in v2:
- omap-usb2-phy: Implement power_on and power_off callbacks
drivers/phy/Kconfig | 8 ++
drivers/phy/Makefile
Enable DM_USB for AM57xx based boards.
Signed-off-by: Vignesh R <vigne...@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v3: None
Changes in v2:
- Enable DM_USB in am57xx_evm_defconfig. USB3 (super speed) is supported.
configs/am57xx_evm_defconfig
The omap5 uses the dwc3. The dwc3 supports the driver model but it requires
some glue logic to load the the driver.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v3:
- use the live tree API in the omap5 glue logic
Changes in v2: None
drivers/usb/host/K
syscon_regmap_lookup_by_phandle() can be used to the regmap of a syscon
device from a reference in the DTS. It operates similarly to the linux
version of the namesake function.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v3:
- in syscon_regmap_lookup_by_phandle(
On 14/03/2018 18:02, Patrice CHOTARD wrote:
Hi Jean Jacques
On 03/14/2018 05:18 PM, Jean-Jacques Hiblot wrote:
This drivers supports the USB2 PHY found on omap5 and dra7 SOCs.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v2:
- omap-usb2-phy: Implement po
uper speed) is supported.
Jean-Jacques Hiblot (7):
syscon: dm: Add a new method to get a regmap from DTS
usb: omap5: Add glue logic to support DM for USB host
phy: Add a new driver for OMAP's USB2 PHYs
board: ti: dra7xx-evm: turn on USB clocks in late init stage
dts: dra7x: make ocp2sc
From: Vignesh R <vigne...@ti.com>
Enable DM_USB for AM57xx based boards.
Signed-off-by: Vignesh R <vigne...@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v2:
- Enable DM_USB in am57xx_evm_defconfig. USB3 (super speed) is supported.
configs/am
This is required when DM_USB is used, to bind the USB phys.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v2:
- split dts changes in 2 commits: one for binding the children of
ocp2scp@4a08, and one to disable USB1 on all DRA7 EVMs
arch/arm/dts/omap5-u-boo
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
Reviewed-by: Tom Rini <tr...@konsulko.com>
---
Changes in v2: None
configs/dra7xx_evm_defconfig| 2 ++
configs/dra7xx_hs_evm_defconfig | 2 ++
2 files changed, 4 insertions(+)
diff --git a/configs/dra7xx_evm_defconf
-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v2:
- Instead of disabling USB1 port in dts files, use *-u-boot.dtsi files
arch/arm/dts/dra7-evm-u-boot.dtsi | 8
arch/arm/dts/dra71-evm-u-boot.dtsi | 8
arch/arm/dts/dra72-evm-revc-u-boot.dtsi | 8
From: Vignesh R <vigne...@ti.com>
Enable USB clocks in late init stage to support ports under DM_USB.
Signed-off-by: Vignesh R <vigne...@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v2:
- am57xx boards: when DM_USB is used, turn on the required
This drivers supports the USB2 PHY found on omap5 and dra7 SOCs.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v2:
- omap-usb2-phy: Implement power_on and power_off callbacks
drivers/phy/Kconfig | 8 ++
drivers/phy/Makefile| 1 +
drivers/phy/oma
For USB ports that use the Driver Model, turn on the clocks during the
late init stage.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
Reviewed-by: Tom Rini <tr...@konsulko.com>
---
Changes in v2: None
board/ti/dra7xx/evm.c | 19 +++
1 file changed, 19 inserti
From: Vignesh R <vigne...@ti.com>
Add support to handle USB3 PHYs present on AM57xx/DRA7xx SoCs. This is
needed to move AM57xx to DM_USB.
Signed-off-by: Vignesh R <vigne...@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v2:
- Add USB3 support to t
The omap5 uses the dwc3. The dwc3 supports the driver model but it requires
some glue logic to load the the driver.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v2: None
drivers/usb/host/Kconfig | 10 +
drivers/usb/host/Makefile | 1 +
d
syscon_regmap_lookup_by_phandle() can be used to the regmap of a syscon
device from a reference in the DTS. It operates similarly to the linux
version of the namesake function.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v2: None
drivers/core/syscon-uclass.
On 06/03/2018 02:46, Peng Fan wrote:
Hi,
On Mon, Mar 05, 2018 at 05:29:08PM +0100, Jean-Jacques Hiblot wrote:
Hi Peng,
I'm glad you are adding HS400 support. Thanks.
On 05/03/2018 10:11, Peng Fan wrote:
Add HS400 support.
Selecting HS400 needs first select HS199 according to spec, so use
of
EXT_CSD_CARD_TYPE, using all the 8 bits.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Jaehoon Chung <jh80.ch...@samsung.com>
Cc: Jean-Jacques Hiblot <jjhib...@ti.com>
Cc: Stefano Babic <sba...@denx.de>
Cc: Simon Glass <s...@chromium.org>
Cc: Kishon Vijay Abraham
On 05/03/2018 12:56, Vignesh R wrote:
Hi,
On Friday 05 January 2018 07:20 PM, Jean-Jacques Hiblot wrote:
This drivers supports the USB2 PHY found on omap5 and dra7 SOCs.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
drivers/phy/Kconfig | 8 ++
drivers/phy/Ma
The SPL can't use high speed MMC modes if the associated pinctrl and
IOdelays are described in the DTS.
Make them available in SPL by tagging the nodes with 'u-boot,dm-spl;'
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
arch/arm/dts/dra7-evm-u-boot.dtsi
Now that we have a device-tree include file with common
MMC/SD IOdelay data for DRA76x SoC, shift the EVM device-tree
file to using that.
Also fix the name of the IO voltage regulator for mmc1.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
arch/arm/dts/dra76-evm.dt
.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
arch/arm/dts/dra76x-mmc-iodelay.dtsi | 285 +++
1 file changed, 285 insertions(+)
create mode 100644 arch/arm/dts/dra76x-mmc-iodelay.dtsi
diff --git a/arch/arm/dts/dra76x-mmc-iodelay.dtsi
b/arch/a
to remove only clocks and
interrupts properties.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
configs/dra7xx_evm_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig
index 1cc614f..2b83a0c 100644
--- a/c
.
This series has been tested on:
- dra76-evm
- dra7-evm
- dra72-evm rev C
- dra71-evm
Jean-Jacques Hiblot (4):
ARM: dts: dra76x: create a common file with MMC/SD IOdelay data
ARM: dts: dra76-evm: shift to using common IOdelay data
configs: dra7xx_evm: Enable support for the HS200 mmc mode
On 23/02/2018 21:59, Simon Glass wrote:
Hi Jean-Jacques,
On 22 February 2018 at 03:25, Jean-Jacques Hiblot <jjhib...@ti.com> wrote:
The area for struct mmc can be allocated dynamically. It greatly reduces
the size of struct omap_hsmmc_plat. This is useful in cases where the board
leve
On 23/02/2018 13:21, Tom Rini wrote:
On Fri, Feb 23, 2018 at 10:40:18AM +0100, Jean-Jacques Hiblot wrote:
Some platforms don't have ADMA controllers. For those platforms, compiling
it out reduces the size of the binary by about 600 bytes.
Leaving the support in doesn't break things
.
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v2: None
arch/arm/include/asm/omap_mmc.h | 2 +-
drivers/mmc/omap_hsmmc.c| 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/include/asm/omap_mmc.h b/arch/arm/include/asm/omap_mmc.h
), and dra7 evm
Changes in v2:
- Use a Kconfig option to compile out the ADMA support instead of relying
on the platform architecture
Jean-Jacques Hiblot (4):
mmc: omap_hsmmc: do not embed struct mmc in struct omap_hsmmc_plat
mmc: omap_hsmmc: compile out write support if not needed
mmc: omap_hsmmc
mmc_of_parse() doesn't set a default value if none is available in DT.
In that case, use a default 52MHz clock rate.
Signed-off-by: Alex Kiernan <alex.kier...@gmail.com>
Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
---
Changes in v2: None
drivers/mmc/omap_hsmmc.c |
801 - 900 of 1387 matches
Mail list logo