Skip to content

Display

The XP8800 has a 5.0-inch, 1080 × 1920 IPS LCD. A four-lane MIPI DSI link in command mode operates the panel.

The panel is a Japan Display Inc. (JDI) module with an NT35696 controller. It is the only panel that the stock software selects by default. The boot loader also contains entries for other reference panels.

Panel summary

Item Value Confidence
Manufacturer / controller JDI / Novatek NT35696 Stock
Resolution 1080 × 1920, 24 bpp Unit
Size 5.0 in (stock gives a 61 × 110 mm active area) Stock
Mode DSI command mode, RGB888, four lanes, 60 Hz Stock
Stock DT node qcom,mdss_dsi_nt35696_jdi_fhd_cmd (DSI0 default) Stock
Bootloader entry nt35696_jdi_1080p_cmd, XML name A432A-JD35696 Stock
Physical panel proof Not found on the glass. The boot loader also lists Truly NT35695b, HX8399, and RM67195 entries —

Timings and signals

Item Value
Horizontal front / back / sync 96 / 64 / 16
Vertical front / back / sync 4 / 16 / 1
Reset pin TLMM 53 (high → low → high, 12 ms each)
Tearing-effect (TE) pin TLMM 59
Backlight enable TLMM 13
Backlight block PM660L WLED, strings 0–2
I/O and analog supplies PM660L LDOs
Bias rails PM660L LCDB block at 0xec00: lcdb_ldo and lcdb_ncp, 4.0–6.0 V

The stock tree keeps the LAB/IBB bias block off. The panel bias comes from the LCDB block.

This is important for mainline bring-up because no upstream LCDB driver exists. A usual workaround is a fixed regulator. It uses the rails that the boot loader turned on.

Signal path

flowchart LR
  SoC["SDM630 MDSS + DSI0"] -->|4 lanes, RGB888| PANEL["JDI NT35696 panel"]
  TLMM53["TLMM 53 reset"] --> PANEL
  TLMM59["TLMM 59 tearing effect"] --> SoC
  TLMM13["TLMM 13 backlight enable"] --> WLED["PM660L WLED"]
  WLED --> BL["Panel backlight"]
  LCDB["PM660L LCDB bias rails"] --> PANEL

Stock DCS command sequences

This data comes from the stock JDI device-tree node. The first column is the DSI packet type in hex. The payloads include the command byte and the trailing zero of the stock table. Delays are in milliseconds.

Display on (LP mode):

Type Delay Payload
39 0 35 00
39 0 36 00
39 0 3a 77
39 0 2a 00 00 04 37
39 0 2b 00 00 07 7f
39 0 44 07 08
39 120 11 00
39 0 2c 00
39 0 29 00

Display off (HS mode):

Type Delay Payload
05 2 28 00
05 121 10 00

You can make a panel driver from these tables with the linux-mdss-dsi-panel-driver-generator tool (refer to Reverse-engineering notes). The generated draft has the correct timings and reset sequence.

Before you use the draft, correct these items:

  • height_mm (the stock property name is misspelled and gives 0)
  • the zero arguments that the panel does not need
  • the compatible string
  • the supply and reset references

Mainline status

There is no dedicated upstream NT35696 panel driver. You must write a panel driver (or make one with the generator tool and clean it up). Then connect it to the drm/msm DSI node.

When the panel operates natively, the display pipeline of the kernel replaces the simple framebuffer of the boot loader. Until then, simpledrm on the splash framebuffer of the boot loader is sufficient for console output.

Known mainline pitfalls

  • The display pipeline uses interconnect bandwidth, RPM power-domain levels, and multimedia SMMU clocks. If the kernel releases these at sync_state (usually about 10 s after boot), the panel goes dark. The simple-framebuffer node must hold them explicitly.
  • Each blank cycle can cause a wait_for_idle timeout in the log from the command-mode encoder. The panel wakes correctly.
  • TLMM 13 (the backlight enable line) possibly supplies the capacitive key backlights. They then come on when the panel comes on.