Skip to content

Commit 58e5b01

Browse files
ndreysherbertx
authored andcommitted
crypto: caam - add clock info for VFxxx SoCs
Add a small bit of plumbing necessary to use CAAM on VFxxx SoCs. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Cc: Chris Healy <cphealy@gmail.com> Cc: Fabio Estevam <festevam@gmail.com> Cc: linux-imx@nxp.com Cc: linux-kernel@vger.kernel.org Reviewed-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 0289e9b commit 58e5b01

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎drivers/crypto/caam/ctrl.c‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,11 +527,21 @@ static const struct caam_imx_data caam_imx6ul_data = {
527527
.num_clks = ARRAY_SIZE(caam_imx6ul_clks),
528528
};
529529

530+
static const struct clk_bulk_data caam_vf610_clks[] = {
531+
{ .id = "ipg" },
532+
};
533+
534+
static const struct caam_imx_data caam_vf610_data = {
535+
.clks = caam_vf610_clks,
536+
.num_clks = ARRAY_SIZE(caam_vf610_clks),
537+
};
538+
530539
static const struct soc_device_attribute caam_imx_soc_table[] = {
531540
{ .soc_id = "i.MX6UL", .data = &caam_imx6ul_data },
532541
{ .soc_id = "i.MX6*", .data = &caam_imx6_data },
533542
{ .soc_id = "i.MX7*", .data = &caam_imx7_data },
534543
{ .soc_id = "i.MX8M*", .data = &caam_imx7_data },
544+
{ .soc_id = "VF*", .data = &caam_vf610_data },
535545
{ .family = "Freescale i.MX" },
536546
{ /* sentinel */ }
537547
};

0 commit comments

Comments
 (0)