The EC in all the boards is a Nuvoton NPCX993 it looks like.
As @Ray519 pointed out in further discussions on reddit, What is the status of ”Disover Identity” features in Kernels and OS’s for Emarked USBC cables capacity display? : r/UsbCHardware that the EC(SMC) is connected to the PD Controller
Maybe
I wonder if EC firmware supports to read all the Discovery identity or even if the EZ PD CCG6/CCG8 line of infeon PD Controllers does send these information about the cable noted in kernel.org/doc/Documentation/ABI/testing/sysfs-class-typec.
Found the code which mentions Discovery Identity(Structured VDM) here:
-
/* Retrieve all discovery results for the given port and transmit type */
-
- Some VDM functions, handling thunderbolt 4 alt mode and displayport alt mode. I need to further study this but at first glance I think this is such important information which would be passed to the host processor? So there is a posibility that some discovery identity informaiton is sent. Which could potentially be picked up by some driver in the host processor.
Would be great if some framework guys developing the EC firmware could shed some light on this, if it have been in the talks or a blocker of a sort has been encountered, or if even someone have explored this. Would be awesome from a products perspective to offer a feature no other laptop/platfrom does at the moment.
EDIT: Couldn´t find such extensive documenation on the Infeons CCGX firmware example family of projects as on Infeons pmg1: Infineon/mtb-example-pmg1-usbpd-drp: Demonstrates the capability of the PMG1 devices to detect Type-C connections and negotiate a Power Delivery contract in the DRP Role. but something related maybe: Infineon/ccgxAppCommon: Application specific files common across CCGx projects
or this: