Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1342505 > unrolled thread

Re: [GIT PULL 3/7] drivers: soc: EXYNOS drivers for v4.6

Started byOlof Johansson <olof@lixom.net>
First post2016-02-25 00:00 +0100
Last post2016-02-25 06:00 +0100
Articles 5 — 3 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [GIT PULL 3/7] drivers: soc: EXYNOS drivers for v4.6 Olof Johansson <olof@lixom.net> - 2016-02-25 00:00 +0100
    Re: [GIT PULL 3/7] drivers: soc: EXYNOS drivers for v4.6 Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-02-25 01:50 +0100
      Re: [GIT PULL 3/7] drivers: soc: EXYNOS drivers for v4.6 Olof Johansson <olof@lixom.net> - 2016-02-25 02:40 +0100
      Re: [GIT PULL 3/7] drivers: soc: EXYNOS drivers for v4.6 "pankaj.dubey" <pankaj.dubey@samsung.com> - 2016-02-25 05:20 +0100
        Re: [GIT PULL 3/7] drivers: soc: EXYNOS drivers for v4.6 Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-02-25 06:00 +0100

#1342505 — Re: [GIT PULL 3/7] drivers: soc: EXYNOS drivers for v4.6

FromOlof Johansson <olof@lixom.net>
Date2016-02-25 00:00 +0100
SubjectRe: [GIT PULL 3/7] drivers: soc: EXYNOS drivers for v4.6
Message-ID<r5Qzw-2Tx-11@gated-at.bofh.it>
On Mon, Feb 15, 2016 at 09:34:02AM +0900, Krzysztof Kozlowski wrote:
> Hi Arnd, Kevin and Olof,
> 
> This finally moves SROM controller and PMU code to separate
> driver under drivers/soc/samsung.
> 
> Kind regards,
> Krzysztof
> 
> 
> The following changes since commit 92e963f50fc74041b5e9e744c330dca48e04f08d:
> 
>   Linux 4.5-rc1 (2016-01-24 13:06:47 -0800)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-drivers-soc-srom-pmu-4.6
> 
> for you to fetch changes up to 74a6659e8bf193066ba6bf365de66baa897aebb1:
> 
>   drivers: soc: Add support for Exynos PMU driver (2016-01-25 10:46:59 +0900)
> 
> ----------------------------------------------------------------
> A set of changes adding new drivers under drivers/soc/samsung:
> 
> 1. Split code for handling SROM registers out of arm/mach-exynos
>    in to separate SROM controller driver under drivers/soc/samsung.
>    The driver will save and restore SROM registers during Suspend
>    to RAM.
> 
> 2. Add to this SROM controller driver support for bank configuration
>    used by child devices. This allows usage of SMSC9115 Ethernet chip
>    on SMDK5410 (Exynos5410) directly connected to SROM controller.

Hi,

OMAP has GPMC drivers under drivers/memory. I wonder if SROM should go there
too, since it's a quite similar bus.

Feel free to respin this without SROM now, so we can get the other pieces in
sooner and then revisit the SROM asyncronously. That'll remove the dependencies
on DT as well.


-Olof

[toc] | [next] | [standalone]


#1342554

FromKrzysztof Kozlowski <k.kozlowski@samsung.com>
Date2016-02-25 01:50 +0100
Message-ID<r5ShX-4du-9@gated-at.bofh.it>
In reply to#1342505
On 25.02.2016 07:22, Olof Johansson wrote:
> On Mon, Feb 15, 2016 at 09:34:02AM +0900, Krzysztof Kozlowski wrote:
>> Hi Arnd, Kevin and Olof,
>>
>> This finally moves SROM controller and PMU code to separate
>> driver under drivers/soc/samsung.
>>
>> Kind regards,
>> Krzysztof
>>
>>
>> The following changes since commit 92e963f50fc74041b5e9e744c330dca48e04f08d:
>>
>>   Linux 4.5-rc1 (2016-01-24 13:06:47 -0800)
>>
>> are available in the git repository at:
>>
>>   git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-drivers-soc-srom-pmu-4.6
>>
>> for you to fetch changes up to 74a6659e8bf193066ba6bf365de66baa897aebb1:
>>
>>   drivers: soc: Add support for Exynos PMU driver (2016-01-25 10:46:59 +0900)
>>
>> ----------------------------------------------------------------
>> A set of changes adding new drivers under drivers/soc/samsung:
>>
>> 1. Split code for handling SROM registers out of arm/mach-exynos
>>    in to separate SROM controller driver under drivers/soc/samsung.
>>    The driver will save and restore SROM registers during Suspend
>>    to RAM.
>>
>> 2. Add to this SROM controller driver support for bank configuration
>>    used by child devices. This allows usage of SMSC9115 Ethernet chip
>>    on SMDK5410 (Exynos5410) directly connected to SROM controller.
> 
> Hi,
> 
> OMAP has GPMC drivers under drivers/memory. I wonder if SROM should go there
> too, since it's a quite similar bus.

