android_kernel_xiaomi_sm8350/include/dt-bindings
Roderick Colenbrander 07dd46d289 BACKPORT: leds: add new LED_FUNCTION_PLAYER for player LEDs for game controllers.
Player LEDs are commonly found on game controllers from Nintendo and Sony
to indicate a player ID across a number of LEDs. For example, "Player 2"
might be indicated as "-x--" on a device with 4 LEDs where "x" means on.

This patch introduces LED_FUNCTION_PLAYER1-5 defines to properly indicate
player LEDs from the kernel. Until now there was no good standard, which
resulted in inconsistent behavior across xpad, hid-sony, hid-wiimote and
other drivers. Moving forward new drivers should use LED_FUNCTION_PLAYERx.

Note: management of Player IDs is left to user space, though a kernel
driver may pick a default value.

Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

Bug: 260685629
(cherry picked from commit 61177c088a57bed259122f3c7bc6d61984936a12)
[Farid: Fixed minor conflict due to skipped commits outside scope of
hid-playstation]
Change-Id: I696f62cda377be1523e74e92b66b28f3c0716c43
Signed-off-by: Farid Chahla <farid.chahla@sony.com>
2022-12-21 16:28:02 +00:00
..
arm
bus mvebu dt64 for 5.4 (part 2) 2019-09-04 17:28:47 +02:00
clk
clock FROMLIST: clk: sunxi-ng: add support for the Allwinner A100 CCU 2020-08-27 17:11:05 +08:00
display
dma
firmware/imx
gce dt-binding: gce: add gce header file for mt8183 2019-09-17 00:40:05 -05:00
gpio
i2c
iio
input
interconnect dt-bindings: interconnect: Add Qualcomm QCS404 DT bindings 2019-08-13 23:03:24 +03:00
interrupt-controller
leds BACKPORT: leds: add new LED_FUNCTION_PLAYER for player LEDs for game controllers. 2022-12-21 16:28:02 +00:00
mailbox
media
memory dt-bindings: mediatek: Add binding for mt8183 IOMMU and SMI 2019-08-30 15:57:26 +02:00
mfd
mips
mux
net
phy dt-bindings: phy: add binding for the Lantiq VRX200 and ARX300 PCIe PHYs 2019-08-23 09:40:46 +05:30
pinctrl dt-bindings: pinctrl: k3: Introduce pinmux definitions for J721E 2019-08-29 16:04:59 +03:00
power dt-bindings: power: add Amlogic Everything-Else power domains bindings 2019-08-29 16:05:01 -07:00
pwm
regulator regulator: act8865 regulator modes and suspend states 2019-08-15 18:00:38 +01:00
reset FROMLIST: clk: sunxi-ng: add support for the Allwinner A100 CCU 2020-08-27 17:11:05 +08:00
reset-controller clk: reset: Modify reset-controller driver 2019-08-08 08:19:21 -07:00
soc dt-bindings: ti_sci_pm_domains: Add support for exclusive and shared access 2019-09-04 20:44:34 +02:00
sound
spmi
thermal
usb