public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: Baolin Wang <baolin.wang@linaro.org>,
	srinivas.kandagatla@linaro.org, robh+dt@kernel.org,
	mark.rutland@arm.com
Cc: broonie@kernel.org, freeman.liu@spreadtrum.com,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] nvmem: Add Spreadtrum SC27XX efuse support
Date: Mon, 11 Jun 2018 22:27:59 -0700	[thread overview]
Message-ID: <70fffa09-5c70-be61-49b8-e78015fff547@infradead.org> (raw)
In-Reply-To: <0ebf526fa755231c8871a57baab641cebaed7820.1528780670.git.baolin.wang@linaro.org>

On 06/11/2018 10:24 PM, Baolin Wang wrote:
> From: Freeman Liu <freeman.liu@spreadtrum.com>
> 
> This patch add the efuse driver which is embeded in Spreadtrum SC27XX
> series PMICs. The sc27xx efuse contains 32 blocks and each block's
> data width is 16 bits.
> 
> Signed-off-by: Freeman Liu <freeman.liu@spreadtrum.com>
> Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
> ---
>  drivers/nvmem/Kconfig        |   11 ++
>  drivers/nvmem/Makefile       |    3 +-
>  drivers/nvmem/sc27xx-efuse.c |  263 ++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 276 insertions(+), 1 deletion(-)
>  create mode 100644 drivers/nvmem/sc27xx-efuse.c
> 
> diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig
> index 54a3c29..3dca608 100644
> --- a/drivers/nvmem/Kconfig
> +++ b/drivers/nvmem/Kconfig
> @@ -181,4 +181,15 @@ config RAVE_SP_EEPROM
>  	help
>  	  Say y here to enable Rave SP EEPROM support.
>  
> +config SC27XX_EFUSE
> +	tristate "Spreadtrum SC27XX eFuse Support"
> +	depends on MFD_SC27XX_PMIC || COMPILE_TEST
> +	depends on HAS_IOMEM
> +	help
> +	  This is a simple drive to dump specified values of Spreadtrum

	                   driver

> +	  SC27XX PMICs from eFuse.
> +
> +	  This driver can also be built as a module. If so, the module
> +	  will be called nvmem-sc27xx-efuse.
> +
>  endif


-- 
~Randy

  reply	other threads:[~2018-06-12  5:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-12  5:24 [PATCH 1/2] dt-bindings: nvmem: Add Spreadtrum SC27XX efuse controller documentation Baolin Wang
2018-06-12  5:24 ` [PATCH 2/2] nvmem: Add Spreadtrum SC27XX efuse support Baolin Wang
2018-06-12  5:27   ` Randy Dunlap [this message]
2018-06-12  5:41     ` Baolin Wang
2018-06-12 22:19 ` [PATCH 1/2] dt-bindings: nvmem: Add Spreadtrum SC27XX efuse controller documentation Rob Herring

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=70fffa09-5c70-be61-49b8-e78015fff547@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=baolin.wang@linaro.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=freeman.liu@spreadtrum.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=srinivas.kandagatla@linaro.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