Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1654546
| From | <sean.wang@mediatek.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/4] hwrng: mtk - add support for MT7622 SoC |
| Date | 2017-05-31 20:50 +0200 |
| Message-ID | <tNgQW-8tf-17@gated-at.bofh.it> (permalink) |
| References | <tNgQW-8tf-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Sean Wang <sean.wang@mediatek.com>
Add "mediatek,generic-rng" allowing most of RNG on MediaTek SoCs to be
compatible with the driver including MT7622 SoC.
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
---
drivers/char/hw_random/mtk-rng.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/char/hw_random/mtk-rng.c b/drivers/char/hw_random/mtk-rng.c
index df8eb54..3a1e1f1 100644
--- a/drivers/char/hw_random/mtk-rng.c
+++ b/drivers/char/hw_random/mtk-rng.c
@@ -148,6 +148,7 @@ static int mtk_rng_probe(struct platform_device *pdev)
}
static const struct of_device_id mtk_rng_match[] = {
+ { .compatible = "mediatek,generic-rng" },
{ .compatible = "mediatek,mt7623-rng" },
{},
};
--
1.9.1
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 2/4] hwrng: mtk - add support for MT7622 SoC <sean.wang@mediatek.com> - 2017-05-31 20:50 +0200
csiph-web