Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab6eb211 authored by Dave Airlie's avatar Dave Airlie
Browse files

Merge tag 'drm/panel/for-4.12-rc1' of git://anongit.freedesktop.org/tegra/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
parents d455937e e4bac408
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
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 −0
Original line number Diff line number Diff line
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 −0
Original line number Diff line number Diff line
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 −0
Original line number Diff line number Diff line
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>;
	};
+1 −0
Original line number Diff line number Diff line
@@ -336,6 +336,7 @@ wd Western Digital Corp.
wetek	WeTek Electronics, limited.
wexler	Wexler
winbond Winbond Electronics corp.
winstar	Winstar Display Corp.
wlf	Wolfson Microelectronics
wm	Wondermedia Technologies, Inc.
x-powers	X-Powers
Loading