Re: [PATCH v2] usb: typec: ucsi: Mark dGPUs as DEVICE scope

From: Gregor Riepl
Date: Sun May 21 2023 - 05:23:47 EST


As the power supply for a dGPU is only for powering devices connected
to dGPU, create a device property to indicate that the UCSI endpoint
is only for the scope of `POWER_SUPPLY_SCOPE_DEVICE`.

Is this a given fact?

I could imagine that a dGPU device would be capable of feeding power back into the system, for example when an external docking station or display device has a power supply connected to it.

Although I don't think it's possible (or safe) with a desktop system, maybe a portable computer with a discrete GPU would be able to do this?