I wish I get this feedback before, when we were discussing the SROM
patches. :/

Indeed this sounds reasonable. On some boards the omap-gpmc is used for
the same purpose: interfacing to smsc,lan9115 (like on SMDK5410).


> Feel free to respin this without SROM now, so we can get the other pieces in
> sooner and then revisit the SROM asyncronously. That'll remove the dependencies
> on DT as well.

Okay, I'll rebase all drivers/soc branches and respin the pull request
so PMU driver and other stuff could go in.

BTW, just in case, although PMU stands for "Power Management Unit" I
don't think it should be placed under drivers/power because it is not a
avs/charger/battery/reset driver. Existing power-related drivers are
under driver/soc (bcm, dove, tegra).

Re-work of SROM drivers could be started on top of it.

Best regards,
Krzysztof

[toc] | [prev] | [next] | [standalone]


#1342570

FromOlof Johansson <olof@lixom.net>
Date2016-02-25 02:40 +0100
Message-ID<r5T4m-4NQ-1@gated-at.bofh.it>
In reply to#1342554
On Wed, Feb 24, 2016 at 4:43 PM, Krzysztof Kozlowski
<k.kozlowski@samsung.com> wrote:
> On 25.02.2016 07:22, Olof Johansson wrote:
>> On Mon, Feb 15, 2016 at 09:34:02AM +0900, Krzysztof Kozlowski wrote:
>>> Hi Arnd, Kevin and Olof,
>>>
>>> This finally moves SROM controller and PMU code to separate
>>> driver under drivers/soc/samsung.
>>>
>>> Kind regards,
>>> Krzysztof
>>>
>>>
>>> The following changes since commit 92e963f50fc74041b5e9e744c330dca48e04f08d:
>>>
>>>   Linux 4.5-rc1 (2016-01-24 13:06:47 -0800)
>>>
>>> are available in the git repository at:
>>>
>>>   git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-drivers-soc-srom-pmu-4.6
>>>
>>> for you to fetch changes up to 74a6659e8bf193066ba6bf365de66baa897aebb1:
>>>
>>>   drivers: soc: Add support for Exynos PMU driver (2016-01-25 10:46:59 +0900)
>>>
>>> ----------------------------------------------------------------
>>> A set of changes adding new drivers under drivers/soc/samsung:
>>>
>>> 1. Split code for handling SROM registers out of arm/mach-exynos
>>>    in to separate SROM controller driver under drivers/soc/samsung.
>>>    The driver will save and restore SROM registers during Suspend
>>>    to RAM.
>>>
>>> 2. Add to this SROM controller driver support for bank configuration
>>>    used by child devices. This allows usage of SMSC9115 Ethernet chip
>>>    on SMDK5410 (Exynos5410) directly connected to SROM controller.
>>
>> Hi,
>>
>> OMAP has GPMC drivers under drivers/memory. I wonder if SROM should go there
>> too, since it's a quite similar bus.
>
> I wish I get this feedback before, when we were discussing the SROM
> patches. :/

Yeah, I apologize -- I usually don't have the bandwidth to follow all
discussions, so I have to catch them when the pull requests come in.

I usually look up the discussions, this time I didn't.


>
> Indeed this sounds reasonable. On some boards the omap-gpmc is used for
> the same purpose: interfacing to smsc,lan9115 (like on SMDK5410).
>
>
>> Feel free to respin this without SROM now, so we can get the other pieces in
>> sooner and then revisit the SROM asyncronously. That'll remove the dependencies
>> on DT as well.
>
> Okay, I'll rebase all drivers/soc branches and respin the pull request
> so PMU driver and other stuff could go in.
>
> BTW, just in case, although PMU stands for "Power Management Unit" I
> don't think it should be placed under drivers/power because it is not a
> avs/charger/battery/reset driver. Existing power-related drivers are
> under driver/soc (bcm, dove, tegra).
>
> Re-work of SROM drivers could be started on top of it.

Sounds good, and yes -- those sound appropriate to have under
drivers/soc at least at this time.

