Linux-PM Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH v7 0/7] implement poweroff for mt6323 / bpi-r2
@ 2019-09-10  7:04 Frank Wunderlich
  2019-09-10  7:04 ` [PATCH v7 1/7] dt-bindings: rtc: mediatek: add missing mt6397 rtc Frank Wunderlich
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Frank Wunderlich @ 2019-09-10  7:04 UTC (permalink / raw)
  To: linux-mediatek
  Cc: Frank Wunderlich, devicetree, linux-arm-kernel, Alessandro Zummo,
	Alexandre Belloni, Eddie Huang, Josef Friedl, Lee Jones,
	linux-kernel, linux-pm, linux-rtc, Mark Rutland,
	Matthias Brugger, Rob Herring, Sean Wang, Sebastian Reichel,
	Tianping Fang

mainline-driver does not support mt6323

this series makes some cleanup to mt6397-rtc-driver, adds mt6323 and
implement power-controller on it.

tested on bananapi-r2

Original Patch from Josef Friedl

changes since v6:
	- rebased on 5.3-rc8
	- post only 7 Patches because 6 are already applied to next
	- update copyright in "move some common definitions into rtc.h"
changes since v5:
	- splitted part 1 to separate changes and additions not related to pwrc
	- move mfd/mt6397/core.h from v4.8 in separate patch "add mutex include"
	- changed recipients (moved from To to Cc, removed committers)
changes since v4:
	- relative path in part 1+2
	- drop change of copyright-year in part 5
changes since v3:
	- moved SOB in 2/10 and 9/10
	- moved part 5 to 6 to be near driver-change
	- changehistory of patches below ---
changes since v2:
	- Splitted some parts and rebased on 5.3-rc2:

	v2.1 dt-bindings: add powercontroller – try to make better subject
	v2.2 separate rtc-mt6397.txt (suggested by Alexandre Belloni)
	     add missing commit-message (suggested by Matthias Brugger)
	v2.3 fix alloc after IRQ (suggested by Alexandre Belloni)
	     new compatible (splitting suggested by Alexandre Belloni)
	     needed due to different rtc-base/size see #7
	v2.4 simplifications (Define-res-macros)
	     add mt6323 rtc+pwrc
	v2.5 add poweroff-driver (no change)
	v2.6 MAINTAINERS (no change)
	v2.7 DTS-Changes (no change)

Josef Friedl (7):
  dt-bindings: rtc: mediatek: add missing mt6397 rtc
  rtc: mt6397: move some common definitions into rtc.h
  rtc: mt6397: improvements of rtc driver
  rtc: mt6397: add compatible for mt6323
  power: reset: add driver for mt6323 poweroff
  MAINTAINERS: add Mediatek shutdown drivers
  arm: dts: mt6323: add keys, power-controller, rtc and codec

 .../devicetree/bindings/rtc/rtc-mt6397.txt    |  29 +++++
 MAINTAINERS                                   |   7 ++
 arch/arm/boot/dts/mt6323.dtsi                 |  27 +++++
 drivers/power/reset/Kconfig                   |  10 ++
 drivers/power/reset/Makefile                  |   1 +
 drivers/power/reset/mt6323-poweroff.c         |  97 ++++++++++++++++
 drivers/rtc/rtc-mt6397.c                      | 107 ++++--------------
 include/linux/mfd/mt6397/rtc.h                |  71 ++++++++++++
 8 files changed, 263 insertions(+), 86 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
 create mode 100644 drivers/power/reset/mt6323-poweroff.c
 create mode 100644 include/linux/mfd/mt6397/rtc.h

-- 
2.17.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, back to index

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-10  7:04 [PATCH v7 0/7] implement poweroff for mt6323 / bpi-r2 Frank Wunderlich
2019-09-10  7:04 ` [PATCH v7 1/7] dt-bindings: rtc: mediatek: add missing mt6397 rtc Frank Wunderlich
2019-09-10  7:04 ` [PATCH v7 2/7] rtc: mt6397: move some common definitions into rtc.h Frank Wunderlich
2019-09-10  7:04 ` [PATCH v7 3/7] rtc: mt6397: improvements of rtc driver Frank Wunderlich
2019-09-10  7:04 ` [PATCH v7 4/7] rtc: mt6397: add compatible for mt6323 Frank Wunderlich
2019-09-10  7:04 ` [PATCH v7 5/7] power: reset: add driver for mt6323 poweroff Frank Wunderlich
2019-09-11 18:49   ` Sean Wang
2019-09-10  7:04 ` [PATCH v7 6/7] MAINTAINERS: add Mediatek shutdown drivers Frank Wunderlich
2019-09-10  7:04 ` [PATCH v7 7/7] arm: dts: mt6323: add keys, power-controller, rtc and codec Frank Wunderlich

Linux-PM Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-pm/0 linux-pm/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-pm linux-pm/ https://lore.kernel.org/linux-pm \
		linux-pm@vger.kernel.org linux-pm@archiver.kernel.org
	public-inbox-index linux-pm

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-pm


AGPL code for this site: git clone https://public-inbox.org/ public-inbox