realtek: add base register field LED support
authorSander Vanheule <sander@svanheule.net>
Wed, 28 Sep 2022 19:08:18 +0000 (21:08 +0200)
committerSander Vanheule <sander@svanheule.net>
Mon, 31 Oct 2022 17:52:26 +0000 (18:52 +0100)
commit038df5762a21cf6e64ceb87491e32c62d86f2e56
tree4943f46d6213682d472d365dcff3cedc3d42bb86
parent919e39061b447301c888075c8784eb45b8c69841
realtek: add base register field LED support

Realtek LED hardware peripherals share some common features. They are
typically controlled through a register field, a few bits in size. These
allow the LED to be turned off or on, or toggled at one of a number of
intervals.

Support for register field LEDs is added in a new directory, so Realtek
LEDs drivers can be grouped together.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
target/linux/realtek/files-5.10/drivers/leds/realtek/Kconfig [new file with mode: 0644]
target/linux/realtek/files-5.10/drivers/leds/realtek/Makefile [new file with mode: 0644]
target/linux/realtek/files-5.10/drivers/leds/realtek/led-regfield.c [new file with mode: 0644]
target/linux/realtek/files-5.10/drivers/leds/realtek/led-regfield.h [new file with mode: 0644]
target/linux/realtek/patches-5.10/202-leds-add-Realtek-LED-hardware-directory.patch [new file with mode: 0644]
target/linux/realtek/rtl838x/config-5.10
target/linux/realtek/rtl839x/config-5.10
target/linux/realtek/rtl930x/config-5.10
target/linux/realtek/rtl931x/config-5.10