(At some point in time we'll have to go through and cleanup
drivers/soc, but we're letting it grow at the moment).


-Olof

[toc] | [prev] | [next] | [standalone]


#1342789

From"pankaj.dubey" <pankaj.dubey@samsung.com>
Date2016-02-25 05:20 +0100
Message-ID<r5Vzb-6MZ-3@gated-at.bofh.it>
In reply to#1342554
Hi Krzysztof,

On Thursday 25 February 2016 06:13 AM, Krzysztof Kozlowski wrote:
> On 25.02.2016 07:22, Olof Johansson wrote:
>> On Mon, Feb 15, 2016 at 09:34:02AM +0900, Krzysztof Kozlowski wrote:
>>> Hi Arnd, Kevin and Olof,
>>>
>>> This finally moves SROM controller and PMU code to separate
>>> driver under drivers/soc/samsung.
>>>
>>> Kind regards,
>>> Krzysztof
>>>
>>>
>>> The following changes since commit 92e963f50fc74041b5e9e744c330dca48e04f08d:
>>>
>>>   Linux 4.5-rc1 (2016-01-24 13:06:47 -0800)
>>>
>>> are available in the git repository at:
>>>
>>>   git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-drivers-soc-srom-pmu-4.6
>>>
>>> for you to fetch changes up to 74a6659e8bf193066ba6bf365de66baa897aebb1:
>>>
>>>   drivers: soc: Add support for Exynos PMU driver (2016-01-25 10:46:59 +0900)
>>>
>>> ----------------------------------------------------------------
>>> A set of changes adding new drivers under drivers/soc/samsung:
>>>
>>> 1. Split code for handling SROM registers out of arm/mach-exynos
>>>    in to separate SROM controller driver under drivers/soc/samsung.
>>>    The driver will save and restore SROM registers during Suspend
>>>    to RAM.
>>>
>>> 2. Add to this SROM controller driver support for bank configuration
>>>    used by child devices. This allows usage of SMSC9115 Ethernet chip
>>>    on SMDK5410 (Exynos5410) directly connected to SROM controller.
>>
>> Hi,
>>
>> OMAP has GPMC drivers under drivers/memory. I wonder if SROM should go there
>> too, since it's a quite similar bus.
> 
> I wish I get this feedback before, when we were discussing the SROM
> patches. :/
> 
> Indeed this sounds reasonable. On some boards the omap-gpmc is used for
> the same purpose: interfacing to smsc,lan9115 (like on SMDK5410).
> 
> 
>> Feel free to respin this without SROM now, so we can get the other pieces in
>> sooner and then revisit the SROM asyncronously. That'll remove the dependencies
>> on DT as well.
> 
> Okay, I'll rebase all drivers/soc branches and respin the pull request
> so PMU driver and other stuff could go in.
> 
> BTW, just in case, although PMU stands for "Power Management Unit" I
> don't think it should be placed under drivers/power because it is not a
> avs/charger/battery/reset driver. Existing power-related drivers are
> under driver/soc (bcm, dove, tegra).
> 
> Re-work of SROM drivers could be started on top of it.
> 

Please let me know if I need to take care of any of this work.

Thanks,
Pankaj Dubey
> Best regards,
> Krzysztof
> 

[toc] | [prev] | [next] | [standalone]


#1342797

FromKrzysztof Kozlowski <k.kozlowski@samsung.com>
Date2016-02-25 06:00 +0100
Message-ID<r5WbU-71R-7@gated-at.bofh.it>
In reply to#1342789
On 25.02.2016 13:19, pankaj.dubey wrote:
> Hi Krzysztof,
> 
>>>
>>> OMAP has GPMC drivers under drivers/memory. I wonder if SROM should go there
>>> too, since it's a quite similar bus.
>>
>> I wish I get this feedback before, when we were discussing the SROM
>> patches. :/
>>
>> Indeed this sounds reasonable. On some boards the omap-gpmc is used for
>> the same purpose: interfacing to smsc,lan9115 (like on SMDK5410).
>>
>>
>>> Feel free to respin this without SROM now, so we can get the other pieces in
>>> sooner and then revisit the SROM asyncronously. That'll remove the dependencies
>>> on DT as well.
>>
>> Okay, I'll rebase all drivers/soc branches and respin the pull request
>> so PMU driver and other stuff could go in.
>>
>> BTW, just in case, although PMU stands for "Power Management Unit" I
>> don't think it should be placed under drivers/power because it is not a
>> avs/charger/battery/reset driver. Existing power-related drivers are
>> under driver/soc (bcm, dove, tegra).
>>
>> Re-work of SROM drivers could be started on top of it.
>>
> 
> Please let me know if I need to take care of any of this work.

Yes, unfortunately I need your help with that.

I rebased mach-exynos/drivers-soc related patches and pushed it to my
next/soc branch:
https://git.kernel.org/cgit/linux/kernel/git/krzk/linux.git/log/?h=next/soc

There are some changes in commits, mostly for movement of PMU driver
(now it is applied first, before SROMc driver). I also applied some of
the cleanup and maintainer patches from SROMc patchset. DT changes are
already merged.

Overall, could you rebase remaining patches on top of my next/soc and
move SROM driver to drivers/memory? You can also rebase Pavel Fedin's
patches (if you don't I will rebase them).


Last version of applied SROMc patches is here:
https://git.kernel.org/cgit/linux/kernel/git/krzk/linux.git/log/?h=for-v4.6/drivers-soc-exynos-srom-pmu

Best regards,
Krzysztof

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web