forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 16
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/panel/for-4.12-rc1' of git://anongit.freedesktop.org/t…
…egra/linux into drm-next drm/panel: Changes for v4.12-rc1 This contains two new drivers for a Sitronix and a Samsung panel as well as two new panels supported by the panel-simple driver. * tag 'drm/panel/for-4.12-rc1' of git://anongit.freedesktop.org/tegra/linux: drm/panel: simple: Add support for Winstar WF35LTIACD devicetree: add vendor prefix for Winstar Display Corp. drm/panel: Add driver for sitronix ST7789V LCD controller dt-bindings: display: panel: Add bindings for the Sitronix ST7789V panel drm/panel: Add support for S6E3HA2 panel driver on TM2 board dt-bindings: Add support for Samsung s6e3ha2 panel binding drm/panel: simple: Add support for Ampire AM-480272H3TMQW-T01H dt-bindings: Add Ampire AM-480272H3TMQW-T01H panel
- Loading branch information
Showing
10 changed files
with
1,399 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.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 @@ | ||
Ampire AM-480272H3TMQW-T01H 4.3" WQVGA TFT LCD panel | ||
|
||
This binding is compatible with the simple-panel binding, which is specified | ||
in simple-panel.txt in this directory. | ||
|
||
Required properties: | ||
- compatible: should be "ampire,am-480272h3tmqw-t01h" | ||
|
||
Optional properties: | ||
- power-supply: regulator to provide the supply voltage | ||
- enable-gpios: GPIO pin to enable or disable the panel | ||
- backlight: phandle of the backlight device attached to the panel | ||
|
||
Optional nodes: | ||
- Video port for RGB input. | ||
|
||
Example: | ||
panel_rgb: panel-rgb { | ||
compatible = "ampire,am-480272h3tmqw-t01h"; | ||
enable-gpios = <&gpioa 8 1>; | ||
port { | ||
panel_in_rgb: endpoint { | ||
remote-endpoint = <&controller_out_rgb>; | ||
}; | ||
}; | ||
}; |
28 changes: 28 additions & 0 deletions
28
Documentation/devicetree/bindings/display/panel/samsung,s6e3ha2.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,28 @@ | ||
Samsung S6E3HA2 5.7" 1440x2560 AMOLED panel | ||
|
||
Required properties: | ||
- compatible: "samsung,s6e3ha2" | ||
- reg: the virtual channel number of a DSI peripheral | ||
- vdd3-supply: I/O voltage supply | ||
- vci-supply: voltage supply for analog circuits | ||
- reset-gpios: a GPIO spec for the reset pin (active low) | ||
- enable-gpios: a GPIO spec for the panel enable pin (active high) | ||
|
||
Optional properties: | ||
- te-gpios: a GPIO spec for the tearing effect synchronization signal | ||
gpio pin (active high) | ||
|
||
Example: | ||
&dsi { | ||
... | ||
|
||
panel@0 { | ||
compatible = "samsung,s6e3ha2"; | ||
reg = <0>; | ||
vdd3-supply = <&ldo27_reg>; | ||
vci-supply = <&ldo28_reg>; | ||
reset-gpios = <&gpg0 0 GPIO_ACTIVE_LOW>; | ||
enable-gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>; | ||
te-gpios = <&gpf1 3 GPIO_ACTIVE_HIGH>; | ||
}; | ||
}; |
37 changes: 37 additions & 0 deletions
37
Documentation/devicetree/bindings/display/panel/sitronix,st7789v.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,37 @@ | ||
Sitronix ST7789V RGB panel with SPI control bus | ||
|
||
Required properties: | ||
- compatible: "sitronix,st7789v" | ||
- reg: Chip select of the panel on the SPI bus | ||
- reset-gpios: a GPIO phandle for the reset pin | ||
- power-supply: phandle of the regulator that provides the supply voltage | ||
|
||
Optional properties: | ||
- backlight: phandle to the backlight used | ||
|
||
The generic bindings for the SPI slaves documented in [1] also applies | ||
|
||
The device node can contain one 'port' child node with one child | ||
'endpoint' node, according to the bindings defined in [2]. This | ||
node should describe panel's video bus. | ||
|
||
[1]: Documentation/devicetree/bindings/spi/spi-bus.txt | ||
[2]: Documentation/devicetree/bindings/graph.txt | ||
|
||
Example: | ||
|
||
panel@0 { | ||
compatible = "sitronix,st7789v"; | ||
reg = <0>; | ||
reset-gpios = <&pio 6 11 GPIO_ACTIVE_LOW>; | ||
backlight = <&pwm_bl>; | ||
spi-max-frequency = <100000>; | ||
spi-cpol; | ||
spi-cpha; | ||
|
||
port { | ||
panel_input: endpoint { | ||
remote-endpoint = <&tcon0_out_panel>; | ||
}; | ||
}; | ||
}; |
48 changes: 48 additions & 0 deletions
48
Documentation/devicetree/bindings/display/panel/winstar,wf35ltiacd.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,48 @@ | ||
Winstar Display Corporation 3.5" QVGA (320x240) TFT LCD panel | ||
|
||
Required properties: | ||
- compatible: should be "winstar,wf35ltiacd" | ||
- power-supply: regulator to provide the VCC supply voltage (3.3 volts) | ||
|
||
This binding is compatible with the simple-panel binding, which is specified | ||
in simple-panel.txt in this directory. | ||
|
||
Example: | ||
backlight: backlight { | ||
compatible = "pwm-backlight"; | ||
pwms = <&hlcdc_pwm 0 50000 PWM_POLARITY_INVERTED>; | ||
brightness-levels = <0 31 63 95 127 159 191 223 255>; | ||
default-brightness-level = <191>; | ||
power-supply = <&bl_reg>; | ||
}; | ||
|
||
bl_reg: backlight_regulator { | ||
compatible = "regulator-fixed"; | ||
regulator-name = "backlight-power-supply"; | ||
regulator-min-microvolt = <5000000>; | ||
regulator-max-microvolt = <5000000>; | ||
}; | ||
|
||
panel: panel { | ||
compatible = "winstar,wf35ltiacd", "simple-panel"; | ||
backlight = <&backlight>; | ||
power-supply = <&panel_reg>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
port { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
panel_input: endpoint { | ||
remote-endpoint = <&hlcdc_panel_output>; | ||
}; | ||
}; | ||
}; | ||
|
||
panel_reg: panel_regulator { | ||
compatible = "regulator-fixed"; | ||
regulator-name = "panel-power-supply"; | ||
regulator-min-microvolt = <3300000>; | ||
regulator-max-microvolt = <3300000>; | ||
}; |
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
Oops, something went wrong.