]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath10k: add LED and GPIO controlling support for various chipsets
authorSebastian Gottschall <s.gottschall@dd-wrt.com>
Mon, 13 May 2024 14:22:25 +0000 (17:22 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 15 May 2024 08:59:08 +0000 (11:59 +0300)
commit8e1debd82466a3fe711784ab37e6b54e56011267
tree11d57ed3e1df72c8dec202cef68adab3d2cf99ff
parent4f9206e8c2c15a3770e3eb0b9755a05d559fecea
wifi: ath10k: add LED and GPIO controlling support for various chipsets

Adds LED and GPIO Control support for 988x, 9887, 9888, 99x0, 9984
based chipsets with on chipset connected led's using WMI Firmware API.
The LED device will get available named as "ath10k-phyX" at sysfs and
can be controlled with various triggers.
Adds also debugfs interface for gpio control.

Signed-off-by: Sebastian Gottschall <s.gottschall@dd-wrt.com>
Reviewed-by: Steve deRosier <derosier@cal-sierra.com>
[kvalo: major reorg and cleanup]
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
[ansuel: rebase and small cleanup]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20230611080505.17393-1-ansuelsmth@gmail.com
12 files changed:
drivers/net/wireless/ath/ath10k/Kconfig
drivers/net/wireless/ath/ath10k/Makefile
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/hw.h
drivers/net/wireless/ath/ath10k/leds.c [new file with mode: 0644]
drivers/net/wireless/ath/ath10k/leds.h [new file with mode: 0644]
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/wmi-ops.h
drivers/net/wireless/ath/ath10k/wmi-tlv.c
drivers/net/wireless/ath/ath10k/wmi.c
drivers/net/wireless/ath/ath10k/wmi.h