Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
0f90fa53
Commit
0f90fa53
authored
Jun 24, 2012
by
Florian Tobias Schandinat
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'planes' of
git://linuxtv.org/pinchartl/fbdev
into fbdev-next
parents
44edebca
c5deac3c
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
940 additions
and
100 deletions
+940
-100
Documentation/ABI/testing/sysfs-devices-platform-sh_mobile_lcdc_fb
...tion/ABI/testing/sysfs-devices-platform-sh_mobile_lcdc_fb
+44
-0
drivers/video/sh_mipi_dsi.c
drivers/video/sh_mipi_dsi.c
+3
-4
drivers/video/sh_mobile_lcdcfb.c
drivers/video/sh_mobile_lcdcfb.c
+886
-96
include/video/sh_mobile_lcdc.h
include/video/sh_mobile_lcdc.h
+7
-0
No files found.
Documentation/ABI/testing/sysfs-devices-platform-sh_mobile_lcdc_fb
0 → 100644
View file @
0f90fa53
What: /sys/devices/platform/sh_mobile_lcdc_fb.[0-3]/graphics/fb[0-9]/ovl_alpha
Date: May 2012
Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Description:
This file is only available on fb[0-9] devices corresponding
to overlay planes.
Stores the alpha blending value for the overlay. Values range
from 0 (transparent) to 255 (opaque). The value is ignored if
the mode is not set to Alpha Blending.
What: /sys/devices/platform/sh_mobile_lcdc_fb.[0-3]/graphics/fb[0-9]/ovl_mode
Date: May 2012
Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Description:
This file is only available on fb[0-9] devices corresponding
to overlay planes.
Selects the composition mode for the overlay. Possible values
are
0 - Alpha Blending
1 - ROP3
What: /sys/devices/platform/sh_mobile_lcdc_fb.[0-3]/graphics/fb[0-9]/ovl_position
Date: May 2012
Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Description:
This file is only available on fb[0-9] devices corresponding
to overlay planes.
Stores the x,y overlay position on the display in pixels. The
position format is `[0-9]+,[0-9]+'.
What: /sys/devices/platform/sh_mobile_lcdc_fb.[0-3]/graphics/fb[0-9]/ovl_rop3
Date: May 2012
Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Description:
This file is only available on fb[0-9] devices corresponding
to overlay planes.
Stores the raster operation (ROP3) for the overlay. Values
range from 0 to 255. The value is ignored if the mode is not
set to ROP3.
drivers/video/sh_mipi_dsi.c
View file @
0f90fa53
...
...
@@ -127,8 +127,7 @@ static void sh_mipi_shutdown(struct platform_device *pdev)
sh_mipi_dsi_enable
(
mipi
,
false
);
}
static
int
__init
sh_mipi_setup
(
struct
sh_mipi
*
mipi
,
struct
sh_mipi_dsi_info
*
pdata
)
static
int
sh_mipi_setup
(
struct
sh_mipi
*
mipi
,
struct
sh_mipi_dsi_info
*
pdata
)
{
void
__iomem
*
base
=
mipi
->
base
;
struct
sh_mobile_lcdc_chan_cfg
*
ch
=
pdata
->
lcd_chan
;
...
...
@@ -551,7 +550,7 @@ static int __init sh_mipi_probe(struct platform_device *pdev)
return
ret
;
}
static
int
__exit
sh_mipi_remove
(
struct
platform_device
*
pdev
)
static
int
__
dev
exit
sh_mipi_remove
(
struct
platform_device
*
pdev
)
{
struct
resource
*
res
=
platform_get_resource
(
pdev
,
IORESOURCE_MEM
,
0
);
struct
resource
*
res2
=
platform_get_resource
(
pdev
,
IORESOURCE_MEM
,
1
);
...
...
@@ -592,7 +591,7 @@ static int __exit sh_mipi_remove(struct platform_device *pdev)
}
static
struct
platform_driver
sh_mipi_driver
=
{
.
remove
=
__exit_p
(
sh_mipi_remove
),
.
remove
=
__
dev
exit_p
(
sh_mipi_remove
),
.
shutdown
=
sh_mipi_shutdown
,
.
driver
=
{
.
name
=
"sh-mipi-dsi"
,
...
...
drivers/video/sh_mobile_lcdcfb.c
View file @
0f90fa53
This diff is collapsed.
Click to expand it.
include/video/sh_mobile_lcdc.h
View file @
0f90fa53
...
...
@@ -166,6 +166,12 @@ struct sh_mobile_lcdc_bl_info {
int
(
*
get_brightness
)(
void
);
};
struct
sh_mobile_lcdc_overlay_cfg
{
int
fourcc
;
unsigned
int
max_xres
;
unsigned
int
max_yres
;
};
struct
sh_mobile_lcdc_chan_cfg
{
int
chan
;
int
fourcc
;
...
...
@@ -186,6 +192,7 @@ struct sh_mobile_lcdc_chan_cfg {
struct
sh_mobile_lcdc_info
{
int
clock_source
;
struct
sh_mobile_lcdc_chan_cfg
ch
[
2
];
struct
sh_mobile_lcdc_overlay_cfg
overlays
[
4
];
struct
sh_mobile_meram_info
*
meram_dev
;
};
...
...
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