History log of /fuchsia/zircon/system/dev/board/astro/astro-video.c
Revision Date Author Comments
# 38ff9c5a 29-Aug-2018 John Bauman <jbauman@google.com>

[astro] Export amlogic canvas protocol to video driver

Test: amlogic_decoder_tests=true

Change-Id: Id87479d8a398c50640d90505b36ce1b8889fe8a3


# 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


# 28a99035 06-Aug-2018 Brijen Raval <braval@google.com>

[astro][video] Clean up board driver

Move video driver out of the main board driver

Test: Boot up on Astro

Change-Id: If7a04e4af5f9424fd59451f1b166e9e427714f7b