From patchwork Wed Feb 28 10:40:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jyri Sarha X-Patchwork-Id: 129934 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp866875lja; Wed, 28 Feb 2018 02:40:57 -0800 (PST) X-Google-Smtp-Source: AH8x2257Kf/UWs+lJyu/pjbBUAsVvHdidJWbXo+5mwEO2FBOGIrUsIl2rXpPIE5HxSvXS0kABPfY X-Received: by 2002:a17:902:82c6:: with SMTP id u6-v6mr17654918plz.401.1519814457574; Wed, 28 Feb 2018 02:40:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519814457; cv=none; d=google.com; s=arc-20160816; b=mNn2y5IwjrvuH/e+UiHEPfiQDEZ3E+vbkZsu3g/00bb4BJLmOw2xtxyfLxQS5DiUNl iy5OzHRICdZC5NaioWZUoGajcAv5l9ZYYBuDBtn1Z9Y47Nv/en4ibw/G4AnF9NOFf/gu b4jNk5QockzhZcxja4VI4K2tua66O+ylIatbEgVLCf7QX2NY89lLcwUfip+3keAycgqE EfyRplCMiR9fRhjPFfocKD9lCc0JCrVZVt/sLZSsXNRVBUaE5TOO4SK+9E5bkdX9phPJ LIncVYYMWOBpUDtIOO9s+oHW5dxLQC7W4I5fw4ocdqRzJG0WhuhKePMSiT/nGymQNUPU jRWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=zqsx/+5Z4fUVpN3Xhd0dDcbpMtpomwEuid2cj6aMXuI=; b=a3/VFz2xWDxH2NzP/HqFSE7/aRHdVpdUZR+aOIOC9rhjSgwhSRjAM1ODp7RsXogCeC O3BX4oWsO+Y7U5S6wX30MTwEUypyalAVAATbp/ypLSVRuZglUZTq4k2TjAfpdXRT97tN loxgRhrTW5uiKyN13FJwBjkAbqmhp/yk7L4V8+VkecNYchVQdPf4O7zlpoba5CRapJzS QdMLY6kUH6Ub8swOcHUkbCmLwi3T+2o/7SLXEzY4MqGGho8lW+uNWZdx8mpqoSB8z3rf BmI2pXm3QFH1ZhdRvgibemmYuec2XovpypFyfo2dmx1iFu7Lrsg1JWbIVCABHeWbSMRk 4C7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=A2VzxqwX; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id 38-v6si1087646pln.397.2018.02.28.02.40.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Feb 2018 02:40:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=A2VzxqwX; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E8C806E935; Wed, 28 Feb 2018 10:40:55 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from lelnx194.ext.ti.com (lelnx194.ext.ti.com [198.47.27.80]) by gabe.freedesktop.org (Postfix) with ESMTPS id DA6B16E935 for ; Wed, 28 Feb 2018 10:40:54 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w1SAerT2029968; Wed, 28 Feb 2018 04:40:53 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1519814453; bh=GQMqizeAmzAKb46RrPUXbrPXFpBvGFZcj0YvxSHw1V0=; h=From:To:CC:Subject:Date; b=A2VzxqwXfz9dFHM+9qO4EeCEwVvrm5UzdCAlXEPwaPmnrVz7MOa1pGt4jW+XKv9uy hjBbjbdTqOggnGAqNWoMWkUOnmoyIqoVh0nB+VVY6LHmIg9yT2TlUGoSNuraR7iip5 qTu0H0tW7b1Frhd8B9WUq5RoQsUyNpO069/yHEQ4= Received: from DFLE110.ent.ti.com (dfle110.ent.ti.com [10.64.6.31]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w1SAerxd021241; Wed, 28 Feb 2018 04:40:53 -0600 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Wed, 28 Feb 2018 04:40:52 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Wed, 28 Feb 2018 04:40:52 -0600 Received: from jadmar.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w1SAeoAk011110; Wed, 28 Feb 2018 04:40:51 -0600 From: Jyri Sarha To: Subject: [PATCH v2] drm/panel: simple: Add TVC S9700RTWV43TR-01B 800x480 panel support Date: Wed, 28 Feb 2018 12:40:43 +0200 Message-ID: <1519814443-29147-1-git-send-email-jsarha@ti.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: airlied@linux.ie, tomi.valkeinen@ti.com, thierry.reding@gmail.com, Jyri Sarha Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add support for TVC S9700RTWV43TR-01B 800x480 panel found on TI's AM335X-EVM. Signed-off-by: Jyri Sarha Reviewed-by: Tomi Valkeinen --- The only change is added "Reviewed-by: Tomi Valkeinen ". Who is going to pick this up? The first version of the patch can be found here: https://lists.freedesktop.org/archives/dri-devel/2018-February/166902.html drivers/gpu/drm/panel/panel-simple.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 5591984..3b0ba9f 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1962,6 +1962,29 @@ static const struct panel_desc tpk_f10a_0102 = { }, }; +static const struct drm_display_mode tvc_s9700rtwv43tr_01b_mode = { + .clock = 3000, + .hdisplay = 800, + .hsync_start = 800 + 39, + .hsync_end = 800 + 39 + 47, + .htotal = 800 + 39 + 47 + 39, + .vdisplay = 480, + .vsync_start = 480 + 13, + .vsync_end = 480 + 13 + 2, + .vtotal = 480 + 13 + 2 + 29, + .vrefresh = 62, +}; + +static const struct panel_desc tvc_s9700rtwv43tr_01b = { + .modes = &tvc_s9700rtwv43tr_01b_mode, + .num_modes = 1, + .bpc = 8, + .size = { + .width = 155, + .height = 90, + }, +}; + static const struct display_timing urt_umsh_8596md_timing = { .pixelclock = { 33260000, 33260000, 33260000 }, .hactive = { 800, 800, 800 }, @@ -2214,6 +2237,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "tpk,f10a-0102", .data = &tpk_f10a_0102, }, { + .compatible = "tvc,s9700rtwv43tr-01b", + .data = &tvc_s9700rtwv43tr_01b, + }, { .compatible = "urt,umsh-8596md-t", .data = &urt_umsh_8596md_parallel, }, {