public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add sysfs attributes to cros-ec-typec
@ 2025-02-03 12:59 Andrei Kuchynski
  2025-02-03 12:59 ` [PATCH 1/2] platform/chrome: cros_ec_typec: Expose PD mux status via sysfs Andrei Kuchynski
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andrei Kuchynski @ 2025-02-03 12:59 UTC (permalink / raw)
  To: Benson Leung, Tzung-Bi Shih, Guenter Roeck, chrome-platform,
	linux-kernel
  Cc: Abhishek Pandit-Subedi, Jameson Thies, Łukasz Bartosik,
	Andrei Kuchynski

This patch series adds sysfs attributes to expose the state of EC.
These attributes provide user-space applications with a read-only view of
the EC state, eliminating the need for ioct calls and facilitating
diagnostics.

Tested on a ChromeOS Brya device with kernel 6.6. Verified that user-space
applications can correctly read the new sysfs attributes.

Andrei Kuchynski (2):
  platform/chrome: cros_ec_typec: Expose PD mux status via sysfs
  platform/chrome: cros_ec_typec: Expose AP_MODE_ENTRY feature state via
    sysfs

 .../ABI/testing/sysfs-class-chromeos          | 20 ++++++
 drivers/platform/chrome/cros_ec_sysfs.c       | 71 +++++++++++++++++++
 2 files changed, 91 insertions(+)

-- 
2.48.1.362.g079036d154-goog


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-02-05  4:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-03 12:59 [PATCH 0/2] Add sysfs attributes to cros-ec-typec Andrei Kuchynski
2025-02-03 12:59 ` [PATCH 1/2] platform/chrome: cros_ec_typec: Expose PD mux status via sysfs Andrei Kuchynski
2025-02-03 12:59 ` [PATCH 2/2] platform/chrome: cros_ec_typec: Expose AP_MODE_ENTRY feature state " Andrei Kuchynski
2025-02-05  4:22 ` [PATCH 0/2] Add sysfs attributes to cros-ec-typec Tzung-Bi Shih

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox