From patchwork Sun Mar 3 20:06:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10837235 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 CEA2B139A for ; Sun, 3 Mar 2019 20:06:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBC7229E01 for ; Sun, 3 Mar 2019 20:06:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ACAF229E72; Sun, 3 Mar 2019 20:06:51 +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,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 5F2F629E01 for ; Sun, 3 Mar 2019 20:06:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2A5CA89B55; Sun, 3 Mar 2019 20:06:50 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id A896789B55 for ; Sun, 3 Mar 2019 20:06:48 +0000 (UTC) Received: by mail-pf1-x441.google.com with SMTP id j5so1421037pfa.2 for ; Sun, 03 Mar 2019 12:06:48 -0800 (PST) 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=IP7aU/m/G7YgvbwAtp24E5K5yq9iCPEVn37ukwFmkdg=; b=BfESu0wF38gQTCHJYqUZ7iLZsL6ZbAeWSeUDmQ369W8o/BBg8RoByB0YMp49R6ji0i L+dmHdwGsS/G30aXdUMTmD7VO8C71Z141ZwD6P+jiUU2qqRqoqF5gMdmr8FxbQvkUzFg +PtK+LcnIjEvdKlulvC/Qgcl3d0hW39hldVz6Nt4SAH7tgXylWfC6tHR2paiLGevdTKU 6I2kKim4ZN6amjkGLeUM0vvZs0WDSzESqFYQ8S7gh0XIyi+z68vR+m38tSYdfumUPGaP c22RpifGoxue6yTceNzBdsewOd1WH+uY5Ms3Hrk6+y78VYRVzwFT213+KLRqHfuJzwes EKEw== X-Gm-Message-State: AHQUAub3cj87GLzTgupTafkkt58EIuOMl8SCBAFs0TQIwpQIJKAAeJ7i yAQSHwPUiR62aFvitN6PINFt7Q== X-Google-Smtp-Source: AHgI3Iahpw/IgsZ6IQZOIPjXYt1Z46XYwEJJI6KHxpYSqptB8gyWyn9bHMyiLPx2PFsN3GxbayN/GQ== X-Received: by 2002:a62:20c9:: with SMTP id m70mr16316893pfj.118.1551643608188; Sun, 03 Mar 2019 12:06:48 -0800 (PST) Received: from localhost.localdomain ([115.97.184.151]) by smtp.gmail.com with ESMTPSA id j14sm5654021pfn.77.2019.03.03.12.06.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Mar 2019 12:06:47 -0800 (PST) From: Jagan Teki To: Thierry Reding , David Airlie , Daniel Vetter , Sam Ravnborg , Rob Herring , Mark Rutland Subject: [PATCH 1/4] dt-bindings: Add vendor prefix for novatek Date: Mon, 4 Mar 2019 01:36:15 +0530 Message-Id: <20190303200618.17581-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190303200618.17581-1-jagan@amarulasolutions.com> References: <20190303200618.17581-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Mailman-Original-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=IP7aU/m/G7YgvbwAtp24E5K5yq9iCPEVn37ukwFmkdg=; b=BiN3c8JYo8Ex8gwT60Tk1bB7yDlD12Da7d5GMVDYp3IhaXB7KhQJbvo14R0ipO8L2L l3hWRUIH9ci/cuTwloIsPcY+8x8WM74tB9RMW3GYtaAMUks20WjfCc8LcrNqNjcBX+B7 Ic0uUsOE4Ual+QmRMPA3HKCmZFalvbZwhs37Y= 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, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jagan Teki , Michael Trimarchi , linux-amarula@amarulasolutions.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Add vendor prefix for novatek. Novatek Microelectronics Corp. is a leading fabless chip design company specializing in the design, development and sales of a wide range of display driver ICs & SoC solutions. Signed-off-by: Jagan Teki --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 4f225ce815d8..87d556472729 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -274,6 +274,7 @@ nintendo Nintendo nlt NLT Technologies, Ltd. nokia Nokia nordic Nordic Semiconductor +novatek Novatek Microelectronics Corp. nutsboard NutsBoard nuvoton Nuvoton Technology Corporation nvd New Vision Display From patchwork Sun Mar 3 20:06:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10837237 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 C4B46139A for ; Sun, 3 Mar 2019 20:06:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B3B7229E01 for ; Sun, 3 Mar 2019 20:06:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A815229E72; Sun, 3 Mar 2019 20:06:56 +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,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 6A13729E01 for ; Sun, 3 Mar 2019 20:06:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7E5C889A1A; Sun, 3 Mar 2019 20:06:55 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id F2B3D89A1A for ; Sun, 3 Mar 2019 20:06:54 +0000 (UTC) Received: by mail-pf1-x443.google.com with SMTP id h1so1412316pfo.7 for ; Sun, 03 Mar 2019 12:06:54 -0800 (PST) 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=KSB3JHeBa6n+vw3GYJmSsvLwY8LGEiqlJWQgPjkufFE=; b=p1eylu8ErXeuwHYa++mzyj+HwKaUGrVOttdhKnbhkSCs8qQUe9nx/791Rn3d5WmFuG BUbwbcNnT8ZEnBqsRH6LtBwxk5y79FBeYH3MqBuqkzbdWkYSMZZSY7KQvKMqPDzpMMtD kSOSuw6QmcY2FFO1AiF7erusezAw11tOSKOFiOWJxQYTjGqsSjQziL7KyWUreM8OzfJ9 l0hMj87HsvnMkF/4QGi4QaPgPV7S65I3JL5wCG03g3LvC7ewmxoXd9UpDhaQTFnhZ5YW bKUkelCcRgUzpcC8FqZi87VWAl8INMkUkVlf3DDiPsvCDGnQJ/0brCvsKahdAFdyuzv2 9mlw== X-Gm-Message-State: APjAAAWIQMtVAGE84SYeIIklSJZZ1rgSxfeSwX9PG2QWym7QKIDawo3q oEDp7fSMh7WoGADgy82K2nT9yQ== X-Google-Smtp-Source: APXvYqy1WcLiZbZFKmB8Ccf0KIpTX6YT81PTaSKsnH1Jh+/WvO2CxZUZvf7bIn+F3BJmCdMYja54/A== X-Received: by 2002:a17:902:7798:: with SMTP id o24mr16760416pll.212.1551643614409; Sun, 03 Mar 2019 12:06:54 -0800 (PST) Received: from localhost.localdomain ([115.97.184.151]) by smtp.gmail.com with ESMTPSA id j14sm5654021pfn.77.2019.03.03.12.06.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Mar 2019 12:06:52 -0800 (PST) From: Jagan Teki To: Thierry Reding , David Airlie , Daniel Vetter , Sam Ravnborg , Rob Herring , Mark Rutland Subject: [PATCH 2/4] dt-bindings: Add vendor prefix for microtech Date: Mon, 4 Mar 2019 01:36:16 +0530 Message-Id: <20190303200618.17581-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190303200618.17581-1-jagan@amarulasolutions.com> References: <20190303200618.17581-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Mailman-Original-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=KSB3JHeBa6n+vw3GYJmSsvLwY8LGEiqlJWQgPjkufFE=; b=EwmQPOlPXEqa7vhBX6AocGEi40e1KoIAwEMxkE+MgNr8LwC6YL8GhZPlmYlD+m3BIp qL9xXTsY06EmTEBDCKwtl4OCu5OVPaJb9npvDt6rxEjQAeSXZvaT4HZNX1Gp6EB/x6Dx br5b3d3ld2GTH3bwxWuV8ZlSBWnLbJ9jHJwQI= 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, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jagan Teki , Michael Trimarchi , linux-amarula@amarulasolutions.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Add vendor prefix for microtech, known as Microtech Technology Company Limited. a known producer for Liquid Crytal Display modules and Touch Panels. Signed-off-by: Jagan Teki --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 87d556472729..b84f27f077be 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -242,6 +242,7 @@ micrel Micrel Inc. microchip Microchip Technology Inc. microcrystal Micro Crystal AG micron Micron Technology Inc. +microtech Microtech Technology Company Limited mikroe MikroElektronika d.o.o. minix MINIX Technology Ltd. miramems MiraMEMS Sensing Technology Co., Ltd. From patchwork Sun Mar 3 20:06:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10837239 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 8000417EF for ; Sun, 3 Mar 2019 20:07:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6E64629E01 for ; Sun, 3 Mar 2019 20:07:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 61F7D29E72; Sun, 3 Mar 2019 20:07:02 +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,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 140A329E01 for ; Sun, 3 Mar 2019 20:07:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1A91489B5F; Sun, 3 Mar 2019 20:07:01 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6695589B5F for ; Sun, 3 Mar 2019 20:06:59 +0000 (UTC) Received: by mail-pg1-x542.google.com with SMTP id q206so1481762pgq.4 for ; Sun, 03 Mar 2019 12:06:59 -0800 (PST) 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=nj6iC/SZT6BJVehE1IgS4x6izL4XIS21HdsDOD+Q8Qs=; b=jhExosnFaHKNmFA13yICWYb2W7XBK6Hfx50acUaaU4ZlbnB9Amehw0FdfrfTjCMXvK l7CUUIqDR8Mkc1XHVB8/TJ+HBdaAm4lZJC4nsCiwmBgtjjHf1lB1/iiKsVUusb+0h1Yp Ewv5qcH2XTblilfdcNRcHM18161IlN9ghxzPXUe6dR5RjlppuGgXP+ScT1g/fgjn9Ie8 yzHXdKrLbZQMtRy7iyDk1+PtIfpsoptwXd+cx3NRtv6jSE7sgCexaXNVMj+bzcCYrhlL t1S4MZ3qyskeoSSdLwtbFtKXg0tKKxRPwVAKlZsHLlMUy6O25pbfdaqDzi1+aaY8FGNS aqRg== X-Gm-Message-State: APjAAAWWEObmionwc3Wgls4n57PQw4KYIWC3AB6kf6ikhqW9LkUhl7Be LyjmdUvxJUvJSlsUR0GTZdAzEw== X-Google-Smtp-Source: APXvYqx/5hiUaybEbL76AxSL/kw+B44fKb3CWngGGwumcixEOMCshHel8RcUkHbHv6rCZt/v1B6s9Q== X-Received: by 2002:a63:4a11:: with SMTP id x17mr15222919pga.376.1551643618915; Sun, 03 Mar 2019 12:06:58 -0800 (PST) Received: from localhost.localdomain ([115.97.184.151]) by smtp.gmail.com with ESMTPSA id j14sm5654021pfn.77.2019.03.03.12.06.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Mar 2019 12:06:58 -0800 (PST) From: Jagan Teki To: Thierry Reding , David Airlie , Daniel Vetter , Sam Ravnborg , Rob Herring , Mark Rutland Subject: [PATCH 3/4] dt-bindings: display: Add Novatek NT35596 panel documentation Date: Mon, 4 Mar 2019 01:36:17 +0530 Message-Id: <20190303200618.17581-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190303200618.17581-1-jagan@amarulasolutions.com> References: <20190303200618.17581-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Mailman-Original-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=nj6iC/SZT6BJVehE1IgS4x6izL4XIS21HdsDOD+Q8Qs=; b=Ek0SDME8nuBD9Edi9oiBH9XWAlQ3p2UIZ2lUTWWfJkDKlKxb+Oc8rBiTXd7Knp3rgR qq5Px+hDkY9EVz9LDq3vNbd1cmObGNIGKQzfxOgmSCHOQuiRPTm9osO3lhKNDV3DAFNi am871z1L77+34+tdEjAKyb1exd6f/fom2GD/A= 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, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jagan Teki , Michael Trimarchi , linux-amarula@amarulasolutions.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Novatek NT35596 is a single-chip IC solution for small or medium-sized LTPS TFT LCD panels. NT35596 provides several system interfaces like MIPI/SPI/I2C. Microtech MTF050FHDI-03 is 1080x1920, 4-lane MIPI DSI LCD panel which has inbuilt NT35596 IC chip. NT35596 support several regulators on the chip, among those ony 4 regulators like VCI, VDDI/DVDD, AVDD, AVEE are used during power-on sequence. Since MTF050FHDI-03 panel do support 3-regulator based power-on sequence, this patch document only needful regulators and rest can be add while supporting new panels on the similar chip IC. Signed-off-by: Jagan Teki --- .../display/panel/novatek,nt35596.txt | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/novatek,nt35596.txt diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt35596.txt b/Documentation/devicetree/bindings/display/panel/novatek,nt35596.txt new file mode 100644 index 000000000000..d336cd41e177 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt35596.txt @@ -0,0 +1,32 @@ +Novatek NT35596 based LCD panels + +Novatek NT35596 is a single-chip IC solution for small or medium-sized +LTPS TFT LCD panels. NT35596 provides several system interfaces like +MIPI/SPI/I2C. + +Microtech MTF050FHDI-03 is 1080x1920, 4-lane MIPI DSI LCD panel which +has inbuilt NT35596 IC chip. + +Required properties: +- compatible: must be "novatek,nt35596" and one of + * "microtech,mtf050fhdi-03" +- reset-gpios: a GPIO phandle for the reset pin + +Required properties for microtech,mtf050fhdi-03: +- reg: DSI virtual channel used by that screen +- dvdd-supply: I/O system regulator +- avdd-supply: analog regulator for MIPI circuit +- avee-supply: analog regulator for MIPI circuit + +Optional properties: +- backlight: phandle for the backlight control. + +panel@0 { + compatible = "microtech,mtf050fhdi-03", "novatek,nt35596"; + reg = <0>; + dvdd-supply = <®_dldo2>; /* VCC-MIPI */ + avdd-supply = <®_dc1sw>; /* AVDD_5V0 */ + avee-supply = <®_dc1sw>; /* AVEE_5V */ + reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */ + backlight = <&backlight>; +}; From patchwork Sun Mar 3 20:06:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10837241 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 81BEA17EF for ; Sun, 3 Mar 2019 20:07:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6AFBC29E6F for ; Sun, 3 Mar 2019 20:07:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5B33429E01; Sun, 3 Mar 2019 20:07:08 +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,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 D5A4629E01 for ; Sun, 3 Mar 2019 20:07:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id ED48B89C27; Sun, 3 Mar 2019 20:07:05 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id F17E189C27 for ; Sun, 3 Mar 2019 20:07:04 +0000 (UTC) Received: by mail-pf1-x444.google.com with SMTP id u9so1422680pfn.1 for ; Sun, 03 Mar 2019 12:07:04 -0800 (PST) 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=9ddJd4dulKq8qLv0Nr8jn11sI+uQBlMB+ABdZPToNh4=; b=NiY683TbIezwKcNDb7zba0nWALY/VKSDLeRpkgmlalNXqC1iSZlNCHQC8dQWKzLBq8 3/Heb0uOjT7hjD2rWcgejWV8cbHNXPbI/m6fvexAJVLIrnYxa8zrCOllaW0N+JfkKpi8 b03n0SfJTLlleacl6AyJ1PIm0Fycf8aHTtVWdl53eriMPjG7RcE+WmGg1kBRYXrJzT3y 5QkakyOjuJpdUAn0eqE0kPbqJKqyOJLE6anVuYE5Su/vR4S60vrOTDc1HQdz2dk/M3lP M4E+YCrhotv3BEXr4bVsvhQn9iAIq1lGX4peVIFOcTOmJX+VEc7fafW2LIVn52hOy1cl RQhg== X-Gm-Message-State: AHQUAubu9JmtpG6NzCviHuIFG3VpdgOxxkigKV62MYwAlWtIMsvjSgbj uaDqhWSHfkM9RI/1zMbUAH1B1g== X-Google-Smtp-Source: APXvYqy77Zt+UaksisqdUvt6HvzVuWi2RMDmHUSLvQPVimRWGFD3xFJF2AF9IesfxhV+pWSEIm1ruw== X-Received: by 2002:a62:4815:: with SMTP id v21mr16184705pfa.167.1551643623971; Sun, 03 Mar 2019 12:07:03 -0800 (PST) Received: from localhost.localdomain ([115.97.184.151]) by smtp.gmail.com with ESMTPSA id j14sm5654021pfn.77.2019.03.03.12.06.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Mar 2019 12:07:03 -0800 (PST) From: Jagan Teki To: Thierry Reding , David Airlie , Daniel Vetter , Sam Ravnborg , Rob Herring , Mark Rutland Subject: [PATCH 4/4] drm/panel: Add Novatek NT35596 panel driver Date: Mon, 4 Mar 2019 01:36:18 +0530 Message-Id: <20190303200618.17581-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190303200618.17581-1-jagan@amarulasolutions.com> References: <20190303200618.17581-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Mailman-Original-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=9ddJd4dulKq8qLv0Nr8jn11sI+uQBlMB+ABdZPToNh4=; b=PrwOAW6KrUDIWeJA7Nid+eVHNGLXeF1E34SX3txDLcJ3JcFBYjnGIegZIWRyRXhfv7 +V1g2ArZnOlniI70vArkSqgBn4TSsWWw6ZnGtmiWNwEE6YxhD3s1VneiVvCjyNAxKr1J LKgbPXpXAVcC9iJS3ql6lxkzfIbg57yOib8wI= 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, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jagan Teki , Michael Trimarchi , linux-amarula@amarulasolutions.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Novatek NT35596 is a single-chip IC solution for small or medium-sized LTPS TFT LCD panels. NT35596 provides several system interfaces like MIPI/SPI/I2C. Currently added support for Microtech MTF050FHDI-03 is 1080x1920, 4-lane MIPI DSI LCD panel which has inbuilt NT35596 IC chip. NT35596 support several regulators on the chip, among those only 4 regulators like VCI, VDDI/DVDD, AVDD, AVEE are used during power-on sequence. Right now driver added code for 3-regulator based power-on sequence since MTF050FHDI-03 panel support. This power-on sequence may be moved to panel_desc in future, if there is any new panel would come up with other type of sequence. Signed-off-by: Jagan Teki --- MAINTAINERS | 6 + drivers/gpu/drm/panel/Kconfig | 13 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-novatek-nt35596.c | 860 ++++++++++++++++++ 4 files changed, 880 insertions(+) create mode 100644 drivers/gpu/drm/panel/panel-novatek-nt35596.c diff --git a/MAINTAINERS b/MAINTAINERS index 125d87a23374..d560f1bdd504 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4840,6 +4840,12 @@ S: Maintained F: drivers/gpu/drm/tinydrm/hx8357d.c F: Documentation/devicetree/bindings/display/himax,hx8357d.txt +DRM DRIVER FOR NOVATEK NT35596 MIPI-DSI LCD PANELS +M: Jagan Teki +S: Maintained +F: drivers/gpu/drm/panel/panel-novatek-nt35596.c +F: Documentation/devicetree/bindings/display/panel/novatek,nt35596.txt + DRM DRIVER FOR INTEL I810 VIDEO CARDS S: Orphan / Obsolete F: drivers/gpu/drm/i810/ diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 5c2c7e8e6ade..c39aaf40445c 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -119,6 +119,19 @@ config DRM_PANEL_LG_LG4573 Say Y here if you want to enable support for LG4573 RGB panel. To compile this driver as a module, choose M here. +config DRM_PANEL_NOVATEK_NT35596 + tristate "Novatek NT35596 panel driver" + depends on OF + depends on DRM_MIPI_DSI + depends on BACKLIGHT_CLASS_DEVICE + help + Say Y here if you want to enable support for the Novatek NT35596 + panel controller driver. + + Novatek NT35596 is a single-chip IC solution for small or medium + sized LTPS TFT LCD panels. NT35596 provides several system interfaces + like MIPI/SPI/I2C. + config DRM_PANEL_OLIMEX_LCD_OLINUXINO tristate "Olimex LCD-OLinuXino panel" depends on OF diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index 3a853ea5cff9..05bc93348345 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -10,6 +10,7 @@ obj-$(CONFIG_DRM_PANEL_INNOLUX_P079ZCA) += panel-innolux-p079zca.o obj-$(CONFIG_DRM_PANEL_JDI_LT070ME05000) += panel-jdi-lt070me05000.o obj-$(CONFIG_DRM_PANEL_KINGDISPLAY_KD097D04) += panel-kingdisplay-kd097d04.o obj-$(CONFIG_DRM_PANEL_LG_LG4573) += panel-lg-lg4573.o +obj-$(CONFIG_DRM_PANEL_NOVATEK_NT35596) += panel-novatek-nt35596.o obj-$(CONFIG_DRM_PANEL_OLIMEX_LCD_OLINUXINO) += panel-olimex-lcd-olinuxino.o obj-$(CONFIG_DRM_PANEL_ORISETECH_OTM8009A) += panel-orisetech-otm8009a.o obj-$(CONFIG_DRM_PANEL_PANASONIC_VVX10F034N00) += panel-panasonic-vvx10f034n00.o diff --git a/drivers/gpu/drm/panel/panel-novatek-nt35596.c b/drivers/gpu/drm/panel/panel-novatek-nt35596.c new file mode 100644 index 000000000000..ad740ee891fb --- /dev/null +++ b/drivers/gpu/drm/panel/panel-novatek-nt35596.c @@ -0,0 +1,860 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2018 Amarula Solutions + * Author: Jagan Teki + */ + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +#include