Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3307136pxa; Sat, 8 Aug 2020 17:36:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVrczA9tJBwOXrWT4H71BFw8BgM52N72+TTXE8brFLPduXemYO3FYBrwZj93L/drpZgU/4 X-Received: by 2002:a17:906:37d1:: with SMTP id o17mr16062056ejc.98.1596933405536; Sat, 08 Aug 2020 17:36:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596933405; cv=none; d=google.com; s=arc-20160816; b=nX9KTSKtnIWxxq2nTPak1gdz+syVMk4Ir9pbZnD2h5MNtfLr0Ba5ruI14mDn3pi0PC VlMjwbatoDCg3ulEAdH9a7ey0QznNwqANc9ip3e2rvYsOj5a3uiT9NJxEqmmwpDoMOoq SyD6aZgvgyxswJ7oP++H1o1a1fitWIyNgFoReDVJ4bjwsyvQpMyZqbnLWNmadXF07Lh/ A7ojYrB7nyDGf9SqnXHvTM38TUFlr9PtF94Rr5g1ccGuyh/D+VnOrwoxpBloetXaDxsy KRASv3QxPMs3yN+Sz4PKLqQ8I6R/wobqwmjOnnunm/xgKp2xZgRVpeIz10yjrSgfJSIL Xl4A== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=I+Qq1APzeEdVEkEOvCTx+1Uax4sTGfR/CTSwxqm5U8c=; b=XIlp1xIjghPNg/XOo4s1NqJ2UY84UQjy3JUTaVVPid05uYY+r1j/zCRGWoJF2KiUvS djaVVXfmwEOgBCFVxCd7ytLlD5br9L9z3nQYlM1tJ+/MQJZEQffVD76AoNqx22N9tBvc TCx/JUVPCSmEIPfWtjj7O3/8Cn8MddnfUvmXqlKn6ZXiyFajpF3YZLNJ6tc4+cqZB+bj CiN1TanHtPBRgl4Soe1ZuLFzHGaCvLQkgkNyHmCKzUElMcGxGcQVyyjU7Bwvfk+GjA3X hJpWJpjaEOrEYJZ0zAn1QA1bAnm+l6kb+GMkHtDvarAzXbY3GgfB1hGK0WNnMyXpDX6V mhuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZhdXHSbG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gy22si7851454ejb.137.2020.08.08.17.36.21; Sat, 08 Aug 2020 17:36:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZhdXHSbG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726232AbgHIAfe (ORCPT + 99 others); Sat, 8 Aug 2020 20:35:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:58974 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725950AbgHIAfe (ORCPT ); Sat, 8 Aug 2020 20:35:34 -0400 Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E1A73206B5; Sun, 9 Aug 2020 00:35:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596933333; bh=coQD0wBPaBdDQivRZlkVTAL9bKjxlMoqwYidiCYobu8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ZhdXHSbGknQR+b+3YLI9YqMjsJmJW+yYdR4b9uOVrGZRu+SOjPpI4W6MI+qb4zD1G gQCWZk7GJOgQQakgyUQUaM48Ej8u9z1HE0O4IHBQDQqlhWYb/hADg8auRSzisTMMQe pg7hsgKz1+jnLfV6QaWpVMMtJuJb+6xgSPjrKjkg= Received: by mail-ed1-f44.google.com with SMTP id cq28so3716024edb.10; Sat, 08 Aug 2020 17:35:32 -0700 (PDT) X-Gm-Message-State: AOAM530xMZrks3g24WatN8/NDN+FKy5Y0OfPXiyEt+aJ4CJJ6ai0rA/E BEtbl92qhp8Y4A5U+NK8/dwSymM7pObCp9vWvg== X-Received: by 2002:a05:6402:2037:: with SMTP id ay23mr14822310edb.48.1596933331512; Sat, 08 Aug 2020 17:35:31 -0700 (PDT) MIME-Version: 1.0 References: <1596855231-5782-1-git-send-email-yongqiang.niu@mediatek.com> <1596855231-5782-7-git-send-email-yongqiang.niu@mediatek.com> In-Reply-To: <1596855231-5782-7-git-send-email-yongqiang.niu@mediatek.com> From: Chun-Kuang Hu Date: Sun, 9 Aug 2020 08:35:20 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RESEND v7, PATCH 6/7] drm/mediatek: add support for mediatek SOC MT8183 To: Yongqiang Niu Cc: CK Hu , Philipp Zabel , Rob Herring , Matthias Brugger , Mark Rutland , devicetree@vger.kernel.org, David Airlie , linux-kernel , DRI Development , "moderated list:ARM/Mediatek SoC support" , Daniel Vetter , Linux ARM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Yongqiang: Yongqiang Niu =E6=96=BC 2020=E5=B9=B48=E6=9C= =888=E6=97=A5 =E9=80=B1=E5=85=AD =E4=B8=8A=E5=8D=8811:05=E5=AF=AB=E9=81=93= =EF=BC=9A > > This patch add support for mediatek SOC MT8183 > 1. add ovl private data > 2. add rdma private data > 3. add mutes private data > 4. add main and external path module for crtc create > > Signed-off-by: Yongqiang Niu [snip] > + > static const struct of_device_id mtk_disp_ovl_driver_dt_match[] =3D { > { .compatible =3D "mediatek,mt2701-disp-ovl", > .data =3D &mt2701_ovl_driver_data}, > { .compatible =3D "mediatek,mt8173-disp-ovl", > .data =3D &mt8173_ovl_driver_data}, > + { .compatible =3D "mediatek,mt8183-disp-ovl", "mediatek,mt8183-disp-ovl" is not defined in binding document [1] [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree= /Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt?h=3Dv= 5.8 > + .data =3D &mt8183_ovl_driver_data}, > + { .compatible =3D "mediatek,mt8183-disp-ovl-2l", Ditto. > + .data =3D &mt8183_ovl_2l_driver_data}, > {}, > }; [snip] > + > static const struct of_device_id mtk_disp_rdma_driver_dt_match[] =3D { > { .compatible =3D "mediatek,mt2701-disp-rdma", > .data =3D &mt2701_rdma_driver_data}, > { .compatible =3D "mediatek,mt8173-disp-rdma", > .data =3D &mt8173_rdma_driver_data}, > + { .compatible =3D "mediatek,mt8183-disp-rdma", Ditto. > + .data =3D &mt8183_rdma_driver_data}, > {}, > }; > MODULE_DEVICE_TABLE(of, mtk_disp_rdma_driver_dt_match); [snip] > + > struct mtk_disp_mutex *mtk_disp_mutex_get(struct device *dev, unsigned i= nt id) > { > struct mtk_ddp *ddp =3D dev_get_drvdata(dev); > @@ -402,6 +447,8 @@ static int mtk_ddp_remove(struct platform_device *pde= v) > .data =3D &mt2712_ddp_driver_data}, > { .compatible =3D "mediatek,mt8173-disp-mutex", > .data =3D &mt8173_ddp_driver_data}, > + { .compatible =3D "mediatek,mt8183-disp-mutex", Ditto. Regards, Chun-Kuang. > + .data =3D &mt8183_ddp_driver_data}, > {}, > }; > MODULE_DEVICE_TABLE(of, ddp_driver_dt_match);