dt-bindings: PCI: mediatek-gen3: Remove clock-names
Subsystems (5)
RFC PATCH 1/1 dt-bindings: PCI: mediatek-gen3: Remove clock-names
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.
--- .../devicetree/bindings/pci/mediatek-pcie-gen3.yaml | 11 ----------- 1 file changed, 11 deletions(-)
Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml +0 -11
@@ -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>;
Signature · 1 line
2.18.0
Quoted 5 lines · Jianjun Wang
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