[PATCH 0/2] asus-wmi: Keyboard rgb led multicolor support

From: Abhijeet V
Date: Fri Feb 11 2022 - 15:01:38 EST


Hi

This patch series adds support for rgb keyboards on certain ASUS laptops
by utilizing the multicolor led device class. Much of the wmi
interacting code was obtained from the faustus kernel module:
https://github.com/hackbnw/faustus

The driver is hardcoded to use only the static mode provided by the
platform. There are other modes that are supported like strobe, and
rainbow and also variable speeds. However, I'm not sure how to integrate
that into the led classdev. Support for them could be added in a
separate patch later.

This is my first contribution (other than reporting a regression to
asus-wmi recently). I've tried my best to stick to the kernel's code
standards. I apologize if I've missed any obviously glaring issues.

Thanks
Abhijeet