devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: display: mediatek: dp: Add compatible for MediaTek MT8188
@ 2022-09-23  1:39 liangxu.xu
  2022-09-23 11:16 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 3+ messages in thread
From: liangxu.xu @ 2022-09-23  1:39 UTC (permalink / raw)
  To: chunkuang.hu, p.zabel, airlied, daniel, robh+dt,
	krzysztof.kozlowski+dt, matthias.bgg, jitao.shi
  Cc: dri-devel, linux-mediatek, devicetree, linux-kernel,
	linux-arm-kernel, Project_Global_Chrome_Upstream_Group,
	liangxu xu

From: liangxu xu <liangxu.xu@mediatek.com>

Add dt-binding documentation of dp for MediaTek MT8188 SoC.

Signed-off-by: liangxu xu <liangxu.xu@mediatek.com>
---
 .../devicetree/bindings/display/mediatek/mediatek,dp.yaml       | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dp.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dp.yaml
index ff781f2174a0..2aef1eb32e11 100644
--- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dp.yaml
+++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dp.yaml
@@ -21,6 +21,8 @@ description: |
 properties:
   compatible:
     enum:
+      - mediatek,mt8188-dp-tx
+      - mediatek,mt8188-edp-tx
       - mediatek,mt8195-dp-tx
       - mediatek,mt8195-edp-tx
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: display: mediatek: dp: Add compatible for MediaTek MT8188
  2022-09-23  1:39 [PATCH] dt-bindings: display: mediatek: dp: Add compatible for MediaTek MT8188 liangxu.xu
@ 2022-09-23 11:16 ` Krzysztof Kozlowski
       [not found]   ` <2afb5b7f761c7931eaf93f2f8a0fd268a39e1b02.camel@mediatek.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2022-09-23 11:16 UTC (permalink / raw)
  To: liangxu.xu, chunkuang.hu, p.zabel, airlied, daniel, robh+dt,
	krzysztof.kozlowski+dt, matthias.bgg, jitao.shi
  Cc: dri-devel, linux-mediatek, devicetree, linux-kernel,
	linux-arm-kernel, Project_Global_Chrome_Upstream_Group

On 23/09/2022 03:39, liangxu.xu@mediatek.com wrote:
> From: liangxu xu <liangxu.xu@mediatek.com>
> 
> Add dt-binding documentation of dp for MediaTek MT8188 SoC.
> 
> Signed-off-by: liangxu xu <liangxu.xu@mediatek.com>
> ---

Where is the DTS? Where are driver changes?

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: display: mediatek: dp: Add compatible for MediaTek MT8188
       [not found]   ` <2afb5b7f761c7931eaf93f2f8a0fd268a39e1b02.camel@mediatek.com>
@ 2022-09-26 21:54     ` Rob Herring
  0 siblings, 0 replies; 3+ messages in thread
From: Rob Herring @ 2022-09-26 21:54 UTC (permalink / raw)
  To: liangxu.xu
  Cc: Krzysztof Kozlowski, chunkuang.hu, p.zabel, airlied, daniel,
	krzysztof.kozlowski+dt, matthias.bgg, jitao.shi, devicetree,
	linux-kernel, dri-devel, Project_Global_Chrome_Upstream_Group,
	linux-mediatek, linux-arm-kernel

On Mon, Sep 26, 2022 at 10:52:04AM +0800, liangxu.xu wrote:
> On Fri, 2022-09-23 at 13:16 +0200, Krzysztof Kozlowski wrote:
> > On 23/09/2022 03:39, liangxu.xu@mediatek.com wrote:
> > > From: liangxu xu <liangxu.xu@mediatek.com>
> > > 
> > > Add dt-binding documentation of dp for MediaTek MT8188 SoC.
> > > 
> > > Signed-off-by: liangxu xu <liangxu.xu@mediatek.com>
> > > ---
> > 
> > Where is the DTS? Where are driver changes?
> > 
> > Best regards,
> > Krzysztof
> > 
> 
> Hi Krzysztof:
> 
> If you want to see the synchronous changes of dts and binding files,
> then I will attach this binding file changes when sending dts later.
> 
> The driver change of mt8188 reuses that of mt8195. The driver link is
> as follows:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/gpu/drm/mediatek/mtk_dp.c?id=48f4230642ee32a97ddf4be492838ce96089f040

So the 8188 block is backwards compatible with the 8195 block? 
That's good, but not what your schema says because you have not defined 
a fallback compatible for the driver to use.

Rob

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-26 21:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-23  1:39 [PATCH] dt-bindings: display: mediatek: dp: Add compatible for MediaTek MT8188 liangxu.xu
2022-09-23 11:16 ` Krzysztof Kozlowski
     [not found]   ` <2afb5b7f761c7931eaf93f2f8a0fd268a39e1b02.camel@mediatek.com>
2022-09-26 21:54     ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).