Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp351399img; Tue, 26 Feb 2019 00:56:23 -0800 (PST) X-Google-Smtp-Source: AHgI3IapJh7i2Eyw7Aaxoa+uO9/F1cVoa4NHUUman/qczNJFXHjMoVciKi4oOciD+rGj5BQ/IvQ4 X-Received: by 2002:a17:902:ba8c:: with SMTP id k12mr5591747pls.193.1551171383156; Tue, 26 Feb 2019 00:56:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551171383; cv=none; d=google.com; s=arc-20160816; b=S3AjSZd7p5RF9tWbH5W0vwm8iWNxFdTWR9r+CuoZhe9SL1qioT5QBKcVJsi9NEymR8 hrQ63JDRF9pB/z46rV1FaVg6mdIeqOt4ZWQqOEmQOQ7dFA5uazIZwdzJ/R29OiI7RB0X wbJsMmvGuifLjXv18yJd013PDVv91um0tYtklRA+/Kb9xgcWq9LV71jlhyYRoQtGeXsk rPboC+Y6bM9pPF0rLWTiDi7pfCcnErCkIg3/GvvkViPCEiZNUFtzyIzF2zfGbQuxsYrg D/elVBCVR7v7EWjocht5CNFzHl6S7Vz5NSTfpWHV5Nyvli8kkcRdNC4klNJREzMgiYY2 EJCQ== 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=Heq/wSBrQJCiPS8kR7vvgEBFhI0/FXdakJo2OBjLoMI=; b=iHmCZUe+9QecHdycH14NR+BKbBUxCutUDA8HVaUF1eixMIj109fV1yt+bSeyNT8ya1 taR+WRajHFUBiHKJ2YHeDAMFh53/qQyXk+86OKQyo7nF0qaBNefpomG4pcbMCEIH28qe cvGigWepCU8EbQ/LN0tIlVv7zG/GtXey1beN2IfQkH93YMJQV2KpYMr30RWW2b0s67uX d+5XGhA98iErP6b5xlvcxZMvU+RtFevbGoxc2jijoykgSOSzJVaYPKMon0vPQ6xyFeEo gRSjvTaRKq73t3L+wgrmDHUs83nHVpRjxsmqCwiFVkDHvJeYMxUuwSJohleuVXAbZHUe vJaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Rc4pNIB4; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w13si8231138pgj.177.2019.02.26.00.56.07; Tue, 26 Feb 2019 00:56:23 -0800 (PST) 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=@ti.com header.s=ti-com-17Q1 header.b=Rc4pNIB4; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727314AbfBZIzP (ORCPT + 99 others); Tue, 26 Feb 2019 03:55:15 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:49598 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725977AbfBZIzP (ORCPT ); Tue, 26 Feb 2019 03:55:15 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x1Q7swZv008674; Tue, 26 Feb 2019 01:54:58 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1551167698; bh=Heq/wSBrQJCiPS8kR7vvgEBFhI0/FXdakJo2OBjLoMI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Rc4pNIB41hTbYhD6BOdOIlQQHrpEACfvrWmQr58iROYdjn25ZsSF/edV9mgC8iewk 7SHQ5NZPop5kZ8ZAsLFLDqKCoppdcJb59iVeY35FhOj32RENLmXr2wpxUqRDSzpUwA 2ZoM5Q1LAsD/QDOEMOfRM8wVr7tREBP19E9ibBSk= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x1Q7swtw084262 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 26 Feb 2019 01:54:58 -0600 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Tue, 26 Feb 2019 01:54:57 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Tue, 26 Feb 2019 01:54:57 -0600 Received: from feketebors.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 x1Q7soqn016249; Tue, 26 Feb 2019 01:54:55 -0600 From: Peter Ujfalusi To: , , CC: , , , , , Subject: [PATCH v3 2/4] drm/panel: simple: Add support for OSD101T2045-53TS Date: Tue, 26 Feb 2019 09:55:21 +0200 Message-ID: <20190226075523.28997-3-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190226075523.28997-1-peter.ujfalusi@ti.com> References: <20190226075523.28997-1-peter.ujfalusi@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for the OSD101T2045-53TS 10.1" 1920x1200 panel from One Stop Displays to the panel-simple driver Signed-off-by: Peter Ujfalusi --- drivers/gpu/drm/panel/panel-simple.c | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 9e8218f6a3f2..0337583ffa49 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2996,6 +2996,37 @@ static const struct panel_desc_dsi panasonic_vvx10f004b00 = { .lanes = 4, }; +static const struct drm_display_mode osd101t2045_53ts_mode = { + .clock = 154500, + .hdisplay = 1920, + .hsync_start = 1920 + 112, + .hsync_end = 1920 + 112 + 16, + .htotal = 1920 + 112 + 16 + 32, + .vdisplay = 1200, + .vsync_start = 1200 + 16, + .vsync_end = 1200 + 16 + 2, + .vtotal = 1200 + 16 + 2 + 16, + .vrefresh = 60, + .flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC, +}; + +static const struct panel_desc_dsi osd101t2045_53ts = { + .desc = { + .modes = &osd101t2045_53ts_mode, + .num_modes = 1, + .bpc = 8, + .size = { + .width = 217, + .height = 136, + }, + }, + .flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | + MIPI_DSI_MODE_VIDEO_SYNC_PULSE | + MIPI_DSI_MODE_EOT_PACKET, + .format = MIPI_DSI_FMT_RGB888, + .lanes = 4, +}; + static const struct of_device_id dsi_of_match[] = { { .compatible = "auo,b080uan01", @@ -3012,6 +3043,9 @@ static const struct of_device_id dsi_of_match[] = { }, { .compatible = "panasonic,vvx10f004b00", .data = &panasonic_vvx10f004b00 + }, { + .compatible = "osd,osd101t2045-53ts", + .data = &osd101t2045_53ts }, { /* sentinel */ } -- Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki