Message ID | 1464772006-11254-4-git-send-email-t-kristo@ti.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Herbert Xu |
Headers | show |
* Tero Kristo <t-kristo@ti.com> [160601 02:09]: > From: Joel Fernandes <joelf@ti.com> > > DRA7xx SoCs have a DES3DES IP. Add DT data for the same. Are these dts changes safe to apply separately or do they cause issues like extra warnings during boot? Regards, Tony -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 10/06/16 14:38, Tony Lindgren wrote: > * Tero Kristo <t-kristo@ti.com> [160601 02:09]: >> From: Joel Fernandes <joelf@ti.com> >> >> DRA7xx SoCs have a DES3DES IP. Add DT data for the same. > > Are these dts changes safe to apply separately or do they > cause issues like extra warnings during boot? DTS changes are fine to merge as is separately, some crypto functionality might not work properly though (well, the support is somewhat broken on am43xx/dra7 anyways.) I just gave the kernel a boot test with am43xx/dra7 platforms with the DT data only applied, and that part worked fine. I noticed that if you merge the hwmod changes before you have the DTS data though, you will get some extra boot warnings of the following kind on am43xx/dra7: <snip> [ 0.315623] omap_hwmod: aes1: no dt node [ 0.315631] ------------[ cut here ]------------ [ 0.315656] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2497 _init+0x1d0/0x41c [ 0.315663] omap_hwmod: aes1: doesn't have mpu register target base <snip> Do you want to pick-up the DTS changes from this revision of series as is or shall I repost those also? I think the series would require a re-ordering of posting the DTS changes before the hwmod data. -Tero -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
* Tero Kristo <t-kristo@ti.com> [160621 10:58]: > > Do you want to pick-up the DTS changes from this revision of series as is or > shall I repost those also? I think the series would require a re-ordering of > posting the DTS changes before the hwmod data. I'll pick the dts changes from this series into omap-for-v4.8/dt thanks. Please split the rest of the patches into separate hwmod and driver changes and describe if there's a dependency with the order they should get merged. Regards, Tony -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index e007401..959f99b 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi @@ -1743,6 +1743,17 @@ clock-names = "fck", "sys_clk"; }; }; + + des: des@480a5000 { + compatible = "ti,omap4-des"; + ti,hwmods = "des"; + reg = <0x480a5000 0xa0>; + interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&sdma_xbar 117>, <&sdma_xbar 116>; + dma-names = "tx", "rx"; + clocks = <&l3_iclk_div>; + clock-names = "fck"; + }; }; thermal_zones: thermal-zones {