Skip to content

Commit b0c2036

Browse files
Sam Protsenkoherbertx
authored andcommitted
hwrng: exynos - Enable Exynos850 support
Add Exynos850 compatible and its driver data. It's only possible to access TRNG block via SMC calls in Exynos850, so specify that fact using EXYNOS_SMC flag in the driver data. Signed-off-by: Sam Protsenko <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Acked-by: Łukasz Stelmach <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 10bb6ac commit b0c2036

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/char/hw_random/exynos-trng.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,9 @@ static DEFINE_SIMPLE_DEV_PM_OPS(exynos_trng_pm_ops, exynos_trng_suspend,
320320
static const struct of_device_id exynos_trng_dt_match[] = {
321321
{
322322
.compatible = "samsung,exynos5250-trng",
323+
}, {
324+
.compatible = "samsung,exynos850-trng",
325+
.data = (void *)EXYNOS_SMC,
323326
},
324327
{ },
325328
};

0 commit comments

Comments
 (0)