# Nokia 2720 Flip (nokia-beatles) 1.3-inch 240x240 external GC9305 panel. # # Derived from the KaiOS 3.10 downstream DTS in the archived postmarketOS # linux-nokia-beatles package (0004-dts-adaptations.patch): # spi_gc9305_v2_qvga_ext_cmd, qcom,mdss-spi-on-command: # 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 register/gamma block below is the one already proven on this device's # internal GC9305 panel (nokia,beatles-gc9305-panel.txt); the two column/page # windows are set to 0..239 for the square cover panel. The blob is consumed # by panel-mipi-dbi-spi (kernel) or by bananarchy-coverd's spidev backend. # # This init sequence is derived from vendor sources but has NOT yet been # verified on 2720 Flip hardware; see NOKIA-2720-FLIP.md. command 0xfe command 0xef command 0x36 0x00 # MADCTL command 0x3a 0x55 # 65K 16-bit RGB565 command 0x35 0x00 # TE v-blanking command 0xb2 0x0c 0x0c 0x00 0x33 0x33 # porch setting command 0xb7 0x75 # gate control VGH/VGL command 0xbb 0x34 # Vcoms command 0xc0 0x2c # LCM control command 0xc2 0x01 # VDV/VRH enable command 0xc3 0x0d # VRH set command 0xc4 0x20 # VDV set command 0xc6 0xef # frame rate command 0x44 0x00 0x00 # tearing scan line command 0xd0 0xa4 0xa1 # power control 1 command 0xe0 0xd0 0x02 0x09 0x0d 0x0e 0x19 0x30 0x51 0x43 0x09 0x14 0x13 0x18 0x21 command 0xe1 0xd0 0x02 0x09 0x0d 0x0d 0x18 0x32 0x46 0x42 0x09 0x13 0x13 0x17 0x21 command 0x2a 0x00 0x00 0x00 0xef # column address 0..239 command 0x2b 0x00 0x00 0x00 0xef # page address 0..239 command 0x2c # memory write command 0x11 # sleep out delay 120 command 0x29 # display on command 0x2c