Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1700694ybi; Sat, 1 Jun 2019 02:54:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJYFRXtgLehZ+JR8SQHIH8qO72zkVV+0L+Xb3xuNAyUdj2oQNHXW+qXAw2CIwO7tNvn8MC X-Received: by 2002:a17:90a:be02:: with SMTP id a2mr12821821pjs.73.1559382851006; Sat, 01 Jun 2019 02:54:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559382850; cv=none; d=google.com; s=arc-20160816; b=MzwM2YWVb7lMV9Zr2zAoGHjnEU1mrqoxdQlzGcU3KRd0r5TV1KiCKjRZyykzSE59CT fFdgntRG7oB1XWPwjujBxQMtgZiCJkCVJBmqinmKZ2OZMhldWjZONFC6TJ0/sVWy4rVA zHTRGs6n5nhn9pdvRdXtddpzMQ4vCeYIuuQBeyietqZHAc9ewN8bQ5c0rZY9AqL3OEeu GMCnp4yNQuvrIp02LeSd0OJXilhoOVsazjtf0f3utKvFyyee2EoXEWCNIUWSH9QJS5vR 1AKr2m6m1ABSq6tbnpowY2HszW8LqWEGqqRROssyojapOhUwsjYnaK8+mlMRcMfuY1Tn w+WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=gideJLMTRl5bGFp2D7efKq5MZhQHg3z3PTcJTjXvoaw=; b=mXjniTJwJA/U16Eq9YKgVdTPnGzf4JhRTNR3SsHsg12gdqJ2FxFu0mICckd3Fpvl5/ E2/uiJz8DOLLBBwiP5VqE2fY4Z136gHUmd3VOCBCZ0Htqkzv2GfxY1imM11Kv3F0hcDx olvrfs9DeP1+3+ylGxfgYlxrygg22lstTezCyaJ0KlvpCk53tOJruPwaMrFZfvk0EgY3 +oM0t8dfR3vd0cRy6IKpAz09E4EfAMx07g2t5m2rHGz4JedBtEahP0Ttz+CCXrM7H+u7 iuHAVE2IY2z2pnEq/XVH6+1ERQLflbBFRNEJdu96r+HeN2SlkhVKesEi4zUUArScjLFY K9OQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d8si8972610pll.389.2019.06.01.02.53.56; Sat, 01 Jun 2019 02:54:10 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727197AbfFAJwx (ORCPT + 99 others); Sat, 1 Jun 2019 05:52:53 -0400 Received: from mailgw02.mediatek.com ([1.203.163.81]:57066 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726134AbfFAJwv (ORCPT ); Sat, 1 Jun 2019 05:52:51 -0400 X-UUID: 89a4df0d271742b38f24409b7d29a041-20190601 X-UUID: 89a4df0d271742b38f24409b7d29a041-20190601 Received: from mtkcas35.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 704681345; Sat, 01 Jun 2019 17:52:40 +0800 Received: from MTKCAS32.mediatek.inc (172.27.4.184) by MTKMBS33DR.mediatek.inc (172.27.6.106) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sat, 1 Jun 2019 17:52:39 +0800 Received: from mszsdaap41.mediatek.inc (172.27.4.253) by MTKCAS32.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Sat, 1 Jun 2019 17:52:37 +0800 From: Jitao Shi To: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , , David Airlie , Matthias Brugger CC: Jitao Shi , Thierry Reding , Ajay Kumar , Inki Dae , Rahul Sharma , Sean Paul , Vincent Palatin , Andy Yan , Philipp Zabel , Russell King , , , , , , , Sascha Hauer , , , , , , Subject: [v4 0/3] Support mipitx for mt8183 Date: Sat, 1 Jun 2019 17:52:32 +0800 Message-ID: <20190601095235.9194-1-jitao.shi@mediatek.com> X-Mailer: git-send-email 2.12.5 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 .../bindings/display/mediatek/mediatek,dsi.txt | 2 +- drivers/gpu/drm/mediatek/Makefile | 2 + drivers/gpu/drm/mediatek/mtk_mipi_tx.c | 345 ++------------------- drivers/gpu/drm/mediatek/mtk_mipi_tx.h | 50 +++ drivers/gpu/drm/mediatek/mtk_mt8173_mipi_tx.c | 289 +++++++++++++++++ drivers/gpu/drm/mediatek/mtk_mt8183_mipi_tx.c | 162 ++++++++++ 6 files changed, 530 insertions(+), 320 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 -- 2.12.5