Skip to contentSkip to conversation

soc: samsung: Drivers for v4.11

GIT PULL Krzysztof Kozlowski 4 participants 7 messages Jan 20, 2017 – Jan 29, 2017 Arm Samsung Exynos

lore
Share & tools
lore

Krzysztof Kozlowski

author maintainer
#0 lore raw

Hi,

Few changes in Exynos PMU driver including one that is needed by pinctrl driver for runtime PM. We want to move forward with the RPM for our drivers while keeping still DT ABI.

This tag is also for Linus Walleij to pull - base for pinctrl changes.

Best regards,
Krzysztof

Cc Linus Walleij <[email protected]>
Cc Tomasz Figa <[email protected]>
Cc Marek Szyprowski <[email protected]>
Cc Sylwester Nawrocki <[email protected]>

The following changes since commit 0c744ea4f77d72b3dcebb7a8f2684633ec79be88:

Linux 4.10-rc2 (2017-01-01 14:31:53 -0800)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git samsung-drivers-soc-pmu-4.11

for you to fetch changes up to 1da6de33e43901ec5220cbf292d71172635ada67:

soc: samsung: pmu: Remove messages for failed memory allocation (2017-01-20 18:37:27 +0200)

----------------------------------------------------------------
Improvements for Exynos PMU driver for v4.11:

Beside basic function of setting proper configuration for low power modes, the Exynos PMU (Power Management Unit) driver is also a provider of syscon regmap for its registers. This regmap is essential to many other drivers wanting to or needing to implement low power mode.

Exynos pinctrl driver, before getting support for Runtime Power Management, needs access to this syscon regmap. Let's do it in a DT ABI friendly way.

----------------------------------------------------------------
Marek Szyprowski (3):
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

 drivers/soc/samsung/exynos-pmu.c       | 22 ++++++++++++++--------
 include/linux/soc/samsung/exynos-pmu.h | 10 ++++++++++
 2 files changed, 24 insertions(+), 8 deletions(-)
#1 lore raw
Quoted 5 lines · Krzysztof Kozlowski

Few changes in Exynos PMU driver including one that is needed by pinctrl driver for runtime PM. We want to move forward with the RPM for our drivers while keeping still DT ABI.

This tag is also for Linus Walleij to pull - base for pinctrl changes.

Do I need it? I.e. will my branch not compile without this, or is this just a runtime problem?

Yours,
Linus Walleij

#2 lore raw

Hi Linus,

Quoted 9 lines · Linus Walleij
Quoted 5 lines · Krzysztof Kozlowski

Few changes in Exynos PMU driver including one that is needed by pinctrl driver for runtime PM. We want to move forward with the RPM for our drivers while keeping still DT ABI.

This tag is also for Linus Walleij to pull - base for pinctrl changes.

Do I need it? I.e. will my branch not compile without this, or is this just a runtime problem?

"[PATCH v3 11/13] pinctrl: samsung: Move retention control from mach-exynos to the
pinctrl driver" has compile time dependency on the changes included in that tag.

Best regards

Signature · 2 lines
Marek Szyprowski, PhD
Samsung R&D Institute Poland
#3 lore raw
Quoted 14 lines · Marek Szyprowski

Hi Linus,

Quoted 11 lines · Linus Walleij
Quoted 6 lines · Krzysztof Kozlowski

Few changes in Exynos PMU driver including one that is needed by pinctrl driver for runtime PM. We want to move forward with the RPM for our drivers
while keeping still DT ABI.

This tag is also for Linus Walleij to pull - base for pinctrl changes.

Quoted 8 lines
Quoted 2 lines

Do I need it? I.e. will my branch not compile without this, or is this just a runtime problem?

"[PATCH v3 11/13] pinctrl: samsung: Move retention control from mach-exynos to the
pinctrl driver" has compile time dependency on the changes included in that tag.

Is that because of the custom syscon regmap lookup function?

I just complained about that in a separate mail ;)

Yours,
Linus Walleij

#4 lore raw
In reply to Krzysztof Kozlowski
Quoted 7 lines · Krzysztof Kozlowski

The following changes since commit 0c744ea4f77d72b3dcebb7a8f2684633ec79be88:

Linux 4.10-rc2 (2017-01-01 14:31:53 -0800)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git samsung-drivers-soc-pmu-4.11

OK I pulled it and applied the final three patches from Marek on top.

Grrr I was based in v4.10-rc1, well I could easily merge in v4.10-rc2 so no big deal.

Let's see if it survives linux-next.

Yours,
Linus Walleij

author maintainer
#5 lore raw
Quoted 8 lines · Linus Walleij
Quoted 6 lines · Krzysztof Kozlowski

The following changes since commit 0c744ea4f77d72b3dcebb7a8f2684633ec79be88:

Linux 4.10-rc2 (2017-01-01 14:31:53 -0800)

are available in the git repository at:

Quoted 7 lines
Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git samsung-drivers-soc-pmu-4.11

OK I pulled it and applied the final three patches from Marek on top.

Grrr I was based in v4.10-rc1, well I could easily merge in v4.10-rc2 so no big deal.

Sorry for that but it is all because of broken ARMv8 build at rc1.

Thanks for merging,
Krzysztof

#6 lore raw
In reply to Krzysztof Kozlowski
Quoted 33 lines · Krzysztof Kozlowski

Hi,

Few changes in Exynos PMU driver including one that is needed by pinctrl driver for runtime PM. We want to move forward with the RPM for our drivers while keeping still DT ABI.

This tag is also for Linus Walleij to pull - base for pinctrl changes.

Best regards,
Krzysztof

Cc Linus Walleij <[email protected]>
Cc Tomasz Figa <[email protected]>
Cc Marek Szyprowski <[email protected]>
Cc Sylwester Nawrocki <[email protected]>

The following changes since commit 0c744ea4f77d72b3dcebb7a8f2684633ec79be88:

Linux 4.10-rc2 (2017-01-01 14:31:53 -0800)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git samsung-drivers-soc-pmu-4.11

for you to fetch changes up to 1da6de33e43901ec5220cbf292d71172635ada67:

soc: samsung: pmu: Remove messages for failed memory allocation (2017-01-20 18:37:27 +0200)

----------------------------------------------------------------
Improvements for Exynos PMU driver for v4.11:

Quoted 7 lines

Beside basic function of setting proper configuration for low power modes, the Exynos PMU (Power Management Unit) driver is also a provider of syscon regmap for its registers. This regmap is essential to many other drivers wanting to or needing to implement low power mode.

Exynos pinctrl driver, before getting support for Runtime Power Management, needs access to this syscon regmap. Let's do it in a DT ABI friendly way.

Merged here as well.

THanks,

-Olof