Commit 48df28b8 authored by Ryder Lee's avatar Ryder Lee Committed by Herbert Xu

dt-bindings: crypto: remove mediatek ethif clock

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: default avatarRyder Lee <ryder.lee@mediatek.com>
Reviewed-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 8fa23a29
...@@ -6,8 +6,7 @@ Required properties: ...@@ -6,8 +6,7 @@ Required properties:
- interrupts: Should contain the five crypto engines interrupts in numeric - interrupts: Should contain the five crypto engines interrupts in numeric
order. These are global system and four descriptor rings. order. These are global system and four descriptor rings.
- clocks: the clock used by the core - clocks: the clock used by the core
- clock-names: the names of the clock listed in the clocks property. These are - clock-names: Must contain "cryp".
"ethif", "cryp"
- power-domains: Must contain a reference to the PM domain. - power-domains: Must contain a reference to the PM domain.
...@@ -20,8 +19,7 @@ Example: ...@@ -20,8 +19,7 @@ Example:
<GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>, <GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>,
<GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>, <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>,
<GIC_SPI 97 IRQ_TYPE_LEVEL_LOW>; <GIC_SPI 97 IRQ_TYPE_LEVEL_LOW>;
clocks = <&topckgen CLK_TOP_ETHIF_SEL>, clocks = <&ethsys CLK_ETHSYS_CRYPTO>;
<&ethsys CLK_ETHSYS_CRYPTO>; clock-names = "cryp";
clock-names = "ethif","cryp";
power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>; power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment