diff options
author | Aseda Aboagye <aaboagye@google.com> | 2020-01-07 18:00:34 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-01-08 06:52:47 +0000 |
commit | 494adea44a92c3c3737f98021a8959434efa7906 (patch) | |
tree | 5a05ea8c8db7f31284ef730ce4f031471d21a79e /board | |
parent | 52524e690df2538c30b64b40b41874701ea529ee (diff) | |
download | chrome-ec-494adea44a92c3c3737f98021a8959434efa7906.tar.gz |
driver/usb_mux: Make pi3usb30532 more generic
The Pericom PI3USB30532 usb mux driver will actually also work for the
PI3USB31532. This commit renames the driver to reflect this while also
adding the PI3USB31532 to the list of supported USB muxes.
BUG=b:146654043
BRANCH=None
TEST=`make -j buildall`
Change-Id: Ic8e2852a3e038b05eb18d1d9db210b7fdce957d7
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1990362
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Auto-Submit: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/glados/board.c | 2 | ||||
-rw-r--r-- | board/mchpevb1/board.c | 2 | ||||
-rw-r--r-- | board/oak/board.c | 4 | ||||
-rw-r--r-- | board/reef_it8320/board.c | 2 | ||||
-rw-r--r-- | board/strago/board.c | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/board/glados/board.c b/board/glados/board.c index 8003e91906..55eb42a689 100644 --- a/board/glados/board.c +++ b/board/glados/board.c @@ -167,7 +167,7 @@ BUILD_ASSERT(ARRAY_SIZE(pi3usb9281_chips) == struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_MAX_COUNT] = { { .port_addr = 0x54, - .driver = &pi3usb30532_usb_mux_driver, + .driver = &pi3usb3x532_usb_mux_driver, }, { .port_addr = 0x10, diff --git a/board/mchpevb1/board.c b/board/mchpevb1/board.c index d6532bd59e..0e3306a066 100644 --- a/board/mchpevb1/board.c +++ b/board/mchpevb1/board.c @@ -390,7 +390,7 @@ BUILD_ASSERT(ARRAY_SIZE(pi3usb9281_chips) == struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_MAX_COUNT] = { { .port_addr = 0x54, - .driver = &pi3usb30532_usb_mux_driver, + .driver = &pi3usb3x532_usb_mux_driver, }, { .port_addr = 0x10, diff --git a/board/oak/board.c b/board/oak/board.c index e7b0653907..59c900422d 100644 --- a/board/oak/board.c +++ b/board/oak/board.c @@ -177,12 +177,12 @@ BUILD_ASSERT(ARRAY_SIZE(als) == ALS_COUNT); struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_MAX_COUNT] = { { .port_addr = 0x54, - .driver = &pi3usb30532_usb_mux_driver, + .driver = &pi3usb3x532_usb_mux_driver, }, #if (BOARD_REV <= OAK_REV4) { .port_addr = 0x55, - .driver = &pi3usb30532_usb_mux_driver, + .driver = &pi3usb3x532_usb_mux_driver, }, #else { diff --git a/board/reef_it8320/board.c b/board/reef_it8320/board.c index e268de83ed..a1cc1a69d9 100644 --- a/board/reef_it8320/board.c +++ b/board/reef_it8320/board.c @@ -163,7 +163,7 @@ static void it83xx_tcpc_update_hpd_status(int port, int hpd_lvl, int hpd_irq) struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_MAX_COUNT] = { { .port_addr = 0x54, - .driver = &pi3usb30532_usb_mux_driver, + .driver = &pi3usb3x532_usb_mux_driver, .hpd_update = &it83xx_tcpc_update_hpd_status, }, { diff --git a/board/strago/board.c b/board/strago/board.c index d96f09834f..0af3f03b37 100644 --- a/board/strago/board.c +++ b/board/strago/board.c @@ -142,7 +142,7 @@ BUILD_ASSERT(ARRAY_SIZE(pi3usb9281_chips) == struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_MAX_COUNT] = { { .port_addr = 0x55, - .driver = &pi3usb30532_usb_mux_driver, + .driver = &pi3usb3x532_usb_mux_driver, }, }; |