Re: [PATCH] arm: dts: rockchip: add crypto node for RK322x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Added Cc: clabbe@xxxxxxxxxxxx

On 10/19/22 18:47, Michele Zuccalà wrote:
> The cryptographic hardware of the rk322x is compatible with the one present in the rk3288.
> 
> Add the respective node to the device tree.
> 
> Signed-off-by: Alex Bee <knaerzche@xxxxxxxxx>
> Signed-off-by: Michele Zuccalà <ardutu@xxxxxxxxx>
> ---
>  arch/arm/boot/dts/rk322x.dtsi | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi
> index ffc16d6b9..b381fc2a0 100644
> --- a/arch/arm/boot/dts/rk322x.dtsi
> +++ b/arch/arm/boot/dts/rk322x.dtsi
> @@ -132,6 +132,17 @@ display_subsystem: display-subsystem {
>  		ports = <&vop_out>;
>  	};
>  
> +	crypto: crypto@100a0000 {

> +		compatible = "rockchip,rk3288-crypto";

Hi,

Compatible strings must SoC orientated.

Something like:
compatible = "rockchip,rk3228-crypto", "rockchip,rk3288-crypto";

This string must be add to YAML document:
https://lore.kernel.org/linux-rockchip/20220927075511.3147847-25-clabbe@xxxxxxxxxxxx/

The status of that serie is unknown to me.
Not sure by who or when that is going to be merged.

Johan

> +		reg = <0x100a0000 0x4000>;
> +		interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
> +		clocks = <&cru HCLK_M_CRYPTO>, <&cru HCLK_S_CRYPTO>,
> +			 <&cru SCLK_CRYPTO>, <&cru ACLK_DMAC>;
> +		clock-names = "aclk", "hclk", "sclk", "apb_pclk";
> +		resets = <&cru SRST_CRYPTO>;
> +		reset-names = "crypto-rst";
> +	};
> +
>  	i2s1: i2s1@100b0000 {
>  		compatible = "rockchip,rk3228-i2s", "rockchip,rk3066-i2s";
>  		reg = <0x100b0000 0x4000>;



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux