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: 10666597 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 79302175A for ; Sat, 3 Nov 2018 10:09:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4FFC62AC6B for ; Sat, 3 Nov 2018 10:09:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C02B2AC73; Sat, 3 Nov 2018 10:09:46 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6521B2AC6B for ; Sat, 3 Nov 2018 10:09:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ioh/6ETPcRf2fS+bmI8Trdtu4VBBNuxCpQpihMu2k2o=; b=ur/fNAgDaDLuKr w41TJo6Oxt2/vWM7qCy7n16IxVwQ/m4gsX43d04WujseI4iIz060/oOMvCo9OBEzzUB8wbqz6Qejx oa0tvfNnFXSk+yLl5+WqPx1+C5KgPapx9Fwj9M3NWjiJy2znOfOZKyVl3dmTO2TU2CFxBfdbJBB49 4jqmQLFgJkgRd74b4nlh/eNLIcl13ScDPAfl7xNzW+Ey4DXVyz44+VcyxL2Akp1/hTIsfZeB8jvZa JuBRQvpzXcmhoUBVsmBj7sgOsxsaYgPL8SXFHcbAUSI3TBg68y+soLqFlWSIFe867DtMei6Ui4g/X 1QiCoFK877iTT38/1N1Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIss5-0002dk-Tm; Sat, 03 Nov 2018 10:09:37 +0000 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIss3-0002RI-1r for linux-arm-kernel@lists.infradead.org; Sat, 03 Nov 2018 10:09:36 +0000 Received: by mail-pf1-x441.google.com with SMTP id f78-v6so2167709pfe.1 for ; Sat, 03 Nov 2018 03:09:23 -0700 (PDT) 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=MFMYXF1pyse63r7JDB5cxSSXfiTGDzIKGn4uj7Xb3k0=; b=GIpnOSuHRPov2o+7ihDi02vxDH3z8E/FeqlXPPjMNU9MGXjWe7UW+OefYYSodEVg2O 3M1RBzZRqd+rzTwVMBu9i7kOOuFx278vf4+VWYn9JcL3bWcLloAGYwVSNyMPnvGB4p0Q 09IXLXWqINfje8xcvvfD/c6jnN3m4Rfm/FMWE= 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=Wp5LvOuU68caUoNbR07aFMMxo3aN2XeCH8eHO/dgvYnSevcPmD+hMO1hu6C0p+PEWt 3SgKvZWaj9uzCiOXC8zfy114PX/mlwX/HAG/Vo4SCY0ifyIxovSFg4ihB/C7qki7TFHH zzMNxLF1xwdTrdVoeRYi9XaxVbdzV0/6U22+V0zSkJN0LYp6NXFSrpB7y+EKL/lDZumw hYQ6k08JAoDAX3++GUYijU6uqm1NOdBey5IK1eGskk3lM/zNerUA38FaMsBKLENAfuPZ oMPG5st7/fKnW2g6f1Pc+y2MAlcjCS2zRPH13Ajp+3G/sgwlAB3p6isG43b2vf39nOgF 5x5w== X-Gm-Message-State: AGRZ1gLa+FmX9xwEu0Igr+ke7CYIp33B8yjhA/tiDiSs+cPK80eW6Kq7 P2n6mWqUjxg16M4anWkkHaRN+Q== 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181103_030935_095142_2F2AE564 X-CRM114-Status: GOOD ( 11.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jagan Teki Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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