[fusb302][vim3] Revise Fusb302 controller class.

This CL switches the Fusb302 controller to use the new classes that have
been landed recently.

fusb302-test.cc is deleted because the controller class is now
coordinating between tested subclasses. Its tests are covered by the
unit tests associated with the subclasses.

state-machine.cc is deleted because keeping it building would have
caused more churn. Other replaced code will be deleted by follow-up CLs.

Bug: 122113
Tested: Framework Gen 12 laptop USB-C port - 5V @ 3A PD Contract
Tested: Dell LA65NM190PS 65W USB-C power supply - 9V @ 3A PD Contract
Tested: Google-branded Chicony W16-045NSA - No PD Contract, 5V
Tested: Lenovo MC-301 - No PD Contract, 5V
Tested: Macbook Pro M1 USB-C port - 5V @ 3A PD Contract
Change-Id: I815dfc481851b78e90b901d29699b0cde90ca962
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/823187
Commit-Queue: Victor Costan <costan@google.com>
Fuchsia-Auto-Submit: Victor Costan <costan@google.com>
Reviewed-by: Sam Hansen <hansens@google.com>
5 files changed
tree: e4f84bf57ea408e1965f2721d0def6af60b01d14
  1. boards/
  2. build/
  3. bundles/
  4. docs/
  5. examples/
  6. products/
  7. scripts/
  8. sdk/
  9. src/
  10. third_party/
  11. tools/
  12. zircon/
  13. .clang-format
  14. .clang-tidy
  15. .editorconfig
  16. .git-blame-ignore-revs
  17. .gitattributes
  18. .gitignore
  19. .gitmodules
  20. .gn
  21. .ignore
  22. .style.yapf
  23. analysis_options.yaml
  24. AUTHORS
  25. BUILD.gn
  26. CODE_OF_CONDUCT.md
  27. CONTRIBUTING.md
  28. fuchsia.code-workspace
  29. LICENSE
  30. OWNERS
  31. PATENTS
  32. pyrightconfig.json
  33. README.md
  34. rustfmt.toml
README.md

Fuchsia

What is Fuchsia?

Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.

We expect everyone interacting with our project to respect our code of conduct.

Read more about Fuchsia's principles.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.