Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2736970yba; Sat, 18 May 2019 01:44:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqw6/QkMjQTuk9okWFLV1HoOKmrHUKqRjjFsdQFEpRgnvtcii7ivzBOfnWyfHjZ4WKOxo3JE X-Received: by 2002:a63:3190:: with SMTP id x138mr61037777pgx.402.1558169058677; Sat, 18 May 2019 01:44:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558169058; cv=none; d=google.com; s=arc-20160816; b=T79CEPkPYzBO3Apyn7uWxHXoDQ22WX/U7BQF1VapDg+uTgUIg65NpEt4oKUk142TVG AY99UKjGA2hbJGDfIYHhSDbRu9Is1F7T6NYcSyTYhV238/JDbCzsGN6orYXhseBRGWxV jxGKO0ysPTqRVG51jYujeO8WPuy0B/NdNjyhF4vri2PFHqDbg27U6To8d99sY0Cwy8X1 Npcyt1xUXqlqmwW/sGcVSA6+AKmLU/SSqNhwdGX3ZxFcd7skiBtg9DsGlzBEqGp92Z6o eKBxPHHJ0Rd10YW1E9SUsfLAgtnFM2tFyMNz1oI7XROHFDRYu43Qjzv5KycC1pZpAWcr reWw== 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 :message-id:date:subject:cc:to:from; bh=Inx/QKlgE1B2EO7MZEw9ZcJI2j8bm08g/RUvN/PRxzQ=; b=zhN8tcrxAWtMWKoFscZjJZieJIqKWZOdfVO3S5Eq45h8Wnmw2xd4CWSiDsOLzKgRY3 bY9pw4aG4Oh6XIAUJro71CGOL0VYopUtBgZrAA/SZJ1bIu8bzNNMdMwyRpJkoFpZupeJ irRV0dtJ52YwZ37bfVobFR1LMDrDQp0CleBJ11U4jby6Hk3qvnoZOyowybEnN006++2m vD7BL8jdingrGDhrX7RDv3qMiEtgbhtmDyaobPUMN2DZNmJF1ojGllYJUYu7br56adq6 c7w274rHM1Wne1Aa4NGWf4wO5SleIC7XcQKi5k0wKK9Zdu/JoPx+FHYSRv9kcX80knQG z+rQ== 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 bg9si10055440plb.12.2019.05.18.01.43.52; Sat, 18 May 2019 01:44:18 -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 S1726119AbfERIWl (ORCPT + 99 others); Sat, 18 May 2019 04:22:41 -0400 Received: from Mailgw01.mediatek.com ([1.203.163.78]:14590 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725268AbfERIWl (ORCPT ); Sat, 18 May 2019 04:22:41 -0400 X-UUID: ed776fa81d3f46dc86f6ccec25516e90-20190518 X-UUID: ed776fa81d3f46dc86f6ccec25516e90-20190518 Received: from mtkcas36.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 400728813; Sat, 18 May 2019 16:22:32 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS33DR.mediatek.inc (172.27.6.106) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sat, 18 May 2019 16:22:30 +0800 Received: from mszsdclx1018.gcn.mediatek.inc (172.27.4.253) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Sat, 18 May 2019 16:22:29 +0800 From: Jitao Shi To: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , , 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: [v3 0/3] Support mipitx on mt8183 Date: Sat, 18 May 2019 16:22:24 +0800 Message-ID: <20190518082227.14507-1-jitao.shi@mediatek.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 | 2 +- drivers/gpu/drm/mediatek/Makefile | 2 + drivers/gpu/drm/mediatek/mtk_mipi_tx.c | 344 ++---------------- 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 | 160 ++++++++ 6 files changed, 527 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.21.0