devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chunfeng Yun <chunfeng.yun@mediatek.com>
To: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Cc: Vinod Koul <vkoul@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	Kishon Vijay Abraham I <kishon@ti.com>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	Min Guo <min.guo@mediatek.com>,
	Linux ARM <linux-arm-kernel@lists.infradead.org>,
	"moderated list:ARM/Mediatek SoC support" 
	<linux-mediatek@lists.infradead.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	DTML <devicetree@vger.kernel.org>, <linux-usb@vger.kernel.org>
Subject: Re: [PATCH next v2 03/17] dt-bindings: phy: mediatek: dsi-phy: modify compatible dependence
Date: Mon, 25 Jan 2021 14:21:48 +0800	[thread overview]
Message-ID: <1611555708.3905.5.camel@mhfsdcap03> (raw)
In-Reply-To: <CAAOTY_8X35EpvLiSOuNdj4dVu7KBocw9mhaKG4TJy24LizvHNg@mail.gmail.com>

On Sun, 2021-01-24 at 12:56 +0800, Chun-Kuang Hu wrote:
> Hi, Chunfeng:
> 
> Chun-Kuang Hu <chunkuang.hu@kernel.org> 於 2021年1月24日 週日 下午12:47寫道:
> >
> > Hi, Chunfeng:
> >
> > Chunfeng Yun <chunfeng.yun@mediatek.com> 於 2021年1月22日 週五 下午8:04寫道:
> > >
> > > The compatilbe "mediatek,mt7623-mipi-tx" is not supported in driver,
> > > and in fact uses "mediatek,mt2701-mipi-tx" instead on MT7623, so changes
> > > the compatible items to make dependence clear.
> >
> > Reviewed-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
> 
> Sorry, please remove my reviewed-by tag. We should not define the
> binding document according to the implementation of driver. We define
> the binding document according to the hardware. So the description
> should be like "mt7623-mipi-tx is compatible to mt2701-mipi-tx".
Ok, will make the description clearer

> 
> Regards,
> Chun-Kuang.
> 
> >
> > >
> > > Cc: Chun-Kuang Hu <chunkuang.hu@kernel.org>
> > > Cc: Philipp Zabel <p.zabel@pengutronix.de>
> > > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
> > > ---
> > > v2: separate two patches suggested by CK
> > > ---
> > >  .../devicetree/bindings/phy/mediatek,dsi-phy.yaml   | 13 ++++++++-----
> > >  1 file changed, 8 insertions(+), 5 deletions(-)
> > >
> > > diff --git a/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml b/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml
> > > index 71d4acea1f66..6e4d795f9b02 100644
> > > --- a/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml
> > > +++ b/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml
> > > @@ -19,11 +19,14 @@ properties:
> > >      pattern: "^dsi-phy@[0-9a-f]+$"
> > >
> > >    compatible:
> > > -    enum:
> > > -      - mediatek,mt2701-mipi-tx
> > > -      - mediatek,mt7623-mipi-tx
> > > -      - mediatek,mt8173-mipi-tx
> > > -      - mediatek,mt8183-mipi-tx
> > > +    oneOf:
> > > +      - items:
> > > +          - enum:
> > > +              - mediatek,mt7623-mipi-tx
> > > +          - const: mediatek,mt2701-mipi-tx
> > > +      - const: mediatek,mt2701-mipi-tx
> > > +      - const: mediatek,mt8173-mipi-tx
> > > +      - const: mediatek,mt8183-mipi-tx
> > >
> > >    reg:
> > >      maxItems: 1
> > > --
> > > 2.18.0


  reply	other threads:[~2021-01-25  6:26 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-22 12:03 [PATCH next v2 01/17] dt-bindings: usb: fix yamllint check warning Chunfeng Yun
2021-01-22 12:03 ` [PATCH next v2 02/17] dt-bindings: usb: mediatek: " Chunfeng Yun
2021-01-22 12:03 ` [PATCH next v2 03/17] dt-bindings: phy: mediatek: dsi-phy: modify compatible dependence Chunfeng Yun
2021-01-24  4:47   ` Chun-Kuang Hu
2021-01-24  4:56     ` Chun-Kuang Hu
2021-01-25  6:21       ` Chunfeng Yun [this message]
2021-01-22 12:03 ` [PATCH next v2 04/17] dt-bindings: phy: mediatek: dsi-phy: add optional clock-names Chunfeng Yun
2021-01-23  0:18   ` Chun-Kuang Hu
2021-01-25  6:19     ` Chunfeng Yun
2021-01-22 12:03 ` [PATCH next v2 05/17] dt-bindings: phy: mediatek: hdmi-phy: modify compatible items Chunfeng Yun
2021-01-22 12:03 ` [PATCH next v2 06/17] dt-bindings: phy: mediatek: tphy: change patternProperties Chunfeng Yun
2021-01-22 12:03 ` [PATCH next v2 07/17] dt-bindings: usb: mtk-xhci: add optional assigned clock properties Chunfeng Yun
2021-01-22 12:03 ` [PATCH next v2 08/17] dt-bindings: usb: mtk-xhci: add compatible for mt2701 and mt7623 Chunfeng Yun
2021-01-22 12:03 ` [PATCH next v2 09/17] dt-bindings: usb: mediatek: musb: add mt8516 compatbile Chunfeng Yun
2021-01-22 12:03 ` [PATCH next v2 10/17] arm64: dts: mediatek: mt8173: fix dtbs_check warning Chunfeng Yun
2021-01-22 12:03 ` [PATCH next v2 11/17] arm64: dts: mediatek: mt2712: harmonize node names Chunfeng Yun
2021-01-22 12:03 ` [PATCH next v2 12/17] arm64: dts: mediatek: mt8516: harmonize node names and compatibles Chunfeng Yun
2021-01-22 12:03 ` [PATCH next v2 13/17] arm64: dts: mediatek: mt7622: " Chunfeng Yun
2021-01-22 12:03 ` [PATCH next v2 14/17] arm64: dts: mediatek: mt8183: fix dtbs_check warning Chunfeng Yun
2021-01-22 12:03 ` [PATCH next v2 15/17] arm: dts: mt7629: harmonize node names and compatibles Chunfeng Yun
2021-01-22 12:03 ` [PATCH next v2 16/17] arm: dts: mt7623: " Chunfeng Yun
2021-01-22 12:03 ` [PATCH next v2 17/17] arm: dts: mt2701: " Chunfeng Yun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1611555708.3905.5.camel@mhfsdcap03 \
    --to=chunfeng.yun@mediatek.com \
    --cc=chunkuang.hu@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=kishon@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=matthias.bgg@gmail.com \
    --cc=min.guo@mediatek.com \
    --cc=p.zabel@pengutronix.de \
    --cc=robh+dt@kernel.org \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).