From: m.szyprowski@samsung.com (Marek Szyprowski)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 00/13] Move pad retention control to Exynos pin controller driver
Date: Tue, 17 Jan 2017 13:44:31 +0100 [thread overview]
Message-ID: <1484657084-26227-1-git-send-email-m.szyprowski@samsung.com> (raw)
In-Reply-To: CGME20170117124453eucas1p1b812596939db4c4f3298b941555eb05a@eucas1p1.samsung.com
Hello,
This patchset is a follow-up of my work on adding runtime PM support
to Exynos pin controller driver:
http://www.spinics.net/lists/arm-kernel/msg550161.html
Runtime PM support itself needs a bit more discussion, so lets first focus on
the prerequisites.
In case of Exynos pin controller driver it is a pad retention control. In
current code it was handled by machine and PMU code and had no relation to
what pin controller driver does. This patch series moves pad retention
control to pin controller driver. While implementing it, I also did a little
cleanup of both Exynos PMU and pin controller drivers. Exynos PMU driver
now provides a convenient function to get PMU regmap from other Exynos drivers.
Patch #1 provides a new interface to get Exynos PMU regmap, which is used
by the patch #11. Patches 2-10 are additional cleanups to the code I was
modyfying. Patches 10-12 implements the move of retention control and patch #13
is another cleanup, which is possible after removing dependency to platform
PM code.
Patches are based on linux-next from 2017.01.16 with Exynos4415 support
removal patch applied: https://lkml.org/lkml/2017/1/14/137
Changelog:
v2:
- reworked exynos_get_pmu_regmap() function and moved to Exynos PMU driver,
now it doesn't depend on driver probe order thus doesn't need to defer probing
of pinctrl driver if PMU has not yet been probed
- collected Acks, minor fixes according to review comments
v1: https://www.spinics.net/lists/arm-kernel/msg554487.html
- removed the need to add PMU phandles to all pin controller nodes, so old DTBs
are properly supported. This has been achieved by getting PMU regmap from
the "exynos-pmu" device of fixed name.
- more cleanup in Exynos pin controller driver: added missing entries in DT
documentation, removed "memory allocation failed" messages and added
initconst annotations.
- added support for s5pv210.
- reworked retention control code to be simpler and ready for adding Exynos5433
support.
v0: http://www.spinics.net/lists/arm-kernel/msg550161.html
- initial version
- part of "Runtime PM for Exynos pin controller driver" patchset
Patch summary:
Marek Szyprowski (13):
soc: samsung: pmu: Provide global function to get PMU regmap
soc: samsung: pmu: Use of_device_get_match_data helper
soc: samsung: pmu: Remove messages for failed memory allocation
pinctrl: samsung: Document Exynos3250 SoC support
pinctrl: samsung: Remove messages for failed memory allocation
pinctrl: samsung: Fix samsung_pinctrl_create_functions return value
pinctrl: samsung: Add missing initconst annotation
pinctrl: samsung: Remove dead code
pinctrl: samsung: Use generic of_device_get_match_data helper
pinctrl: samsung: Add infrastructure for pin-bank retention control
pinctrl: samsung: Move retention control from mach-exynos to the
pinctrl driver
pinctrl: samsung: Move retention control from mach-s5pv210 to the
pinctrl driver
pinctrl: samsung: Replace syscore ops with standard platform device
pm_ops
.../bindings/pinctrl/samsung-pinctrl.txt | 1 +
arch/arm/mach-exynos/suspend.c | 64 ------
arch/arm/mach-s5pv210/pm.c | 7 -
arch/arm/mach-s5pv210/regs-clock.h | 4 -
drivers/pinctrl/samsung/pinctrl-exynos.c | 232 +++++++++++++++++++--
drivers/pinctrl/samsung/pinctrl-s3c64xx.c | 12 +-
drivers/pinctrl/samsung/pinctrl-samsung.c | 123 ++++-------
drivers/pinctrl/samsung/pinctrl-samsung.h | 42 ++++
drivers/soc/samsung/exynos-pmu.c | 22 +-
include/linux/soc/samsung/exynos-pmu.h | 7 +
10 files changed, 320 insertions(+), 194 deletions(-)
--
1.9.1
next parent reply other threads:[~2017-01-17 12:44 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20170117124453eucas1p1b812596939db4c4f3298b941555eb05a@eucas1p1.samsung.com>
2017-01-17 12:44 ` Marek Szyprowski [this message]
2017-01-17 12:44 ` [PATCH v2 01/13] soc: samsung: pmu: Provide global function to get PMU regmap Marek Szyprowski
2017-01-18 8:31 ` Tomasz Figa
2017-01-17 12:44 ` [PATCH v2 02/13] soc: samsung: pmu: Use of_device_get_match_data helper Marek Szyprowski
2017-01-17 12:44 ` [PATCH v2 03/13] soc: samsung: pmu: Remove messages for failed memory allocation Marek Szyprowski
2017-01-17 12:44 ` [PATCH v2 04/13] pinctrl: samsung: Document Exynos3250 SoC support Marek Szyprowski
2017-01-17 12:44 ` [PATCH v2 05/13] pinctrl: samsung: Remove messages for failed memory allocation Marek Szyprowski
2017-01-17 12:44 ` [PATCH v2 06/13] pinctrl: samsung: Fix samsung_pinctrl_create_functions return value Marek Szyprowski
2017-01-17 17:36 ` Krzysztof Kozlowski
2017-01-17 12:44 ` [PATCH v2 07/13] pinctrl: samsung: Add missing initconst annotation Marek Szyprowski
2017-01-17 12:44 ` [PATCH v2 08/13] pinctrl: samsung: Remove dead code Marek Szyprowski
2017-01-17 12:44 ` [PATCH v2 09/13] pinctrl: samsung: Use generic of_device_get_match_data helper Marek Szyprowski
2017-01-17 17:38 ` Krzysztof Kozlowski
2017-01-17 12:44 ` [PATCH v2 10/13] pinctrl: samsung: Add infrastructure for pin-bank retention control Marek Szyprowski
2017-01-18 8:36 ` Tomasz Figa
2017-01-17 12:44 ` [PATCH v2 11/13] pinctrl: samsung: Move retention control from mach-exynos to the pinctrl driver Marek Szyprowski
2017-01-17 17:48 ` Krzysztof Kozlowski
2017-01-17 12:44 ` [PATCH v2 12/13] pinctrl: samsung: Move retention control from mach-s5pv210 " Marek Szyprowski
2017-01-17 17:54 ` Krzysztof Kozlowski
2017-01-17 12:44 ` [PATCH v2 13/13] pinctrl: samsung: Replace syscore ops with standard platform device pm_ops Marek Szyprowski
2017-01-18 8:40 ` [PATCH v2 00/13] Move pad retention control to Exynos pin controller driver Tomasz Figa
2017-01-18 10:39 ` Linus Walleij
2017-01-18 12:06 ` Krzysztof Kozlowski
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=1484657084-26227-1-git-send-email-m.szyprowski@samsung.com \
--to=m.szyprowski@samsung.com \
--cc=linux-arm-kernel@lists.infradead.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