[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250725005550.65152-1-derekjohn.clark@gmail.com>
Date: Thu, 24 Jul 2025 17:55:50 -0700
From: "Derek J. Clark" <derekjohn.clark@...il.com>
To: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>,
Hans de Goede <hansg@...nel.org>
Cc: Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>,
"Derek J . Clark" <derekjohn.clark@...il.com>,
platform-driver-x86@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-hwmon@...r.kernel.org
Subject: [PATCH 0/4] Add Ayn EC Platform Driver
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 had 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 for 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@...il.com>
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 | 967 ++++++++++++++++++
5 files changed, 1050 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-platform-ayn-ec
create mode 100644 drivers/platform/x86/ayn-ec.c
--
2.50.0
Powered by blists - more mailing lists