Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1679207ybi; Sat, 1 Jun 2019 02:29:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzlbRldUFy1gXOYZC3Qz5QOk5rpqOTp+zutLDYxiaJEWwzSx3rXFX/QqZvs7yy41t0IztgL X-Received: by 2002:a17:902:2884:: with SMTP id f4mr14081048plb.230.1559381347687; Sat, 01 Jun 2019 02:29:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559381347; cv=none; d=google.com; s=arc-20160816; b=jdKkjO/FwLVQeM7aBky5mGyWfT/bKFXFsHJ6yRrpTZN8mcY5SSPB4FiiUYFdZ3v4Oe +zSMBgfCId9hu+gu0zNaTbjIHGy2K5DvEJDCPV8wzt5879x4geqcM9NcPj+uJ9CbcKKf 4HxDah4QdQmj/uqGW+9M5PCf+o5cAt84elcoVjHm51yVBuijv/wXz1BzJd32UhupqCKF nTW4jLARCbW7cIYwh5B6J91uop+tYbrqtC+hUO1FUxOgtCIi4JQmjT7YRuhEnT3cEZP7 vNvZMGN0RaVkF8zUT/wb2ZmRuiPzBEFp2DA2Vfq8IsYTaDO5aSkYt7HHoBwLOpy7i/LB eRcA== 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=tyBVr65v0DhvdOy+82FxmAX19MbnnjGcyl0ue0hxZT0=; b=RN77PuqE5nlERQ4ZvodcPCZp/zI75144F+jr5fyRYifRBrC5PL0OMj5mIPVY8YI9b5 rUEYq9+UggHQ65BDaklCCe1bZfmIm9rpcGoqptzCh8ZPi+nKsNSlTXXSOEeuMF5eYQXx mhD2XWpI1L6zzruZzE5b+mTPLgUM0CPkZBejHhHje6e1FoqoLL6q2PvzCisN85TTAk/e Bs00I0H0M1LlqzJ3UufX/iLWbuGO6ts5gUVHDuO4M2rw3I6Z0GRKG0DWogG08lv92gfb h2WA+uTkmwRK4KALqzBn9gsVA1BkxiKe7pzn2/Ha97t+EQFV9AfkybJs+lKufxDzRrLz g2Bw== 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 m14si4394450pfh.99.2019.06.01.02.28.52; Sat, 01 Jun 2019 02:29:07 -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 S1726840AbfFAJ03 (ORCPT + 99 others); Sat, 1 Jun 2019 05:26:29 -0400 Received: from mailgw02.mediatek.com ([1.203.163.81]:64382 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726089AbfFAJ02 (ORCPT ); Sat, 1 Jun 2019 05:26:28 -0400 X-UUID: 27c8530086f9486db697b69fb0584e58-20190601 X-UUID: 27c8530086f9486db697b69fb0584e58-20190601 Received: from mtkcas32.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 1148342631; Sat, 01 Jun 2019 17:26:21 +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, 1 Jun 2019 17:26:19 +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, 1 Jun 2019 17:26:18 +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/7] Support dsi for mt8183 Date: Sat, 1 Jun 2019 17:26:08 +0800 Message-ID: <20190601092615.67917-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 v3 - add one more 'tab' for bitwise define. - add Tested-by: Ryan Case and Reviewed-by: CK Hu . - remove compare da_hs_zero to da_hs_prepare. Changes since v2: - change the video timing calc method - fine the dsi and mipitx init sequence - fine tune commit msg Changes since v1: - separate frame size and reg commit control independent patches. - fix some return values in probe - remove DSI_CMDW0 in "CMDQ reg address of mt8173 is different with mt2701" Jitao Shi (7): drm/mediatek: move mipi_dsi_host_register to probe drm/mediatek: fixes CMDQ reg address of mt8173 is different with mt2701 drm/mediatek: add dsi reg commit disable control drm/mediatek: add frame size control drm/mediatek: add mt8183 dsi driver support drm/mediatek: change the dsi phytiming calculate method drm: mediatek: adjust dsi and mipi_tx probe sequence drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 +- drivers/gpu/drm/mediatek/mtk_dsi.c | 222 ++++++++++++++++++------- 2 files changed, 160 insertions(+), 64 deletions(-) -- 2.21.0