Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fbtft_device: add adafruit28
  • Loading branch information
notro committed Sep 2, 2014
1 parent a693c8e commit 3299571
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions fbtft_device.c
Expand Up @@ -248,6 +248,26 @@ static struct fbtft_device_display displays[] = {
},
}
}
}, {
.name = "adafruit28",
.spi = &(struct spi_board_info) {
.modalias = "fb_ili9341",
.max_speed_hz = 32000000,
.mode = SPI_MODE_0,
.platform_data = &(struct fbtft_platform_data) {
.display = {
.buswidth = 8,
.backlight = 1,
},
.bgr = true,
.gpios = (const struct fbtft_gpio []) {
{ "reset", 25 },
{ "dc", 24 },
{ "led", 18 },
{},
},
}
}
}, {
.name = "adafruit13m",
.spi = &(struct spi_board_info) {
Expand Down

4 comments on commit 3299571

@FredericNauleau
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello,

Does it compatible with AdaFruit 2.8 TFT Capacitive Screen ?

Regard

@notro
Copy link
Owner Author

@notro notro commented on 3299571 Dec 16, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's this one: http://www.adafruit.com/product/1770

fbtft_device name=pitft, should support your display, but capacitive touch is not supported in the FBTFT kernels and images.

@FredericNauleau
Copy link

@FredericNauleau FredericNauleau commented on 3299571 Dec 16, 2014 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@notro
Copy link
Owner Author

@notro notro commented on 3299571 Dec 16, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No I don't think so. Adafruit has made some changes to fbtft_device that I can't pull into my repo (adding i2c devices).

Please sign in to comment.