From patchwork Fri Jul 5 16:56:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeffrey Hugo X-Patchwork-Id: 11034651 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A3ED3138B for ; Mon, 8 Jul 2019 07:12:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 92C4228385 for ; Mon, 8 Jul 2019 07:12:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8709228396; Mon, 8 Jul 2019 07:12:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4AEB528385 for ; Mon, 8 Jul 2019 07:12:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 75DCD89A56; Mon, 8 Jul 2019 07:11:58 +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 B435E6E2E1 for ; Fri, 5 Jul 2019 16:56:59 +0000 (UTC) Received: by mail-pf1-x442.google.com with SMTP id m30so4551904pff.8 for ; Fri, 05 Jul 2019 09:56:59 -0700 (PDT) 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; bh=aJ9A33XeWtxV0qN7kevtyk3VxBBowXnZfu+VcAnor48=; b=gragD3C9hX3IE4uVBb8dVtYrjknkxXo6mvDPJZV4bVckoDC5dpSIfhgt/rN9TSAS+j bcWRFGFquvrryzjS+NTVKtwa5mm+8vMy0aIq+2f+5LkEIfsJn4hcEEnMV6TGBUwj0SgP WtGvvpYLaLD1rvJO93nKD0cEEAFY9ojlMd9W1rwDQHBHRIJUvWGSSLj3cGHYjUPqazwV XhTXkEPvw1oZYnKfa0oH4fiMn1tI8Nqfcuu+a9ukJImaJdzjmaJHh2wL7/3eSTR/fjr/ NlUz7eL0ZfQjzB4ROInfaS9e7dkaWYUB+hTScCElKK9WipSoVEO3fenJ4YKBy5xUA0cQ NMjg== X-Gm-Message-State: APjAAAU0Ehj96jih14/IZdKUIgyLOOI+eTDLKm8y7QEsEHXtdVc5A2nA 6Tv+AR/Kh5mq6DCH9e5MiU4= X-Google-Smtp-Source: APXvYqzLkG4W3qE9HCpmT4BW/IS4oA24stCeA7+cpzx8H5U5MOt5gzOL5CxjX+fL+kFC2K4XhRjd4w== X-Received: by 2002:a63:1f47:: with SMTP id q7mr6615825pgm.264.1562345819395; Fri, 05 Jul 2019 09:56:59 -0700 (PDT) Received: from aw-bldr-10.qualcomm.com (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id e26sm9285734pfn.94.2019.07.05.09.56.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jul 2019 09:56:58 -0700 (PDT) From: Jeffrey Hugo To: robh+dt@kernel.org, mark.rutland@arm.com, thierry.reding@gmail.com, sam@ravnborg.org, airlied@linux.ie, daniel@ffwll.ch Subject: [PATCH 1/2] dt-bindings: panel: Add Sharp LD-D5116Z01B Date: Fri, 5 Jul 2019 09:56:55 -0700 Message-Id: <20190705165655.456-1-jeffrey.l.hugo@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190705165450.329-1-jeffrey.l.hugo@gmail.com> References: <20190705165450.329-1-jeffrey.l.hugo@gmail.com> X-Mailman-Approved-At: Mon, 08 Jul 2019 07:11:53 +0000 X-Mailman-Original-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; bh=aJ9A33XeWtxV0qN7kevtyk3VxBBowXnZfu+VcAnor48=; b=tz8DX/jKoInhtLlLZaBLfxK3HCjQCvrIbHkC4j+EqgsDTfRoUcyvqIxLOOH3r0KvzH NoAMntP26vyOTlx5Q63WRr3rgXn7UX/fHGGuyjAnjpNl7zSOdOxkTijfhawjIl1OV03V roC8k3Ptfl7gPSWwO0tb+pWguCp7M95yIZ6eL+pE8t2/eKZN7tCA0RmY8P00SAhMiZ6B GK/AtvtJLyXJHe4OIx2cBYmKrWhvjTp53Zk/Qz1gWoeguE2NhnWRCaN0Gh00pjvmnj0Q T2B5NxnjCIPvY/q/0gagoimqpsrvadlA9HuAyrrYtoX6c6uInqBHZIy3T+Yu3CDMtRzm hOmA== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Jeffrey Hugo , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, bjorn.andersson@linaro.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The Sharp LD-D5116Z01B is a 12.3" eDP panel with a 1920X1280 resolution. Signed-off-by: Jeffrey Hugo --- .../display/panel/sharp,ld-d5116z01b.txt | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/sharp,ld-d5116z01b.txt diff --git a/Documentation/devicetree/bindings/display/panel/sharp,ld-d5116z01b.txt b/Documentation/devicetree/bindings/display/panel/sharp,ld-d5116z01b.txt new file mode 100644 index 000000000000..3938c2847fe5 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/sharp,ld-d5116z01b.txt @@ -0,0 +1,27 @@ +Sharp LD-D5116Z01B 12.3" WUXGA+ eDP panel + +Required properties: +- compatible: should be "sharp,ld-d5116z01b" +- power-supply: regulator to provide the VCC supply voltage (3.3 volts) + +This binding is compatible with the simple-panel binding. + +The device node can contain one 'port' child node with one child +'endpoint' node, according to the bindings defined in [1]. This +node should describe panel's video bus. + +[1]: Documentation/devicetree/bindings/media/video-interfaces.txt + +Example: + + panel: panel { + compatible = "sharp,ld-d5116z01b"; + power-supply = <&vlcd_3v3>; + no-hpd + + port { + panel_ep: endpoint { + remote-endpoint = <&bridge_out_ep>; + }; + }; + }; From patchwork Fri Jul 5 16:57:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeffrey Hugo X-Patchwork-Id: 11034647 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4293B138B for ; Mon, 8 Jul 2019 07:12:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3155B28385 for ; Mon, 8 Jul 2019 07:12:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2560C28396; Mon, 8 Jul 2019 07:12:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1A67328385 for ; Mon, 8 Jul 2019 07:12:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 90B1D89A5C; Mon, 8 Jul 2019 07:11:58 +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 D92776E2E1 for ; Fri, 5 Jul 2019 16:57:58 +0000 (UTC) Received: by mail-pl1-x644.google.com with SMTP id i2so4871124plt.1 for ; Fri, 05 Jul 2019 09:57:58 -0700 (PDT) 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; bh=EMo2sIUAdM2t9ksGkmQROdMoH8vxWbe9ivlhPSrt+vI=; b=FUPbSvbK9uhvJGutQJjpK2JGDKG4KIEcKPHFQeaAMNU1E5ISTVJGyqDra1C6sGL/jM uigu9GW5J3OUgwPv2vvOE4T3FlNEp5zPq7NaDlal7mU1tsFi9f3dSinsK5Xj00x+Xp7t 3OAEPOSASg75cANueawKW6K/oThJdZKNvfondN0r00VRjQeo6IL7fJgl2GYzPnC/+yWt SDs1xN9l5g7BWOcN3alJR9WpY95cwKu5d2trDxkKuXs4qeS5nYDsxIvnWEqQ2B1U1mOZ NMvqX6P7fxS5/92502L05KNs8IMGAoOxnrKlITMsMDY0pYDgI7ALlcd9yJ7rrgYOMii2 4Bqg== X-Gm-Message-State: APjAAAXyurfcHmtSx6QnNL1OxCSrygUPrLuD9AyPaEvvDuQ2XIpW08s/ 2lwDvCXyGY7pjgX8bDiNvvk= X-Google-Smtp-Source: APXvYqy9E9YbthMyh/f84RHQz3Zq3bHJdWGugD0F0kOJ1Anu5XKQEHANzKBajC0m2agogW1KYP4lMg== X-Received: by 2002:a17:902:f301:: with SMTP id gb1mr6663381plb.292.1562345878574; Fri, 05 Jul 2019 09:57:58 -0700 (PDT) Received: from aw-bldr-10.qualcomm.com (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id 125sm11573309pfg.23.2019.07.05.09.57.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jul 2019 09:57:58 -0700 (PDT) From: Jeffrey Hugo To: thierry.reding@gmail.com, sam@ravnborg.org, airlied@linux.ie, daniel@ffwll.ch Subject: [PATCH 2/2] drm/panel: simple: Add support for Sharp LD-D5116Z01B panel Date: Fri, 5 Jul 2019 09:57:55 -0700 Message-Id: <20190705165755.515-1-jeffrey.l.hugo@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190705165450.329-1-jeffrey.l.hugo@gmail.com> References: <20190705165450.329-1-jeffrey.l.hugo@gmail.com> X-Mailman-Approved-At: Mon, 08 Jul 2019 07:11:53 +0000 X-Mailman-Original-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; bh=EMo2sIUAdM2t9ksGkmQROdMoH8vxWbe9ivlhPSrt+vI=; b=Aw4Wd9tthSW64a6ZKiLJjfEyAgaABmJFwgwEaEPTYJ1oi5N5NDzZA4uN1W7SDD/90V EduPRk2IxoI5sh+fxq3m4w5W6VNLwk2Ac9sIzFMqjSq0dZJ+fiyiZ4+IB/rRD1zQxDfu CBReQV8eos0//ZG67acEWFCt0CUKcJ95wH5rbZ0vhdjR5Nu01kLxGyIA6fPcW2s46GIO zpBfoM/vzT9/PL/9pcyPwd6RxWZpvRqFBEpqICQ3rf1ju9IUBV2YQBzQBIZUlQlmwHrv qbM1X09V/v9auDId/vPRk/jadLEnpCvpEJDXLhTQq0sLx3H7Hxt9OP+D6siiEiKCVNlB OsJA== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Jeffrey Hugo , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, bjorn.andersson@linaro.org, robh+dt@kernel.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The Sharp LD-D5116Z01B is a 12.3" eDP panel with a 1920X1280 resolution. Signed-off-by: Jeffrey Hugo --- drivers/gpu/drm/panel/panel-simple.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 5a93c4edf1e4..e6f578667324 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2354,6 +2354,29 @@ static const struct panel_desc samsung_ltn140at29_301 = { }, }; +static const struct drm_display_mode sharp_ld_d5116z01b_mode = { + .clock = 168480, + .hdisplay = 1920, + .hsync_start = 1920 + 48, + .hsync_end = 1920 + 48 + 32, + .htotal = 1920 + 48 + 32 + 80, + .vdisplay = 1280, + .vsync_start = 1280 + 3, + .vsync_end = 1280 + 3 + 10, + .vtotal = 1280 + 3 + 10 + 57, + .vrefresh = 60, +}; + +static const struct panel_desc sharp_ld_d5116z01b = { + .modes = &sharp_ld_d5116z01b_mode, + .num_modes = 1, + .bpc = 8, + .size = { + .width = 260, + .height = 120, + }, +}; + static const struct drm_display_mode sharp_lq035q7db03_mode = { .clock = 5500, .hdisplay = 240, @@ -3002,6 +3025,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "samsung,ltn140at29-301", .data = &samsung_ltn140at29_301, + }, { + .compatible = "sharp,ld-d5116z01b", + .data = &sharp_ld_d5116z01b, }, { .compatible = "sharp,lq035q7db03", .data = &sharp_lq035q7db03,