devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: <sean.wang@mediatek.com>
To: herbert@gondor.apana.org.au, mpm@selenic.com, robh+dt@kernel.org,
	mark.rutland@arm.com, clabbe.montjoie@gmail.com,
	prasannatsmkumar@gmail.com, romain.perier@free-electrons.com,
	shannon.nelson@oracle.com
Cc: devicetree@vger.kernel.org, keyhaede@gmail.com,
	Sean Wang <sean.wang@mediatek.com>,
	linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org,
	linux-crypto@vger.kernel.org, weiyongjun1@huawei.com,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/4] hwrng: mtk - add support for MT7622 SoC
Date: Thu, 1 Jun 2017 02:44:14 +0800	[thread overview]
Message-ID: <2e2280eb36dbb00d3a7f56062889252f3e25a63d.1496255334.git.sean.wang@mediatek.com> (raw)
In-Reply-To: <cover.1496255334.git.sean.wang@mediatek.com>

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

  parent reply	other threads:[~2017-05-31 18:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1496255334.git.sean.wang@mediatek.com>
     [not found] ` <cover.1496255334.git.sean.wang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2017-05-31 18:44   ` [PATCH 1/4] dt-bindings: rng: add generic bindings for MediaTek SoCs sean.wang-NuS5LvNUpcJWk0Htik3J/w
2017-06-06 11:07     ` Matthias Brugger
     [not found]       ` <9eb87222-ca89-0abb-4532-3887008f6e7a-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-06-07 13:20         ` Sean Wang
2017-06-07 13:25           ` Matthias Brugger
     [not found]             ` <a8b797e9-db6f-7f92-2cee-72d456815310-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-06-07 14:48               ` Sean Wang
2017-05-31 18:44 ` sean.wang [this message]
2017-05-31 18:44 ` [PATCH 3/4] hwrng: mtk - add runtime PM support sean.wang
2017-05-31 18:44 ` [PATCH 4/4] MAINTAINERS: add entry for MediaTek Random Number Generator sean.wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2e2280eb36dbb00d3a7f56062889252f3e25a63d.1496255334.git.sean.wang@mediatek.com \
    --to=sean.wang@mediatek.com \
    --cc=clabbe.montjoie@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=keyhaede@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=mark.rutland@arm.com \
    --cc=mpm@selenic.com \
    --cc=prasannatsmkumar@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=romain.perier@free-electrons.com \
    --cc=shannon.nelson@oracle.com \
    --cc=weiyongjun1@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).