From: Sebastian Reichel <sre@kernel.org> Date: 2017-06-09 23:12:26
Hi,
This adds crypto support for OMAP4, which was missing for some reason.
This fixes error about missing hwmod on Droid 4. IP-Cores for AES and
DES are working according to selftest.
-- Sebastian
Sebastian Reichel (3):
ARM: dts: omap4: add missing des_fck
ARM: OMAP4: hwmod data: add aes
ARM: OMAP4: hwmod data: add des
arch/arm/boot/dts/omap44xx-clocks.dtsi | 8 +++
arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 78 ++++++++++++++++++++++++++++++
2 files changed, 86 insertions(+)
--
2.11.0
From: Sebastian Reichel <sre@kernel.org> Date: 2017-06-09 23:12:29
Add missing functional clock for DES3DES IP core. This is
documented in the TRM as CM_L4SEC_DES3DES_CLKCTRL.
Signed-off-by: Sebastian Reichel <sre@kernel.org>
---
arch/arm/boot/dts/omap44xx-clocks.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
From: Sebastian Reichel <sre@kernel.org> Date: 2017-06-09 23:12:35
This fixes the following error during kernel boot:
platform 480a5000.des: Cannot lookup hwmod 'des'
Unfortunately the DES module is only documented partly
in the OMAP4430 TRM. I found an old patch from Joel,
which I took over and updated for currently mainline.
Signed-off-by: Joel Fernandes <redacted>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
---
arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 37 ++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
From: Sebastian Reichel <sre@kernel.org> Date: 2017-06-09 23:12:39
This fixes the following error during kernel boot:
platform 4b501000.aes: Cannot lookup hwmod 'aes'
Unfortunately the AES module is only documented partly
in the OMAP4430 TRM. I found an old patch from Joel,
which I took over and updated for currently mainline.
Signed-off-by: Joel Fernandes <redacted>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
---
arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 41 ++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
From: Tero Kristo <hidden> Date: 2017-06-12 08:15:03
On 10/06/17 02:12, Sebastian Reichel wrote:
quoted hunk
Add missing functional clock for DES3DES IP core. This is
documented in the TRM as CM_L4SEC_DES3DES_CLKCTRL.
Signed-off-by: Sebastian Reichel <sre@kernel.org>
---
arch/arm/boot/dts/omap44xx-clocks.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
NAK. Don't add a duplicate entry for the hwmod clkctrl clock. You are
adding control to the exact same bit via the hwmod data entry also
causing a possibility for race condition.
-Tero
From: Tero Kristo <hidden> Date: 2017-06-12 08:18:37
On 10/06/17 02:12, Sebastian Reichel wrote:
quoted hunk
This fixes the following error during kernel boot:
platform 480a5000.des: Cannot lookup hwmod 'des'
Unfortunately the DES module is only documented partly
in the OMAP4430 TRM. I found an old patch from Joel,
which I took over and updated for currently mainline.
Signed-off-by: Joel Fernandes <redacted>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
---
arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 37 ++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
From: Tero Kristo <hidden> Date: 2017-06-12 08:24:31
On 10/06/17 02:12, Sebastian Reichel wrote:
quoted hunk
This fixes the following error during kernel boot:
platform 4b501000.aes: Cannot lookup hwmod 'aes'
Unfortunately the AES module is only documented partly
in the OMAP4430 TRM. I found an old patch from Joel,
which I took over and updated for currently mainline.
Signed-off-by: Joel Fernandes <redacted>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
---
arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 41 ++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
How about aes2 instance? Please note that the DTS data should be fixed
also (I have patch available for this I can post if you want to pick it
up as part of this series.)
-Tero