platform-driver-x86.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Add Ayn EC Platform Driver
@ 2025-07-26  3:38 Derek J. Clark
  2025-07-26  3:38 ` [PATCH v2 1/4] platform/x86: (ayn-ec) Add PWM Fan HWMON Interface Derek J. Clark
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Derek J. Clark @ 2025-07-26  3:38 UTC (permalink / raw)
  To: Ilpo Järvinen, Hans de Goede
  Cc: Jean Delvare, Guenter Roeck, Alok Tiwari, Derek J . Clark,
	platform-driver-x86, linux-kernel, linux-hwmon, linux-doc

Adds platform driver for Ayn Loki and Tactoy Zeenix handheld devices.
Tactoy devices are rebranded Ayn devices with minor modifications to the
DMI. The device EC has multiple features implemented by this driver,
including a PWN fan with manual and EC controlled automatic modes as
well as a user deviced fan curve mode, temperature sensors, and chassis
RGB control.

This driver implements PWN fan and temperature control via a hwmon
interface, and an RGB chassis interface via a multicolor LED class
device. I attempted to break the driver up into four logical patches.
Patch 1 adds PWM fan control via a hwmon interface. Patch 2 expands the
hwmon interface by adding the temperature sensors. Patch 3 adds the
chassis RGB interface through the leds subsystem. Patch 4 adds ABI
documentation for the sysfs entries that aren't provided by the standard
interfaces, but are needed to fully control the device.

Signed-off-by: Derek J. Clark <derekjohn.clark@gmail.com>
---
v2:
- Fix nits from Alok Tiwari.
v1:
https://lore.kernel.org/platform-driver-x86/C7073C0E-3D58-41C3-99B7-A0A5EE448700@gmail.com/T/#mb795b8f5e5ff3c5b88fdd62bd6c97eab404fbc4e
Derek J. Clark (4):
  platform/x86: (ayn-ec) Add PWM Fan HWMON Interface
  platform/x86: (ayn-ec) Add Temperature Sensors
  platform/x86: (ayn-ec) Add RGB Interface
  platform/x86: (ayn-ec) Add Ayn EC Platform Documentation

 .../ABI/testing/sysfs-platform-ayn-ec         |  59 ++
 MAINTAINERS                                   |   7 +
 drivers/platform/x86/Kconfig                  |  14 +
 drivers/platform/x86/Makefile                 |   3 +
 drivers/platform/x86/ayn-ec.c                 | 965 ++++++++++++++++++
 5 files changed, 1048 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-platform-ayn-ec
 create mode 100644 drivers/platform/x86/ayn-ec.c

-- 
2.50.1


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

end of thread, other threads:[~2025-07-26  3:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-26  3:38 [PATCH v2 0/4] Add Ayn EC Platform Driver Derek J. Clark
2025-07-26  3:38 ` [PATCH v2 1/4] platform/x86: (ayn-ec) Add PWM Fan HWMON Interface Derek J. Clark
2025-07-26  3:38 ` [PATCH v2 2/4] platform/x86: (ayn-ec) Add Temperature Sensors Derek J. Clark
2025-07-26  3:38 ` [PATCH v2 3/4] platform/x86: (ayn-ec) Add RGB Interface Derek J. Clark
2025-07-26  3:38 ` [PATCH v2 4/4] platform/x86: (ayn-ec) Add Ayn EC Platform Documentation Derek J. Clark
2025-07-26  3:47 ` [PATCH v2 0/4] Add Ayn EC Platform Driver Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).