From patchwork Sat Nov 3 10:08:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10666651 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 E66A017DB for ; Sat, 3 Nov 2018 14:23:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D55AE2883F for ; Sat, 3 Nov 2018 14:23:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C9B1E28915; Sat, 3 Nov 2018 14:23:36 +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 86AB02883F for ; Sat, 3 Nov 2018 14:23:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DBFE86EDC6; Sat, 3 Nov 2018 14:23:26 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by gabe.freedesktop.org (Postfix) with ESMTPS id E400C6E67D for ; Sat, 3 Nov 2018 10:09:23 +0000 (UTC) Received: by mail-pg1-x541.google.com with SMTP id z10so176029pgp.7 for ; Sat, 03 Nov 2018 03:09:23 -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:mime-version :content-transfer-encoding; bh=MFMYXF1pyse63r7JDB5cxSSXfiTGDzIKGn4uj7Xb3k0=; b=uX5sULhFqQBxWqP3YxDUnLsgL8NaQwD09DL7/i0UOFGelZRaGPLcyjxR9oF37ZCMgc yYdX6JQEpjqbbC4Icv/yo8roR8ged26PmDqVjYmhtZYoyRMKT+A+rjpKyg/rN7M6GtW5 Fi4PP+Agr6q7NWTR5NADRNdSASiLOYrr3Hfe15yLvJ88x5DV4ROTw3+xaweaAOeKybO0 BLiz4Z3dNHlO+EMPCm+QKDlkvhGZ7TqQtPAVAf3AAI9uvr6cmpuZeZqmwfEJxctYaLax esrwSpTQoiSNlAC57KzIjm/HdbqnbLvXUgHhtT9XbFzDDAS7dZZ51JwY4Bh7mrBA7/0w fTug== X-Gm-Message-State: AGRZ1gLdJldZ5hXvnxTgVa0BooDTN4C3bj4PYyWZQvY+57eCTSqQHDo1 z9qnNPwTSm5OSPkGyW6eTIv8wQ== X-Google-Smtp-Source: AJdET5eJognxVUs7SAmu4mLiOMKUtNICq3a7vesH4xNcEzh4ahiTx/38ME2A0JipRgWCUcaxCQtOSA== X-Received: by 2002:a62:6181:: with SMTP id v123-v6mr15073159pfb.117.1541239762735; Sat, 03 Nov 2018 03:09:22 -0700 (PDT) Received: from localhost.localdomain ([2405:204:6094:3f7a:ed0a:fb74:1220:defe]) by smtp.gmail.com with ESMTPSA id z79-v6sm28466823pfl.33.2018.11.03.03.09.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Nov 2018 03:09:22 -0700 (PDT) From: Jagan Teki To: Maarten Lankhorst , Maxime Ripard , Sean Paul , David Airlie , Rob Herring , Chen-Yu Tsai , Icenowy Zheng , Jernej Skrabec , Vasily Khoruzhick , Thierry Reding , Mark Rutland , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Michael Trimarchi , TL Lim , linux-sunxi@googlegroups.com Subject: [PATCH 00/10] drm/sun4i: Allwinner MIPI-DSI Burst mode support Date: Sat, 3 Nov 2018 15:38:50 +0530 Message-Id: <20181103100900.30313-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 MIME-Version: 1.0 X-Mailman-Approved-At: Sat, 03 Nov 2018 14:23:26 +0000 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: Jagan Teki Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This series support MIPI-DSI Burst mode on Allwinner platform, which is tested in burst supported panel in Pine64-LTS board. Series depends on previous A64 MIPI-DSI series[1] and all changes are available in [2] repo with WIPI-A64-DSI branch. Any inputs, Jagan. [2] https://github.com/amarula/linux-amarula [1] https://patchwork.kernel.org/cover/10657467/ Jagan Teki (10): drm/sun4i: sun6i_mipi_dsi: Compute burst mode loop N1 instruction delay drm/sun4i: sun6i_mipi_dsi: Support instruction loop selection drm/sun4i: sun6i_mipi_dsi: Setup burst mode timings drm/sun4i: sun6i_mipi_dsi: Setup burst mode drm/sun4i: sun6i_mipi_dsi: Enable burst mode drm/sun4i: sun6i_mipi_dsi: Enable 2byte trail for 4-lane burst mode drm/sun4i: sun6i_mipi_dsi: Enable burst mode HBP, HSA_HSE dt-bindings: panel: Add Feiyang FY07024DI26A30-D MIPI-DSI LCD panel drm/panel: Add Feiyang FY07024DI26A30-D MIPI-DSI LCD panel [DO NOT MERGE] arm64: allwinner: a64: pine64-lts: Enable Feiyang FY07024DI26A30-D DSI panel .../display/panel/feiyang,fy07024di26a30d.txt | 20 ++ .../dts/allwinner/sun50i-a64-pine64-lts.dts | 37 +++ drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile | 1 + .../drm/panel/panel-feiyang-fy07024di26a30d.c | 305 ++++++++++++++++++ drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 186 +++++++---- 6 files changed, 500 insertions(+), 58 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.txt create mode 100644 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c