mbox

[GIT,PULL] soc: samsung: Drivers for v4.11

Message ID 20170120181343.12570-1-krzk@kernel.org
State New
Headers show

Pull-request

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

Message

Krzysztof Kozlowski Jan. 20, 2017, 6:13 p.m. UTC
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 <linus.walleij@linaro.org>
Cc: Tomasz Figa <tomasz.figa@gmail.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>


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(-)

Comments

Linus Walleij Jan. 26, 2017, 9:13 a.m. UTC | #1
On Fri, Jan 20, 2017 at 7:13 PM, Krzysztof Kozlowski <krzk@kernel.org> wrote:

> 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
Marek Szyprowski Jan. 26, 2017, 9:20 a.m. UTC | #2
Hi Linus,

On 2017-01-26 10:13, Linus Walleij wrote:
> On Fri, Jan 20, 2017 at 7:13 PM, Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
>> 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
Linus Walleij Jan. 26, 2017, 9:44 a.m. UTC | #3
On Thu, Jan 26, 2017 at 10:20 AM, Marek Szyprowski
<m.szyprowski@samsung.com> wrote:
> Hi Linus,
>
> On 2017-01-26 10:13, Linus Walleij wrote:
>>
>> On Fri, Jan 20, 2017 at 7:13 PM, Krzysztof Kozlowski <krzk@kernel.org>
>> wrote:
>>
>>> 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.

Is that because of the custom syscon regmap lookup function?

I just complained about that in a separate mail ;)

Yours,
Linus Walleij
Linus Walleij Jan. 26, 2017, 3:59 p.m. UTC | #4
On Fri, Jan 20, 2017 at 7:13 PM, Krzysztof Kozlowski <krzk@kernel.org> wrote:

> 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
Krzysztof Kozlowski Jan. 27, 2017, 7:55 a.m. UTC | #5
On Thu, Jan 26, 2017 at 04:59:45PM +0100, Linus Walleij wrote:
> On Fri, Jan 20, 2017 at 7:13 PM, Krzysztof Kozlowski <krzk@kernel.org> wrote:
> 
> > 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.

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

Thanks for merging,
Krzysztof
Olof Johansson Jan. 29, 2017, 10:31 p.m. UTC | #6
On Fri, Jan 20, 2017 at 08:13:43PM +0200, Krzysztof Kozlowski wrote:
> 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 <linus.walleij@linaro.org>
> Cc: Tomasz Figa <tomasz.figa@gmail.com>
> Cc: Marek Szyprowski <m.szyprowski@samsung.com>
> Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
> 
> 
> 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.

Merged here as well.

THanks,

-Olof