I plan to add this hdmi-to-mipi 7 inch ips touchscreen for a L4T Jetson Nano Dev Tablet project. The touchscreen is a LT070ME05000 and it is in our kernel source:
kernel-4.9/drivers/gpu/drm/panel/panel-jdi-lt070me05000.c
* From internet archives, the panel for Nexus 7 2nd Gen, 2013 model is a
* JDI model LT070ME05000, and its data sheet is at:
* http://panelone.net/en/7-0-inch/JDI_LT070ME05000_7.0_inch-datasheet
The actual model I will be purchasing is located here: 7inch Hdmi Ips Display 1200*1920 Mipi Lcd With Driver Board Usb Touch Support Win7 8 10 Raspberry Pi 3 Lt070me05000 - Tablet Lcds & Panels - AliExpress
This model has 2 boards. 1 is an hdmi to mipi converter and 1 is an usb touch converter. Compatible with Raspberry Pi 3 so I “assume” it should be compatible with Jetson Nano.
My question is for kernel integration do i need to add this panel to nvidia drivers like so:
nvidia/drivers/video/tegra/dc/panel/
add panel-jdi-lt070me05000.c to:
Makefile
create panel board id add to:
tegra-board-id.h
/* Panel board ID */
#define BOARD_E5000
Example dt bindings:
JDI model LT070ME05000 1200x1920 7" DSI Panel
Required properties:
- compatible: should be "jdi,lt070me05000"
- vddp-supply: phandle of the regulator that provides the supply voltage
Power IC supply (3-5V)
- iovcc-supply: phandle of the regulator that provides the supply voltage
IOVCC , power supply for LCM (1.8V)
- enable-gpios: phandle of gpio for enable line
LED_EN, LED backlight enable, High active
- reset-gpios: phandle of gpio for reset line
This should be 8mA, gpio can be configured using mux, pinctrl, pinctrl-names
XRES, Reset, Low active
- dcdc-en-gpios: phandle of the gpio for power ic line
Power IC supply enable, High active
Example:
dsi0: qcom,mdss_dsi@4700000 {
panel@0 {
compatible = "jdi,lt070me05000";
reg = <0>;
vddp-supply = <&pm8921_l17>;
iovcc-supply = <&pm8921_lvs7>;
enable-gpios = <&pm8921_gpio 36 GPIO_ACTIVE_HIGH>;
reset-gpios = <&tlmm_pinmux 54 GPIO_ACTIVE_LOW>;
dcdc-en-gpios = <&pm8921_gpio 23 GPIO_ACTIVE_HIGH>;
};
};
Or can I just use the standard kernel drivers located at kernel-4.9/drivers/gpu/drm/panel/panel-jdi-lt070me05000.c?
I do know USB touch support is built in as I have used Tegra boards in the past (TX1/TK1) with usb touch ie Iiyama 22 inch touchscreen works out of box on tegra.