From: Jyri Sarha <jsarha@ti.com> To: dri-devel@lists.freedesktop.org Cc: tomi.valkeinen@ti.com, thierry.reding@gmail.com Subject: [PATCH 2/2] drm/panel: simple: Add Rocktech RK101II01D-CT panel Date: Thu, 28 Nov 2019 18:45:47 +0200 [thread overview] Message-ID: <b2b1d0c9cfab12012a9e63630a0659389529d5d5.1574959312.git.jsarha@ti.com> (raw) In-Reply-To: <cover.1574959312.git.jsarha@ti.com> Add support for Rocktech RK101II01D-CT, 10.1" 1280x800 TFT with LVDS interface, LED backlight and integrated Goodix GT928 capacitive touch panel. Signed-off-by: Jyri Sarha <jsarha@ti.com> --- drivers/gpu/drm/panel/panel-simple.c | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 5d487686d25c..489e217102ea 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2479,6 +2479,35 @@ static const struct panel_desc rocktech_rk070er9427 = { .bus_format = MEDIA_BUS_FMT_RGB666_1X18, }; +static const struct drm_display_mode rocktech_rk101ii01d_ct_mode = { + .clock = 71100, + .hdisplay = 1280, + .hsync_start = 1280 + 48, + .hsync_end = 1280 + 48 + 32, + .htotal = 1280 + 48 + 32 + 80, + .vdisplay = 800, + .vsync_start = 800 + 2, + .vsync_end = 800 + 2 + 5, + .vtotal = 800 + 2 + 5 + 16, + .vrefresh = 60, +}; + +static const struct panel_desc rocktech_rk101ii01d_ct = { + .modes = &rocktech_rk101ii01d_ct_mode, + .num_modes = 1, + .size = { + .width = 217, + .height = 136, + }, + .delay = { + .prepare = 50, + .disable = 50, + }, + .bus_flags = DRM_BUS_FLAG_DE_HIGH, + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, + .connector_type = DRM_MODE_CONNECTOR_LVDS, +}; + static const struct drm_display_mode samsung_lsn122dl01_c01_mode = { .clock = 271560, .hdisplay = 2560, @@ -3338,6 +3367,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "rocktech,rk070er9427", .data = &rocktech_rk070er9427, + }, { + .compatible = "rocktech,rk101ii01d-ct", + .data = &rocktech_rk101ii01d_ct, }, { .compatible = "samsung,lsn122dl01-c01", .data = &samsung_lsn122dl01_c01, -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
WARNING: multiple messages have this Message-ID (diff)
From: Jyri Sarha <jsarha@ti.com> To: <dri-devel@lists.freedesktop.org> Cc: tomi.valkeinen@ti.com, thierry.reding@gmail.com Subject: [PATCH 2/2] drm/panel: simple: Add Rocktech RK101II01D-CT panel Date: Thu, 28 Nov 2019 18:45:47 +0200 [thread overview] Message-ID: <b2b1d0c9cfab12012a9e63630a0659389529d5d5.1574959312.git.jsarha@ti.com> (raw) Message-ID: <20191128164547.T3-_DrVRW6_knW3F34zG5bW58yqMrhUFHay7SzwBIc8@z> (raw) In-Reply-To: <cover.1574959312.git.jsarha@ti.com> Add support for Rocktech RK101II01D-CT, 10.1" 1280x800 TFT with LVDS interface, LED backlight and integrated Goodix GT928 capacitive touch panel. Signed-off-by: Jyri Sarha <jsarha@ti.com> --- drivers/gpu/drm/panel/panel-simple.c | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 5d487686d25c..489e217102ea 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2479,6 +2479,35 @@ static const struct panel_desc rocktech_rk070er9427 = { .bus_format = MEDIA_BUS_FMT_RGB666_1X18, }; +static const struct drm_display_mode rocktech_rk101ii01d_ct_mode = { + .clock = 71100, + .hdisplay = 1280, + .hsync_start = 1280 + 48, + .hsync_end = 1280 + 48 + 32, + .htotal = 1280 + 48 + 32 + 80, + .vdisplay = 800, + .vsync_start = 800 + 2, + .vsync_end = 800 + 2 + 5, + .vtotal = 800 + 2 + 5 + 16, + .vrefresh = 60, +}; + +static const struct panel_desc rocktech_rk101ii01d_ct = { + .modes = &rocktech_rk101ii01d_ct_mode, + .num_modes = 1, + .size = { + .width = 217, + .height = 136, + }, + .delay = { + .prepare = 50, + .disable = 50, + }, + .bus_flags = DRM_BUS_FLAG_DE_HIGH, + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, + .connector_type = DRM_MODE_CONNECTOR_LVDS, +}; + static const struct drm_display_mode samsung_lsn122dl01_c01_mode = { .clock = 271560, .hdisplay = 2560, @@ -3338,6 +3367,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "rocktech,rk070er9427", .data = &rocktech_rk070er9427, + }, { + .compatible = "rocktech,rk101ii01d-ct", + .data = &rocktech_rk101ii01d_ct, }, { .compatible = "samsung,lsn122dl01-c01", .data = &samsung_lsn122dl01_c01, -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2019-11-28 16:45 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-11-28 16:44 [PATCH 0/2] drm/panel: simple: Rocktech RK101II01D-CT + binding Jyri Sarha 2019-11-28 16:44 ` Jyri Sarha 2019-11-28 16:45 ` [PATCH 1/2] dt-bindings: display: DT schema for rocktech,rk101ii01d-ct panel Jyri Sarha 2019-11-28 16:45 ` [PATCH 1/2] dt-bindings: display: DT schema for rocktech, rk101ii01d-ct panel Jyri Sarha 2019-11-28 16:45 ` Jyri Sarha 2019-11-28 17:23 ` [PATCH 1/2] dt-bindings: display: DT schema for rocktech,rk101ii01d-ct panel Jyri Sarha 2019-11-28 17:23 ` Jyri Sarha 2019-11-28 17:23 ` Jyri Sarha 2019-11-28 16:45 ` Jyri Sarha [this message] 2019-11-28 16:45 ` [PATCH 2/2] drm/panel: simple: Add Rocktech RK101II01D-CT panel Jyri Sarha 2019-12-04 20:25 ` Tomi Valkeinen
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=b2b1d0c9cfab12012a9e63630a0659389529d5d5.1574959312.git.jsarha@ti.com \ --to=jsarha@ti.com \ --cc=dri-devel@lists.freedesktop.org \ --cc=thierry.reding@gmail.com \ --cc=tomi.valkeinen@ti.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.