mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 19:35:15 +07:00
2a994cbed6
Support Kingdisplay KD097D04 9.7" 1536x2048 TFT LCD panel, it is a MIPI dual-DSI panel. v4-resend: - Thierry noted missing dt-bindings for v4 but forgot that he already had applied them one kernel release back in https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ebc950fdff6d5f9250cd5a5a348af97f7d8508df v4: - address Philipp's comments - real range for usleep_range and - poweroff ordering in kingdisplay_panel_prepare - return value beautification in panel_probe - update author naming for full name v3: - address Thierry's comments - error handling for init dsi writes in init - unconditionally remove the panel - don't use drm_panel_detach - a bit of variable signednes wiggling - I did talk to ChromeOS people and the delays really should be as short as possible, so dropped the 100ms from the delay comments v2: - update timing + cmds from chromeos kernel - new backlight API including switch to devm_of_find_backlight - fix most of Sean Paul's comments enable/prepare tracking seems something all panels do - document origins of the init sequence - lanes per dsi interface to 4 (two interfaces). Matches how tegra and pending rockchip dual-dsi handle (dual-)dsi lanes - spdx header instead of license boilerplate Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Sean Paul <sean@poorly.run> Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://patchwork.freedesktop.org/patch/msgid/20181030091528.28211-1-heiko@sntech.de
245 lines
7.3 KiB
Plaintext
245 lines
7.3 KiB
Plaintext
config DRM_PANEL
|
||
bool
|
||
depends on DRM
|
||
help
|
||
Panel registration and lookup framework.
|
||
|
||
menu "Display Panels"
|
||
depends on DRM && DRM_PANEL
|
||
|
||
config DRM_PANEL_ARM_VERSATILE
|
||
tristate "ARM Versatile panel driver"
|
||
depends on OF
|
||
depends on MFD_SYSCON
|
||
select VIDEOMODE_HELPERS
|
||
help
|
||
This driver supports the ARM Versatile panels connected to ARM
|
||
reference designs. The panel is detected using special registers
|
||
in the Versatile family syscon registers.
|
||
|
||
config DRM_PANEL_LVDS
|
||
tristate "Generic LVDS panel driver"
|
||
depends on OF
|
||
depends on BACKLIGHT_CLASS_DEVICE
|
||
select VIDEOMODE_HELPERS
|
||
help
|
||
This driver supports LVDS panels that don't require device-specific
|
||
handling of power supplies or control signals. It implements automatic
|
||
backlight handling if the panel is attached to a backlight controller.
|
||
|
||
config DRM_PANEL_SIMPLE
|
||
tristate "support for simple panels"
|
||
depends on OF
|
||
depends on BACKLIGHT_CLASS_DEVICE
|
||
select VIDEOMODE_HELPERS
|
||
help
|
||
DRM panel driver for dumb panels that need at most a regulator and
|
||
a GPIO to be powered up. Optionally a backlight can be attached so
|
||
that it can be automatically turned off when the panel goes into a
|
||
low power state.
|
||
|
||
config DRM_PANEL_ILITEK_IL9322
|
||
tristate "Ilitek ILI9322 320x240 QVGA panels"
|
||
depends on OF && SPI
|
||
select REGMAP
|
||
help
|
||
Say Y here if you want to enable support for Ilitek IL9322
|
||
QVGA (320x240) RGB, YUV and ITU-T BT.656 panels.
|
||
|
||
config DRM_PANEL_ILITEK_ILI9881C
|
||
tristate "Ilitek ILI9881C-based panels"
|
||
depends on OF
|
||
depends on DRM_MIPI_DSI
|
||
depends on BACKLIGHT_CLASS_DEVICE
|
||
help
|
||
Say Y if you want to enable support for panels based on the
|
||
Ilitek ILI9881c controller.
|
||
|
||
config DRM_PANEL_INNOLUX_P079ZCA
|
||
tristate "Innolux P079ZCA panel"
|
||
depends on OF
|
||
depends on DRM_MIPI_DSI
|
||
depends on BACKLIGHT_CLASS_DEVICE
|
||
help
|
||
Say Y here if you want to enable support for Innolux P079ZCA
|
||
TFT-LCD modules. The panel has a 1024x768 resolution and uses
|
||
24 bit RGB per pixel. It provides a MIPI DSI interface to
|
||
the host and has a built-in LED backlight.
|
||
|
||
config DRM_PANEL_JDI_LT070ME05000
|
||
tristate "JDI LT070ME05000 WUXGA DSI panel"
|
||
depends on OF
|
||
depends on DRM_MIPI_DSI
|
||
depends on BACKLIGHT_CLASS_DEVICE
|
||
help
|
||
Say Y here if you want to enable support for JDI DSI video mode
|
||
panel as found in Google Nexus 7 (2013) devices.
|
||
The panel has a 1200(RGB)×1920 (WUXGA) resolution and uses
|
||
24 bit per pixel.
|
||
|
||
config DRM_PANEL_KINGDISPLAY_KD097D04
|
||
tristate "Kingdisplay kd097d04 panel"
|
||
depends on OF
|
||
depends on DRM_MIPI_DSI
|
||
depends on BACKLIGHT_CLASS_DEVICE
|
||
help
|
||
Say Y here if you want to enable support for Kingdisplay kd097d04
|
||
TFT-LCD modules. The panel has a 1536x2048 resolution and uses
|
||
24 bit RGB per pixel. It provides a MIPI DSI interface to
|
||
the host and has a built-in LED backlight.
|
||
|
||
config DRM_PANEL_SAMSUNG_LD9040
|
||
tristate "Samsung LD9040 RGB/SPI panel"
|
||
depends on OF && SPI
|
||
select VIDEOMODE_HELPERS
|
||
|
||
config DRM_PANEL_LG_LG4573
|
||
tristate "LG4573 RGB/SPI panel"
|
||
depends on OF && SPI
|
||
select VIDEOMODE_HELPERS
|
||
help
|
||
Say Y here if you want to enable support for LG4573 RGB panel.
|
||
To compile this driver as a module, choose M here.
|
||
|
||
config DRM_PANEL_OLIMEX_LCD_OLINUXINO
|
||
tristate "Olimex LCD-OLinuXino panel"
|
||
depends on OF
|
||
depends on I2C
|
||
depends on BACKLIGHT_CLASS_DEVICE
|
||
help
|
||
The panel is used with different sizes LCDs, from 480x272 to
|
||
1280x800, and 24 bit per pixel.
|
||
|
||
Say Y here if you want to enable support for Olimex Ltd.
|
||
LCD-OLinuXino panel.
|
||
|
||
config DRM_PANEL_ORISETECH_OTM8009A
|
||
tristate "Orise Technology otm8009a 480x800 dsi 2dl panel"
|
||
depends on OF
|
||
depends on DRM_MIPI_DSI
|
||
depends on BACKLIGHT_CLASS_DEVICE
|
||
help
|
||
Say Y here if you want to enable support for Orise Technology
|
||
otm8009a 480x800 dsi 2dl panel.
|
||
|
||
config DRM_PANEL_PANASONIC_VVX10F034N00
|
||
tristate "Panasonic VVX10F034N00 1920x1200 video mode panel"
|
||
depends on OF
|
||
depends on DRM_MIPI_DSI
|
||
depends on BACKLIGHT_CLASS_DEVICE
|
||
help
|
||
Say Y here if you want to enable support for Panasonic VVX10F034N00
|
||
WUXGA (1920x1200) Novatek NT1397-based DSI panel as found in some
|
||
Xperia Z2 tablets
|
||
|
||
config DRM_PANEL_RASPBERRYPI_TOUCHSCREEN
|
||
tristate "Raspberry Pi 7-inch touchscreen panel"
|
||
depends on DRM_MIPI_DSI
|
||
help
|
||
Say Y here if you want to enable support for the Raspberry
|
||
Pi 7" Touchscreen. To compile this driver as a module,
|
||
choose M here.
|
||
|
||
config DRM_PANEL_RAYDIUM_RM68200
|
||
tristate "Raydium RM68200 720x1280 DSI video mode panel"
|
||
depends on OF
|
||
depends on DRM_MIPI_DSI
|
||
depends on BACKLIGHT_CLASS_DEVICE
|
||
help
|
||
Say Y here if you want to enable support for Raydium RM68200
|
||
720x1280 DSI video mode panel.
|
||
|
||
config DRM_PANEL_SAMSUNG_S6D16D0
|
||
tristate "Samsung S6D16D0 DSI video mode panel"
|
||
depends on OF
|
||
depends on DRM_MIPI_DSI
|
||
select VIDEOMODE_HELPERS
|
||
|
||
config DRM_PANEL_SAMSUNG_S6E3HA2
|
||
tristate "Samsung S6E3HA2 DSI video mode panel"
|
||
depends on OF
|
||
depends on DRM_MIPI_DSI
|
||
depends on BACKLIGHT_CLASS_DEVICE
|
||
select VIDEOMODE_HELPERS
|
||
|
||
config DRM_PANEL_SAMSUNG_S6E63J0X03
|
||
tristate "Samsung S6E63J0X03 DSI command mode panel"
|
||
depends on OF
|
||
depends on DRM_MIPI_DSI
|
||
depends on BACKLIGHT_CLASS_DEVICE
|
||
select VIDEOMODE_HELPERS
|
||
|
||
config DRM_PANEL_SAMSUNG_S6E8AA0
|
||
tristate "Samsung S6E8AA0 DSI video mode panel"
|
||
depends on OF
|
||
select DRM_MIPI_DSI
|
||
select VIDEOMODE_HELPERS
|
||
|
||
config DRM_PANEL_SEIKO_43WVF1G
|
||
tristate "Seiko 43WVF1G panel"
|
||
depends on OF
|
||
depends on BACKLIGHT_CLASS_DEVICE
|
||
select VIDEOMODE_HELPERS
|
||
help
|
||
Say Y here if you want to enable support for the Seiko
|
||
43WVF1G controller for 800x480 LCD panels
|
||
|
||
config DRM_PANEL_SHARP_LQ101R1SX01
|
||
tristate "Sharp LQ101R1SX01 panel"
|
||
depends on OF
|
||
depends on DRM_MIPI_DSI
|
||
depends on BACKLIGHT_CLASS_DEVICE
|
||
help
|
||
Say Y here if you want to enable support for Sharp LQ101R1SX01
|
||
TFT-LCD modules. The panel has a 2560x1600 resolution and uses
|
||
24 bit RGB per pixel. It provides a dual MIPI DSI interface to
|
||
the host and has a built-in LED backlight.
|
||
|
||
To compile this driver as a module, choose M here: the module
|
||
will be called panel-sharp-lq101r1sx01.
|
||
|
||
config DRM_PANEL_SHARP_LS043T1LE01
|
||
tristate "Sharp LS043T1LE01 qHD video mode panel"
|
||
depends on OF
|
||
depends on DRM_MIPI_DSI
|
||
depends on BACKLIGHT_CLASS_DEVICE
|
||
help
|
||
Say Y here if you want to enable support for Sharp LS043T1LE01 qHD
|
||
(540x960) DSI panel as found on the Qualcomm APQ8074 Dragonboard
|
||
|
||
config DRM_PANEL_SITRONIX_ST7701
|
||
tristate "Sitronix ST7701 panel driver"
|
||
depends on OF
|
||
depends on DRM_MIPI_DSI
|
||
depends on BACKLIGHT_CLASS_DEVICE
|
||
help
|
||
Say Y here if you want to enable support for the Sitronix
|
||
ST7701 controller for 480X864 LCD panels with MIPI/RGB/SPI
|
||
system interfaces.
|
||
|
||
config DRM_PANEL_SITRONIX_ST7789V
|
||
tristate "Sitronix ST7789V panel"
|
||
depends on OF && SPI
|
||
depends on BACKLIGHT_CLASS_DEVICE
|
||
help
|
||
Say Y here if you want to enable support for the Sitronix
|
||
ST7789V controller for 240x320 LCD panels
|
||
|
||
config DRM_PANEL_TPO_TPG110
|
||
tristate "TPO TPG 800x400 panel"
|
||
depends on OF && SPI && GPIOLIB
|
||
depends on BACKLIGHT_CLASS_DEVICE
|
||
help
|
||
Say Y here if you want to enable support for TPO TPG110
|
||
400CH LTPS TFT LCD Single Chip Digital Driver for up to
|
||
800x400 LCD panels.
|
||
|
||
config DRM_PANEL_TRULY_NT35597_WQXGA
|
||
tristate "Truly WQXGA"
|
||
depends on OF
|
||
depends on DRM_MIPI_DSI
|
||
help
|
||
Say Y here if you want to enable support for Truly NT35597 WQXGA Dual DSI
|
||
Video Mode panel
|
||
endmenu
|