* [PATCH RFC] dt-bindings: PCI: mediatek-gen3: Remove clock-names
@ 2022-03-29 7:15 Jianjun Wang
2022-03-29 17:14 ` Krzysztof Kozlowski
0 siblings, 1 reply; 2+ messages in thread
From: Jianjun Wang @ 2022-03-29 7:15 UTC (permalink / raw)
To: Bjorn Helgaas, Rob Herring, Matthias Brugger
Cc: Ryder Lee, Jianjun Wang, linux-pci, linux-mediatek, devicetree,
linux-kernel, linux-arm-kernel, allen-kh . cheng
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH RFC] dt-bindings: PCI: mediatek-gen3: Remove clock-names
2022-03-29 7:15 [PATCH RFC] dt-bindings: PCI: mediatek-gen3: Remove clock-names Jianjun Wang
@ 2022-03-29 17:14 ` Krzysztof Kozlowski
0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2022-03-29 17:14 UTC (permalink / raw)
To: Jianjun Wang, Bjorn Helgaas, Rob Herring, Matthias Brugger
Cc: Ryder Lee, linux-pci, linux-mediatek, devicetree, linux-kernel,
linux-arm-kernel, allen-kh . cheng
On 29/03/2022 09:15, Jianjun Wang wrote:
> 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.
One driver behaves like this, other different. Driver implementation
might not be a reliable source. :)
The clock entries are expected to be ordered and fixed, so clock-names
should stay.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-03-29 17:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-29 7:15 [PATCH RFC] dt-bindings: PCI: mediatek-gen3: Remove clock-names Jianjun Wang
2022-03-29 17:14 ` Krzysztof Kozlowski
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).