I've been working on a driver for the panel in the motorola-dubai[1] phone, which is a 6.55" P-OLED panel based on the NT37701 IC and made by either Tianma or CSOT. Unfortunately there is no info whatsoever on the internet about this panel so I cannot confirm any model number. (Please feel free to suggest a better compatible string.. I'm not sure what the latest convention is for these situations, but I've seen a couple drivers land that don't even mention the panel vendor and use a generic DDIC compatible heh)
The "interesting" thing here is that like most other modern OLEDs this panel supports a lot of refresh rates, and can even change them seamlessly on-the-fly (in downstream dts there are command sequences for this). However upstream currently there hasn't been a driver that needs to send specific DCS commands to configure the mode at all! Most drivers for panels that definitely support various modes have just been listing one mode (e.g. nt37801 only has 120Hz). (If anyone's wondering about what happens if you skip the commands and just run a mismatched mode: visual glitches, of course.) Not content with only having no choice of refresh rate at all, I worked on a way to make this work, and it turned out to be pretty easy. The mode can be passed via bridge/panel since it's available there. Adding an alternative prepare callback seemed like the easiest thing to do. I'm looking for some guidance on getting this to a final patch, if there's any caveats I missed, a better way to pass the mode, etc. (For the driver, I know I haven't written a binding yet :D) Thanks, ~val [1]: https://lore.kernel.org/all/[email protected]/ Val Packett (2): drm: Introduce drm_panel_prepare_for_mode callback drm/panel: Add driver for Novatek NT37701 based OLED panels drivers/gpu/drm/bridge/panel.c | 8 +- drivers/gpu/drm/drm_panel.c | 15 +- drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-novatek-nt37701.c | 532 ++++++++++++++++++ include/drm/drm_panel.h | 12 + 5 files changed, 564 insertions(+), 4 deletions(-) create mode 100644 drivers/gpu/drm/panel/panel-novatek-nt37701.c -- 2.53.0

