From patchwork Sun Jun 21 22:27:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 11617031 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3B459138C for ; Mon, 22 Jun 2020 07:08:21 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1A35624954 for ; Mon, 22 Jun 2020 07:08:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="XHUShlUy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1A35624954 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C338A6E239; Mon, 22 Jun 2020 07:07:49 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by gabe.freedesktop.org (Postfix) with ESMTPS id D17C289E8C for ; Sun, 21 Jun 2020 22:28:05 +0000 (UTC) Received: by mail-lf1-x141.google.com with SMTP id t74so8516165lff.2 for ; Sun, 21 Jun 2020 15:28:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YGMVc7fYIskRhRxhgb+o8TAVuUeppcTSMbztCWrU0FY=; b=XHUShlUyPVq6qda8TU0xvOi8y2O9qsu0OR5kZtu2ADHQW4UmcHOkVG7+0R3wzTFYpH k/VCTFtLYqfo0TlPctn7IS/Q9Tg5CIyrN4GAGoI5d5Oh+mUDgWkCrLjnXJyC1SRuNhTY XZTXHhQJER/TUvPJtwP92g56QbRHuViCmbjQBIXRfUDzY3FQC5hPCluIP28Dlz7/Oa0/ os3SaBzqwKWUXf/L3uEryuRIWyxGc2rr8t1c7O4rjoRZPbS87aowsbd/NzOb43eKI7Qn N8GQVlhLbAOCwIrKR2rkL0czj4VRCGV5+PhvZ1fEtev635KVbOR+QqvSX2y1tAdW1AAp PqKw== 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=YGMVc7fYIskRhRxhgb+o8TAVuUeppcTSMbztCWrU0FY=; b=ixH4NeiIk//qKizZAi6Ex6pQdrOFCxdaX2kyJGyIrd9kSTn614j7q8dohs9fUDrOGi 07+TEF8rAxaLpi/iGe/I/oXoPJ3K8eLYRzfXTdjEiZsWqYp+vmdToru9f+sYf3fU1UZV IjPF70Jw07mFK6xVCz3qE5vE+KjR9eMW6Q2PcYHAM5Iy+bDJSvmpSh3d1JW8fm8NncPP sq5zte++eSGnKyF5d1UO4hjAW7Y1fiQCDNXgmB7p8YR/fvl24hylTC8LxuBwsreSkS/G MUSJnXsvO2bn+zRJxWQI+JZQ0A/iAlVHgRmSKrsnC8cM2eyrZfMvhe8TCKNuqPiu7p1h VUHg== X-Gm-Message-State: AOAM533KsDjY5RKQx5gtX6M96Z03il/Qilf1+bowrlT9rzgnoN//f8qF pPk8dO7Nqq8sWEbTrxu6Gsc= X-Google-Smtp-Source: ABdhPJzDyKEijm/9WLODmqHtoi1wGcYSZF1ETm3VkOk7VWhQgi4MgfCFWtWz/0PrAWYB4ocjZrQynQ== X-Received: by 2002:a19:e93:: with SMTP id 141mr8072563lfo.107.1592778484128; Sun, 21 Jun 2020 15:28:04 -0700 (PDT) Received: from localhost.localdomain (79-139-237-54.dynamic.spd-mgts.ru. [79.139.237.54]) by smtp.gmail.com with ESMTPSA id 11sm2361295lju.118.2020.06.21.15.28.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jun 2020 15:28:03 -0700 (PDT) From: Dmitry Osipenko To: Thierry Reding , Sam Ravnborg , Laurent Pinchart Subject: [PATCH v1 1/2] drm/panel-simple: Correct EDT ET057090DHU connector type Date: Mon, 22 Jun 2020 01:27:41 +0300 Message-Id: <20200621222742.25695-2-digetx@gmail.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200621222742.25695-1-digetx@gmail.com> References: <20200621222742.25695-1-digetx@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 22 Jun 2020 07:07:47 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The EDT ET057090DHU panel has a DPI connector and not LVDS. This patch corrects the panel's description. Reported-by: Laurent Pinchart Fixes: 94f07917ebe8 ("drm/panel-simple: Add missing connector type for some panels") Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/panel/panel-simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index ea6973d5cf54..87edd2bdf09a 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1588,7 +1588,7 @@ static const struct panel_desc edt_et057090dhu = { }, .bus_format = MEDIA_BUS_FMT_RGB666_1X18, .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE, - .connector_type = DRM_MODE_CONNECTOR_LVDS, + .connector_type = DRM_MODE_CONNECTOR_DPI, }; static const struct drm_display_mode edt_etm0700g0dh6_mode = { From patchwork Sun Jun 21 22:27:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 11617033 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 812C1138C for ; Mon, 22 Jun 2020 07:08:22 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5FF7C24954 for ; Mon, 22 Jun 2020 07:08:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iYjGmbgb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5FF7C24954 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B81636E30C; Mon, 22 Jun 2020 07:07:50 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9A4CD89E8C for ; Sun, 21 Jun 2020 22:28:06 +0000 (UTC) Received: by mail-lf1-x142.google.com with SMTP id d7so8487199lfi.12 for ; Sun, 21 Jun 2020 15:28:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3gpWZvRfCvlHf7NtxX+3427d5thggZdJwdjj+htiUY4=; b=iYjGmbgbU5QQOVUlQlQWv4yfAS1JWsQPDOc/qaef/ipp10YQTroEhWpINX3UFQT0zJ ej3eXlmW6YzhDbFBIpiPSUXjnQ29a7rMfWPy+091pK5hKK00rKGN/+PVjsgGW21PFzfs CUXRcmVK7MVjE+Z7Z5/UCgX63yeryFgsoDNQehkJ1AiahFi/NXzQoOFGXxQJrWGtFd0l DuIoy/18NLVznVE1SAjd9HU1Lu4hepJMJoV0JwG1k1vxdp7sR1iKd+FK3e6YWr85BnCA K3cKaILKbp0HZHcp4wK791gtGBlhTjn05e9oioXiV4fZ9Q+aufiFGBb9bUlatKWNbuw9 ebLQ== 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=3gpWZvRfCvlHf7NtxX+3427d5thggZdJwdjj+htiUY4=; b=A2bYrdYEfoJaaWD2yKqfjrSTw1W/hlsZY4oyefTN8m9R56B78Cez4Qfb5oxMQ95Bl0 S1lsiZy3GWS1ZntXrSEiwcIPqwcLUiOFaNNIpy1HTzmqp5PQD1X0EhbdEmoVzumf52et pfIB+kDIaE9fmtQTPbeCmmkhWo5Sl8jgWsk+qP8wUMWu59T3R0V/P3VWRFUtkt9UQGfy UROE/pACJ+QjjJmfrbnCg/odnB1SGbGFvCLnE4QqMRR0LbJeho2XfJdG14EgLpCsZxsu q4TI1E2Rp6Vy8VBLx/6g9OKczeTFMfSSWmdrAOOFofizpyNg71kJcEhah/jxtPH3WgD1 BkmQ== X-Gm-Message-State: AOAM532IJtgn4PEfhdPrRbfyViYPZmppDd7qzjt3kM74+SXPTXNImU9g n52dqHPWtXlgyLJu87ubmJ0= X-Google-Smtp-Source: ABdhPJxx90OzdENre2w/gS/55wOw8HSAbFai550KDVjSfFoglYrYNACk/U9n3Jr+2bVByFIJxWOj6w== X-Received: by 2002:a19:87c2:: with SMTP id j185mr7700444lfd.183.1592778485052; Sun, 21 Jun 2020 15:28:05 -0700 (PDT) Received: from localhost.localdomain (79-139-237-54.dynamic.spd-mgts.ru. [79.139.237.54]) by smtp.gmail.com with ESMTPSA id 11sm2361295lju.118.2020.06.21.15.28.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jun 2020 15:28:04 -0700 (PDT) From: Dmitry Osipenko To: Thierry Reding , Sam Ravnborg , Laurent Pinchart Subject: [PATCH v1 2/2] drm/panel-simple: Add missing BUS descriptions for some panels Date: Mon, 22 Jun 2020 01:27:42 +0300 Message-Id: <20200621222742.25695-3-digetx@gmail.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200621222742.25695-1-digetx@gmail.com> References: <20200621222742.25695-1-digetx@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 22 Jun 2020 07:07:47 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This patch adds missing BUS fields to the display panel descriptions of the panels which are found on NVIDIA Tegra devices: 1. AUO B101AW03 2. Chunghwa CLAA070WP03XG 3. Chunghwa CLAA101WA01A 4. Chunghwa CLAA101WB01 5. Innolux N156BGE L21 6. Samsung LTN101NT05 Suggested-by: Laurent Pinchart Signed-off-by: Dmitry Osipenko Reviewed-by: Laurent Pinchart --- drivers/gpu/drm/panel/panel-simple.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 87edd2bdf09a..986df9937650 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -698,6 +698,8 @@ static const struct panel_desc auo_b101aw03 = { .width = 223, .height = 125, }, + .bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG, + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE, .connector_type = DRM_MODE_CONNECTOR_LVDS, }; @@ -1352,6 +1354,8 @@ static const struct panel_desc chunghwa_claa070wp03xg = { .width = 94, .height = 150, }, + .bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG, + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE, .connector_type = DRM_MODE_CONNECTOR_LVDS, }; @@ -1375,6 +1379,8 @@ static const struct panel_desc chunghwa_claa101wa01a = { .width = 220, .height = 120, }, + .bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG, + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE, .connector_type = DRM_MODE_CONNECTOR_LVDS, }; @@ -1398,6 +1404,8 @@ static const struct panel_desc chunghwa_claa101wb01 = { .width = 223, .height = 125, }, + .bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG, + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE, .connector_type = DRM_MODE_CONNECTOR_LVDS, }; @@ -2071,6 +2079,8 @@ static const struct panel_desc innolux_n156bge_l21 = { .width = 344, .height = 193, }, + .bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG, + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE, .connector_type = DRM_MODE_CONNECTOR_LVDS, }; @@ -3018,6 +3028,8 @@ static const struct panel_desc samsung_ltn101nt05 = { .width = 223, .height = 125, }, + .bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG, + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE, .connector_type = DRM_MODE_CONNECTOR_LVDS, };