Tried this OLED Display in I2C mode, it is working fine. When try this in SPI mode, it is not working.

Used the initialization sequence in i2c driver code for SPI driver code also. Whether we have 2 different initialization sequence one for I2C and another one for SPI i.e. For SPI mode, different set of register writes and I2c mode, different set of register writes.

- solomon,height: Height in pixel of the screen driven by the controller- solomon,width: Width in pixel of the screen driven by the controller- solomon,page-offset: Offset of pages (band of 8 pixels) that the screen is mapped to.- solomon,com-seq: Display uses sequential COM pin configuration - solomon,com-lrremap: Display uses left-right COM pin remap - solomon,com-invdir: Display uses inverted COM pin scan direction - solomon,com-offset: Number of the COM pin wired to the first display line - solomon,prechargep1: Length of deselect period (phase 1) in clock cycles. - solomon,prechargep2: Length of precharge period (phase 2) in clock cycles. This needs to be the higher, the higher the capacitance of the OLED's pixels is

Need to use the NHD-2.8-25664UCB2 display in Nvidia Jetson Tx2 processor. For example, if we select the serial interface connection, then need to connect this display to SPI Controller or any Display controller in Processor.

If we choose the parallel interface, then to which controller, we have to make the hardware connections.