From patchwork Wed Jan 8 23:53:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Clark X-Patchwork-Id: 11324891 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 37CD392A for ; Wed, 8 Jan 2020 23:56:18 +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 15BA1206DB for ; Wed, 8 Jan 2020 23:56:18 +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="TsV31oHu" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 15BA1206DB 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 0B08289E41; Wed, 8 Jan 2020 23:56:15 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1F53F89E41 for ; Wed, 8 Jan 2020 23:56:14 +0000 (UTC) Received: by mail-pg1-x531.google.com with SMTP id b9so2288627pgk.12 for ; Wed, 08 Jan 2020 15:56:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=VHrL6v0Uw66YhBXxgwYhRKU+mM7wW3ICLAPhDHJZnZI=; b=TsV31oHuYUrTWDADB0GeSf5Ja4Tx3vAEdFTZ8j+GUSukv2yUeP3xYSVmNbL5onBIZ+ EIQewAW2KgMjdB9iNQ5sfc4KqbA4Tk7I+jhdfxcaW42H/HIEYBeHTWFQBDdsZXAAyXSL IDmGATtPwKHWhODhEtheqIvBz3XaHEAO/O32HNxSYcN8WU6YPOGpgftrx23vgmanYUAC br9BuxyflB8m96uqOfy7ZMIKQlKRDL6r/FToT2AqhPrHtzPiHZiNOPJiMJ/vfH0Dup/1 WyOLSVtsIOCSoHi7m38s/pDvmwgwjep8bm1gm0rOPj26Bt6MMW9zPnar3bYm/POBvnOX LTQQ== 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=VHrL6v0Uw66YhBXxgwYhRKU+mM7wW3ICLAPhDHJZnZI=; b=q7CR558MpNb50O9WkJWnkzKe72iQQmts4k+xJRhqA94kst2Hcacga2gHhLuWc6IfY+ FwzhO3RmeyGIIE27MqZIu8K8vMHxkM6/rhSs5gLip4QPwFyP9Pr0mv8BY6g04iT44d9k cSC6/kAZqiMVWUCL6U2NOrH4zXLObkMohCAFzUpoTupcW9e40U3N7OP2mSlbI84VdoRf kuXewnsXo5fs9wRi7ajhpdx9uutvhXpnugqlaq4+L+4kwhKAB8R3GI5HjSKpsrmbJdnK 30HgWPQ9lMdidls8hJzw/0nXX4bNNdwiHDHG20rDT/v0yap/NvWrlFOJRxwZEx+W4/Ms +94w== X-Gm-Message-State: APjAAAWysy5gnolF+x09KmxwfyBFH6OTsjA0rKrn9Y9E/zyArVQ73PQx T0b6xA5BB9wIyjPivRVJwnAPYT3IgNw= X-Google-Smtp-Source: APXvYqyln/X9tK1/v1SDPoi3Eb0DxxrKu9hBOdTHuIzAqjt73KadruyPy2BLeoTIyq0V1/1+8PV8ng== X-Received: by 2002:aa7:946c:: with SMTP id t12mr8030393pfq.137.1578527773391; Wed, 08 Jan 2020 15:56:13 -0800 (PST) Received: from localhost ([100.118.89.215]) by smtp.gmail.com with ESMTPSA id y6sm4810131pgc.10.2020.01.08.15.56.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jan 2020 15:56:12 -0800 (PST) From: Rob Clark To: dri-devel@lists.freedesktop.org Subject: [PATCH v2 1/2] dt-bindings: display: panel: Add AUO B116XAK01 panel bindings Date: Wed, 8 Jan 2020 15:53:55 -0800 Message-Id: <20200108235356.918189-1-robdclark@gmail.com> X-Mailer: git-send-email 2.24.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: Rob Clark , Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , David Airlie , Douglas Anderson , Rob Herring , open list , Thierry Reding , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Rob Clark Signed-off-by: Rob Clark --- .../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 090866260f4f..5f1d765447bc 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -33,6 +33,8 @@ properties: - ampire,am-480272h3tmqw-t01h # Ampire AM-800480R3TMQW-A1H 7.0" WVGA TFT LCD panel - ampire,am800480r3tmqwa1h + # AUO B116XAK01 eDP TFT LCD panel + - auo,b116xa01 backlight: true enable-gpios: true From patchwork Wed Jan 8 23:53:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Clark X-Patchwork-Id: 11324895 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 11904921 for ; Wed, 8 Jan 2020 23:58:28 +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 E4142206F0 for ; Wed, 8 Jan 2020 23:58:27 +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="NPF9IFGS" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E4142206F0 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 DDB176E359; Wed, 8 Jan 2020 23:58:26 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by gabe.freedesktop.org (Postfix) with ESMTPS id EC7F26E35D for ; Wed, 8 Jan 2020 23:58:24 +0000 (UTC) Received: by mail-pl1-x643.google.com with SMTP id f20so1769527plj.5 for ; Wed, 08 Jan 2020 15:58:24 -0800 (PST) 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=st0ckcOqaRV+ZvHstV7I6k7aAc3QTXy2/XaWGPv2J64=; b=NPF9IFGSgMgntYLD6eWINkS4FKHUSk00e/FB68oqFvCSHcAakBezDXHUmFl6VYX6g8 P2S8OwhJpgLtI3zEIzpifr7SprtaswE5E0UT/3kAU9EZO+2dAayA9AIcabxaZSb97/TU tTQ8WFonFasx12Yg/WorXmtif23vQWiQVPa1v8YhyPLwOyi6V6zz7LqBofcU2hP3cp+T fJWgtSriHjZkyUjNz43jDTJi0s2WDsSot9zwI8q8zbagZtBYkmzDy8NeH9v+bsXRgESM DT+dUw5uwy4Resyzl6LgkzzTfg3LNDZzfRfQrsecipDNFwhTI6J/KtXff+ys8SniwTUI /0sw== 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=st0ckcOqaRV+ZvHstV7I6k7aAc3QTXy2/XaWGPv2J64=; b=DFj3bNWERG7DGEOV7mixHbrJevpQ2AOf0HcCPG6l5eXN9/c3RVuHuLEwwNaa3ZinHp V1BcfsnH5B2W/sL3EcSUmmdF+KBv+Vx/PpKwK+AN1L0JyrAVEiEXDacSqQUzSKjccaiz Fwl/o+w7FQU7k7FyL+6jzvLh//ipMuN9SGhfEjMexIyis3Iu76YcYLCW0SGuP4jYcdS+ IzAA+VNOXMtN/ItnRhhyK2nMJba9eGlfokcFJzqTsI4MwX9bcgGTpidJReg/E9wkONQk XqhEcNSBYZtth5mBQ4jdHdq+nDZEZp7ae6Qg3+S9CC9E0KDg20gsi8YLL6xkokbWulkn HVRw== X-Gm-Message-State: APjAAAXQibBW1RQ/NuCTU9FbDGH3bo9jRbUIr/xDYsmXCRIHaBVGl0sP F1HHsVNG6UHNnUtxRf5a2IBNULievBM= X-Google-Smtp-Source: APXvYqy+t3SaP+IB09BU86n962/2WWP+4/lU9dArW8bBU/fPKZ26xI0HntnvHYQAgnvnpjp4sKLdIg== X-Received: by 2002:a17:90a:8a0c:: with SMTP id w12mr1558940pjn.61.1578527904251; Wed, 08 Jan 2020 15:58:24 -0800 (PST) Received: from localhost ([100.118.89.215]) by smtp.gmail.com with ESMTPSA id e14sm5202366pfm.97.2020.01.08.15.58.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jan 2020 15:58:23 -0800 (PST) From: Rob Clark To: dri-devel@lists.freedesktop.org Subject: [PATCH v2 2/2] drm/panel: Add support for AUO B116XAK01 panel Date: Wed, 8 Jan 2020 15:53:56 -0800 Message-Id: <20200108235356.918189-2-robdclark@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200108235356.918189-1-robdclark@gmail.com> References: <20200108235356.918189-1-robdclark@gmail.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: Rob Clark , David Airlie , Douglas Anderson , open list , Thierry Reding , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Rob Clark Signed-off-by: Rob Clark --- drivers/gpu/drm/panel/panel-simple.c | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index ba3f85f36c2f..0c3444c62014 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -629,6 +629,35 @@ static const struct panel_desc auo_b101xtn01 = { }, }; +static const struct drm_display_mode auo_b116xak01_mode = { + .clock = 69300, + .hdisplay = 1366, + .hsync_start = 1366 + 48, + .hsync_end = 1366 + 48 + 32, + .htotal = 1366 + 48 + 32 + 10, + .vdisplay = 768, + .vsync_start = 768 + 4, + .vsync_end = 768 + 4 + 6, + .vtotal = 768 + 4 + 6 + 15, + .vrefresh = 60, + .flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC, +}; + +static const struct panel_desc auo_b116xak01 = { + .modes = &auo_b116xak01_mode, + .num_modes = 1, + .bpc = 6, + .size = { + .width = 256, + .height = 144, + }, + .delay = { + .hpd_absent_delay = 200, + }, + .bus_format = MEDIA_BUS_FMT_RGB666_1X18, + .connector_type = DRM_MODE_CONNECTOR_eDP, +}; + static const struct drm_display_mode auo_b116xw03_mode = { .clock = 70589, .hdisplay = 1366, @@ -3125,6 +3154,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "auo,b101xtn01", .data = &auo_b101xtn01, + }, { + .compatible = "auo,b116xa01", + .data = &auo_b116xak01, }, { .compatible = "auo,b116xw03", .data = &auo_b116xw03,