mbox series

[00/10] AM642-EVM: Add USB support

Message ID 20210601151353.5540-1-a-govindraju@ti.com
Headers show
Series AM642-EVM: Add USB support | expand

Message

Aswath Govindraju June 1, 2021, 3:13 p.m. UTC
The following series of patches add support for the following
- Kconfig symbol for giving the load address for ATF
- USB Mass storrage boot mode in AM642-EVM
- DFU boot mode in AM642-EVM
- Host and peripheral modes for AM642-EVM in U-Boot
- Set the USB PHY core voltage to 0.85V

Aswath Govindraju (10):
  tools: k3_fit_atf: Add support for providing ATF load address using a
    Kconfig symbol
  arm: mach-k3: am642_init: Add support for USB boot mode
  arm: mach-k3: am642_init: Do USB fixups to facilitate host and device
    boot modes
  board: ti: am64x: Set the core voltage of USB PHY to 0.85V
  arm: dts: k3-am64-main: Add USB DT nodes
  arm: dts: k3-am642-*-evm: Add USB support
  arm: dts: k3-am642-evm-u-boot: Add U-Boot tags and fix the dr_mode to
    peripheral for USB subsystem
  configs: am64x_evm_*_defconfig: Move the SPL Load address to
    0x70000000, move the ATF to a latter location and rearrange EEPROM
    and BSS data
  arm: dts: k3-am64-main: Update the location of ATF in SRAM
  configs: am64: Enable configs to support USB host and device modes

 arch/arm/dts/k3-am64-main.dtsi                | 32 ++++++++++++-
 arch/arm/dts/k3-am642-evm-u-boot.dtsi         | 13 ++++++
 arch/arm/dts/k3-am642-evm.dts                 | 18 ++++++++
 arch/arm/dts/k3-am642-r5-evm.dts              | 18 ++++++++
 arch/arm/mach-k3/Kconfig                      |  7 +++
 arch/arm/mach-k3/am642_init.c                 | 46 ++++++++++++++++++-
 arch/arm/mach-k3/config.mk                    |  1 +
 arch/arm/mach-k3/include/mach/am64_hardware.h | 11 +++--
 arch/arm/mach-k3/include/mach/am64_spl.h      |  6 ++-
 board/ti/am64x/evm.c                          | 14 ++++++
 configs/am64x_evm_a53_defconfig               | 40 ++++++++++++++++
 configs/am64x_evm_r5_defconfig                | 38 +++++++++++++--
 include/configs/am64x_evm.h                   | 15 +++++-
 tools/k3_fit_atf.sh                           |  9 ++--
 14 files changed, 251 insertions(+), 17 deletions(-)

Comments

Aswath Govindraju June 1, 2021, 4:13 p.m. UTC | #1
Hi all,

On 01/06/21 8:43 pm, Aswath Govindraju wrote:
> The following series of patches add support for the following
> - Kconfig symbol for giving the load address for ATF
> - USB Mass storrage boot mode in AM642-EVM
> - DFU boot mode in AM642-EVM
> - Host and peripheral modes for AM642-EVM in U-Boot
> - Set the USB PHY core voltage to 0.85V
> 

Patch 9 is dependent on,
https://patchwork.ozlabs.org/project/uboot/patch/20210601112147.10253-1-a-govindraju@ti.com/

Thanks,
Aswath

> Aswath Govindraju (10):
>   tools: k3_fit_atf: Add support for providing ATF load address using a
>     Kconfig symbol
>   arm: mach-k3: am642_init: Add support for USB boot mode
>   arm: mach-k3: am642_init: Do USB fixups to facilitate host and device
>     boot modes
>   board: ti: am64x: Set the core voltage of USB PHY to 0.85V
>   arm: dts: k3-am64-main: Add USB DT nodes
>   arm: dts: k3-am642-*-evm: Add USB support
>   arm: dts: k3-am642-evm-u-boot: Add U-Boot tags and fix the dr_mode to
>     peripheral for USB subsystem
>   configs: am64x_evm_*_defconfig: Move the SPL Load address to
>     0x70000000, move the ATF to a latter location and rearrange EEPROM
>     and BSS data
>   arm: dts: k3-am64-main: Update the location of ATF in SRAM
>   configs: am64: Enable configs to support USB host and device modes
> 
>  arch/arm/dts/k3-am64-main.dtsi                | 32 ++++++++++++-
>  arch/arm/dts/k3-am642-evm-u-boot.dtsi         | 13 ++++++
>  arch/arm/dts/k3-am642-evm.dts                 | 18 ++++++++
>  arch/arm/dts/k3-am642-r5-evm.dts              | 18 ++++++++
>  arch/arm/mach-k3/Kconfig                      |  7 +++
>  arch/arm/mach-k3/am642_init.c                 | 46 ++++++++++++++++++-
>  arch/arm/mach-k3/config.mk                    |  1 +
>  arch/arm/mach-k3/include/mach/am64_hardware.h | 11 +++--
>  arch/arm/mach-k3/include/mach/am64_spl.h      |  6 ++-
>  board/ti/am64x/evm.c                          | 14 ++++++
>  configs/am64x_evm_a53_defconfig               | 40 ++++++++++++++++
>  configs/am64x_evm_r5_defconfig                | 38 +++++++++++++--
>  include/configs/am64x_evm.h                   | 15 +++++-
>  tools/k3_fit_atf.sh                           |  9 ++--
>  14 files changed, 251 insertions(+), 17 deletions(-)
>
Lokesh Vutla June 3, 2021, 5:29 a.m. UTC | #2
On 01/06/21 9:43 pm, Aswath Govindraju wrote:
> Hi all,
> 
> On 01/06/21 8:43 pm, Aswath Govindraju wrote:
>> The following series of patches add support for the following
>> - Kconfig symbol for giving the load address for ATF
>> - USB Mass storrage boot mode in AM642-EVM
>> - DFU boot mode in AM642-EVM
>> - Host and peripheral modes for AM642-EVM in U-Boot
>> - Set the USB PHY core voltage to 0.85V
>>
> 
> Patch 9 is dependent on,
> https://patchwork.ozlabs.org/project/uboot/patch/20210601112147.10253-1-a-govindraju@ti.com/

Please ping me once the above patch is merged.

Thanks and regards,
Lokesh
Aswath Govindraju June 3, 2021, 6:14 a.m. UTC | #3
Hi,

On 03/06/21 10:59 am, Lokesh Vutla wrote:
> 
> 
> On 01/06/21 9:43 pm, Aswath Govindraju wrote:
>> Hi all,
>>
>> On 01/06/21 8:43 pm, Aswath Govindraju wrote:
>>> The following series of patches add support for the following
>>> - Kconfig symbol for giving the load address for ATF
>>> - USB Mass storrage boot mode in AM642-EVM
>>> - DFU boot mode in AM642-EVM
>>> - Host and peripheral modes for AM642-EVM in U-Boot
>>> - Set the USB PHY core voltage to 0.85V
>>>
>>
>> Patch 9 is dependent on,
>> https://patchwork.ozlabs.org/project/uboot/patch/20210601112147.10253-1-a-govindraju@ti.com/
> 
> Please ping me once the above patch is merged.
> 

I have a posted a respin(v2) of this series after making the correction
in the patch 1 for the default ATF load address. I will ping on the v2
series after the above patch gets merged.

Thanks,
Aswath

> Thanks and regards,
> Lokesh
>