mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 07:31:29 +00:00
2be6bc48df
- Add new framework to support Group Multi-Color (GMC) LEDs - Offer an 'optional' API for non-essential LEDs - Support obtaining 'max brightness' values from Device Tree - Provide new led_classdev member 'color' (settable via DT and SYFS) - Stop TTY Trigger from using the old LED_ON constraints - Statically allocate leds_class - New Drivers - Add support for NXP PCA995x I2C Constant Current LED Driver - New Device Support - Add support for Siemens Simatic IPC BX-21 to Simatic IPC - Fix-ups - Some dependency / Kconfig tweaking - Move final probe() functions back over from .probe_new() - Simplify obtaining resources (memory, device data) using unified API helpers - Bunch of Device Tree additions, conversions and adaptions - Fix trivial styling issues; comments - Ensure correct includes are present and remove some that are not required - Omit the use of redundant casts and if relevant replace with better ones - Use purpose-built APIs for various actions; sysfs_emit(), module_led_trigger() - Remove a bunch of superfluous locking - Bug Fixes - Ensure error codes are correctly propagated back up the call chain - Fix incorrect error values from being returned (missing '-') - Ensure get'ed resources are put'ed to prevent leaks - Use correct class when exporting module resources - Fixing rounding (or lack there of) issues - Fix 'always false' LED_COLOR_ID_MULTI BUG() check -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEdrbJNaO+IJqU8IdIUa+KL4f8d2EFAmT15DUACgkQUa+KL4f8 d2ER0BAAoejCCnb24JOrYQy7Pq3/ZaaT6PWOB+/U+6s5jyj9ikwHqqH+g/E+FqkE AHvhkBalgw1l+QRCvrZMEcsiQmjK5ZR010Ju3lCbvUDa1tsm2Fn/K2IZZxI1j9O8 mGnPjYrX3FRfejscw0a+MA75o3DuN97V9mHNk6lyRnm/d0ronu+vv/fRYFON04iY v2e166/9wfJWvDwOLo+phDS2aCkjLkxzj2lcTtcvuzYqQjOPDqiFTJsft9gOpC9r hKOqUkexKebShbi08A+x0fmiB9LNs5kZ3xWWLaxVDT58Plkqv905oLVrWARTGhIG BDAhW2/TLV30bhSiTb/bX0eNEMCU6q6WIPwc3otUYpkDeLgbxLD7Rlhp49oud7j9 5vWX8bxSczIYRir42TKZ+s/d6pKKSvMrsNRDplFb1ahZTv3ssDxuxAA/FY2UPqTt C83j0hJOwVfj6ric01R+yedPSW8Po8xqEIzjoxzYtsu3IYGiz6ddjd2ZnhNF5YfP AN7GDuja9r7+Fa8JcTFssHe6HtuzkfpJvrpjV3BxL79q6s1z+lT9szTw5Z65zGmO k/z4xz95RHUTbpR4rVT+A1pdbQ8OsbVthdy1XnJoYK3NJYJrPldj3Ur3W4wRecP6 32RWF8ZF6WARsSyyACLo/MP6qxwAE2xk5TjmpLqCeK0ObVmlwDM= =wNmv -----END PGP SIGNATURE----- Merge tag 'leds-next-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds Pull LED updates from Lee Jones: "Core Frameworks: - Add new framework to support Group Multi-Color (GMC) LEDs - Offer an 'optional' API for non-essential LEDs - Support obtaining 'max brightness' values from Device Tree - Provide new led_classdev member 'color' (settable via DT and SYFS) - Stop TTY Trigger from using the old LED_ON constraints - Statically allocate leds_class New Drivers: - Add support for NXP PCA995x I2C Constant Current LED Driver New Device Support: - Add support for Siemens Simatic IPC BX-21 to Simatic IPC Fix-ups: - Some dependency / Kconfig tweaking - Move final probe() functions back over from .probe_new() - Simplify obtaining resources (memory, device data) using unified API helpers - Bunch of Device Tree additions, conversions and adaptions - Fix trivial styling issues; comments - Ensure correct includes are present and remove some that are not required - Omit the use of redundant casts and if relevant replace with better ones - Use purpose-built APIs for various actions; sysfs_emit(), module_led_trigger() - Remove a bunch of superfluous locking Bug Fixes: - Ensure error codes are correctly propagated back up the call chain - Fix incorrect error values from being returned (missing '-') - Ensure get'ed resources are put'ed to prevent leaks - Use correct class when exporting module resources - Fixing rounding (or lack there of) issues - Fix 'always false' LED_COLOR_ID_MULTI BUG() check" * tag 'leds-next-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds: (40 commits) leds: aw2013: Enable pull-up supply for interrupt and I2C dt-bindings: leds: Document pull-up supply for interrupt and I2C dt-bindings: leds: aw2013: Document interrupt leds: uleds: Use module_misc_device macro to simplify the code leds: trigger: netdev: Use module_led_trigger macro to simplify the code dt-bindings: leds: Fix reference to definition of default-state leds: turris-omnia: Drop unnecessary mutex locking leds: turris-omnia: Use sysfs_emit() instead of sprintf() leds: Make leds_class a static const structure leds: Remove redundant of_match_ptr() dt-bindings: leds: Add gpio-line-names to PCA9532 GPIO leds: trigger: tty: Do not use LED_ON/OFF constants, use led_blink_set_oneshot instead dt-bindings: leds: rohm,bd71828: Drop select:false leds: Fix BUG_ON check for LED_COLOR_ID_MULTI that is always false leds: multicolor: Use rounded division when calculating color components leds: rgb: Add a multicolor LED driver to group monochromatic LEDs dt-bindings: leds: Add binding for a multicolor group of LEDs leds: class: Store the color index in struct led_classdev leds: Provide devm_of_led_get_optional() leds: pca995x: Fix MODULE_DEVICE_TABLE for OF ...
52 lines
1.8 KiB
Plaintext
52 lines
1.8 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config LEDS_SIEMENS_SIMATIC_IPC
|
|
tristate "LED driver for Siemens Simatic IPCs"
|
|
depends on LEDS_CLASS
|
|
depends on SIEMENS_SIMATIC_IPC
|
|
default y
|
|
help
|
|
This option enables support for the LEDs of several Industrial PCs
|
|
from Siemens.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called simatic-ipc-leds.
|
|
|
|
config LEDS_SIEMENS_SIMATIC_IPC_APOLLOLAKE
|
|
tristate "LED driver for Siemens Simatic IPCs based on Intel Apollo Lake GPIO"
|
|
depends on LEDS_GPIO
|
|
depends on PINCTRL_BROXTON
|
|
depends on SIEMENS_SIMATIC_IPC
|
|
default LEDS_SIEMENS_SIMATIC_IPC
|
|
help
|
|
This option enables support for the LEDs of several Industrial PCs
|
|
from Siemens based on Apollo Lake GPIO i.e. IPC127E.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called simatic-ipc-leds-gpio-apollolake.
|
|
|
|
config LEDS_SIEMENS_SIMATIC_IPC_F7188X
|
|
tristate "LED driver for Siemens Simatic IPCs based on Nuvoton GPIO"
|
|
depends on LEDS_GPIO
|
|
depends on GPIO_F7188X
|
|
depends on SIEMENS_SIMATIC_IPC
|
|
default LEDS_SIEMENS_SIMATIC_IPC
|
|
help
|
|
This option enables support for the LEDs of several Industrial PCs
|
|
from Siemens based on Nuvoton GPIO i.e. IPC227G.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called simatic-ipc-leds-gpio-f7188x.
|
|
|
|
config LEDS_SIEMENS_SIMATIC_IPC_ELKHARTLAKE
|
|
tristate "LED driver for Siemens Simatic IPCs based on Intel Elkhart Lake GPIO"
|
|
depends on LEDS_GPIO
|
|
depends on PINCTRL_ELKHARTLAKE
|
|
depends on SIEMENS_SIMATIC_IPC
|
|
default LEDS_SIEMENS_SIMATIC_IPC
|
|
help
|
|
This option enables support for the LEDs of several Industrial PCs
|
|
from Siemens based on Elkhart Lake GPIO i.e. BX-21A.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called simatic-ipc-leds-gpio-elkhartlake.
|