devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: Vincent Shih <vincent.sunplus@gmail.com>,
	a.zummo@towertech.it, alexandre.belloni@bootlin.com,
	p.zabel@pengutronix.de, linux-kernel@vger.kernel.org,
	linux-rtc@vger.kernel.org, robh+dt@kernel.org,
	devicetree@vger.kernel.org
Cc: Vincent Shih <vincent.shih@sunplus.com>
Subject: Re: [PATCH 1/2] rtc: Add driver for Sunplus SP7021
Date: Tue, 2 Nov 2021 12:21:34 -0700	[thread overview]
Message-ID: <1ebf36aa-2680-81b2-aa26-d8b4d10c80ec@infradead.org> (raw)
In-Reply-To: <1635834123-24668-2-git-send-email-vincent.shih@sunplus.com>

Hi--

On 11/1/21 11:22 PM, Vincent Shih wrote:
> diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
> index e1bc521..0c205d2 100644
> --- a/drivers/rtc/Kconfig
> +++ b/drivers/rtc/Kconfig
> @@ -1028,6 +1028,16 @@ config RTC_DRV_DS1685_FAMILY
>   	  This driver can also be built as a module. If so, the module
>   	  will be called rtc-ds1685.
>   
> +config RTC_DRV_SUNPLUS
> +	bool "Sunplus SP7021 RTC"
> +	depends on SOC_SP7021
> +	help
> +		Say 'yse' to get support for Sunplus SP7021 real-time clock

		     yes

> +		(RTC) for industrial applications.
> +		It provides RTC status check, timer/alarm functionalities,
> +		user data reservation only with battery with voltage over 2.5V,
> +		RTC power status check and battery charge.


Also please follow coding-style for Kconfig files:

(from Documentation/process/coding-style.rst, section 10):

For all of the Kconfig* configuration files throughout the source tree,
the indentation is somewhat different.  Lines under a ``config`` definition
are indented with one tab, while help text is indented an additional two
spaces.


thanks.
-- 
~Randy

  parent reply	other threads:[~2021-11-02 19:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-02  6:22 [PATCH 0/2] Add RTC driver for Sunplus SP7021 SoC Vincent Shih
2021-11-02  6:22 ` [PATCH 1/2] rtc: Add driver for Sunplus SP7021 Vincent Shih
2021-11-02 14:22   ` Philipp Zabel
2021-11-02 19:21   ` Randy Dunlap [this message]
2021-11-03  0:36   ` Alexandre Belloni
2021-11-05 12:05     ` Vincent Shih 施錕鴻
2021-11-05 12:52       ` Alexandre Belloni
2021-11-02  6:22 ` [PATCH 2/2] dt-bindings: rtc: Convert Sunplus RTC to json-schema Vincent Shih

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=1ebf36aa-2680-81b2-aa26-d8b4d10c80ec@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=a.zummo@towertech.it \
    --cc=alexandre.belloni@bootlin.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rtc@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=robh+dt@kernel.org \
    --cc=vincent.shih@sunplus.com \
    --cc=vincent.sunplus@gmail.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).