lkml.org 
[lkml]   [2024]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Linux support for a 7 segment LED display
Date
Hi Lee,

On 20/02/24 04:13, Lee Jones wrote:
> On Sun, 11 Feb 2024, Chris Packham wrote:
>
>> Hi Blinkenlight enthusiasts,
>>
>> I'm looking for something that I figured must exists but maybe it's so
>> niche that no-one has bothered to upstream a driver for it.
>>
>> I have a requirement to support a 7-segment LED display[1] (one that can
>> display a single digit from 0-9). Hardware wise it's just a bunch of
>> individual GPIOs connected to each segment (plus an extra one for a
>> dot). I can't see anything obvious in drivers/leds but maybe I'm looking
>> in the wrong place. Or maybe it's the kind of thing on PC hardware that
>> is just driven by the BIOS without the operating system knowing about it.
>>
>> Is there an existing in-kernel driver for such a thing?
> Why would LEDs connected to a bunch of GPIOs in a specific fashion
> require a hardware driver? Doesn't drivers/leds/leds-gpio.c already
> provide all the support you need?
Yes I could expose the individual segments as gpio-ledsbut it would be
nicer if they worked in a more co-ordinated fashion so I didn't have to
care about the individual segments and could just say "display 7" or
"display 0".
\
 
 \ /
  Last update: 2024-05-27 15:10    [W:0.132 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site