driver/ec/ps8751: Probe EC and register for TCPC FW update operations

TCPC FW update operations are registered statically during the board
setup. With octopus supporting multiple USB-C topologies, allow the
VbootAuxFw driver to probe EC and register for the TCPC FW update
operations.

BUG=b:128820536,b:119046668
BRANCH=None
TEST=Boot to ChromeOS. Ensure that different TCPC topologies are handled
as expected.

Casta:
sync_one_ec: jumping to EC-RW
send_packet: CrosEC result code 12
EC returned from reboot after 53061us
ps8751.0: vendor 0x1da0 product 0x8751 device 0x0001 fw_rev 0x39
ps8751.1: vendor 0x1da0 product 0x8751 device 0x0001 fw_rev 0x39

Bobba:
sync_one_ec: jumping to EC-RW
send_packet: CrosEC result code 12
EC returned from reboot after 52271us
ps8751.1: vendor 0x1da0 product 0x8751 device 0x0001 fw_rev 0x39

Ampton:
sync_one_ec: jumping to EC-RW
EC returned from reboot after 43019us
vb2_developer_ui: Entering
vboot_draw_screen: screen=0x101 locale=0

Change-Id: I16c53280db7ac8198a396b11d52e3f28c7feb40d
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/depthcharge/+/1617613
Tested-by: Karthikeyan Ramasubramanian <kramasub@chromium.org>
Commit-Queue: Karthikeyan Ramasubramanian <kramasub@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
1 file changed