Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp56093ima; Thu, 25 Oct 2018 15:22:58 -0700 (PDT) X-Google-Smtp-Source: AJdET5fanaHQ8vP+rYh0uqc4liK7qV/ESOrvF5m6kuZgDoVCSmunV+pb2KLlIZXiZ3TzlrjRV/yt X-Received: by 2002:a63:e645:: with SMTP id p5-v6mr895653pgj.218.1540506178370; Thu, 25 Oct 2018 15:22:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540506178; cv=none; d=google.com; s=arc-20160816; b=jaPNfD/lBdg5XTO5LpJD3geQkbOug8q4LjRk00xFWBRPqVNSS1Mq+kNyGCRZVci2q9 zXQxkVaJ40sEWo11HShLzUywHf036lDih5EGwOujInLVNKQ2Y/p1tH7q3lL45xCkIHVz d7v+k0ChTQwzeFlv8GwLYuol71vQsc5X9DFWZSBKCmEM/zLg3FTvOAyNsshrNAQxeLmE r4dRqe9cAwtxYLJ0iEzh/wf/+CVSwdo0thCRfleubq88DbJO9v8FEbq7Sl94y1T0aZIT I9MRtBfzn7b6KJ9ce8x6GyBooQ+gababpYbmoWXdcfQIHOo2K7mevyRzGByy5JGduKD/ RMHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=10BVyy4o/nnNTuseCYU3plL0bCCn/tw0RLzPJVkyKRc=; b=c87eGH9vaKgXHT9el07bg7vnLhH/2Mn99y0UdYUjrGE2xMbLFw7vHvwX+0DCSKqZsm wQgVmlkhq+0+6A3QAppL92jq7UYRMSmfMl2j9LzC5l0h6vAbPo48XJ1DvGRGpzgkbv3Q iuIsqanMyXZeN6t7yMneTB7nhRaT5+Einski+lGtqf9Fy1Q1VfrARquk9Pwg7+q41gOJ YESPAa8sdyu3P5ESjUyhRjTbNN6uvDCa5faB4YHaNqQm1J8xyO6zKVfR65BA8ZcGaS+/ gtWfVl8L/kkdsa5rBQ6RJYUNOHsuDwJLUNOqF0zn1d/R1BMQPFoB8iilUnCjc/lGJC1X 7k4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="H1V/+lTJ"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p10-v6si8511328plr.299.2018.10.25.15.22.41; Thu, 25 Oct 2018 15:22:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="H1V/+lTJ"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727656AbeJZG4o (ORCPT + 99 others); Fri, 26 Oct 2018 02:56:44 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:34454 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727521AbeJZG4m (ORCPT ); Fri, 26 Oct 2018 02:56:42 -0400 Received: by mail-pg1-f193.google.com with SMTP id g12-v6so4692782pgs.1 for ; Thu, 25 Oct 2018 15:22:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=10BVyy4o/nnNTuseCYU3plL0bCCn/tw0RLzPJVkyKRc=; b=H1V/+lTJrK3gkHL0ufphYEaj9kDUJRpjDlzionDcUCrYXR7w1M3yueNz9qO6Zwh0WY AvTHZlduNw6sA+bZXTwnKkvpybZxA6c5x4UUvoEQ16edaxAo5yOIHff3gEYFWAWdZ5Db xZnAYanMKM6R/ZGRiVkKDc/y+W5eY/PiOmjUw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=10BVyy4o/nnNTuseCYU3plL0bCCn/tw0RLzPJVkyKRc=; b=gSD2RtiIn7JPBJup+Z5riX3JLMGpVkA/6NqZz0r7121OqPxWvVCK3IgQwGHJCZENiD yH29Wg/xI15+W9cZCDZvhybkx5JRCIU5PUiNCvwcWWTWRyDhytyfpIcmGPYSnjrFXkZH tEPYYHYfn7RyIM5nF8SSvBwswoepnkNV9AsDKt/p8sTbTAqFIy2l9+BGgGxxA6diO7iV ugRPuTPZuSjTIdB+mxYEHw3695WjExCxfw8elEh6465jsbr2BkBiwfW3Ke4YNYYKkxAp jJcfMj9T/hVWDjrjxlXzH7P5GN3QHGDBpVi1VBSxzjDmutQmxhKkJrMJmpoPD5s4qP2s ZVTQ== X-Gm-Message-State: AGRZ1gLe/0hGse8HEOZgKeIEKaCuFLVugMDUdzKnXRJdbBDjNEuYb8Js zq13S6x2l1jbsm5RRT12VpRZam1UZHU= X-Received: by 2002:a63:455e:: with SMTP id u30-v6mr944989pgk.30.1540506134690; Thu, 25 Oct 2018 15:22:14 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:c8e0:70d7:4be7:a36]) by smtp.gmail.com with ESMTPSA id x73-v6sm19813778pfk.139.2018.10.25.15.22.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Oct 2018 15:22:13 -0700 (PDT) From: Douglas Anderson To: Sean Paul , Thierry Reding , Sandeep Panda Cc: linux-arm-msm@vger.kernel.org, Laurent Pinchart , jsanka@codeaurora.org, ryandcase@chromium.org, Douglas Anderson , David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 6/6] drm/panel: simple: Innolux TV123WAM is actually P120ZDG-BF1 Date: Thu, 25 Oct 2018 15:21:34 -0700 Message-Id: <20181025222134.174583-6-dianders@chromium.org> X-Mailer: git-send-email 2.19.1.568.g152ad8e336-goog In-Reply-To: <20181025222134.174583-1-dianders@chromium.org> References: <20181025222134.174583-1-dianders@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As far as I can tell the panel that was added in commit da50bd4258db ("drm/panel: simple: Add Innolux TV123WAM panel driver support") wasn't actually an Innolux TV123WAM but was actually an Innolux P120ZDG-BF1. As far as I can tell the Innolux TV123WAM isn't a real panel and but it's a mosh between the TI TV123WAM and the Innolux P120ZDG-BF1. Let's unmosh. Here's my evidence: * Searching for TV123WAM on the Internet turns up a TI panel. While it's possible that an Innolux panel has the same model number as the TI Panel, it seems a little doubtful. Looking up the datasheet from the TI Panel shows that it's 1920 x 1280 and 259.2 mm x 172.8 mm. * As far as I know, the patch adding the Innolux Panel was supposed to be for the board that's sitting in front of me as I type this (support for that board is not yet upstream). On the back of that panel I see Innolux P120ZDZ-EZ1 rev B1. * Someone pointed me at a datasheet that's supposed to be for the panel in front of me (sorry, I can't share the datasheet). That datasheet has the string "p120zdg-bf1" * If I search for "P120ZDG-BF1" on the Internet I get hits for panels that are 2160x1440. They don't have datasheets, but the fact that the resolution matches is a good sign. In any case, let's update the name and also the physical size to match the correct panel. Fixes: da50bd4258db ("drm/panel: simple: Add Innolux TV123WAM panel driver support") Signed-off-by: Douglas Anderson Reviewed-by: Abhinav Kumar Cc: Sandeep Panda --- Changes in v2: None drivers/gpu/drm/panel/panel-simple.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 88592f9a0018..a04ffb3b2174 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1373,7 +1373,7 @@ static const struct panel_desc innolux_n156bge_l21 = { }, }; -static const struct drm_display_mode innolux_tv123wam_mode = { +static const struct drm_display_mode innolux_p120zdg_bf1_mode = { .clock = 206016, .hdisplay = 2160, .hsync_start = 2160 + 48, @@ -1387,13 +1387,13 @@ static const struct drm_display_mode innolux_tv123wam_mode = { .flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC, }; -static const struct panel_desc innolux_tv123wam = { - .modes = &innolux_tv123wam_mode, +static const struct panel_desc innolux_p120zdg_bf1 = { + .modes = &innolux_p120zdg_bf1_mode, .num_modes = 1, .bpc = 8, .size = { - .width = 259, - .height = 173, + .width = 254, + .height = 169, }, .delay = { .hpd_absent_delay = 200, @@ -2456,8 +2456,8 @@ static const struct of_device_id platform_of_match[] = { .compatible = "innolux,n156bge-l21", .data = &innolux_n156bge_l21, }, { - .compatible = "innolux,tv123wam", - .data = &innolux_tv123wam, + .compatible = "innolux,p120zdg-bf1", + .data = &innolux_p120zdg_bf1, }, { .compatible = "innolux,zj070na-01p", .data = &innolux_zj070na_01p, -- 2.19.1.568.g152ad8e336-goog