linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chunfeng Yun <chunfeng.yun@mediatek.com>
To: Vinod Koul <vkoul@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Matthias Brugger <matthias.bgg@gmail.com>
Cc: Chunfeng Yun <chunfeng.yun@mediatek.com>,
	Kishon Vijay Abraham I <kishon@ti.com>,
	Chun-Kuang Hu <chunkuang.hu@kernel.org>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	Min Guo <min.guo@mediatek.com>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-mediatek@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-usb@vger.kernel.org>
Subject: [PATCH next 03/15] dt-bindings: phy: mediatek: dsi-phy: modify compatible dependence
Date: Sat, 16 Jan 2021 17:06:44 +0800	[thread overview]
Message-ID: <20210116090656.11752-3-chunfeng.yun@mediatek.com> (raw)
In-Reply-To: <20210116090656.11752-1-chunfeng.yun@mediatek.com>

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.

And add an optional "clock-names" property, it's not used to get the clock,
but some DTS files provide it.

Cc: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
 .../bindings/phy/mediatek,dsi-phy.yaml          | 17 ++++++++++++-----
 1 file changed, 12 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..af6e554c5b69 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
@@ -32,6 +35,10 @@ properties:
     items:
       - description: PLL reference clock
 
+  clock-names:
+    items:
+      - const: ref
+
   clock-output-names:
     maxItems: 1
 
-- 
2.18.0

  parent reply	other threads:[~2021-01-16  9:09 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-16  9:06 [PATCH next 01/15] dt-bindings: usb: fix yamllint check warning Chunfeng Yun
2021-01-16  9:06 ` [PATCH next 02/15] dt-bindings: usb: mediatek: " Chunfeng Yun
2021-01-16  9:06 ` Chunfeng Yun [this message]
2021-01-18 14:56   ` [PATCH next 03/15] dt-bindings: phy: mediatek: dsi-phy: modify compatible dependence Chun-Kuang Hu
2021-01-19  2:56     ` Chunfeng Yun
2021-01-16  9:06 ` [PATCH next 04/15] dt-bindings: phy: mediatek: hdmi-phy: modify compatible items Chunfeng Yun
2021-01-18 15:05   ` Chun-Kuang Hu
2021-01-19  2:57     ` Chunfeng Yun
2021-01-16  9:06 ` [PATCH next 05/15] dt-bindings: phy: mediatek: tphy: change patternProperties Chunfeng Yun
2021-01-16  9:06 ` [PATCH next 06/15] dt-bindings: usb: mtk-xhci: add support mt2701 and mt7623 Chunfeng Yun
2021-02-08 21:55   ` Rob Herring
2021-01-16  9:06 ` [PATCH next 07/15] dt-bindings: usb: mediatek: musb: add mt8516 compatbile Chunfeng Yun
2021-01-16  9:06 ` [PATCH next 08/15] arm64: dts: mediatek: mt8173: fix dtbs_check warning Chunfeng Yun
2021-01-16  9:06 ` [PATCH next 09/15] arm64: dts: mediatek: mt2712: harmonize node names Chunfeng Yun
2021-01-16  9:06 ` [PATCH next 10/15] arm64: dts: mediatek: mt8516: harmonize node names and compatibles Chunfeng Yun
2021-01-16  9:06 ` [PATCH next 11/15] arm64: dts: mediatek: mt7622: " Chunfeng Yun
2021-01-16  9:36   ` Sergei Shtylyov
2021-01-19  2:45     ` Chunfeng Yun
2021-01-16  9:06 ` [PATCH next 12/15] arm64: dts: mediatek: mt8183: fix dtbs_check warning Chunfeng Yun
2021-01-16  9:43   ` Sergei Shtylyov
2021-01-19  2:55     ` Chunfeng Yun
2021-01-17  1:58   ` Nicolas Boichat
2021-01-17  5:42     ` Nicolas Boichat
2021-01-16  9:06 ` [PATCH next 13/15] arm: dts: mt7629: harmonize node names and compatibles Chunfeng Yun
2021-01-16  9:06 ` [PATCH next 14/15] arm: dts: mt7623: " Chunfeng Yun
2021-01-16  9:06 ` [PATCH next 15/15] 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=20210116090656.11752-3-chunfeng.yun@mediatek.com \
    --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).