From patchwork Fri Sep 4 18:08:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11758349 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 39C7A13B1 for ; Fri, 4 Sep 2020 18:09:00 +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 A72202549C for ; Fri, 4 Sep 2020 18:08:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="AY5OpA7E" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A72202549C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.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 B87B26E04B; Fri, 4 Sep 2020 18:08:55 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by gabe.freedesktop.org (Postfix) with ESMTPS id 04BC96E04B for ; Fri, 4 Sep 2020 18:08:54 +0000 (UTC) Received: by mail-pl1-x644.google.com with SMTP id y6so1509617plk.10 for ; Fri, 04 Sep 2020 11:08:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Vzdf81iezfmu4wvC29MoXNkCDvJVBLYXkjv5GQ8JBzg=; b=AY5OpA7EQVxVAQ2BRX17UsK93kzal14AKuR6K16pVMKsOYoO8PkFnqa4VfSl/adDAt XJ1kq1MbD9UwAc8cTVRUKWrp8Hb49mM2XqEEwqy8vpbmhJ6sw8TLcsWbJogpfNM8eFhz OaFfs98t3oVzsTtMaiEPwPi48rdYUP/ydXtDc= 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:mime-version :content-transfer-encoding; bh=Vzdf81iezfmu4wvC29MoXNkCDvJVBLYXkjv5GQ8JBzg=; b=ag0+8axwnUYU0Y+5mmbIGQeEyu5sgeFa6s8Z5tuAx3YYr/+AZForVribk0pe6KrG0m 5fBjvw4bxzBR8S6kGdiOxVWlJu+xh2xoJeWh//tbaPY8wKqSwAYWwznt2rsBNPMlzAa4 UUc6iik5q5XvxdbmW6vFJrDhj1lOTyES3LLgPll/FJeFDK4klyuvdg61wfHjv28WCvov 3ih0ZHOEwpHOCZ9qOtXUnFVWKuRoYW8TH8m7M1bw7kUjQTxeUVNlKCaWLjuKcJGrFcLE NqEnn1sSsCOjprevCrSeZvqnn5jcSXE0G2iIEeM/3eTrRmV7Bcqyp9Yhweeqap3jPRE2 GDlQ== X-Gm-Message-State: AOAM531xQMQqUo8Sfwz80Tkl3O1iKd4/uI7mlk1OdYRcYh0mQA6sx1e9 CCgZyqt5EYriiE3ZQI/O6KAc4Q== X-Google-Smtp-Source: ABdhPJz+WOCZ/I5jjFzcU51vGXw5nkCE8i7D62RQZfF3tj0lru20q/i+6dduujH2uY1P2mruBR1a2Q== X-Received: by 2002:a17:90a:5a48:: with SMTP id m8mr9275714pji.181.1599242934113; Fri, 04 Sep 2020 11:08:54 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b9ea:24bf:6b2b:1eee]) by smtp.gmail.com with ESMTPSA id 131sm7448281pfy.5.2020.09.04.11.08.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2020 11:08:53 -0700 (PDT) From: Jagan Teki To: Thierry Reding , David Airlie , Daniel Vetter , Rob Herring Subject: [PATCH 1/3] dt-bindings: vendor-prefixes: Add Yes Optoelectronics Date: Fri, 4 Sep 2020 23:38:19 +0530 Message-Id: <20200904180821.302194-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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: devicetree@vger.kernel.org, linux-amarula@amarulasolutions.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jagan Teki , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add vendor dt-bindings for Yes Optoelectronics Co.,Ltd. Signed-off-by: Jagan Teki Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 9aeab66be85f..15a6a8e7260d 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -1167,6 +1167,8 @@ patternProperties: description: Shenzhen Xunlong Software CO.,Limited "^xylon,.*": description: Xylon + "^yes-optoelectronics,.*": + description: Yes Optoelectronics Co.,Ltd. "^yna,.*": description: YSH & ATIL "^yones-toptech,.*": From patchwork Fri Sep 4 18:08:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11758351 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 17E8292C for ; Fri, 4 Sep 2020 18:09:03 +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 CD5C5254A1 for ; Fri, 4 Sep 2020 18:09:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="XEjxaSkJ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CD5C5254A1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.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 443B66E088; Fri, 4 Sep 2020 18:08:59 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2DC846E088 for ; Fri, 4 Sep 2020 18:08:58 +0000 (UTC) Received: by mail-pf1-x442.google.com with SMTP id u128so5032377pfb.6 for ; Fri, 04 Sep 2020 11:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VR8GNVs/4QhnhespfyktUk1pNIw2OaOAjoA98mpiYlI=; b=XEjxaSkJBRR+Nw65OrveDE7+DhOIyYNNraHHcuxii2UG8l+JWdFCrP2biFNSD8SJLt iPpvc/c18znjeUqOgilXudlTLABnQxCGUa233Zz7pHeEFnFh/Ygh4hEFUPEM3OK82AlB GtyNiZFiOZX6nfJJ0FnGEnxtA1aACnAzqAeUY= 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=VR8GNVs/4QhnhespfyktUk1pNIw2OaOAjoA98mpiYlI=; b=NrlSpqtzScZtS3yVzx+3wUEdOMOYRz2I3pZYRCMtZ06kLLLtlfD+RLj60xZrDkgfEJ zJNQOme49IMYXp82vJ5IH/m0cx8ExYdlFR69jh9Vo20+ArdP8pUwIdh5Uv8NYg0FtsVP PH6+jNParoo2Hz/jWW2YPY0tO8NjV1Ckhf1KDbuvWETz/dYMc0pG9dpRl1PJ7uskNkhI OO6HFo/uYWX6iXI3JSBG3fAPmhiUwrby4vFkZ+tpdiqiLT3rtSyNHQfkX6kxH0qF1hiL ZF5PzC+62XJJ1QNKoXoaRbjKbIkM4xqf5/9UUXsV0vnduKNX3DYJwmzr+Ogw6T4Q1vLj Z48w== X-Gm-Message-State: AOAM533uflxtU/mHoVOTZjHkFrp1DBjy+tvQn2hmf3d9Tf+4vYt85XS/ J7YeLeED2U5BxiMtVJivtl392A== X-Google-Smtp-Source: ABdhPJxCodZ5I7hCe8TfVPMYqQ+obWSOHN+ol2zsrB4TMir8vNQYBz2HIJbl5PnGjUbOhMTC7eVnSQ== X-Received: by 2002:a63:5c1a:: with SMTP id q26mr8341714pgb.223.1599242937733; Fri, 04 Sep 2020 11:08:57 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b9ea:24bf:6b2b:1eee]) by smtp.gmail.com with ESMTPSA id 131sm7448281pfy.5.2020.09.04.11.08.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2020 11:08:57 -0700 (PDT) From: Jagan Teki To: Thierry Reding , David Airlie , Daniel Vetter , Rob Herring Subject: [PATCH 2/3] dt-bindings: display: simple: Add YTC700TLAG-05-201C Date: Fri, 4 Sep 2020 23:38:20 +0530 Message-Id: <20200904180821.302194-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200904180821.302194-1-jagan@amarulasolutions.com> References: <20200904180821.302194-1-jagan@amarulasolutions.com> MIME-Version: 1.0 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: devicetree@vger.kernel.org, linux-amarula@amarulasolutions.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jagan Teki , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add dt-bindings for YTC700TLAG-05-201C 7" TFT LCD panel from Yes Optoelectronics Co.,Ltd. Signed-off-by: Jagan Teki Acked-by: Rob Herring --- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml index f629d04f7737..3e12b32897e0 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -268,6 +268,8 @@ properties: - vxt,vl050-8048nt-c01 # Winstar Display Corporation 3.5" QVGA (320x240) TFT LCD panel - winstar,wf35ltiacd + # Yes Optoelectronics YTC700TLAG-05-201C 7" TFT LCD panel + - yes-optoelectronics,ytc700tlag-05-201c backlight: true enable-gpios: true From patchwork Fri Sep 4 18:08:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11758353 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 5193613B1 for ; Fri, 4 Sep 2020 18:09:05 +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 10880254A0 for ; Fri, 4 Sep 2020 18:09:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="IHef9VrW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 10880254A0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.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 ABDF86E092; Fri, 4 Sep 2020 18:09:02 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by gabe.freedesktop.org (Postfix) with ESMTPS id E13056E092 for ; Fri, 4 Sep 2020 18:09:01 +0000 (UTC) Received: by mail-pg1-x541.google.com with SMTP id v15so4723638pgh.6 for ; Fri, 04 Sep 2020 11:09:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IF4hZRilImi4GxcYV7qEP7KPFRG9zaXJ3kKDrwVOQs4=; b=IHef9VrWxwXnNg13BXyKnAQivvkeN+lXiPl4dz8j2xcTf6cDy2iA4NyhW5KSHDXL57 ZDKNOPOGC7eZc0a5p4KBydw1He+hnLV89apGSLi8zJ4u/AkiQESxZpmxkYApIeMHybjP 30H+4nB698PbsR82NQhxo6opiAD6tJ9MJNxnw= 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=IF4hZRilImi4GxcYV7qEP7KPFRG9zaXJ3kKDrwVOQs4=; b=H/EwkqWAMTdzsXr0NgrmSoeoMRD6iycXO2xM14ca0rjXcUb9v9CTdwt0cLWDC5x7fJ RGWEm4CV1Nk09DyPIs/kBjWygaehzXFtyNA35v9yJMvu5KBWjXAuSRyM3mZadT/rywiV DLPPikIERUDdKDLTOmJqmHL1tq6ln7oVfo9FNql03y11sfk0kebMypDhkD0TSdvfA3EJ +lH8klwR5IkQZ59NYfqOTsdks41zlQzUjgJrjynOD7szL6/6Wf1oOzSfPtP9AEArDkK1 aQ4UjDi6PhLDrc78vkdUlxbvtxmjZqSrBN7sm11ZsT77QcGwyGAVhjW/SONFJcdGvR+t vQ7A== X-Gm-Message-State: AOAM530Z6VqHfUpEBG9ZyNNSCf0xjBUIMTHym7slEmOyK5+Q5S7h6W4U FrQvj15TkVkFOOv9EsxWHNx+4dI7j6ruxg== X-Google-Smtp-Source: ABdhPJwV7R5MJBq0lY0RQvR78do2fecNytmePNDLyXB9T9y/8s9S7ztIMlIbQ2EGqdfi0qbtKjwtcw== X-Received: by 2002:a63:dd0f:: with SMTP id t15mr6923191pgg.123.1599242941476; Fri, 04 Sep 2020 11:09:01 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b9ea:24bf:6b2b:1eee]) by smtp.gmail.com with ESMTPSA id 131sm7448281pfy.5.2020.09.04.11.08.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2020 11:09:00 -0700 (PDT) From: Jagan Teki To: Thierry Reding , David Airlie , Daniel Vetter , Rob Herring Subject: [PATCH 3/3] drm/panel: simple: Add YTC700TLAG-05-201C Date: Fri, 4 Sep 2020 23:38:21 +0530 Message-Id: <20200904180821.302194-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200904180821.302194-1-jagan@amarulasolutions.com> References: <20200904180821.302194-1-jagan@amarulasolutions.com> MIME-Version: 1.0 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: devicetree@vger.kernel.org, linux-amarula@amarulasolutions.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jagan Teki , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add panel timings for YTC700TLAG-05-201C 7" TFT LCD panel from Yes Optoelectronics Co.,Ltd. Signed-off-by: Jagan Teki --- drivers/gpu/drm/panel/panel-simple.c | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index b106142b11ca..9ca9a6b2ebc1 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -3634,6 +3634,32 @@ static const struct panel_desc winstar_wf35ltiacd = { .bus_format = MEDIA_BUS_FMT_RGB888_1X24, }; +static const struct drm_display_mode yes_optoelectronics_ytc700tlag_05_201c_mode = { + .clock = 51200, + .hdisplay = 1024, + .hsync_start = 1024 + 100, + .hsync_end = 1024 + 100 + 100, + .htotal = 1024 + 100 + 100 + 120, + .vdisplay = 600, + .vsync_start = 600 + 10, + .vsync_end = 600 + 10 + 10, + .vtotal = 600 + 10 + 10 + 15, + .flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC, +}; + +static const struct panel_desc yes_optoelectronics_ytc700tlag_05_201c = { + .modes = &yes_optoelectronics_ytc700tlag_05_201c_mode, + .num_modes = 1, + .bpc = 6, + .size = { + .width = 154, + .height = 90, + }, + .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 arm_rtsm_mode[] = { { .clock = 65000, @@ -4040,6 +4066,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "winstar,wf35ltiacd", .data = &winstar_wf35ltiacd, + }, { + .compatible = "yes-optoelectronics,ytc700tlag-05-201c", + .data = &yes_optoelectronics_ytc700tlag_05_201c, }, { /* Must be the last entry */ .compatible = "panel-dpi",