devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jianjun Wang <jianjun.wang@mediatek.com>
To: Bjorn Helgaas <bhelgaas@google.com>,
	Rob Herring <robh+dt@kernel.org>,
	Matthias Brugger <matthias.bgg@gmail.com>
Cc: Ryder Lee <ryder.lee@mediatek.com>,
	Jianjun Wang <jianjun.wang@mediatek.com>,
	<linux-pci@vger.kernel.org>, <linux-mediatek@lists.infradead.org>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	"allen-kh . cheng" <allen-kh.cheng@mediatek.com>
Subject: [PATCH RFC] dt-bindings: PCI: mediatek-gen3: Remove clock-names
Date: Tue, 29 Mar 2022 15:15:26 +0800	[thread overview]
Message-ID: <20220329071526.10298-1-jianjun.wang@mediatek.com> (raw)

Some SoC may have different clocks (e.g. MT8192 uses clock 'top_133m',
but MT8195 use clock 'peri_mem' instead), since these clocks do not have
any timing dependencies and the PCIe controller driver uses
'devm_clk_bulk_get_all' to gets all of them, remove 'clock-names' in
dt-bindings file for compatible with different SoCs.

Signed-off-by: Jianjun Wang <jianjun.wang@mediatek.com>
---
 .../devicetree/bindings/pci/mediatek-pcie-gen3.yaml   | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml b/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml
index 0499b94627ae..dc261c3d2570 100644
--- a/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml
+++ b/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml
@@ -77,15 +77,6 @@ properties:
   clocks:
     maxItems: 6
 
-  clock-names:
-    items:
-      - const: pl_250m
-      - const: tl_26m
-      - const: tl_96m
-      - const: tl_32k
-      - const: peri_26m
-      - const: top_133m
-
   assigned-clocks:
     maxItems: 1
 
@@ -157,8 +148,6 @@ examples:
                      <&infracfg 97>,
                      <&infracfg 99>,
                      <&infracfg 111>;
-            clock-names = "pl_250m", "tl_26m", "tl_96m",
-                          "tl_32k", "peri_26m", "top_133m";
             assigned-clocks = <&topckgen 50>;
             assigned-clock-parents = <&topckgen 91>;
 
-- 
2.18.0


             reply	other threads:[~2022-03-29  7:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-29  7:15 Jianjun Wang [this message]
2022-03-29 17:14 ` [PATCH RFC] dt-bindings: PCI: mediatek-gen3: Remove clock-names Krzysztof Kozlowski

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=20220329071526.10298-1-jianjun.wang@mediatek.com \
    --to=jianjun.wang@mediatek.com \
    --cc=allen-kh.cheng@mediatek.com \
    --cc=bhelgaas@google.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=matthias.bgg@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=ryder.lee@mediatek.com \
    /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).