TCPMv2: correct LRD cable checking
TCPMv2: correct LRD cable checking

According to USB Type-C Cable and Connector Spec R2.1
The USB4 active cable types are:

1. Re-timer-based active cable
2. Linear re-driver-based (LRD-based) active cable
3. Linear optical active cable

The LRD-based Active Cables were added to the USB ecosystem in a late
phase. It aligns to the passive cable spec.

It has product type as passive cable in ID Header VDO; but in TBT Cable
Discover Mode VDO bit 25 is set as active cable. Cable SOP'
should enter TBT mode while port partner enter USB4/TBT.

Current code doesn't check product type when query if it's LRD cable.
And this causes problem for new released Apple Pro Active cable, which
has bit 25 set with product type as active cable. It is mistakenly
identified as LRD cable, and goes to wrong path to set USB4/TBT mode.

This patch adds the checking for product type in LRD cable query. And
issues with Apple Pro cable are fixed.

BUG=b:233402434 b:233429913
BRANCH=none
TEST=On Voxel, tested Apple TBT4 Pro cable, SOP', SOP" and SOP all enter
USB4 mode with USB4 Gatkex Creek board;
with TBT3 dock, SOP', SOP" and SOP all enter TBT mode.
Also tested passive/CBR/LRD/DBR/Apple TBT3 pro cables, verified working.

Signed-off-by: Li Feng <0fd15d95d647a38d004d7ac9a3d0587bb1c98551@intel.com>
Change-Id: Id6aa61001a3e6010418071223f9bb5a208114739
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3722796
Reviewed-by: Abe Levkoy <2e1ad7039298f93262cf06bbb457275fb3e2ecb5@chromium.org>

coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec