History

drm/panel: simple: Add support for Starry KR122EA0SRA panel

The Starry KR122EA0SRA is a 12.2", 1920x1200 TFT-LCD panel connected using eDP interfaces. EDID shows: Detailed mode: Clock 147.000 MHz, 263 mm x 164 mm 1920 1936 1952 1984 hborder 0 1200 1215 1217 1235 vborder 0 -hsync -vsync Manufacturer-specified data, tag 15 ASCII string: STARRY ASCII string: KR122EA0SRA

Douglas Anderson committed 10 years ago

Commit 9bb34c41 parent 02d56851 file · +26 −0Browse files

Unified · Split

drivers/gpu/drm/panel/panel-simple.c+26−0
@@ -1409,6 +1409,29 @@ static const struct panel_desc shelly_sca07010_bfn_lnn = { · 1408 unmodified lines
14091409 .bus_format = MEDIA_BUS_FMT_RGB666_1X18,
14101410 };
14111411
1412+static const struct drm_display_mode starry_kr122ea0sra_mode = {
1413+ .clock = 147000,
1414+ .hdisplay = 1920,
1415+ .hsync_start = 1920 + 16,
1416+ .hsync_end = 1920 + 16 + 16,
1417+ .htotal = 1920 + 16 + 16 + 32,
1418+ .vdisplay = 1200,
1419+ .vsync_start = 1200 + 15,
1420+ .vsync_end = 1200 + 15 + 2,
1421+ .vtotal = 1200 + 15 + 2 + 18,
1422+ .vrefresh = 60,
1423+ .flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC,
1424+};
1425+
1426+static const struct panel_desc starry_kr122ea0sra = {
1427+ .modes = &starry_kr122ea0sra_mode,
1428+ .num_modes = 1,
1429+ .size = {
1430+ .width = 263,
1431+ .height = 164,
1432+ },
1433+};
1434+
14121435 static const struct drm_display_mode tpk_f07a_0102_mode = {
14131436 .clock = 33260,
14141437 .hdisplay = 800,
@@ -1620,6 +1643,9 @@ static const struct of_device_id platform_of_match[] = { · 205 unmodified lines
16201643 }, {
16211644 .compatible = "shelly,sca07010-bfn-lnn",
16221645 .data = &shelly_sca07010_bfn_lnn,
1646+ }, {
1647+ .compatible = "starry,kr122ea0sra",
1648+ .data = &starry_kr122ea0sra,
16231649 }, {
16241650 .compatible = "tpk,f07a-0102",
16251651 .data = &tpk_f07a_0102,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t