[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2e2280eb36dbb00d3a7f56062889252f3e25a63d.1496255334.git.sean.wang@mediatek.com>
Date: Thu, 1 Jun 2017 02:44:14 +0800
From: <sean.wang@...iatek.com>
To: <herbert@...dor.apana.org.au>, <mpm@...enic.com>,
<robh+dt@...nel.org>, <mark.rutland@....com>,
<clabbe.montjoie@...il.com>, <prasannatsmkumar@...il.com>,
<romain.perier@...e-electrons.com>, <shannon.nelson@...cle.com>
CC: <weiyongjun1@...wei.com>, <devicetree@...r.kernel.org>,
<linux-crypto@...r.kernel.org>,
<linux-mediatek@...ts.infradead.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <keyhaede@...il.com>,
Sean Wang <sean.wang@...iatek.com>
Subject: [PATCH 2/4] hwrng: mtk - add support for MT7622 SoC
From: Sean Wang <sean.wang@...iatek.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@...iatek.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
Powered by blists - more mailing lists