Chrome platform driver development
 help / color / mirror / Atom feed
From: Tzung-Bi Shih <tzungbi@kernel.org>
To: Andrei Kuchynski <akuchynski@chromium.org>
Cc: "Prashant Malani" <pmalani@chromium.org>,
	"Benson Leung" <bleung@chromium.org>,
	"Abhishek Pandit-Subedi" <abhishekpandit@chromium.org>,
	chrome-platform@lists.linux.dev,
	"Jameson Thies" <jthies@google.com>,
	"Łukasz Bartosik" <ukaszb@chromium.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] platform/chrome: cros_ec_typec: Add support for setting USB mode via sysfs
Date: Fri, 21 Feb 2025 01:45:38 +0000	[thread overview]
Message-ID: <Z7fawtSb8ELbCNDL@google.com> (raw)
In-Reply-To: <20250210130419.4110130-1-akuchynski@chromium.org>

On Mon, Feb 10, 2025 at 01:04:19PM +0000, Andrei Kuchynski wrote:
> This patch implements USB mode setting via a sysfs interface in
> cros_ec_typec driver. User-space applications can now change the current
> USB mode by writing to "usb_mode" sysfs entry, replacing the previous
> ioctl-based method.
> The embedded controller (EC) currently supports only entering USB4 mode
> and exiting all modes (including altmodes). Both of these operations
> trigger Data Reset Message, even if no USB Mode is active.
> Additionally, the patch exposes the USB modes supported by the port via
> "usb_capability" sysfs attribute.
> 
> [...]

Applied to

    https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git for-next

[1/1] platform/chrome: cros_ec_typec: Add support for setting USB mode via sysfs
      commit: 9fc83373f0ffb8834da48b1446a5c2fef9525bb1

Thanks!

      parent reply	other threads:[~2025-02-21  1:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-10 13:04 [PATCH] platform/chrome: cros_ec_typec: Add support for setting USB mode via sysfs Andrei Kuchynski
2025-02-18 14:26 ` Tzung-Bi Shih
2025-02-20 13:39   ` Andrei Kuchynski
2025-02-21  1:41     ` Tzung-Bi Shih
2025-02-21  1:45 ` Tzung-Bi Shih [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z7fawtSb8ELbCNDL@google.com \
    --to=tzungbi@kernel.org \
    --cc=abhishekpandit@chromium.org \
    --cc=akuchynski@chromium.org \
    --cc=bleung@chromium.org \
    --cc=chrome-platform@lists.linux.dev \
    --cc=jthies@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmalani@chromium.org \
    --cc=ukaszb@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox