Re: [PATCH v6 6/8] usb: typec: cros_ec_ucsi: Add netlink

Heikki Krogerus
2024-09-19T09:38:14Z

On Sun, Sep 15, 2024 at 12:08:45AM +0200, Łukasz Bartosik wrote:
> On Wed, Sep 11, 2024 at 4:09 PM Heikki Krogerus
> <heikki.krogerus@linux.intel.com> wrote:
> >
> > Hi,
> >
> > On Tue, Sep 10, 2024 at 10:15:25AM +0000, Łukasz Bartosik wrote:
> > > Add netlink to ChromeOS UCSI driver to allow forwarding
> > > of UCSI messages to userspace for debugging and testing
> > > purposes.
> >
> > Why does this need to be cros_ec specific?
> >
>
> You're right. Netlink does not have to be cros_ec_ucsi specific.
> Would you like to have netlink in typec_ucsi ?

Does it need to be netlink? We would then have tracepoints, the
custom debugfs interface, and this netlink interface.

I think this information could be exposed via trancepoints (unless I'm
missing something).

Br,

--
heikki