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 <semen.protsenko@linaro.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Łukasz Stelmach <l.stelmach@samsung.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 10bb6ac commit b0c2036

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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)