Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3888960ybi; Mon, 10 Jun 2019 19:37:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqw9ypR0G0HVdq+Ff3h6qz9q9AssMmd/vwpI2SAOjnPCkGz99YmOktvrAH7P4QchBqxbK61i X-Received: by 2002:a63:a34c:: with SMTP id v12mr17761406pgn.198.1560220668800; Mon, 10 Jun 2019 19:37:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560220668; cv=none; d=google.com; s=arc-20160816; b=Tq24R9i1OXmwdtuF+0TCHWJZAZP6NCh1F4ESoOPOVenjBH33MLojZk84rt2mAsqsFQ mD9b9sSpkcwpsxWeV7oSNFPcmDdzCzuQOmd96V9puPo5uOvKceBV1x/d1kjKxwx57l6M e6uIqwYGVgBmHhToBqFUpWe9eWktF2lYjtf1WkjXAeKZyDSVVKSfcUVttSJtqvDbxzpv Vp5vg8r0allZSADMdPzJJnBWg0gL8uKcOhuaM2XeyQgduqtOjzztNnNkMJbiOZouVrRe EvwLYuzh3RyXFeTI5NILz7f1gXO+/qd8EOFfVTpj4SNioWxjzVOQKy0K2CM/e/We5bnu kqSg== 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=Iln43cYHc+yyMe2iG4aHLfzBo4i9IAI2OJfXsIpEdlk=; b=SwLCn/qkoHUDQ7Jp22ZaiC/OupC4mx+vV+wnnqSJ6MBbDjrDYif+p0gIHBaNy+R4PG d8iBQVpQ8Ooqpi3zU8fRT8tPZV7uqO58A6V6Qf6B3gQBt/QiQeAsnYih/8lgOyUVKZoD HXjQ46AhLkZy1ak//z1KpuYciZjYwnZNokAKSRm7+BsFXBz1Alvv6tV2ckqUb6smciWs J8KLrrEMjGCtw9M7GFPA38WxCdtzMmgJsSaxXJxuLp2lP3shnG0FoPcjT6fXiwPllTGV zxZv5jRk3zkt7xsKimkz6H3TSyhTGPWaS8EEIi9rQ5ZpfQHH6LjcT0qGvHRSr9KW9oqO /5LA== 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 194si4674673pga.203.2019.06.10.19.37.20; Mon, 10 Jun 2019 19:37:48 -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 S2390776AbfFKChR (ORCPT + 99 others); Mon, 10 Jun 2019 22:37:17 -0400 Received: from mailgw02.mediatek.com ([1.203.163.81]:53189 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2390280AbfFKChR (ORCPT ); Mon, 10 Jun 2019 22:37:17 -0400 X-UUID: 2c1d25838fb1433284a40b1bbfb111c5-20190611 X-UUID: 2c1d25838fb1433284a40b1bbfb111c5-20190611 Received: from mtkcas36.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 141375310; Tue, 11 Jun 2019 10:37:09 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by MTKMBS33N1.mediatek.inc (172.27.4.75) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 11 Jun 2019 10:37:08 +0800 Received: from [172.21.77.4] (172.21.77.4) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 11 Jun 2019 10:37:07 +0800 Message-ID: <1560220627.32395.1.camel@mtksdaap41> Subject: Re: [v4 5/7] drm/mediatek: add mt8183 dsi driver support 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: Tue, 11 Jun 2019 10:37:07 +0800 In-Reply-To: <20190601092615.67917-6-jitao.shi@mediatek.com> References: <20190601092615.67917-1-jitao.shi@mediatek.com> <20190601092615.67917-6-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-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Jitao: On Sat, 2019-06-01 at 17:26 +0800, Jitao Shi wrote: > Add mt8183 dsi driver data. Enable size control and > reg commit control. > > Signed-off-by: Jitao Shi > Reviewed-by: CK Hu > --- > drivers/gpu/drm/mediatek/mtk_dsi.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/mtk_dsi.c > index 18a192656a89..abf6ddec5db6 100644 > --- a/drivers/gpu/drm/mediatek/mtk_dsi.c > +++ b/drivers/gpu/drm/mediatek/mtk_dsi.c > @@ -1225,11 +1225,19 @@ static const struct mtk_dsi_driver_data mt2701_dsi_driver_data = { > .reg_cmdq_off = 0x180, > }; > > +static const struct mtk_dsi_driver_data mt8183_dsi_driver_data = { > + .reg_cmdq_off = 0x200, > + .has_shadow_ctl = true, > + .has_size_ctl = true, > +}; > + > static const struct of_device_id mtk_dsi_of_match[] = { > { .compatible = "mediatek,mt2701-dsi", > .data = &mt2701_dsi_driver_data }, > { .compatible = "mediatek,mt8173-dsi", > .data = &mt8173_dsi_driver_data }, > + { .compatible = "mediatek,mt8183-dsi", I does not find "mediatek,mt8183-dsi" in binding document, so please send a patch to add this in binding document. Regards, CK > + .data = &mt8183_dsi_driver_data }, > { }, > }; >