History log of /fuchsia/zircon/system/dev/board/astro/astro-usb.c
Revision Date Author Comments
# 0d71f953 21-Aug-2018 Mike Voydanoff <voydanoff@google.com>

[dev][platform-bus] Clean-up and simplify platform bus protocol:

- Remove "flags" parameter from pbus_device_add().
Now platform devices can only be started in new devhosts.

- Add new API pbus_protocol_device_add(), for binding drivers that implement
platform bus protocols like GPIO and I2C_IMPL.
pbus_protocol_device_add() is equivalent to pbus_device_add(PDEV_ADD_PBUS_DEVHOST)
followed by pbus_wait_protocol().

- Remove pbus_wait_protocol(). pbus_protocol_device_add() does the wait for you automatically.

- Rename pbus_set_protocol() to pbus_register_protocol()

These changes will hopefully make the platform bus protocol easier
to understand and use.
I found two places where people accidentally using PDEV_ADD_PBUS_DEVHOST
inappropriately (probably copy & paste errors), which resulted in
the entire network stack and storage stack running in the platform bus devhost.
Hopefully this change will make it impossible for mistakes like that to happen again.

While doing this I also noticed that the gauss nand driver and vim2 ethernet driver
were running in the platform bus devhost. This change fixes that.

Also removed some remnants of the pbus_device_enable() API, which has been removed previously.

TEST: boot up on qemu, VIM2, gauss and astro and verified platform devices all start up properly

Change-Id: I580269bc6f53a63348ba8ab580259b1ba56dd393


# 2430ed64 07-May-2018 Mike Voydanoff <voydanoff@google.com>

[astro] USB PHY tuning fix

Change-Id: Ibff0c74f408a0a303d4bc20bed2121cf75b9fab4


# 0a6a7956 30-Mar-2018 Mike Voydanoff <voydanoff@google.com>

[astro][aml-s905d2] Enable USB host support on astro and aml-s905d2

USB phy code is based on decyphering Linux code in drivers/amlogic/usb/phy/

Change-Id: I7404d2ce8a394cd6ded1f5aafb3760f8e64a5b55


# 02619476 03-May-2018 Mike Voydanoff <voydanoff@google.com>

[dev][board][astro] Initial board driver for astro

Using a copy of aml-s905d2 driver as a starting point

Change-Id: If83cc62942d8125a5c200665cff6882b25c77b11