[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250203125947.2701106-1-akuchynski@chromium.org>
Date: Mon, 3 Feb 2025 12:59:45 +0000
From: Andrei Kuchynski <akuchynski@...omium.org>
To: Benson Leung <bleung@...omium.org>,
Tzung-Bi Shih <tzungbi@...nel.org>,
Guenter Roeck <groeck@...omium.org>,
chrome-platform@...ts.linux.dev,
linux-kernel@...r.kernel.org
Cc: Abhishek Pandit-Subedi <abhishekpandit@...omium.org>,
Jameson Thies <jthies@...gle.com>,
Ćukasz Bartosik <ukaszb@...omium.org>,
Andrei Kuchynski <akuchynski@...omium.org>
Subject: [PATCH 0/2] Add sysfs attributes to cros-ec-typec
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
Powered by blists - more mailing lists