Re: [PATCH v5] usb: typec: intel_pmc_mux: Expose IOM port status to debugfs

From: Rajat Khandelwal
Date: Tue May 30 2023 - 05:36:38 EST


Hi,

On 5/30/2023 2:57 PM, Greg KH wrote:
On Tue, May 30, 2023 at 02:45:03PM +0530, Rajat Khandelwal wrote:
Hi,

On 5/29/2023 7:48 PM, Greg KH wrote:
On Wed, May 24, 2023 at 04:17:54PM +0530, Rajat Khandelwal wrote:
IOM status has a crucial role during debugging to check the
current state of the type-C port.
There are ways to fetch the status, but all those require the
IOM port status offset, which could change with platform.

Make a debugfs directory for intel_pmc_mux and expose the status
under it per port basis.

Signed-off-by: Rajat Khandelwal <rajat.khandelwal@xxxxxxxxxxxxxxx>
Reviewed-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>
Does not apply to my tree :(
I have pushed the patch on top of the Linus's tree.
Had a quick check with the USB Linux tree and seems like its a lot
behind?
What branch did you use?

Please use the usb-next branch of
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git, which as
of right now, is at 6.4-rc4 + a bunch of USB-specific patches.

I see. There is one commit additional in the usb-next tree:
ef0a3642b320 usb: typec: intel_pmc_mux: Convert to platform remove callback returning void

Anyways, do you want me to re-work the patch for the usb-next branch?

Thanks
Rajat


thanks,

greg k-h