forked from analogdevicesinc/linux
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'drm-next-2018-12-14' of git://anongit.freedesktop.org/drm/drm
Pull drm updates from Dave Airlie: "Core: - shared fencing staging removal - drop transactional atomic helpers and move helpers to new location - DP/MST atomic cleanup - Leasing cleanups and drop EXPORT_SYMBOL - Convert drivers to atomic helpers and generic fbdev. - removed deprecated obj_ref/unref in favour of get/put - Improve dumb callback documentation - MODESET_LOCK_BEGIN/END helpers panels: - CDTech panels, Banana Pi Panel, DLC1010GIG, - Olimex LCD-O-LinuXino, Samsung S6D16D0, Truly NT35597 WQXGA, - Himax HX8357D, simulated RTSM AEMv8. - GPD Win2 panel - AUO G101EVN010 vgem: - render node support ttm: - move global init out of drivers - fix LRU handling for ghost objects - Support for simultaneous submissions to multiple engines scheduler: - timeout/fault handling changes to help GPU recovery - helpers for hw with preemption support i915: - Scaler/Watermark fixes - DP MST + powerwell fixes - PSR fixes - Break long get/put shmemfs pages - Icelake fixes - Icelake DSI video mode enablement - Engine workaround improvements amdgpu: - freesync support - GPU reset enabled on CI, VI, SOC15 dGPUs - ABM support in DC - KFD support for vega12/polaris12 - SDMA paging queue on vega - More amdkfd code sharing - DCC scanout on GFX9 - DC kerneldoc - Updated SMU firmware for GFX8 chips - XGMI PSP + hive reset support - GPU reset - DC trace support - Powerplay updates for newer Polaris - Cursor plane update fast path - kfd dma-buf support virtio-gpu: - add EDID support vmwgfx: - pageflip with damage support nouveau: - Initial Turing TU104/TU106 modesetting support msm: - a2xx gpu support for apq8060 and imx5 - a2xx gpummu support - mdp4 display support for apq8060 - DPU fixes and cleanups - enhanced profiling support - debug object naming interface - get_iova/page pinning decoupling tegra: - Tegra194 host1x, VIC and display support enabled - Audio over HDMI for Tegra186 and Tegra194 exynos: - DMA/IOMMU refactoring - plane alpha + blend mode support - Color format fixes for mixer driver rcar-du: - R8A7744 and R8A77470 support - R8A77965 LVDS support imx: - fbdev emulation fix - multi-tiled scalling fixes - SPDX identifiers rockchip - dw_hdmi support - dw-mipi-dsi + dual dsi support - mailbox read size fix qxl: - fix cursor pinning vc4: - YUV support (scaling + cursor) v3d: - enable TFU (Texture Formatting Unit) mali-dp: - add support for linear tiled formats sun4i: - Display Engine 3 support - H6 DE3 mixer 0 support - H6 display engine support - dw-hdmi support - H6 HDMI phy support - implicit fence waiting - BGRX8888 support meson: - Overlay plane support - implicit fence waiting - HDMI 1.4 4k modes bridge: - i2c fixes for sii902x" * tag 'drm-next-2018-12-14' of git://anongit.freedesktop.org/drm/drm: (1403 commits) drm/amd/display: Add fast path for cursor plane updates drm/amdgpu: Enable GPU recovery by default for CI drm/amd/display: Fix duplicating scaling/underscan connector state drm/amd/display: Fix unintialized max_bpc state values Revert "drm/amd/display: Set RMX_ASPECT as default" drm/amdgpu: Fix stub function name drm/msm/dpu: Fix clock issue after bind failure drm/msm/dpu: Clean up dpu_media_info.h static inline functions drm/msm/dpu: Further cleanups for static inline functions drm/msm/dpu: Cleanup the debugfs functions drm/msm/dpu: Remove dpu_irq and unused functions drm/msm: Make irq_postinstall optional drm/msm/dpu: Cleanup callers of dpu_hw_blk_init drm/msm/dpu: Remove unused functions drm/msm/dpu: Remove dpu_crtc_is_enabled() drm/msm/dpu: Remove dpu_crtc_get_mixer_height drm/msm/dpu: Remove dpu_dbg drm/msm: dpu: Remove crtc_lock drm/msm: dpu: Remove vblank_requested flag from dpu_crtc drm/msm: dpu: Separate crtc assignment from vblank enable ...
- Loading branch information
Showing
1,030 changed files
with
47,033 additions
and
26,462 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
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
26 changes: 26 additions & 0 deletions
26
Documentation/devicetree/bindings/display/himax,hx8357d.txt
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,26 @@ | ||
Himax HX8357D display panels | ||
|
||
This binding is for display panels using a Himax HX8357D controller in SPI | ||
mode, such as the Adafruit 3.5" TFT for Raspberry Pi. | ||
|
||
Required properties: | ||
- compatible: "adafruit,yx350hv15", "himax,hx8357d" | ||
- dc-gpios: D/C pin | ||
- reg: address of the panel on the SPI bus | ||
|
||
The node for this driver must be a child node of a SPI controller, hence | ||
all mandatory properties described in ../spi/spi-bus.txt must be specified. | ||
|
||
Optional properties: | ||
- rotation: panel rotation in degrees counter clockwise (0,90,180,270) | ||
- backlight: phandle of the backlight device attached to the panel | ||
|
||
Example: | ||
display@0{ | ||
compatible = "adafruit,yx350hv15", "himax,hx8357d"; | ||
reg = <0>; | ||
spi-max-frequency = <32000000>; | ||
dc-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; | ||
rotation = <90>; | ||
backlight = <&backlight>; | ||
}; |
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
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
12 changes: 12 additions & 0 deletions
12
Documentation/devicetree/bindings/display/panel/auo,g101evn010
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,12 @@ | ||
AU Optronics Corporation 10.1" (1280x800) color TFT LCD panel | ||
|
||
Required properties: | ||
- compatible: should be "auo,g101evn010" | ||
- power-supply: as specified in the base binding | ||
|
||
Optional properties: | ||
- backlight: as specified in the base binding | ||
- enable-gpios: as specified in the base binding | ||
|
||
This binding is compatible with the simple-panel binding, which is specified | ||
in simple-panel.txt in this directory. |
12 changes: 12 additions & 0 deletions
12
Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.txt
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,12 @@ | ||
Banana Pi 7" (S070WV20-CT16) TFT LCD Panel | ||
|
||
Required properties: | ||
- compatible: should be "bananapi,s070wv20-ct16" | ||
- power-supply: see ./panel-common.txt | ||
|
||
Optional properties: | ||
- enable-gpios: see ./simple-panel.txt | ||
- backlight: see ./simple-panel.txt | ||
|
||
This binding is compatible with the simple-panel binding, which is specified | ||
in ./simple-panel.txt. |
12 changes: 12 additions & 0 deletions
12
Documentation/devicetree/bindings/display/panel/cdtech,s043wq26h-ct7.txt
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,12 @@ | ||
CDTech(H.K.) Electronics Limited 4.3" 480x272 color TFT-LCD panel | ||
|
||
Required properties: | ||
- compatible: should be "cdtech,s043wq26h-ct7" | ||
- power-supply: as specified in the base binding | ||
|
||
Optional properties: | ||
- backlight: as specified in the base binding | ||
- enable-gpios: as specified in the base binding | ||
|
||
This binding is compatible with the simple-panel binding, which is specified | ||
in simple-panel.txt in this directory. |
12 changes: 12 additions & 0 deletions
12
Documentation/devicetree/bindings/display/panel/cdtech,s070wv95-ct16.txt
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,12 @@ | ||
CDTech(H.K.) Electronics Limited 7" 800x480 color TFT-LCD panel | ||
|
||
Required properties: | ||
- compatible: should be "cdtech,s070wv95-ct16" | ||
- power-supply: as specified in the base binding | ||
|
||
Optional properties: | ||
- backlight: as specified in the base binding | ||
- enable-gpios: as specified in the base binding | ||
|
||
This binding is compatible with the simple-panel binding, which is specified | ||
in simple-panel.txt in this directory. |
12 changes: 12 additions & 0 deletions
12
Documentation/devicetree/bindings/display/panel/dlc,dlc1010gig.txt
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,12 @@ | ||
DLC Display Co. DLC1010GIG 10.1" WXGA TFT LCD Panel | ||
|
||
Required properties: | ||
- compatible: should be "dlc,dlc1010gig" | ||
- power-supply: See simple-panel.txt | ||
|
||
Optional properties: | ||
- enable-gpios: See simple-panel.txt | ||
- backlight: See simple-panel.txt | ||
|
||
This binding is compatible with the simple-panel binding, which is specified | ||
in simple-panel.txt in this directory. |
42 changes: 42 additions & 0 deletions
42
Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.txt
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,42 @@ | ||
Binding for Olimex Ltd. LCD-OLinuXino bridge panel. | ||
|
||
This device can be used as bridge between a host controller and LCD panels. | ||
Currently supported LCDs are: | ||
- LCD-OLinuXino-4.3TS | ||
- LCD-OLinuXino-5 | ||
- LCD-OLinuXino-7 | ||
- LCD-OLinuXino-10 | ||
|
||
The panel itself contains: | ||
- AT24C16C EEPROM holding panel identification and timing requirements | ||
- AR1021 resistive touch screen controller (optional) | ||
- FT5x6 capacitive touch screnn controller (optional) | ||
- GT911/GT928 capacitive touch screen controller (optional) | ||
|
||
The above chips share same I2C bus. The EEPROM is factory preprogrammed with | ||
device information (id, serial, etc.) and timing requirements. | ||
|
||
Touchscreen bingings can be found in these files: | ||
- input/touchscreen/goodix.txt | ||
- input/touchscreen/edt-ft5x06.txt | ||
- input/touchscreen/ar1021.txt | ||
|
||
Required properties: | ||
- compatible: should be "olimex,lcd-olinuxino" | ||
- reg: address of the configuration EEPROM, should be <0x50> | ||
- power-supply: phandle of the regulator that provides the supply voltage | ||
|
||
Optional properties: | ||
- enable-gpios: GPIO pin to enable or disable the panel | ||
- backlight: phandle of the backlight device attacked to the panel | ||
|
||
Example: | ||
&i2c2 { | ||
panel@50 { | ||
compatible = "olimex,lcd-olinuxino"; | ||
reg = <0x50>; | ||
power-supply = <®_vcc5v0>; | ||
enable-gpios = <&pio 7 8 GPIO_ACTIVE_HIGH>; | ||
backlight = <&backlight>; | ||
}; | ||
}; |
30 changes: 30 additions & 0 deletions
30
Documentation/devicetree/bindings/display/panel/samsung,s6d16d0.txt
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,30 @@ | ||
Samsung S6D16D0 4" 864x480 AMOLED panel | ||
|
||
Required properties: | ||
- compatible: should be: | ||
"samsung,s6d16d0", | ||
- reg: the virtual channel number of a DSI peripheral | ||
- vdd1-supply: I/O voltage supply | ||
- reset-gpios: a GPIO spec for the reset pin (active low) | ||
|
||
The device node can contain one 'port' child node with one child | ||
'endpoint' node, according to the bindings defined in | ||
media/video-interfaces.txt. This node should describe panel's video bus. | ||
|
||
Example: | ||
&dsi { | ||
... | ||
|
||
panel@0 { | ||
compatible = "samsung,s6d16d0"; | ||
reg = <0>; | ||
vdd1-supply = <&foo>; | ||
reset-gpios = <&foo_gpio 0 GPIO_ACTIVE_LOW>; | ||
|
||
port { | ||
panel_in: endpoint { | ||
remote-endpoint = <&dsi_out>; | ||
}; | ||
}; | ||
}; | ||
}; |
81 changes: 52 additions & 29 deletions
81
Documentation/devicetree/bindings/display/panel/tpo,tpg110.txt
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,47 +1,70 @@ | ||
TPO TPG110 Panel | ||
================ | ||
|
||
This binding builds on the DPI bindings, adding a few properties | ||
as a superset of a DPI. See panel-dpi.txt for the required DPI | ||
bindings. | ||
This panel driver is a component that acts as an intermediary | ||
between an RGB output and a variety of panels. The panel | ||
driver is strapped up in electronics to the desired resolution | ||
and other properties, and has a control interface over 3WIRE | ||
SPI. By talking to the TPG110 over SPI, the strapped properties | ||
can be discovered and the hardware is therefore mostly | ||
self-describing. | ||
|
||
+--------+ | ||
SPI -> | TPO | -> physical display | ||
RGB -> | TPG110 | | ||
+--------+ | ||
|
||
If some electrical strap or alternate resolution is desired, | ||
this can be set up by taking software control of the display | ||
over the SPI interface. The interface can also adjust | ||
for properties of the display such as gamma correction and | ||
certain electrical driving levels. | ||
|
||
The TPG110 does not know the physical dimensions of the panel | ||
connected, so this needs to be specified in the device tree. | ||
|
||
It requires a GPIO line for control of its reset line. | ||
|
||
The serial protocol has line names that resemble I2C but the | ||
protocol is not I2C but 3WIRE SPI. | ||
|
||
Required properties: | ||
- compatible : "tpo,tpg110" | ||
- compatible : one of: | ||
"ste,nomadik-nhk15-display", "tpo,tpg110" | ||
"tpo,tpg110" | ||
- grestb-gpios : panel reset GPIO | ||
- scen-gpios : serial control enable GPIO | ||
- scl-gpios : serial control clock line GPIO | ||
- sda-gpios : serial control data line GPIO | ||
- width-mm : see display/panel/panel-common.txt | ||
- height-mm : see display/panel/panel-common.txt | ||
|
||
The device needs to be a child of an SPI bus, see | ||
spi/spi-bus.txt. The SPI child must set the following | ||
properties: | ||
- spi-3wire | ||
- spi-max-frequency = <3000000>; | ||
as these are characteristics of this device. | ||
|
||
Required nodes: | ||
- Video port for DPI input, see panel-dpi.txt | ||
- Panel timing for DPI setup, see panel-dpi.txt | ||
The device node can contain one 'port' child node with one child | ||
'endpoint' node, according to the bindings defined in | ||
media/video-interfaces.txt. This node should describe panel's video bus. | ||
|
||
Example | ||
------- | ||
|
||
panel { | ||
compatible = "tpo,tpg110", "panel-dpi"; | ||
grestb-gpios = <&stmpe_gpio44 5 GPIO_ACTIVE_LOW>; | ||
scen-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; | ||
scl-gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>; | ||
sda-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>; | ||
panel: display@0 { | ||
compatible = "tpo,tpg110"; | ||
reg = <0>; | ||
spi-3wire; | ||
/* 320 ns min period ~= 3 MHz */ | ||
spi-max-frequency = <3000000>; | ||
/* Width and height from data sheet */ | ||
width-mm = <116>; | ||
height-mm = <87>; | ||
grestb-gpios = <&foo_gpio 5 GPIO_ACTIVE_LOW>; | ||
backlight = <&bl>; | ||
|
||
port { | ||
nomadik_clcd_panel: endpoint { | ||
remote-endpoint = <&nomadik_clcd_pads>; | ||
remote-endpoint = <&foo>; | ||
}; | ||
}; | ||
|
||
panel-timing { | ||
clock-frequency = <33200000>; | ||
hactive = <800>; | ||
hback-porch = <216>; | ||
hfront-porch = <40>; | ||
hsync-len = <1>; | ||
vactive = <480>; | ||
vback-porch = <35>; | ||
vfront-porch = <10>; | ||
vsync-len = <1>; | ||
}; | ||
}; |
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
Oops, something went wrong.