Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp266715ybe; Wed, 4 Sep 2019 19:39:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqylh9SlleSHJCbXs0vTTuioX2dMZ+N07vCAljXckrYWywOxmil8enJj4znx9xCtj5tvLAU6 X-Received: by 2002:a63:ee04:: with SMTP id e4mr1047361pgi.53.1567651179856; Wed, 04 Sep 2019 19:39:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567651179; cv=none; d=google.com; s=arc-20160816; b=sl2i4FHp56n2nkXOswn8OW/YH9j3RD7bQy7YD8VH1lmfjsdDEoHzOeDswbDc/FJfFh 1vx61k0xMsfPpYi/2zdpIoXugFcpBlPApZWaH+i2/XKvmpc5Msbfcspsijg45y4A4sHh 7xV3CPJQkdi92RP7SLiHcsS3C0AsPm6PNuwi9W93SIPMkV7e/F2lw7drgCjQEPlPAQkn X1IDeU4tGETZgVK0xpKqWFphI3CK08FPV5yC5o7J3ixR/W/NJDmlvg0gGminywr3DySc k9mxmXmUR2eJcFWNpNoGzW2fCA6FkU7CuCXK0sJ6lH5EgFhUhqqC4Yv+5PPESAp47OFK BLdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=V1ncoUU6QnIApZehGvfvQpsqXjLu7UzFt63HZwteTXE=; b=HuAQj1o+VcMYOt8FSKr+ICxKKd+h5zcbctayeLbAu0Dd4rdjq0KLba/zHENvsQ9jxo F9IxzT/KnSC//+E7zYWqXhGSD4VLfjIaFw6jB4OfCy4aY48YzHV+Rig/+xLq5JZfoaCD J2kcvk5Kw+uyiQjsiVGq5xXuNLnYBXI/cToLqm3ZYyj4DqNnlqdqj3gaaIzQeugEOq7k VFmdeDH9s8zeSnfXcSzfgRd30D/24UCrU8RO/wrM4vG8BXxHG94TSGMP1LpUDrISllf0 fM+3L30yfXyWFtlRyh72+RuUbaeqYRW3vSfXbdeXUK8rj6YsJVq7uisQbdON+WV/IP+o UI5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33si665347plb.392.2019.09.04.19.39.24; Wed, 04 Sep 2019 19:39:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730821AbfIECic (ORCPT + 99 others); Wed, 4 Sep 2019 22:38:32 -0400 Received: from Mailgw01.mediatek.com ([1.203.163.78]:39694 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728008AbfIECic (ORCPT ); Wed, 4 Sep 2019 22:38:32 -0400 X-UUID: 85662b706e4842e9829949980f2aa41f-20190905 X-UUID: 85662b706e4842e9829949980f2aa41f-20190905 Received: from mtkcas32.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 1277019290; Thu, 05 Sep 2019 10:38:24 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by MTKMBS33N1.mediatek.inc (172.27.4.75) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 5 Sep 2019 10:38:19 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 5 Sep 2019 10:38:19 +0800 Message-ID: <1567651100.13330.1.camel@mtksdaap41> Subject: Re: [PATCH v6 0/3] Support mipitx for mt8183 From: CK Hu To: Jitao Shi CC: Rob Herring , Pawel Moll , "Mark Rutland" , Ian Campbell , , David Airlie , Matthias Brugger , "Thierry Reding" , Ajay Kumar , "Inki Dae" , Rahul Sharma , "Sean Paul" , Vincent Palatin , "Andy Yan" , Philipp Zabel , Russell King , , , , , , , Sascha Hauer , , , , , Date: Thu, 5 Sep 2019 10:38:20 +0800 In-Reply-To: <20190807084645.63738-1-jitao.shi@mediatek.com> References: <20190807084645.63738-1-jitao.shi@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-SNTS-SMTP: 6FC0B6C8ACCBF84F2E1844C1B7B45B0403D54D0812C4D28F17CDBF053DE0F48D2000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Jitao: For this series, applied to mediatek-drm-next-5.5 [1], thanks. [1] https://github.com/ckhu-mediatek/linux.git-tags/commits/mediatek-drm-next-5.5 Regards, CK On Wed, 2019-08-07 at 16:46 +0800, Jitao Shi wrote: > Change since v5: > - remove mipi_tx->ref_clk > - remove mt8183 pll prepare unprepare > > Change since v4: > - fine tune the mipi_tx->ref_clk and mipi_tx->pll sequence > 1. Prepare mipi_tx->ref_clk > 2. Prepare mipi_tx->pll > 3. Enable mipi_tx->ref_clk > 4. Enable mipi_tx->pll > > Changes since v3: > - turn off PLL before setting PLL parameters. > > Changes since v2: > - update Acked-by: Rob Herring > - update mt8183 max bit rate support > > Changes since v1: > - update dt-bindings document for mt8183 mipitx. > - remove mtk_mipitx_clk_get_ops and assign clk_ops in probe. > - fix the lincence > - remove txdiv1 from mtk_mipi_tx_pll_prepare > > Jitao Shi (3): > dt-bindings: display: mediatek: update dsi supported chips > drm/mediatek: separate mipi_tx to different file > drm/mediatek: add mipi_tx driver for mt8183 > > .../display/mediatek/mediatek,dsi.txt | 4 +- > drivers/gpu/drm/mediatek/Makefile | 2 + > drivers/gpu/drm/mediatek/mtk_mipi_tx.c | 338 ++---------------- > drivers/gpu/drm/mediatek/mtk_mipi_tx.h | 49 +++ > drivers/gpu/drm/mediatek/mtk_mt8173_mipi_tx.c | 289 +++++++++++++++ > drivers/gpu/drm/mediatek/mtk_mt8183_mipi_tx.c | 150 ++++++++ > 6 files changed, 515 insertions(+), 317 deletions(-) > create mode 100644 drivers/gpu/drm/mediatek/mtk_mipi_tx.h > create mode 100644 drivers/gpu/drm/mediatek/mtk_mt8173_mipi_tx.c > create mode 100644 drivers/gpu/drm/mediatek/mtk_mt8183_mipi_tx.c >