Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
oai
odroid-linux-3.10.y-rt
Commits
d2e12d74
Commit
d2e12d74
authored
Jul 08, 2015
by
Mauro Ribeiro
Committed by
Gerrit Code Review
Jul 08, 2015
Browse files
Options
Browse Files
Download
Plain Diff
Merge "video/fbtft: add ODROID 2.2Inch fb driver" into odroidxu3-3.10.y
parents
4744a45e
e5c77dd3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
drivers/video/fbtft/fbtft_device.c
drivers/video/fbtft/fbtft_device.c
+20
-0
No files found.
drivers/video/fbtft/fbtft_device.c
View file @
d2e12d74
...
...
@@ -322,6 +322,26 @@ static struct fbtft_device_display displays[] = {
},
}
}
},
{
.
name
=
"odroid22"
,
.
spi
=
&
(
struct
spi_board_info
)
{
.
modalias
=
"fb_ili9340"
,
.
max_speed_hz
=
32000000
,
.
mode
=
SPI_MODE_0
,
.
controller_data
=
&
odroid32_controller_data
,
.
platform_data
=
&
(
struct
fbtft_platform_data
)
{
.
display
=
{
.
buswidth
=
8
,
.
backlight
=
1
,
},
.
bgr
=
true
,
.
gpios
=
(
const
struct
fbtft_gpio
[])
{
{
"reset"
,
21
},
{
"dc"
,
22
},
{},
},
}
}
},
{
.
name
=
"agm1264k-fl"
,
.
pdev
=
&
(
struct
platform_device
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment