Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp182532pxa; Tue, 4 Aug 2020 02:56:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygnoJzLUnoeGzRIyGGcgxtoRh0fruJ/h8BqF8FsoIcfByJ5bw0uRkhoDDg2q1hD38gmpZ1 X-Received: by 2002:a50:fc82:: with SMTP id f2mr15421113edq.53.1596534998444; Tue, 04 Aug 2020 02:56:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596534998; cv=none; d=google.com; s=arc-20160816; b=xet5PGEU18PDEQxxmYWKPS37VO0MdicWb/hTzJYyd40fbC25rLlE9sfrieb/11q2a8 4mSwhMux9PfHpdwFm+lXilgt4xZeV6phyRcwXQtHN6OuoF9QTGycaxQYgiBcH058H8+s jtyExSqC33ecimlrsD76nJ1seLCwvHDxMZx4y82nySEWA8E7+QnQTtqxpvBK07KYyFul FG5eBz03czxJFJmoUGrtvpzaYzHRBNa2w34a6xTSyIqMvPJcTUwZ3BiZj0aIchUe01Zp 0l4EBMgIX+ZqRqbAaODMU9zqwRmn0cYqMXOFXrVbKfA7sot9sRhMMROdfcnWPv+QOPCV DVzA== 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:references :in-reply-to:sensitivity:importance:date:subject:cc:to:from :message-id:mime-version:dkim-signature; bh=ARf2y7L42X+xek9gvY1kz0SN5kFjmc6rnL6X4p5qSBc=; b=0Q7fhSB4WeyCb0wK2M1Fzh6sWFn59VlU7KoMPJue7kPMetEq3BsVCYgfUQnw1JK5hu Ez6rKGBj/1/3N44JavEdGsssHLZxFxvknR1UF4FCN9IWgDtn00iakcxs+/7sgAevQc7l lclOZWprEscIQ1ki3zBasmbf+Ii/qI6NbkvICovuCR3g6KudNObJWmi6viSFC1RYIJvs yOMHCkmwJ/YoqDqh4U6FvZkP+It0LO0A59FncZz+IVFKx1uY4LmkKXeSb1fpTboeFwNz QJfSoCHF2oQnNHOT0PndXLhrqDLBJBoskYr9Fd59awuTQGTBBnhOYFxRUVJMfUa7+6Ca U3fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=bANlL0et; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n13si12335103eje.393.2020.08.04.02.56.15; Tue, 04 Aug 2020 02:56:38 -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=@gmx.net header.s=badeba3b8450 header.b=bANlL0et; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728895AbgHDJx4 (ORCPT + 99 others); Tue, 4 Aug 2020 05:53:56 -0400 Received: from mout.gmx.net ([212.227.17.22]:48889 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726844AbgHDJx4 (ORCPT ); Tue, 4 Aug 2020 05:53:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1596534808; bh=UjeGRcpAgU30m1QdVj6HpRLtLtjKyy+eXr8UxSxBC2I=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=bANlL0etjAqnUNI1l+6XL/Jf2amjm1rgrZLhEmzyYpLeIasM57KaslVRDwiRRTWGb vxdeeuJbLr6WRBY44v6xeISeAF+491Mk5C470KfdAvffKLCcIhxiDJSHe62I9XYHyE UAeq3zd1mKnAtSDCnDBfyx157Pb1sAcLTMHHanTA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [217.61.144.119] ([217.61.144.119]) by web-mail.gmx.net (3c-app-gmx-bs08.server.lan [172.19.170.59]) (via HTTP); Tue, 4 Aug 2020 11:53:28 +0200 MIME-Version: 1.0 Message-ID: From: Frank Wunderlich To: Chun-Kuang Hu Cc: Chun-Kuang Hu , Philipp Zabel , David Airlie , linux-kernel , DRI Development , "moderated list:ARM/Mediatek SoC support" , Daniel Vetter , Matthias Brugger , Bibby Hsieh , Linux ARM Subject: Aw: Re: Re: Re: [PATCH v2 1/5] drm/mediatek: config component output by device node port Content-Type: text/plain; charset=UTF-8 Date: Tue, 4 Aug 2020 11:53:28 +0200 Importance: normal Sensitivity: Normal In-Reply-To: References: <20200728111800.77641-1-frank-w@public-files.de> <20200728111800.77641-2-frank-w@public-files.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:QwdKZO4FiZV3+KlU6ywm3BaZAsIcXy9QykjG6eYTalqdFz5Z5rxuwafBGe4o0IIGaE/T3 IM18u3freut5DoyOqZTzGUJNsmyDgRhxC3X8mikKs4z7ufPjdoazrFfJp12P3/XW4D6QtZt9Fw4S n9IE8ebt6D9QQN0ZDGeEs9dm16iwIlNJiu5t2KeTT7U+OPz9gEAfunzYykwy0pZvI0MFblVNRdau hnU1lNQGcu5o+FktIAric9ivM1nW1PzRBuSe3xi+LxVzugqmzLTtvoj6x3o4FuEW4JasicgSKdTC Cg= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:rWygIIyHI8U=:AxITTtEsoYSHYzxi+pjfU8 i903jHk42Kj+2UNdssMksfvOS3GesgVS1TuGMea7nI5zBr+fJVFp0u673bOZ5thB6HKpN94V7 8y/vF6dX5eLvySVgxrLjWXgDpkOH3WeSJftGOl2t7Lp38ES02oeewYo/917zshnRicaLCbr17 lPdnmIKlGSsScCwOO+uHBDVX/4mZTdsPzXsXV9Vqqb8cmswuv5UxXn/4Q05ppVoSe7igzI4zv N318JXLZ64n1hTltJK+GOz14vsaT03+8N6yZVB+fBTMsThJ0E+KXm0c5Tz6hOvGwfOgj61XiB imO8E/VaTguDMcxD8B+vr56m4mGgcbi+7ZOAAzNOCk95kObJl9yFEX7X7xV/4ncv59Nn6ng6G JbqSh6YVmAN6R2XQfC0AKasKKTaQENzM0qkuA75VgD4mCI3LkhZpBzGLnFtUXdTyzl1MkiPGi GIptdxz8z5AMw/rSjnxqKR+Om3WqY7kh319+BlmxzJ5waolYLGGU1sdEy895hdOM3+McAdBuj I0wYUH4jXRVfGBt7bcfdLoC3lFszW6K3BmgRSZXj5U+pcJNFzTwdsn9x/Ce9WvrSzoUHQBC5v cCwXFbulGuGucUrlxqjCdHwnjs1f1h0xXzXnHqHsnwXlkJ2NXv29ROHuburR2NLDZWHP+sCqC yxu95kGFG61zY17YD4OTQ5YO/R/VtDsIn2WeyoMj76yW3Rqk4icM0feTjUpQNUXAZO5Y= 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, i've printed the mtk_comp_id after the modification-loops... [ 5.480848] main: [ 5.480851] DDP_COMPONENT_OVL0 [ 5.482776] DDP_COMPONENT_RDMA0 [ 5.485827] DDP_COMPONENT_COLOR0 [ 5.488978] DDP_COMPONENT_BLS [ 5.492206] DDP_COMPONENT_DPI0 [ 5.495170] ext: [ 5.498233] DDP_COMPONENT_RDMA1 [ 5.500068] DDP_COMPONENT_DPI0 so only the main-path was replaced with DPI at the end. so currently the D= SI is not connected (or i move it to ext). have now added new structs for = mt7623 with swapped DPI0/DSI0 and commented out the code from Patch 1...co= mpatible was already mt7623 with 2701 as fallback, so no dts-change needed= ... now i need to look which changes in dts can be dropped...at least the bls= =3D>dpi, right? regards Frank > Gesendet: Montag, 03. August 2020 um 18:27 Uhr > Von: "Chun-Kuang Hu" > Yes, this is what I mean, but I think it need not output to pmw. > But now I have a solution that you need not to modify binding document. > Because now mt7623 has a different routing than mt2701, and this > patch's approach is to use different port setting in each device tree. > My solution is that these two SoC has different compatible string: > "mediatek,mt7623-mmsys" and "mediatek,mt2701-mmsys". For now, > "mediatek,mt2701-mmsys" has its data as > > static const struct mtk_mmsys_driver_data mt2701_mmsys_driver_data =3D { > .main_path =3D mt2701_mtk_ddp_main, > .main_len =3D ARRAY_SIZE(mt2701_mtk_ddp_main), > .ext_path =3D mt2701_mtk_ddp_ext, > .ext_len =3D ARRAY_SIZE(mt2701_mtk_ddp_ext), > .shadow_register =3D true, > }; > > I think you could create a data for "mediatek,mt7623-mmsys" which has > a different routing.