Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3325207imj; Tue, 19 Feb 2019 01:15:00 -0800 (PST) X-Google-Smtp-Source: AHgI3IbiIQNXb2VZ4lYEuwzZ/4AHRFyGdo4KRfWZBzeReYDV7CRMXdzIfoZY15GJ3D5YVtW1cY01 X-Received: by 2002:a63:fb0a:: with SMTP id o10mr22986733pgh.259.1550567700897; Tue, 19 Feb 2019 01:15:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550567700; cv=none; d=google.com; s=arc-20160816; b=ic0qgnUMbfcV6RO0neMig6UF9LckhOC6whay6atjUhpBDG9LOYtYshJf00mt3t5fnB IACG7pK8HDUfBj0TfUxmRmcVxh2UsRWnps6rrv9Lf3bCyM4AnrS0/FogwLD8Ud/IKWt+ tPg9LGIqZaH+3e11H8nQDdm7h4hp92dDq1ZEcFiy928YQTjhuiGw9C3xcG4HTCEIMax3 a1BeQdi2rD64vu9CsFXph6BnQE7Ojlhvj61rufyrmCMeshhul7QuU6SLlpmmHdJEmBsy 0bV8WWtdIJYUV3Smw76xOHzv47DnbmcX5esSrkBJzyTJDeo8WWY8MlBwkTNcikGG6zaQ YzUw== 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=xpwee91FCqdsmZPR4ZD6YRR9JXFsYqlKYbZHfC96/bU=; b=RD2WR6MOr0WyoVYjSoni1TRT/e8oBEtGtlX5D2GXM5+z5Bd3Ak3fEdhphfkLQl3ELl Eesrc8dxv3RbR4Bb+L6CdupXz2iCrbzTgZfa9Tu7SUwO7hsluVycHSVELikayuV5aPee BFB77WwNRBw61mF2bYDo491n2+pkZQlUIuGmvxDayQIFg5rM60Gbe3Pou2Xw7997BOWE QiaZerQPIq+s3qW0NP/sUE2O7lnV0ejB05DGQ2u/Ii4zQT7lMHWsCMM01S+2LFvNfFwl Kd1cWU5IHAYLdBdWlcdOfzngo7Rs9Spa73TSo+W8AG8IltqT9/ishReeSmcNs9S5/th1 RRIQ== 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 s5si14386731pgp.64.2019.02.19.01.14.45; Tue, 19 Feb 2019 01:15:00 -0800 (PST) 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 S1727920AbfBSJOR (ORCPT + 99 others); Tue, 19 Feb 2019 04:14:17 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:20639 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725765AbfBSJOQ (ORCPT ); Tue, 19 Feb 2019 04:14:16 -0500 X-UUID: 0efd1e5546de456fabaaeb24b13259ad-20190219 X-UUID: 0efd1e5546de456fabaaeb24b13259ad-20190219 Received: from mtkcas32.mediatek.inc [(172.27.4.250)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 1507291545; Tue, 19 Feb 2019 17:14:10 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS33N2.mediatek.inc (172.27.4.76) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 19 Feb 2019 17:14:08 +0800 Received: from mszsdclx1018.gcn.mediatek.inc (10.16.6.18) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 19 Feb 2019 17:14:07 +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: [PATCH v1 0/2] drm/mediatek: add mipi_tx driver for mt8183 Date: Tue, 19 Feb 2019 17:14:02 +0800 Message-ID: <20190219091404.89370-1-jitao.shi@mediatek.com> X-Mailer: git-send-email 2.20.1 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 MT8183 has different setting to MT8173(exist chip). We add mt8183 mipi_tx driver. 1) Separate mipi_tx to common part and chip relate part. 2) Add mt8183 mipi_tx driver Changes since v0: - Separate two independent patches. Jitao Shi (2): drm/mediatek: separate mipi_tx to different file drm/mediatek: add mipi_tx driver for mt8183 drivers/gpu/drm/mediatek/Makefile | 1 + drivers/gpu/drm/mediatek/mtk_mipi_tx.c | 352 ++---------------- drivers/gpu/drm/mediatek/mtk_mipi_tx.h | 52 +++ drivers/gpu/drm/mediatek/mtk_mt8173_mipi_tx.c | 290 +++++++++++++++ drivers/gpu/drm/mediatek/mtk_mt8183_mipi_tx.c | 168 +++++++++ 5 files changed, 548 insertions(+), 315 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.20.1