From patchwork Sun Mar 3 20:06:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10837233 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 6855317EF for ; Sun, 3 Mar 2019 20:06:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4BB6229E01 for ; Sun, 3 Mar 2019 20:06:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3CCFD29E72; Sun, 3 Mar 2019 20:06:48 +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 23F4D29E01 for ; Sun, 3 Mar 2019 20:06:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 86F0B89B27; Sun, 3 Mar 2019 20:06:44 +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 8F1F589B27 for ; Sun, 3 Mar 2019 20:06:43 +0000 (UTC) Received: by mail-pf1-x443.google.com with SMTP id g6so1402899pfh.13 for ; Sun, 03 Mar 2019 12:06:43 -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:mime-version :content-transfer-encoding; bh=PVPzDY72470tY0FltbkT7D/GyDpYLW7HTjjFEtM8nfA=; b=CKracMYomGgSyxX2WL1zkYnWySC1rauAyBHYh7sz0BDYyf3uqNkl++P2FuZgP8EuDR qnBuJr6AWbjB2m9qY9258NIjvsbgC1PqHK+gL109MXz4xjGpdISar1B3CYq+/TpOpeRH DJrpkKoKOzOdBKzMkKfDj2xjH4B6deEBPmfVTQZi7eRknJmLix6MYFxS+RcmGNoFzEAz JNfUUjUQT0KuFLCtf0Irhlt5QOFw9Duj9UyY/fX9Nsn0Nv4jvAcr2hn0VCQrf1IXLCx6 mzD6caFCJnCrfCVy6xQx4Lgh4+U6IEBzkui8wFS7X8RG3xCF9DccjpnIV0U/23bSmLV6 ly/g== X-Gm-Message-State: APjAAAV52Qj4bX5F51zq2WhwDz+g52j5gzGfypFIp6RE7nCJtdC+LB3U Sark85wJ4nNj+WrNwV2ujtHFVw== X-Google-Smtp-Source: APXvYqw7DmdjDDBE5NRI0cioDMcebr1Tnf6zHClf5sfgGsvye2AfkwHtgkgMqhXTLtzJMIILFGYGhA== X-Received: by 2002:a17:902:1026:: with SMTP id b35mr16268631pla.252.1551643602904; Sun, 03 Mar 2019 12:06:42 -0800 (PST) Received: from localhost.localdomain ([115.97.184.151]) by smtp.gmail.com with ESMTPSA id j14sm5654021pfn.77.2019.03.03.12.06.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Mar 2019 12:06:42 -0800 (PST) From: Jagan Teki To: Thierry Reding , David Airlie , Daniel Vetter , Sam Ravnborg , Rob Herring , Mark Rutland Subject: [PATCH 0/4] drm/panel: Add Novatek NT35596 panel driver Date: Mon, 4 Mar 2019 01:36:14 +0530 Message-Id: <20190303200618.17581-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 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:mime-version :content-transfer-encoding; bh=PVPzDY72470tY0FltbkT7D/GyDpYLW7HTjjFEtM8nfA=; b=HwMexQJxIOwa8zkMS2QDbrMpR9E2sNWUNx2C8NyyK+039QnATyUB2hWqqm/Ni0bUZn XR3P2JwyHL+DoDiwM/pzGUPrRB1BIQa9nktdFqnsUPiQ8W7BHTsXQy3oqHwj91ENErMg VRIbKg/gGeWZz8XYUEw7HD1NrhC04xg53fcBc= 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 This patch set support Microtech MTF050FHDI-03 MIPI DSI panel, which has Novatek NT35596 controller IC. Since there is no proper programming guide for NT35596 IC, the driver init sequence is referenced from [1] but analyzed based on datasheet. NT35596 support several regulators on the chip, among those ony 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. [1] https://android.googlesource.com/kernel/msm/+/android-msm-shamu-3.10-lollipop-mr1/arch/arm/boot/dts/qcom/dsi-panel-nt35596-1080p-video.dtsi Any inputs? Jagan. Jagan Teki (4): dt-bindings: Add vendor prefix for novatek dt-bindings: Add vendor prefix for microtech dt-bindings: display: Add Novatek NT35596 panel documentation drm/panel: Add Novatek NT35596 panel driver .../display/panel/novatek,nt35596.txt | 32 + .../devicetree/bindings/vendor-prefixes.txt | 2 + MAINTAINERS | 6 + drivers/gpu/drm/panel/Kconfig | 13 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-novatek-nt35596.c | 860 ++++++++++++++++++ 6 files changed, 914 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/novatek,nt35596.txt create mode 100644 drivers/gpu/drm/panel/panel-novatek-nt35596.c