From: Jani Nikula <jani.nikula@linux.intel.com>
To: Pavel Machek <pavel@ucw.cz>,
Martin Kurbanov <mmkurbanov@sberdevices.ru>,
ojeda@kernel.org
Cc: devicetree@vger.kernel.org, Lee Jones <lee@kernel.org>,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
Andy Shevchenko <andy.shevchenko@gmail.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
kernel@sberdevices.ru, linux-leds@vger.kernel.org,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
linux-input@vger.kernel.org
Subject: Re: AUXdisplay for LED arrays, keyboards with per-key LEDs -- was Re: [PATCH v2 2/2] leds: add aw20xx driver
Date: Wed, 01 Mar 2023 11:38:49 +0200 [thread overview]
Message-ID: <87h6v4x13q.fsf@intel.com> (raw)
In-Reply-To: <Y/50tKxpNVZO4Hfb@duo.ucw.cz>
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
WARNING: multiple messages have this Message-ID (diff)
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Pavel Machek <pavel@ucw.cz>,
Martin Kurbanov <mmkurbanov@sberdevices.ru>,
ojeda@kernel.org
Cc: devicetree@vger.kernel.org,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Lee Jones <lee@kernel.org>,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
Andy Shevchenko <andy.shevchenko@gmail.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
linux-input@vger.kernel.org, kernel@sberdevices.ru,
linux-leds@vger.kernel.org
Subject: Re: AUXdisplay for LED arrays, keyboards with per-key LEDs -- was Re: [PATCH v2 2/2] leds: add aw20xx driver
Date: Wed, 01 Mar 2023 11:38:49 +0200 [thread overview]
Message-ID: <87h6v4x13q.fsf@intel.com> (raw)
In-Reply-To: <Y/50tKxpNVZO4Hfb@duo.ucw.cz>
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
next prev parent reply other threads:[~2023-03-01 9:39 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-28 21:10 [PATCH v2 0/2] leds: add aw20xx driver Martin Kurbanov
2023-02-28 21:10 ` [PATCH v2 1/2] dt-bindings: leds: add binding for aw200xx Martin Kurbanov
2023-03-02 7:48 ` Krzysztof Kozlowski
2023-03-02 16:02 ` Martin Kurbanov
2023-03-03 7:43 ` Krzysztof Kozlowski
2023-02-28 21:10 ` [PATCH v2 2/2] leds: add aw20xx driver Martin Kurbanov
2023-02-28 21:24 ` Pavel Machek
2023-02-28 21:40 ` AUXdisplay for LED arrays, keyboards with per-key LEDs -- was " Pavel Machek
2023-02-28 21:40 ` Pavel Machek
2023-03-01 9:38 ` Jani Nikula [this message]
2023-03-01 9:38 ` Jani Nikula
2023-03-01 8:56 ` Lee Jones
2023-03-01 9:54 ` Pavel Machek
2023-03-01 14:17 ` Lee Jones
2023-03-02 14:00 ` Martin Kurbanov
2023-02-28 21:51 ` Andy Shevchenko
2023-03-01 5:33 ` kernel test robot
2023-03-01 12:26 ` kernel test robot
2023-03-01 13:51 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h6v4x13q.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=andy.shevchenko@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=kernel@sberdevices.ru \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lee@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=mmkurbanov@sberdevices.ru \
--cc=ojeda@kernel.org \
--cc=pavel@ucw.cz \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.