dt-bindings: crypto: remove mediatek ethif clock
authorRyder Lee <ryder.lee@mediatek.com>
Thu, 1 Jun 2017 02:30:22 +0000 (10:30 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 10 Jun 2017 04:04:37 +0000 (12:04 +0800)
This patch removes the parent clock 'ethif' in bindings, since we don't
need to control the parent of a clock in current clock framework.

Moreover, the clocks are get by name in the driver, thus this change
does not break backwards compatibility.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/devicetree/bindings/crypto/mediatek-crypto.txt

index c204725e587314ca91706c76b39cc750c1aa0a94..450da3661cad96082c4f8e7f5743fb1f6f0f3b81 100644 (file)
@@ -6,8 +6,7 @@ Required properties:
 - interrupts: Should contain the five crypto engines interrupts in numeric
        order. These are global system and four descriptor rings.
 - clocks: the clock used by the core
-- clock-names: the names of the clock listed in the clocks property. These are
-       "ethif", "cryp"
+- clock-names: Must contain "cryp".
 - power-domains: Must contain a reference to the PM domain.
 
 
@@ -20,8 +19,7 @@ Example:
                             <GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>,
                             <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>,
                             <GIC_SPI 97 IRQ_TYPE_LEVEL_LOW>;
-               clocks = <&topckgen CLK_TOP_ETHIF_SEL>,
-                        <&ethsys CLK_ETHSYS_CRYPTO>;
-               clock-names = "ethif","cryp";
+               clocks = <&ethsys CLK_ETHSYS_CRYPTO>;
+               clock-names = "cryp";
                power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>;
        };