usb: typec: intel_pmc_mux: Configure cable generation value for USB4
authorUtkarsh Patel <utkarsh.h.patel@intel.com>
Wed, 9 Dec 2020 04:24:08 +0000 (20:24 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Dec 2020 15:03:37 +0000 (16:03 +0100)
commitbeff5de94fd45dc68f65b45634013184b6d66519
treee2d685e66d9cef285ec1737983e009c2f8542eb8
parentd2a968dddf98b837de9f9b3f954537c86c9a9f81
usb: typec: intel_pmc_mux: Configure cable generation value for USB4

USB4 specification chapter 3 indicates that cable data rates have to be
rounded for USB4 device to operate as USB4.
With that configure cable generation value to use rounded data rates for
USB4.

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Utkarsh Patel <utkarsh.h.patel@intel.com>
Link: https://lore.kernel.org/r/20201209042408.23079-2-utkarsh.h.patel@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/mux/intel_pmc_mux.c