// SPDX-License-Identifier: GPL-2.0 /* * Arch R Generic MIPI-DSI panel driver * Copyright (C) 2025 Arch R Project * * Based on panel-generic-dsi.c by ROCKNIX (C) 2024 * Originally based on Rockteck jh057n00900 panel driver * Copyright (C) Purism SPC 2019 * * Reads panel configuration from device tree "panel_description" property. * Supports any MIPI-DSI panel without recompilation — just change the DTS. * * panel_description format (array of strings): * G delays=P,R,I,E,Y size=W,H format=rgb888 lanes=4 flags=0xNNN * M clock=KHZ horizontal=H,HFP,HSYNC,HBP vertical=V,VFP,VSYNC,VBP default=1 * I dcs=0xCMD data=HEXPARAMS wait=MS * I seq=HEXBYTES wait=MS */ #include #include #include #include #include #include #include