linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
To: gregkh@linuxfoundation.org
Cc: linux-kernel@vger.kernel.org, srinivas.kandagatla@linaro.org
Subject: [RESEND PATCH 20/20] nvmem: sunxi_sid: Support SID on H6
Date: Sat, 13 Apr 2019 11:33:05 +0100	[thread overview]
Message-ID: <20190413103305.9576-21-srinivas.kandagatla@linaro.org> (raw)
In-Reply-To: <20190413103305.9576-1-srinivas.kandagatla@linaro.org>

From: Yangtao Li <tiny.windzz@gmail.com>

Add support for H6's SID controller. It supports 4K-bit
EFUSE, bigger than before.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 drivers/nvmem/sunxi_sid.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/nvmem/sunxi_sid.c b/drivers/nvmem/sunxi_sid.c
index 7013f9cc43c7..a079a80ddf2c 100644
--- a/drivers/nvmem/sunxi_sid.c
+++ b/drivers/nvmem/sunxi_sid.c
@@ -188,6 +188,11 @@ static const struct sunxi_sid_cfg sun50i_a64_cfg = {
 	.size = 0x100,
 };
 
+static const struct sunxi_sid_cfg sun50i_h6_cfg = {
+	.value_offset = 0x200,
+	.size = 0x200,
+};
+
 static const struct of_device_id sunxi_sid_of_match[] = {
 	{ .compatible = "allwinner,sun4i-a10-sid", .data = &sun4i_a10_cfg },
 	{ .compatible = "allwinner,sun7i-a20-sid", .data = &sun7i_a20_cfg },
@@ -195,6 +200,7 @@ static const struct of_device_id sunxi_sid_of_match[] = {
 	{ .compatible = "allwinner,sun8i-h3-sid", .data = &sun8i_h3_cfg },
 	{ .compatible = "allwinner,sun50i-a64-sid", .data = &sun50i_a64_cfg },
 	{ .compatible = "allwinner,sun50i-h5-sid", .data = &sun50i_a64_cfg },
+	{ .compatible = "allwinner,sun50i-h6-sid", .data = &sun50i_h6_cfg },
 	{/* sentinel */},
 };
 MODULE_DEVICE_TABLE(of, sunxi_sid_of_match);
-- 
2.21.0


      parent reply	other threads:[~2019-04-13 10:33 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-13 10:32 [RESEND PATCH 00/20] nvmem: patches(set 1) for 5.2 Srinivas Kandagatla
2019-04-13 10:32 ` [RESEND PATCH 01/20] dt-bindings: imx-ocotp: Add i.MX8MQ compatible Srinivas Kandagatla
2019-04-13 10:32 ` [RESEND PATCH 02/20] nvmem: imx-ocotp: add support for imx8mq Srinivas Kandagatla
2019-04-13 10:32 ` [RESEND PATCH 03/20] nvmem: imx-ocotp: broaden Kconfig dependency Srinivas Kandagatla
2019-04-13 10:32 ` [RESEND PATCH 04/20] nvmem: sunxi_sid: Read out SID for randomness without looping Srinivas Kandagatla
2019-04-13 10:32 ` [RESEND PATCH 05/20] nvmem: sunxi_sid: Optimize register read-out method Srinivas Kandagatla
2019-04-13 10:32 ` [RESEND PATCH 06/20] nvmem: sunxi_sid: Dynamically allocate nvmem_config structure Srinivas Kandagatla
2019-04-13 10:32 ` [RESEND PATCH 07/20] nvmem: sunxi_sid: Read out data in native format Srinivas Kandagatla
2019-04-13 10:32 ` [RESEND PATCH 08/20] nvmem: sunxi_sid: Support SID on A83T and H5 Srinivas Kandagatla
2019-04-13 10:32 ` [RESEND PATCH 09/20] dt-bindings: nvmem: Add STM32 factory-programmed romem Srinivas Kandagatla
2019-04-13 10:32 ` [RESEND PATCH 10/20] nvmem: Add driver for STM32 factory-programmed read only mem Srinivas Kandagatla
2019-04-13 10:32 ` [RESEND PATCH 11/20] nvmem: stm32: add support for STM32MP15 BSEC to control OTP data Srinivas Kandagatla
2019-04-13 10:32 ` [RESEND PATCH 12/20] nvmem: core: add nvmem_cell_read_u16 Srinivas Kandagatla
2019-04-13 10:32 ` [RESEND PATCH 13/20] nvmem: core: fix read buffer in place Srinivas Kandagatla
2019-04-13 10:32 ` [RESEND PATCH 14/20] nvmem: imx-ocotp: use devm_platform_ioremap_resource() to simplify code Srinivas Kandagatla
2019-04-13 10:33 ` [RESEND PATCH 15/20] nvmem: mxs-ocotp: " Srinivas Kandagatla
2019-04-13 10:33 ` [RESEND PATCH 16/20] nvmem: imx-iim: " Srinivas Kandagatla
2019-04-13 10:33 ` [RESEND PATCH 17/20] nvmem: sunxi-sid: fix wrong description in kernel doc Srinivas Kandagatla
2019-04-13 10:33 ` [RESEND PATCH 18/20] nvmem: sunxi-sid: add binding for H6's SID controller Srinivas Kandagatla
2019-04-13 10:33 ` [RESEND PATCH 19/20] nvmem: sunxi-sid: convert to SPDX license tags Srinivas Kandagatla
2019-04-13 10:33 ` Srinivas Kandagatla [this message]

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=20190413103305.9576-21-srinivas.kandagatla@linaro.org \
    --to=srinivas.kandagatla@linaro.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /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).