platform/chrome: cros_ec_typec: Configure Retimer cable type
authorUtkarsh Patel <utkarsh.h.patel@intel.com>
Tue, 18 Jul 2023 02:47:02 +0000 (19:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Aug 2023 09:11:07 +0000 (11:11 +0200)
commitaad6ad1b780aea3928437ffd23cc8b3e42b7ac8a
tree1f584688b65d4cc772b0cb465540a814fe7783ab
parent78e0ea4277546debf7e96797ac3b768539cc44f6
platform/chrome: cros_ec_typec: Configure Retimer cable type

Connector class driver only configure cable type active or passive.
Configure if the cable type is retimer or redriver with this change.
This detail will be provided as a part of cable discover mode VDO.

Signed-off-by: Utkarsh Patel <utkarsh.h.patel@intel.com>
Acked-by: Prashant Malani <pmalani@chromium.org>
Link: https://lore.kernel.org/r/20230718024703.1013367-2-utkarsh.h.patel@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/platform/chrome/cros_ec_typec.c