-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
SamulKyull
authored and
SamulKyull
committed
Apr 15, 2024
1 parent
66920c7
commit a7aacf4
Showing
16 changed files
with
2,908 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
|
||
obj-y += drivers/ | ||
obj-y += drivers/ | ||
obj-y += modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,4 +108,3 @@ obj-y += fs/ | |
|
||
#awlink | ||
obj-y += awlink/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
|
||
# spi tft | ||
source "bsp/modules/fbtft/Kconfig" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
|
||
# spi tft | ||
obj-y += fbtft/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
menuconfig AVA_FB_TFT | ||
tristate "Support for onboard SPI TFT LCD display modules" | ||
depends on FB && SPI | ||
depends on GPIOLIB || COMPILE_TEST | ||
select FB_SYS_FILLRECT | ||
select FB_SYS_COPYAREA | ||
select FB_SYS_IMAGEBLIT | ||
select FB_SYS_FOPS | ||
select FB_DEFERRED_IO | ||
select FB_BACKLIGHT | ||
|
||
config AVA_FB_TFT_ST7789V | ||
tristate "FB driver for the ST7789V LCD Controller" | ||
depends on AVA_FB_TFT | ||
help | ||
This enables generic framebuffer support for the Sitronix ST7789V | ||
display controller. The controller is intended for small color | ||
displays with a resolution of up to 320x240 pixels. | ||
|
||
Say Y if you have such a display that utilizes this controller. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
# Core module | ||
obj-$(CONFIG_AVA_FB_TFT) += fbtft.o | ||
fbtft-y += fbtft-core.o fbtft-sysfs.o fbtft-bus.o fbtft-io.o | ||
|
||
# drivers | ||
obj-$(CONFIG_AVA_FB_TFT_ST7789V) += fb_st7789v.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
FBTFT | ||
========= | ||
|
||
Linux Framebuffer drivers for small TFT LCD display modules. | ||
The module 'fbtft' makes writing drivers for some of these displays very easy. | ||
|
||
Development is done on a Raspberry Pi running the Raspbian "wheezy" distribution. | ||
|
||
INSTALLATION | ||
Download kernel sources | ||
|
||
From Linux 3.15 | ||
cd drivers/video/fbdev/fbtft | ||
git clone https://github.com/notro/fbtft.git | ||
|
||
Add to drivers/video/fbdev/Kconfig: source "drivers/video/fbdev/fbtft/Kconfig" | ||
Add to drivers/video/fbdev/Makefile: obj-y += fbtft/ | ||
|
||
Before Linux 3.15 | ||
cd drivers/video | ||
git clone https://github.com/notro/fbtft.git | ||
|
||
Add to drivers/video/Kconfig: source "drivers/video/fbtft/Kconfig" | ||
Add to drivers/video/Makefile: obj-y += fbtft/ | ||
|
||
Enable driver(s) in menuconfig and build the kernel | ||
|
||
|
||
See wiki for more information: https://github.com/notro/fbtft/wiki | ||
|
||
|
||
Source: https://github.com/notro/fbtft/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
* convert all these over to drm_simple_display_pipe and submit for inclusion | ||
into the DRM subsystem under drivers/gpu/drm - fbdev doesn't take any new | ||
drivers anymore. |
Oops, something went wrong.