From patchwork Thu Mar 24 18:13:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 12790963 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 249C8C433F5 for ; Thu, 24 Mar 2022 18:13:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3351910E204; Thu, 24 Mar 2022 18:13:59 +0000 (UTC) Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by gabe.freedesktop.org (Postfix) with ESMTPS id E42B710E193 for ; Thu, 24 Mar 2022 18:13:57 +0000 (UTC) Received: by mail-pl1-x635.google.com with SMTP id i11so5616003plr.1 for ; Thu, 24 Mar 2022 11:13:57 -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:mime-version :content-transfer-encoding; bh=HHPqncxkqirx9UajzpUXlOLkpGtduK2UPDvTzwuMyCs=; b=iOtzSX+H9de688dVz/qNPuCWiXSV1D4QI1YkVp7rX5G38Jzz3geU3YB9dCZe/FpLqJ zKEU5m8vdHwXvx+Ns0LzB5WzUJgIHmwybUdgFyB3SM/biVNEYi2xmOUy5x1R3+e5bepU Brk9DElK3dy4e6ZO2mzmOJl3nYzF8D/3yF35M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HHPqncxkqirx9UajzpUXlOLkpGtduK2UPDvTzwuMyCs=; b=kMNBfTyKO24vvSf3+7E4lErpJ2+fZRepe3JBoNIxdeODarI0WY9K4YgMQFErOHYQX2 ZZ4AHFUxNZvm+Kxu0VXAkOwE4HOYLFRftmHt3tx0+t5JXjX7ZdJaUW1+JIsOKkCZeeoY fAl9jnv3LxuBfboha9fG8pqmtMcTCy960FXPRDGALDScNCSVc9bHk2Bmjc/RqyQVGMct futVDvHaipHsEUhlkLzV6f5nLu9ZNz8jtFzr3TPb78ItenoDo773RImB1N0eGSD+M3gV uFUKyGN1JTdRG4mytefIX7xiqtPReowiLeLg2buIAFmN1LLUO4SBCVtcztNmWZFvvOBX 3XCQ== X-Gm-Message-State: AOAM530lBCG5hHRtPCkI33TCs7BMwodzrxC/SdsuNyGdpKtkdrGq+X9b LH049t34rdBeStdLlTdUbSlB+g== X-Google-Smtp-Source: ABdhPJxewwppL8AGwnT6G0Q+WCq1TVWp2U7l0C+hU5Wl0eQUF98UycSVVL480aPn/bAE4kIdTdySnA== X-Received: by 2002:a17:90a:9294:b0:1b9:48e9:a030 with SMTP id n20-20020a17090a929400b001b948e9a030mr19671566pjo.200.1648145637432; Thu, 24 Mar 2022 11:13:57 -0700 (PDT) Received: from localhost ([2620:15c:202:201:690f:642:3ebe:c89d]) by smtp.gmail.com with UTF8SMTPSA id w6-20020a17090a460600b001bf355e964fsm9913554pjg.0.2022.03.24.11.13.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 24 Mar 2022 11:13:57 -0700 (PDT) From: Matthias Kaehlcke To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring Subject: [PATCH 1/2] dt-bindings: display: simple: Add AUO B133UAN01 panel Date: Thu, 24 Mar 2022 11:13:51 -0700 Message-Id: <20220324111335.1.I1131d63cbefbfa9ff107a284e2e51f880c5bf7c8@changeid> X-Mailer: git-send-email 2.35.1.1021.g381101b075-goog 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, Matthias Kaehlcke , Douglas Anderson , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add binding for the AUO B133UAN01 panel. It is 13.3" TFT LCD panel with WUXGA (1920x1200) resolution. Signed-off-by: Matthias Kaehlcke --- .../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 1eb9dd4f8f58..e5cd45c81d02 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -49,6 +49,8 @@ properties: - auo,b133han05 # AU Optronics Corporation 13.3" FHD (1920x1080) color TFT-LCD panel - auo,b133htn01 + # AU Optronics Corporation 13.3" WUXGA (1920x1200) color TFT-LCD panel + - auo,b133uan01 # AU Optronics Corporation 13.3" WXGA (1366x768) TFT LCD panel - auo,b133xtn01 # AU Optronics Corporation 14.0" FHD (1920x1080) color TFT-LCD panel From patchwork Thu Mar 24 18:13:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 12790964 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 6930DC433FE for ; Thu, 24 Mar 2022 18:14:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9A1E810E193; Thu, 24 Mar 2022 18:14:03 +0000 (UTC) Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by gabe.freedesktop.org (Postfix) with ESMTPS id B87F310E217 for ; Thu, 24 Mar 2022 18:13:59 +0000 (UTC) Received: by mail-pl1-x629.google.com with SMTP id i11so5616084plr.1 for ; Thu, 24 Mar 2022 11:13:59 -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=DqE74bYvnQjtQl1h8zT8Qxi0bYFi9X6KwVw8BvoUs9k=; b=iqvGHLpjcwYMzNRonyEnyQfKAXmVSknoFJsSf8mHI6KfwPUUubkVp6+0N3uICMLNn+ XJnADWqioKWUsis+Apv5BoLNBqh0Bz+q5LBYru9hEvx+XbYZIMxOPmjiBh7QuJkCEXYu rgutDgqGlwMxI/K5n3MOLZxT0Cg0ulMtf9tCI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DqE74bYvnQjtQl1h8zT8Qxi0bYFi9X6KwVw8BvoUs9k=; b=W55wIPH6IfmePwZvy4xl0a7H4LJhhevljGS4d3qs/PL3lydvsfGd5XyxKejJqh4ycR Izi6ZZAfwTS13JfM3Bsy4IYzN2iiuMt1iCIQgHAKYRAWDlFJsisl/syW9vv2ZQIFL6O2 uI4IS/NZ/J5KS16HNaMWOJ2alIyWtQEvmdbBU8BmqriexP+584ovPCBYLLabAqWQPmXL dFaYRLD2yV0nGk0qnbedVP9iFV4a6avFhTh++368v2V8LxCh3vp2fN2GqS3/b5PCWFGv 3EQfhSmPRH0h3AUU0Ep5wiJU8UJcRde9cCnjDGNHGIr4yY7BlM5nvI/hN5tOBJgzHb8/ QzFg== X-Gm-Message-State: AOAM533y85HxDRm+ZaABp2sT6YsmAJkgiLqM2HBz4AW3ZZVlh6BcFXRz YfYHB74b4uHSv8OdRv6vSsJM17acJoJKCA== X-Google-Smtp-Source: ABdhPJwl+9iizA/7VS4py19ZQQL8nOVQwIVPAuANK2tocHeAj34TUxxoGKjGWlVQY/2sXBkUbWacjw== X-Received: by 2002:a17:902:7204:b0:153:bffb:f348 with SMTP id ba4-20020a170902720400b00153bffbf348mr7156564plb.147.1648145639356; Thu, 24 Mar 2022 11:13:59 -0700 (PDT) Received: from localhost ([2620:15c:202:201:690f:642:3ebe:c89d]) by smtp.gmail.com with UTF8SMTPSA id z12-20020a17090a398c00b001c5f926f293sm3698261pjb.3.2022.03.24.11.13.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 24 Mar 2022 11:13:59 -0700 (PDT) From: Matthias Kaehlcke To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring Subject: [PATCH 2/2] drm/panel-edp: Add AUO B133UAN01 Date: Thu, 24 Mar 2022 11:13:52 -0700 Message-Id: <20220324111335.2.I816014b6c62da5a33af5021f3cc35cea66552c00@changeid> X-Mailer: git-send-email 2.35.1.1021.g381101b075-goog In-Reply-To: <20220324111335.1.I1131d63cbefbfa9ff107a284e2e51f880c5bf7c8@changeid> References: <20220324111335.1.I1131d63cbefbfa9ff107a284e2e51f880c5bf7c8@changeid> 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, Matthias Kaehlcke , Douglas Anderson , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add support for the AUO B133UAN01 13.3" WUXGA panel. Signed-off-by: Matthias Kaehlcke --- output of edid-decode: Block 0, Base EDID: EDID Structure Version & Revision: 1.4 Vendor & Product Identification: Manufacturer: AUO Model: 34196 Made in: 2020 Basic Display Parameters & Features: Digital display Bits per primary color channel: 8 DisplayPort interface Maximum image size: 29 cm x 18 cm Gamma: 2.20 Supported color formats: RGB 4:4:4 First detailed timing includes the native pixel format and preferred refresh rate Color Characteristics: Red : 0.6513, 0.3271 Green: 0.2900, 0.6279 Blue : 0.1503, 0.0517 White: 0.3134, 0.3291 Established Timings I & II: none Standard Timings: none Detailed Timing Descriptors: DTD 1: 1920x1200 60.026 Hz 8:5 74.192 kHz 156.100 MHz (286 mm x 178 mm) Hfront 16 Hsync 16 Hback 152 Hpol N Vfront 3 Vsync 14 Vback 19 Vpol N Manufacturer-Specified Display Descriptor (0x0f): 00 0f 00 00 00 00 00 00 00 00 00 00 00 00 00 20 '............... ' Alphanumeric Data String: 'AUO' Alphanumeric Data String: 'B133UAN01.0 ' drivers/gpu/drm/panel/panel-edp.c | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c index e15e62f235d8..2e71dcb734aa 100644 --- a/drivers/gpu/drm/panel/panel-edp.c +++ b/drivers/gpu/drm/panel/panel-edp.c @@ -1043,6 +1043,35 @@ static const struct panel_desc auo_b133htn01 = { }, }; +static const struct drm_display_mode auo_b133uan01_mode = { + .clock = 156100, + .hdisplay = 1920, + .hsync_start = 1920 + 16, + .hsync_end = 1920 + 16 + 16, + .htotal = 1920 + 16 + 16 + 152, + .vdisplay = 1200, + .vsync_start = 1200 + 3, + .vsync_end = 1200 + 3 + 14, + .vtotal = 1200 + 3 + 14 + 19, + .flags = DISPLAY_FLAGS_VSYNC_LOW | DISPLAY_FLAGS_HSYNC_LOW, +}; + +static const struct panel_desc auo_b133uan01 = { + .modes = &auo_b133uan01_mode, + .num_modes = 1, + .bpc = 8, + .size = { + .width = 291, + .height = 195, + }, + + .delay = { + .hpd_reliable = 200, + .enable = 50, + .unprepare = 500, + }, +}; + static const struct drm_display_mode auo_b133xtn01_mode = { .clock = 69500, .hdisplay = 1366, @@ -1720,6 +1749,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "auo,b133htn01", .data = &auo_b133htn01, + }, { + .compatible = "auo,b133uan01", + .data = &auo_b133uan01, }, { .compatible = "auo,b133xtn01", .data = &auo_b133xtn01,