* AUXdisplay for LED arrays, keyboards with per-key LEDs -- was Re: [PATCH v2 2/2] leds: add aw20xx driver [not found] ` <Y/5xBGFC3b9Chdtb@duo.ucw.cz> @ 2023-02-28 21:40 ` Pavel Machek 2023-03-01 9:38 ` Jani Nikula 0 siblings, 1 reply; 2+ messages in thread From: Pavel Machek @ 2023-02-28 21:40 UTC (permalink / raw) To: Martin Kurbanov, ojeda Cc: devicetree, Lee Jones, linux-kernel, dri-devel, Andy Shevchenko, Rob Herring, Krzysztof Kozlowski, kernel, linux-leds [-- Attachment #1: Type: text/plain, Size: 1454 bytes --] Hi! > > +config LEDS_AW200XX > > + tristate "LED support for Awinic AW20036/AW20054/AW20072" > > + depends on LEDS_CLASS > > + depends on I2C > > + help > > + This option enables support for the AW20036/AW20054/AW20072 LED driver. > > + It is a 3x12/6x9/6x12 matrix LED driver programmed via > > + an I2C interface, up to 36/54/72 LEDs or 12/18/24 RGBs, > > + 3 pattern controllers for auto breathing or group dimming control. > > I'm afraid this should be handled as a display, not as an array of > individual LEDs. You probably want to see AUXILIARY DISPLAY DRIVERS M: Miguel Ojeda <ojeda@kernel.org> S: Maintained F: Documentation/devicetree/bindings/auxdisplay/ F: drivers/auxdisplay/ F: include/linux/cfag12864b.h And this brings another question... ...sooner or later we'll see LED displays with around 100 pixels in almost rectangular grid. Minority of the pixels will have funny shapes. How will we handle those? Pretend it is regular display with some pixels missing? How do we handle cellphone displays with rounded corners and holes for front camera? And yes, such crazy displays are being manufactured -- it is called keyboard with per-key backlight... https://www.reddit.com/r/MechanicalKeyboards/comments/8dtvgo/keyboard_with_individually_programmable_leds/ Best regards, Pavel -- People of Russia, stop Putin before his war on Ukraine escalates. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 195 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: AUXdisplay for LED arrays, keyboards with per-key LEDs -- was Re: [PATCH v2 2/2] leds: add aw20xx driver 2023-02-28 21:40 ` AUXdisplay for LED arrays, keyboards with per-key LEDs -- was Re: [PATCH v2 2/2] leds: add aw20xx driver Pavel Machek @ 2023-03-01 9:38 ` Jani Nikula 0 siblings, 0 replies; 2+ messages in thread From: Jani Nikula @ 2023-03-01 9:38 UTC (permalink / raw) To: Pavel Machek, Martin Kurbanov, ojeda Cc: devicetree, Dmitry Torokhov, Lee Jones, linux-kernel, dri-devel, Andy Shevchenko, Rob Herring, Krzysztof Kozlowski, linux-input, kernel, linux-leds On Tue, 28 Feb 2023, Pavel Machek <pavel@ucw.cz> wrote: > Hi! > >> > +config LEDS_AW200XX >> > + tristate "LED support for Awinic AW20036/AW20054/AW20072" >> > + depends on LEDS_CLASS >> > + depends on I2C >> > + help >> > + This option enables support for the AW20036/AW20054/AW20072 LED driver. >> > + It is a 3x12/6x9/6x12 matrix LED driver programmed via >> > + an I2C interface, up to 36/54/72 LEDs or 12/18/24 RGBs, >> > + 3 pattern controllers for auto breathing or group dimming control. >> >> I'm afraid this should be handled as a display, not as an array of >> individual LEDs. > > You probably want to see > > AUXILIARY DISPLAY DRIVERS > M: Miguel Ojeda <ojeda@kernel.org> > S: Maintained > F: Documentation/devicetree/bindings/auxdisplay/ > F: drivers/auxdisplay/ > F: include/linux/cfag12864b.h > > And this brings another question... > > ...sooner or later we'll see LED displays with around 100 pixels in > almost rectangular grid. Minority of the pixels will have funny > shapes. How will we handle those? Pretend it is regular display with > some pixels missing? How do we handle cellphone displays with rounded > corners and holes for front camera? > > And yes, such crazy displays are being manufactured -- it is called > keyboard with per-key backlight... > > https://www.reddit.com/r/MechanicalKeyboards/comments/8dtvgo/keyboard_with_individually_programmable_leds/ But... is that a display or a HID? Only half-joking, really. This somewhat reminds me of using input system force feedback stuff for touch screen vibrations. Cc: Dmitry & linux-input. BR, Jani. -- Jani Nikula, Intel Open Source Graphics Center ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-01 9:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20230228211046.109693-1-mmkurbanov@sberdevices.ru>
[not found] ` <20230228211046.109693-3-mmkurbanov@sberdevices.ru>
[not found] ` <Y/5xBGFC3b9Chdtb@duo.ucw.cz>
2023-02-28 21:40 ` AUXdisplay for LED arrays, keyboards with per-key LEDs -- was Re: [PATCH v2 2/2] leds: add aw20xx driver Pavel Machek
2023-03-01 9:38 ` Jani Nikula
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox