All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jagath Jog J <jagathjog1996@gmail.com>
To: alexandre.belloni@bootlin.com, a.zummo@towertech.it,
	robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org
Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org,
	devicetree@vger.kernel.org, jagathjog1996@gmail.com
Subject: [PATCH v3 0/2] rtc: max31329: add support for Maxim max31329 RTC
Date: Sat, 24 Sep 2022 00:23:56 +0530	[thread overview]
Message-ID: <20220923185358.11023-1-jagathjog1996@gmail.com> (raw)

Add driver and device tree bindings support for Maxim max31329 real
time clock.

Changes since v2.
1. Removed log messages from error cases.
2. Removed OSF check from _read_alarm(), _set_alarm(), _set_time().
3. Removed CLKOUT pin initialization in probe() since it is configurable
   during runtime.
4. Configure wakeup support when interrupt is successfully configured
   or if the 'wakeup-source' parameter present in DT.
5. Added check for 'years' in _set_alarm so that it doesn't' cross current
   century.

Changes since v1.
1. Move 'allOf' after 'maintainers' in DT.
2. Add 'wakeup-source' into device tree bindings.
3. Add wakeup support depending on the 'wakeup-source' parameter from DT. 
4. Remove unused 'dev' member from device private data structure.
5. Use '__maybe_unused' attribute for of_device_id table.
6. Initialize local variable 'events' to 0 in interrupt handler.
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
7. Add Reviewed-by tag for device tree bindings.

Jagath Jog J (2):
  dt-bindings: rtc: add Maxim max31329 rtc device tree bindings
  rtc: max31329: Add Maxim max31329 real time clock

 .../bindings/rtc/maxim,max31329.yaml          |  61 +++
 MAINTAINERS                                   |   7 +
 drivers/rtc/Kconfig                           |  10 +
 drivers/rtc/Makefile                          |   1 +
 drivers/rtc/rtc-max31329.c                    | 507 ++++++++++++++++++
 5 files changed, 586 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/maxim,max31329.yaml
 create mode 100644 drivers/rtc/rtc-max31329.c

-- 
2.17.1


             reply	other threads:[~2022-09-23 18:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-23 18:53 Jagath Jog J [this message]
2022-09-23 18:53 ` [PATCH v3 1/2] dt-bindings: rtc: add Maxim max31329 rtc device tree bindings Jagath Jog J
2022-09-23 18:53 ` [PATCH v3 2/2] rtc: max31329: Add Maxim max31329 real time clock Jagath Jog J
2022-10-16  6:10   ` Jagath Jog J
2022-11-17 22:17   ` Alexandre Belloni

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=20220923185358.11023-1-jagathjog1996@gmail.com \
    --to=jagathjog1996@gmail.com \
    --cc=a.zummo@towertech.it \
    --cc=alexandre.belloni@bootlin.com \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rtc@vger.kernel.org \
    --cc=robh+dt@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.