[PULL u-boot] Please pull u-boot-amlogic-20200417

Hi Tom,
This PR enables RNG on meson boards for UEFI, fixes the SMBIOS information for ODROID-C2, fixes HDMI Video Output broken on GXBB/GXL/GXM based boards and adds support for USB gadget on GXL/GXM boards.
The CI job is at https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic/pipelines/2800
Thanks, Neil
The following changes since commit 142a07f2a44262d76fec609e1fcde51794a456eb:
Merge branch 'master' of git://git.denx.de/u-boot-marvell (2020-04-14 08:47:07 -0400)
are available in the Git repository at:
https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic.git tags/u-boot-amlogic-20200417
for you to fetch changes up to e8b6dd8263e84f52d91bc0ac3e2582cb6e832307:
configs: libretech-s912-pc: Enable USB gadget with Mass Storage function (2020-04-17 09:52:13 +0200)
---------------------------------------------------------------- - enable DM_RNG on meson boards - fix SMBIOS info on Odroid-C2 - Fix video output on GXBB/GXL/GXM boards - add USB gadget support for GXL/GXM boards
---------------------------------------------------------------- Heinrich Schuchardt (2): arm: meson: imply DM_RNG configs: correct SMBIOS information for ODROID-C2
Neil Armstrong (12): ARM: dts: add missing meson-gxl-s805x-libretech-ac-u-boot.dtsi file arm64: dts: meson-gx: add back dmc register range until canvas driver is available generic-phy: add generic_phy_get_by_node() phy: meson-gxl-usb: add set_mode call to force switch to peripheral mode arm: meson-gx: add board_usb_init()/cleanup() for USB gadget arm: dts: meson-gxl: Add USB Gadget nodes for U-Boot configs: libretech-cc: Enable USB gadget with Mass Storage function configs: libretech-ac: Enable USB gadget with Mass Storage function configs: khadas-vim2: Enable USB gadget with Mass Storage function configs: khadas-vim: Enable USB gadget with Mass Storage function configs: libretech-s905d-pc: Enable USB gadget with Mass Storage function configs: libretech-s912-pc: Enable USB gadget with Mass Storage function
arch/arm/Kconfig | 1 + arch/arm/dts/meson-gx-u-boot.dtsi | 4 + .../dts/meson-gxl-s805x-libretech-ac-u-boot.dtsi | 7 ++ .../arm/dts/meson-gxl-s905x-khadas-vim-u-boot.dtsi | 2 +- .../dts/meson-gxl-s905x-libretech-cc-u-boot.dtsi | 6 +- arch/arm/dts/meson-gxl-s905x-p212-u-boot.dtsi | 2 +- arch/arm/dts/meson-gxl-u-boot.dtsi | 23 ++++ arch/arm/include/asm/arch-meson/usb-gx.h | 16 +++ arch/arm/mach-meson/board-gx.c | 118 +++++++++++++++++++++ configs/khadas-vim2_defconfig | 7 ++ configs/khadas-vim_defconfig | 7 ++ configs/libretech-ac_defconfig | 7 ++ configs/libretech-cc_defconfig | 7 ++ configs/libretech-s905d-pc_defconfig | 7 ++ configs/libretech-s912-pc_defconfig | 7 ++ configs/odroid-c2_defconfig | 2 + drivers/phy/meson-gxl-usb2.c | 30 ++++-- drivers/phy/meson-gxl-usb3.c | 44 +++++--- drivers/phy/phy-uclass.c | 16 ++- include/generic-phy.h | 27 +++++ 20 files changed, 314 insertions(+), 26 deletions(-) create mode 100644 arch/arm/dts/meson-gxl-s805x-libretech-ac-u-boot.dtsi create mode 100644 arch/arm/dts/meson-gxl-u-boot.dtsi create mode 100644 arch/arm/include/asm/arch-meson/usb-gx.h

On Fri, Apr 17, 2020 at 11:53:51AM +0200, Neil Armstrong wrote:
Hi Tom,
This PR enables RNG on meson boards for UEFI, fixes the SMBIOS information for ODROID-C2, fixes HDMI Video Output broken on GXBB/GXL/GXM based boards and adds support for USB gadget on GXL/GXM boards.
The CI job is at https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic/pipelines/2800
Thanks, Neil
The following changes since commit 142a07f2a44262d76fec609e1fcde51794a456eb:
Merge branch 'master' of git://git.denx.de/u-boot-marvell (2020-04-14 08:47:07 -0400)
are available in the Git repository at:
https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic.git tags/u-boot-amlogic-20200417
for you to fetch changes up to e8b6dd8263e84f52d91bc0ac3e2582cb6e832307:
configs: libretech-s912-pc: Enable USB gadget with Mass Storage function (2020-04-17 09:52:13 +0200)
NAK, this breaks dragonboard410c: +(dragonboard410c) In file included from ../drivers/usb/gadget/../host/ehci.h:13, +(dragonboard410c) from ../drivers/usb/gadget/ci_udc.c:24: +(dragonboard410c) ../include/generic-phy.h:221:29: error: unknown type name 'ofnode' +(dragonboard410c) 221 | int generic_phy_get_by_node(ofnode node, int index, struct phy *phy); +(dragonboard410c) | ^~~~~~ +(dragonboard410c) make[2]: *** [drivers/usb/gadget/ci_udc.o] Error 1 +(dragonboard410c) make[1]: *** [drivers/usb/gadget] Error 2

On 17/04/2020 17:04, Tom Rini wrote:
On Fri, Apr 17, 2020 at 11:53:51AM +0200, Neil Armstrong wrote:
Hi Tom,
This PR enables RNG on meson boards for UEFI, fixes the SMBIOS information for ODROID-C2, fixes HDMI Video Output broken on GXBB/GXL/GXM based boards and adds support for USB gadget on GXL/GXM boards.
The CI job is at https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic/pipelines/2800
Thanks, Neil
The following changes since commit 142a07f2a44262d76fec609e1fcde51794a456eb:
Merge branch 'master' of git://git.denx.de/u-boot-marvell (2020-04-14 08:47:07 -0400)
are available in the Git repository at:
https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic.git tags/u-boot-amlogic-20200417
for you to fetch changes up to e8b6dd8263e84f52d91bc0ac3e2582cb6e832307:
configs: libretech-s912-pc: Enable USB gadget with Mass Storage function (2020-04-17 09:52:13 +0200)
NAK, this breaks dragonboard410c: +(dragonboard410c) In file included from ../drivers/usb/gadget/../host/ehci.h:13, +(dragonboard410c) from ../drivers/usb/gadget/ci_udc.c:24: +(dragonboard410c) ../include/generic-phy.h:221:29: error: unknown type name 'ofnode' +(dragonboard410c) 221 | int generic_phy_get_by_node(ofnode node, int index, struct phy *phy); +(dragonboard410c) | ^~~~~~ +(dragonboard410c) make[2]: *** [drivers/usb/gadget/ci_udc.o] Error 1 +(dragonboard410c) make[1]: *** [drivers/usb/gadget] Error 2
Right, will fix.
Thanks, Neil
participants (2)
-
Neil Armstrong
-
Tom Rini