Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andrey Smirnov and committed by
Herbert Xu
58e5b015 0289e9be

+10
+10
drivers/crypto/caam/ctrl.c
··· 527 527 .num_clks = ARRAY_SIZE(caam_imx6ul_clks), 528 528 }; 529 529 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 + 530 539 static const struct soc_device_attribute caam_imx_soc_table[] = { 531 540 { .soc_id = "i.MX6UL", .data = &caam_imx6ul_data }, 532 541 { .soc_id = "i.MX6*", .data = &caam_imx6_data }, 533 542 { .soc_id = "i.MX7*", .data = &caam_imx7_data }, 534 543 { .soc_id = "i.MX8M*", .data = &caam_imx7_data }, 544 + { .soc_id = "VF*", .data = &caam_vf610_data }, 535 545 { .family = "Freescale i.MX" }, 536 546 { /* sentinel */ } 537 547 };