summaryrefslogtreecommitdiffstats
path: root/drivers/auxdisplay/line-display.c
Commit message (Collapse)AuthorAgeFilesLines
* auxdisplay: linedisp: Add support for changing scroll rateGeert Uytterhoeven2021-10-211-2/+35
| | | | | | | | | | | | If the message to display is longer than the number of characters that the display can show, the message will be scrolled. Currently the scroll rate is fixed, moving every 500 ms. Add support for changing the scroll rate through a "scroll_step_ms" device attribute in sysfs. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
* auxdisplay: linedisp: Use kmemdup_nul() helperGeert Uytterhoeven2021-10-211-4/+1
| | | | | | | | Use the existing kmemdup_nul() helper instead of open-coding the same operation. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
* auxdisplay: Extract character line display core supportGeert Uytterhoeven2021-10-211-0/+231
Extract the character line display core support from the simple ASCII LCD driver for the MIPS Boston, Malta & SEAD3 development boards into its own subdriver, so it can be reused for other displays. As this moves the "message" device attribute in sysfs in a "linedisp.N" subdirectory, a symlink is added to preserve backwards compatibility. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>