Add AYN EC Platform Driver
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 13 repliesIn review
- v24 patches 1 replySuperseded
- v10 of 4 patches 0 repliesSuperseded
Changes in v3 from the cover letter
- Include suggestions from David Box.
- Fix Tactoy/Toctoy > Tectoy typos.
- Change Ayn > AYN.
- Remove .driver_data in dmi table, add .ident to all DMI entries, and remove ayn_model enum.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | platform/x86: (ayn-ec) Add PWM Fan HWMON InterfaceMAINTAINERS drivers/ drivers/ +1 more | +541 | 6 replies | |
| 2/4 | platform/x86: (ayn-ec) Add Temperature Sensorsdrivers/ | +86 | 2 replies | |
| 3/4 | platform/x86: (ayn-ec) Add RGB Interfacedrivers/ drivers/ | +288 | 3 replies | |
| 4/4 | platform/x86: (ayn-ec) Add AYN EC Platform DocumentationDocumentation/ MAINTAINERS | +60 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/4] Add AYN EC Platform Driver
Adds platform driver for AYN Loki and Tectoy Zeenix handheld devices. Tectoy 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.
---
v3:
- Include suggestions from David Box.
- Fix Tactoy/Toctoy > Tectoy typos.
- Change Ayn > AYN.
- Remove .driver_data in dmi table, add .ident to all DMI entries, and remove ayn_model enum.
v2:
https://lore.kernel.org/platform-driver-x86/[email protected]/
v1:
https://lore.kernel.org/platform-driver-x86/[email protected]/
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 | 15 + drivers/platform/x86/Makefile | 3 + drivers/platform/x86/ayn-ec.c | 889 ++++++++++++++++++ 5 files changed, 973 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-platform-ayn-ec create mode 100644 drivers/platform/x86/ayn-ec.c
Signature · 1 line
2.50.1