Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1651405

Re: [PATCH 2/2] crypto: mediatek - update DT binding documentation

From Matthias Brugger <matthias.bgg@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] crypto: mediatek - update DT binding documentation
Date 2017-05-26 16:20 +0200
Message-ID <tLofT-6X0-1@gated-at.bofh.it> (permalink)
References <tLk2C-4cR-5@gated-at.bofh.it> <tLk2C-4cR-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 26/05/17 11:43, Ryder Lee wrote:
> This patch removes unnecessary clock in binding file.
> 
> Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
> ---

In the driver clocks are get by name, so this change does not break 
backwards compatibility.

Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>

>   Documentation/devicetree/bindings/crypto/mediatek-crypto.txt | 8 +++-----
>   1 file changed, 3 insertions(+), 5 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/crypto/mediatek-crypto.txt b/Documentation/devicetree/bindings/crypto/mediatek-crypto.txt
> index c204725..450da36 100644
> --- a/Documentation/devicetree/bindings/crypto/mediatek-crypto.txt
> +++ b/Documentation/devicetree/bindings/crypto/mediatek-crypto.txt
> @@ -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>;
>   	};
> 

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] crypto: mediatek - remove redundant clock setting Ryder Lee <ryder.lee@mediatek.com> - 2017-05-26 11:50 +0200
  [PATCH 2/2] crypto: mediatek - update DT binding documentation Ryder Lee <ryder.lee@mediatek.com> - 2017-05-26 11:50 +0200
    Re: [PATCH 2/2] crypto: mediatek - update DT binding documentation Matthias Brugger <matthias.bgg@gmail.com> - 2017-05-26 16:20 +0200
    Re: [PATCH 2/2] crypto: mediatek - update DT binding documentation Rob Herring <robh@kernel.org> - 2017-05-31 20:50 +0200
      Re: [PATCH 2/2] crypto: mediatek - update DT binding documentation Ryder Lee <ryder.lee@mediatek.com> - 2017-06-01 03:10 +0200

csiph-web