Display panels hardware components

Revision as of 08:55, 15 March 2022 by Registered User

1 Article purpose[edit]

The purpose of this article is to:

  • List the display panel hardware components that might be integrated in the different boards.
  • Link these components to the corresponding software framework(s).
  • Point to the appropriate component datasheets.
  • Explain, when necessary, how to configure these components.

2 Software frameworks[edit]

Domain Peripheral Software components Comment
OP-TEE Linux STM32Cube
Visual Raydium RM68200 DRM/KMS framework DSI panel driver
Visual Orise Tech OTM8009a DRM/KMS framework DSI panel driver
Visual Raspberry Pi 7" Touch DRM/KMS framework DSI panel driver

3 Raydium RM68200[edit]

The Raydium RM68200 is a single-chip solution for a-Si TFT LCD that incorporates gate drivers and is capable of driving different panel resolutions. It supports MIPI® DSI Interface.

For details and the datasheet please contact the RM68200 driver provider.

3.1 Linux driver[edit]

Bindings: Documentation/devicetree/bindings/display/panel/raydium,rm68200.yaml

Sources: drivers/gpu/drm/panel/panel-raydium-rm68200.c

3.2 U-Boot driver[edit]

Bindings: drivers/video/raydium-rm68200.c

4 Orise Tech OTM8009a[edit]

The Orise Tech OTM8009a is a MIPI® DSI panel driver.

For details and the datasheet please contact the OTM8009a driver provider.

4.1 Linux driver[edit]

Bindings: Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.yaml

Sources: drivers/gpu/drm/panel/panel-orisetech-otm8009a.c

4.2 U-Boot driver[edit]

Bindings: drivers/video/orisetech_otm8009a.c

5 Raspberry Pi 7" Touch[edit]

The Raspberry Pi 7" Touch Display is an integrated module including:

  • a DSI to DPI bridge Toshiba TC358762;
  • a DPI panel 800x480 7 inches with touchscreen;
  • a power controller;
  • a touchscreen controller.

For details and datasheet please contact the display provider [1].

The display can be plugged in the DSI connector CN4 of the board STM32MP157F-DK2 through the ribbon cable provided with the display.

Warning white.png Warning
An incorrect connection could damage either the display and/or the board.

Pay attention that the connector CN4 is wider than the ribbon cable; the proper connection requires the pin 1 of the ribbon cable to be plugged at the pin 1 of CN4. This requires the ribbon cable to touch only the edge of the connector CN4 that is closer to the ethernet plug, thus having empty space between the ribbon cable and the other edge of the connector CN4.

Two additional wires for 5V supply and GND are required between STM32MP157F-DK2 board and the display. Don't use a USB cable to power the display from the board because the board's USB plugs would be enabled too late for the display to operate. Use instead two of the spare wires provided with the display and connect:

  • STM32MP157F-DK2 connector CN2 pin 2 to display connector GPIO pin 5V;
  • STM32MP157F-DK2 connector CN2 pin 6 to display connector GPIO pin GND.

5.1 Linux driver[edit]

Bindings:

Sources:

Configuration:

  • DRM_TOSHIBA_TC358762
  • DRM_PANEL_SIMPLE
  • REGULATOR_RASPBERRYPI_TOUCHSCREEN_ATTINY
Info white.png Information
Different versions of the panel use different touchscreen controllers. The touchscreen is not further described here.
Info white.png Information
Don't use the old driver Documentation/devicetree/bindings/display/panel/raspberrypi,7inch-touchscreen.yaml .
It has been replaced by the new driver since kernel v5.10.


Devicetree example: [Click here to hide/show the example]

&dsi {
	status = "okay";

	ports {
		port@0 {
			reg = <0>;
			dsi_in: endpoint {
				remote-endpoint = <&ltdc_ep1_out>;
			};
		};

		port@1 {
			reg = <1>;
			dsi_out: endpoint {
				remote-endpoint = <&bridge_in>;
			};
		};
	};

	bridge@0 {
		compatible = "toshiba,tc358762";
		reg = <0>;
		vddc-supply = <&reg_rpi>;
		status = "okay";

		ports {
			#address-cells = <1>;
			#size-cells = <0>;

			port@0 {
				reg = <0>;
				bridge_in: endpoint {
					remote-endpoint = <&dsi_out>;
				};
			};
			port@1 {
				reg = <1>;
				bridge_out: endpoint {
					remote-endpoint = <&panel_in>;
				};
			};
		};
	};
};

/ {
	panel-rgb {
		/* Unknown; use a reasonably similar one */
		compatible = "powertip,ph800480t013-idf02";
		power-supply = <&reg_rpi>;
		status = "okay";

		port {
			panel_in: endpoint {
				remote-endpoint = <&bridge_out>;
			};
		};
	};
};

&i2c1 {
	reg_rpi: regulator@45 {
		compatible = "raspberrypi,7inch-touchscreen-panel-regulator";
		reg = <0x45>;
		vin-supply = <&v3v3>;
		status = "okay";
	};
};


5.2 U-Boot driver[edit]

Not available.