# Nokia 2720 Flip (nokia-beatles) 1.3-inch 240x240 external GC9305 panel. # # Exact qcom,mdss-spi-on-command stream from the KaiOS 3.10 downstream DTS # (spi_gc9305_v2_qvga_ext_cmd) in pmaports' 0004-dts-adaptations.patch: # fe, ef, 3a 05, 35 00, 2a 00 00 00 ef, 2b 00 00 00 ef, 2c, # delay 120, 11, 29, 2c # qcom,mdss-spi-panel-width = 240, height = 240, bpp = 16. # # The stock panel node uses qcom,platform-spi-dc-gpio = gpio110 (the same # D/C line as the internal panel), qcom,platform-te-gpio = gpio21, # qcom,platform-reset-gpio = gpio23 and qcom,platform-spi-switch-gpio = # gpio13. gpio21 is TE, not D/C. Both panels share PMIC MPP2 PWM backlight. # # This MIPI DBI firmware is replayed by the shipping kernel backend through # /sys/kernel/debug/dri/0/command after gpio23 is pulsed and the gpio13 bus # switch is set to the cover. The obsolete userspace spidev rollback also # parses this file. # # MIPI DBI firmware records below (command, parameter count, parameters): command 0xfe command 0xef command 0x3a 0x05 # 16-bit RGB565 command 0x35 0x00 # TE v-blanking command 0x2a 0x00 0x00 0x00 0xef # column address 0..239 command 0x2b 0x00 0x00 0x00 0xef # page address 0..239 command 0x2c # memory write delay 120 command 0x11 # sleep out command 0x29 # display on command 0x2c # memory write