From patchwork Tue Dec 11 15:43:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 90 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wr1-f69.google.com (cartago.priv [10.11.12.1]) by cassiopea (Postfix) with ESMTPS id 3FAB12E2C90 for ; Tue, 11 Dec 2018 16:44:13 +0100 (CET) Received: by mail-wr1-f69.google.com with SMTP id m11sf1314580wrs.8 for ; Tue, 11 Dec 2018 07:44:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1544543052; cv=pass; d=google.com; s=arc-20160816; b=geRyUSpCFU/a25ESRK6HnPq7L54Frco5oyWDM0tcBxl5kZvbvkiuYQbkDG148ch1X+ mp6Azev0K84lyo6QoXFAkdTg8Va9RK1R49/BikRzwaX5BJpKr9V45mnPmlzkkbvgRIP4 1r8ufH3jv2X6i4B4ZoC0tETj4epmimQpNx6M3lVvl1ySH5g4faq8ksB/2ukQIOK6Ru1m Bd7hOPRdT9Sa0rAZRIDnvQpoRIJSgBW7wMbwpVX7w+0YGjR2Dk6j5QWtj6TGP7WBjqpj usgOxx949LYc13GErRa1rwQkiePWPKqpyy60kn74uZc64ZhVK7ubrczhPZhyv2bYLzxB EuyA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=s3D2raQMukEX70jUMwg9ACQ2h5hM2z+quJDGcBrzJ8g=; b=t6QetMY6UkCf4RBUMjPRVDul0AVegqyQkz7Cj21I80wdrlB6Kav/stOe5XrqRKKlr+ DcR+5dGaDxbirQV7ofxyYrpGqSNaVEtLfm9h/h51l8AIsaKq3l/u6FzEra82UplZup6x /jfcuq6MU1owpLsZmcsUVWIJMs4joqWnp/Q0VXNdq/Um0cJPp1W7jn14Asti3LZDV5pY QJEnNC0HFXeG5cVEqJcrpSZcCvVI00TCzyYvleFVTEQXqRFStHUZX3msFYga82gcs/eK gRBRgnFPB0uCgDiNNzNSUQJpUY9OQ5cfMKqQb6pZr+zlhun7Km0u/m69oQmBnXeyHkOP Pitw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hyGRahYJ; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=s3D2raQMukEX70jUMwg9ACQ2h5hM2z+quJDGcBrzJ8g=; b=pg8XN9jlX2bcxtPX5EJNsn5qTcFghSIc6v3SsSXmY7PwZbA7ycb7WqFpKHXKuleTcM d/yitHWU9EL4DvhSgYU4wv+YR8eoVj3mTT86P1R6ULtoGaD/+lL/CMd1zXcgBoSwgN1C ppI30g4f+VFgTnFih/9Dl9s1TyaaPwDixwr0k= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=s3D2raQMukEX70jUMwg9ACQ2h5hM2z+quJDGcBrzJ8g=; b=mG8sC2UiEXZrcziJhCGiPev+Te2gEik+wp7HrDm5/23hETciiu6mq3+tYDpSyEs8oU QYQAwKlpo0qmqLhIcEO6IASXWx4/+2vQfGZaaavjkE75/ZrNer8ob9D62ZF6i/Q1228k UWW4AqkyMkyfG0sRiwxFzR2IVw6zzNAmdIqqfinlhw+o4bzOqC+LdPIZpA4oHmItPcBR 1dvdbNxcqVq7nUpKKJUz+0w9VAA18UxRzb+jqmUmE/vra2QTFAcZzVEcY4Vlw0eFKER0 sFIi/Sb5ftP/YqyI2SCPlid9r6eAIHENyRv9mPju1VH8EOXlLW8vHJQvnDhen/qZjFPB RiSQ== X-Gm-Message-State: AA+aEWb/osSPhc8kGwHcGd/fHgZg+iqQxzLHXlZv1EwU+NaiNjzVCclb zUtQ1I76+kJzKWKK9SNjLFNb6GAB X-Google-Smtp-Source: AFSGD/Xy1NCME1qDrmBLOzNwdutf/j7wKtS/SZY1ECiLyKcNjcSiBzYN40ojylcKZS7Fx6SvkhVNvQ== X-Received: by 2002:adf:f40b:: with SMTP id g11mr1485349wro.20.1544543052863; Tue, 11 Dec 2018 07:44:12 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:adf:e0d0:: with SMTP id e16ls3217254wri.11.gmail; Tue, 11 Dec 2018 07:44:12 -0800 (PST) X-Received: by 2002:adf:e707:: with SMTP id c7mr13155298wrm.196.1544543052433; Tue, 11 Dec 2018 07:44:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544543052; cv=none; d=google.com; s=arc-20160816; b=mWrJ16HypYTat5r9KC0Ki3YQaGsXZRN+QQR2BbQWybKEdQwyYz46dYZNinUIlma3nS 9u0ZgpNz6Vj9UOlgdKMligQvsEDMv2cF1DaQyXrG0lxpxsm7IXI07jkY3+2C+dsgZsJ7 S42rbHqKvQU8GWOEUkfLb2XxKkrY1HY/hNmpXc165Xb4tnWAvELjKVABI9cSNRp/qL7d e461dGYbwxHBBDH2aNjDcYVdX4ZWIxCEUL7gpFIKF3tkfbkG6LqcC849u5SosiMaPziS DEioKWyKq+0asDuodEKexVNEqkxdHXQStjaszuJz7FtzocHGwp/ykmNIlgSbV95kBGaE I/wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=s3D2raQMukEX70jUMwg9ACQ2h5hM2z+quJDGcBrzJ8g=; b=oXNNslTQ5SpUC+483eslvn56gQ4GrXOEAJnaaDRX/9BvHPSOuW5FXJwOWRglWwM3JV m+XRoZsVrrqyf/dsfwAqTE+RlE67Ch5hUOVflfy9U2tXpbfNzE2iCQTT/QBkP2jTcCzs dJA5yvyVScsZVhN7aVCS6m33QHNE9sPiyl7IvBffkMqGGnLcP06s+D3g6H8H9QpNtkN5 VmqZm2nR42Bbf+gaCBE8heiYG86TdG+edx+kuKklTGc/MxX0ULEYFtfJ1LhYLwJQYXUY cfZOUCRcmzlDFsadIFvaUZEmkLawVFZjTyFaBXCqxXCqIQokgJS9UjjfW4uwPmppB/Ri Yitw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hyGRahYJ; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id a21sor289954wmj.25.2018.12.11.07.44.12 for (Google Transport Security); Tue, 11 Dec 2018 07:44:12 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a1c:da92:: with SMTP id r140mr2920707wmg.136.1544543051990; Tue, 11 Dec 2018 07:44:11 -0800 (PST) Received: from localhost.localdomain (ip-160-131.sn-213-198.clouditalia.com. [213.198.160.131]) by smtp.gmail.com with ESMTPSA id t70sm396499wmd.36.2018.12.11.07.44.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Dec 2018 07:44:11 -0800 (PST) From: Jagan Teki To: Thierry Reding , David Airlie , Rob Herring , Mark Rutland Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-amarula@amarulasolutions.com, linux-sunxi , Michael Trimarchi , Jagan Teki Subject: [PATCH v5 1/2] dt-bindings: panel: Add Sitronix ST7701 panel documentation Date: Tue, 11 Dec 2018 21:13:57 +0530 Message-Id: <20181211154358.25293-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hyGRahYJ; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Techstar TS8550B MIPI DSI panel is 480x854, 2-lane MIPI DSI LCD panel with inbuilt ST7701 chip. The default regulator names in ST7701 chip is renamed in Techstar TS8550B so, add specific binding names for them. Signed-off-by: Jagan Teki Reviewed-by: Rob Herring --- Changes for v5: - found the chip from vendor, so added new chip binding - here is v4: https://patchwork.kernel.org/patch/10680333/ .../display/panel/sitronix,st7701.txt | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/sitronix,st7701.txt diff --git a/Documentation/devicetree/bindings/display/panel/sitronix,st7701.txt b/Documentation/devicetree/bindings/display/panel/sitronix,st7701.txt new file mode 100644 index 000000000000..ccd17597f1f6 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/sitronix,st7701.txt @@ -0,0 +1,30 @@ +Sitronix ST7701 based LCD panels + +ST7701 designed for small and medium sizes of TFT LCD display, is +capable of supporting up to 480RGBX864 in resolution. It provides +several system interfaces like MIPI/RGB/SPI. + +Techstar TS8550B is 480x854, 2-lane MIPI DSI LCD panel which has +inbuilt ST7701 chip. + +Required properties: +- compatible: must be "sitronix,st7701" and one of + * "techstar,ts8550b" +- reset-gpios: a GPIO phandle for the reset pin + +Required properties for techstar,ts8550b: +- reg: DSI virtual channel used by that screen +- VCC-supply: analog regulator for MIPI circuit +- IOVCC-supply: I/O system regulator + +Optional properties: +- backlight: phandle for the backlight control. + +panel@0 { + compatible = "techstar,ts8550b", "sitronix,st7701"; + reg = <0>; + VCC-supply = <®_dldo2>; + IOVCC-supply = <®_dldo2>; + reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */ + backlight = <&backlight>; +}; From patchwork Tue Dec 11 15:43:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 91 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wr1-f72.google.com (cartago.priv [10.11.12.1]) by cassiopea (Postfix) with ESMTPS id 6B7C72E54AF for ; Tue, 11 Dec 2018 16:44:15 +0100 (CET) Received: by mail-wr1-f72.google.com with SMTP id q18sf5080311wrx.0 for ; Tue, 11 Dec 2018 07:44:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1544543055; cv=pass; d=google.com; s=arc-20160816; b=M5MUJ2I/L2mJLracY4Z6TMnPxxRi6eLFCXSW4tDy25w4V5B0LOYpvnvHJ/A8R/IPgC eLJ2KgwOjjKdsnBybJo/eFuQHnu508pqiB9icJHsv6Z9rSL+fxdjt96EhyDHA/x8IKgk tWcMpqCgV90oQ2N99JmzY+v/i1eR4qv2NDQiBcHWJeOfF/wwItJtxFRpeMP05j2AcAo0 uTM3O2MV1yUfRmTsmJSnLhtvbxCzWxndNPs9SmjANoBLcgNXRKrSG/t7iR0lWziQPawK eieq1LuL+QI8TxXLBZyN28vs9xZ6iaQJpZzJWHAsjEaFwXB2yLnmK1kcsInN2W+j3rOd fgKg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=mgQw3IQuM0+nAazwcPHR5ezMv8MsBuqdfBSz3eZHOKo=; b=arxIxIH17r3/ueN9A33ArvOqzqmwKy/QxLyMaHMTYt6htr2Hw/yTxtfo0mUzSBH2xa 4Mj+6PVIsDiaJ7Xm8o944nuAH4tLT9SyOFkYcYwwUAUcX3MHt9LsZLN6vA6vxUyD8v5f JBptGpJQS8RzMuvjOw3l0JxACH0bgQ1HMQAd6S/+j/oKNUhnci9faUZWmWBDv7u+Yw2o sFP5Ici64r1vSFwDWViSgdCxriE4B1H1FsQP4lOPsEX5KF9yVq8e7zKnjy84bFIy0sfz MPiOrFTLDn5pD/1qduhd9+UyfqPB0s1can1uSZfzfhwxDS8snsfM1huUZWezR/ibYtY0 vh9A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Z/8t19wX"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=mgQw3IQuM0+nAazwcPHR5ezMv8MsBuqdfBSz3eZHOKo=; b=AvSIV54F4sUmrbS/Fz/eqoP4GTuisDDGA1elY8OxO5oE3rBHbJToPs+UkkLkfqCwtp d+RE0I2u3UDra7A23BJ6jS3PWlqiW/W1DLIvpPIZmqfVXxS/uq37Tcrk7daXa08E4pP3 9Nojw7bUGQrvoufLQMWwwYiyQquSnqiJ3sDPU= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=mgQw3IQuM0+nAazwcPHR5ezMv8MsBuqdfBSz3eZHOKo=; b=KSzCPVQ9J2Zp4Z7F6ovZfjGzQIC0i43C1oYXMXu9bEm281DIKL9uNTpbR2G9Dr38Sc rIvvd5miVwKdEvX66FMVvOCHe9rH1g8YrClJSck1glAy6O5C7AXF+4KGnjkijgrkRBO+ PR04ykFK4sa306ctxd4Bh5Tjrf0XaxfftJGpYdHOz8UJu3GXLwCGnrXs/3/XDg9Bvg6T THZgm1q1OBKOnDhBzZLhw1LslHn+oRo/wAqvnewChDaxAvSTEkpekG5dFzLYUWGHLlI+ M4pmiGOR/Ea43oyGoFycWaH0jQfEr0UGGef67GaD1J/GtfXExRsrQTH4z/yT5p02DTvC gBaQ== X-Gm-Message-State: AA+aEWZm7a8Ry4U0DlErlvzTiQBkvXNCbGCEYq//lMeELKesTa9/yEjK Vk7cuzCpPVG0CZAQhYS8RmspPFfI X-Google-Smtp-Source: AFSGD/VhkwwLnYgNh3CNleLGfEV+AWJD75lp1nlIX7QjV8+ezTzKMgAPjE5QYCr7Bnf/DlXf9xIShQ== X-Received: by 2002:a1c:2d07:: with SMTP id t7mr404382wmt.17.1544543055025; Tue, 11 Dec 2018 07:44:15 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:adf:e0d0:: with SMTP id e16ls3217316wri.11.gmail; Tue, 11 Dec 2018 07:44:14 -0800 (PST) X-Received: by 2002:adf:ca13:: with SMTP id o19mr13798710wrh.148.1544543054633; Tue, 11 Dec 2018 07:44:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544543054; cv=none; d=google.com; s=arc-20160816; b=TiULdvjuDMn9DuUMQ4L8NgzRQc5Vphp6u5B0FH0q8v3MrgvTmgqIld115e9Wp69AN0 f8Z96ROwP9uTS8SpY8Cdftbek4PzqUquLVFi/zFXndiRxv0C8ZDbqa4BBlUrZo0jqhj4 W/h/9gfrUSVZE7SSJtD3dbqkWK/y1qbqkI73hq37SUugC/1frrl4XpV0p7k7uBdU9aTV UmE8lroO/XypR18c6/fKjjVccXmnerFRCI/t20ZKJFK3HQYAJ47NZo22H+e2Ma4gXbob aMqNZ41HZcHnKCkWtMfml1biNf1p9IiUq1rxzbOkOZyuG7Lw1gnVgxPqbDJ3crnZ+ZHD KQaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=mgQw3IQuM0+nAazwcPHR5ezMv8MsBuqdfBSz3eZHOKo=; b=apZmXt5heZqVSewoGW5hipNDRo4I1mL2FAm5HhahqloIoaodAzObspUZIiWXkta4tm zNIEIy/Ovs7YPsOrH7LHoABhHk+VKGJv9npEcVKN0ifUCEUv+CTg7oD10KIoH6lOvbG+ 5ttLe9Lc1FHAHK8Z4mOwt4AM6dgUQEly/TLADczQuPUrgjdC619JgbcfKKzipacM8RZP 0qfpIjlJDF45DuSCGfHoX+kABK0Hp1154jV1tG6atSJT43QRlco34V58zsnZXBPD5Ca4 cI8LYzql6R3smuGWTIu1FqmATnbVBu7+0bP7stuXN6gN9wV5dmdqjvVFcXDRszlyLlTE BMgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Z/8t19wX"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id i1sor312687wmb.11.2018.12.11.07.44.14 for (Google Transport Security); Tue, 11 Dec 2018 07:44:14 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a1c:1801:: with SMTP id 1mr3013747wmy.153.1544543053985; Tue, 11 Dec 2018 07:44:13 -0800 (PST) Received: from localhost.localdomain (ip-160-131.sn-213-198.clouditalia.com. [213.198.160.131]) by smtp.gmail.com with ESMTPSA id t70sm396499wmd.36.2018.12.11.07.44.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Dec 2018 07:44:13 -0800 (PST) From: Jagan Teki To: Thierry Reding , David Airlie , Rob Herring , Mark Rutland Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-amarula@amarulasolutions.com, linux-sunxi , Michael Trimarchi , Jagan Teki Subject: [PATCH v5 2/2] drm/panel: Add Sitronix ST7701 panel driver Date: Tue, 11 Dec 2018 21:13:58 +0530 Message-Id: <20181211154358.25293-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20181211154358.25293-1-jagan@amarulasolutions.com> References: <20181211154358.25293-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Z/8t19wX"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , ST7701 designed for small and medium sizes of TFT LCD display, is capable of supporting up to 480RGBX864 in resolution. It provides several system interfaces like MIPI/RGB/SPI. Currently added support for Techstar TS8550B which is ST7701 based 480x854, 2-lane MIPI DSI LCD panel. Driver now registering mipi_dsi device, but indeed it can extendable for RGB if any requirement trigger in future. Signed-off-by: Jagan Teki --- Changes for v5: - found the chip from vendor, so added new panel driver - here is v4: https://patchwork.kernel.org/patch/10680335/ MAINTAINERS | 6 + drivers/gpu/drm/panel/Kconfig | 10 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-sitronix-st7701.c | 431 ++++++++++++++++++ 4 files changed, 448 insertions(+) create mode 100644 drivers/gpu/drm/panel/panel-sitronix-st7701.c diff --git a/MAINTAINERS b/MAINTAINERS index 3f6db876be1f..d2928a4d2847 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4831,6 +4831,12 @@ S: Orphan / Obsolete F: drivers/gpu/drm/sis/ F: include/uapi/drm/sis_drm.h +DRM DRIVER FOR SITRONIX ST7701 PANELS +M: Jagan Teki +S: Maintained +F: drivers/gpu/drm/panel/panel-sitronix-st7701.c +F: Documentation/devicetree/bindings/display/panel/sitronix,st7701.txt + DRM DRIVER FOR SITRONIX ST7586 PANELS M: David Lechner S: Maintained diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 3f3537719beb..d93b2ba709bc 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -196,6 +196,16 @@ config DRM_PANEL_SHARP_LS043T1LE01 Say Y here if you want to enable support for Sharp LS043T1LE01 qHD (540x960) DSI panel as found on the Qualcomm APQ8074 Dragonboard +config DRM_PANEL_SITRONIX_ST7701 + tristate "Sitronix ST7701 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 Sitronix + ST7701 controller for 480X864 LCD panels with MIPI/RGB/SPI + system interfaces. + config DRM_PANEL_SITRONIX_ST7789V tristate "Sitronix ST7789V panel" depends on OF && SPI diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index 4396658a7996..6a9b4cec1891 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -20,5 +20,6 @@ obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0) += panel-samsung-s6e8aa0.o obj-$(CONFIG_DRM_PANEL_SEIKO_43WVF1G) += panel-seiko-43wvf1g.o obj-$(CONFIG_DRM_PANEL_SHARP_LQ101R1SX01) += panel-sharp-lq101r1sx01.o obj-$(CONFIG_DRM_PANEL_SHARP_LS043T1LE01) += panel-sharp-ls043t1le01.o +obj-$(CONFIG_DRM_PANEL_SITRONIX_ST7701) += panel-sitronix-st7701.o obj-$(CONFIG_DRM_PANEL_SITRONIX_ST7789V) += panel-sitronix-st7789v.o obj-$(CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA) += panel-truly-nt35597.o diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7701.c b/drivers/gpu/drm/panel/panel-sitronix-st7701.c new file mode 100644 index 000000000000..86deb82a52ed --- /dev/null +++ b/drivers/gpu/drm/panel/panel-sitronix-st7701.c @@ -0,0 +1,431 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2019, Amarula Solutions. + * Author: Jagan Teki + */ + +#include +#include +#include +#include + +#include +#include + +#include +#include +#include + +#include