Re: [PATCH 00/19] ARM: SAMSUNG: S5PV210 platform clean-up

2014-07-12 Thread Kukjin Kim

On 07/05/14 05:15, Arnd Bergmann wrote:

On Friday 04 July 2014 19:48:00 Tomasz Figa wrote:

This huge series is a (hopefully final) attempt to convert Samsung S5PV210
into a DT-only and multiplatform-aware platform. It consists of several
steps to gradually replace legacy code with one meeting current standards
and then finally remove unused remnants.

Patches 1-6 migrate the platform to fully use the Common Clock Framework
and get rid of legacy private clock code, of which s5pv210 was the last
user. Then patch 7 adds generic PHY driver for USB PHY on S5PV210 to allow
USB to be supported when using DT. Further three patches (8-10) add DT
support for mach-s5pv210 and necessary DT sources for currently supported
boards. Patch 11 removes board files and code directly related to them,
effectively making s5pv210 a DT-only platform. In next step, patches 12-15
prepare remaining code for multiplatform enablement, which is finally done
in patch 16. Patches 17-19 are a final clean-up, which remove a lot of
unused code left after making the last S5P platform DT-only.

Build tested patch by patch on following configs:
  - s3c2410_defconfig (with DT support enabled),
  - s3c6400_defconfig (with DT support enabled),
  - s5pv210_defconfig (with DT support enabled after patches adding it),
  - exynos_defconfig,
  - exynos_defconfig with S5PV210 enabled in multiplatform configuration.

Boot tested on s5pv210-goni board.

Note that support for smdkc110, smdkv210 and torbreck boards is provided
by moving data from existing board files to new device tree sources. No
testing was performed due to mentioned board not being available anymore.
However I believe we agreed on this approach, because apparently there
are no active users of them. See the RFC from August 2013 asking for
removal of the whole platform [1].

[1] 
http://www.mail-archive.com/linux-samsung-soc%40vger.kernel.org/msg21882.html



Great work, everything

Acked-by: Arnd Bergmann

I hope we can get this into linux-next soon so we can do some more
cleanups on top.


Sorry for a little bit late applying, I just wanted to get ack from 
driver maintainers but... anyway I'll apply this series so you may see 
this on Monday in -next :)


Tomasz, many thanks for your effort and time.

- Kukjin
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 00/19] ARM: SAMSUNG: S5PV210 platform clean-up

2014-07-05 Thread Heiko Stübner
Am Samstag, 5. Juli 2014, 13:00:43 schrieb Tomasz Figa:
> On 05.07.2014 06:46, Viresh Kumar wrote:
> > On Fri, Jul 4, 2014 at 11:14 PM, Tomasz Figa  wrote:
> >> This huge series is a (hopefully final) attempt to convert Samsung
> >> S5PV210
> >> into a DT-only and multiplatform-aware platform. It consists of several
> >> steps to gradually replace legacy code with one meeting current standards
> >> and then finally remove unused remnants.
> >> 
> >> Patches 1-6 migrate the platform to fully use the Common Clock Framework
> >> and get rid of legacy private clock code, of which s5pv210 was the last
> >> user. Then patch 7 adds generic PHY driver for USB PHY on S5PV210 to
> >> allow
> >> USB to be supported when using DT. Further three patches (8-10) add DT
> >> support for mach-s5pv210 and necessary DT sources for currently supported
> >> boards. Patch 11 removes board files and code directly related to them,
> >> effectively making s5pv210 a DT-only platform. In next step, patches
> >> 12-15
> >> prepare remaining code for multiplatform enablement, which is finally
> >> done
> >> in patch 16. Patches 17-19 are a final clean-up, which remove a lot of
> >> unused code left after making the last S5P platform DT-only.
> >> 
> >> Build tested patch by patch on following configs:
> >>  - s3c2410_defconfig (with DT support enabled),
> >>  - s3c6400_defconfig (with DT support enabled),
> >>  - s5pv210_defconfig (with DT support enabled after patches adding it),
> >>  - exynos_defconfig,
> >>  - exynos_defconfig with S5PV210 enabled in multiplatform configuration.
> >> 
> >> Boot tested on s5pv210-goni board.
> >> 
> >> Note that support for smdkc110, smdkv210 and torbreck boards is provided
> >> by moving data from existing board files to new device tree sources. No
> >> testing was performed due to mentioned board not being available anymore.
> >> However I believe we agreed on this approach, because apparently there
> >> are no active users of them. See the RFC from August 2013 asking for
> >> removal of the whole platform [1].
> >> 
> >> [1]
> >> http://www.mail-archive.com/linux-samsung-soc%40vger.kernel.org/msg21882
> >> .html>> 
> >> Tomasz Figa (13):
> >>   cpufreq: s3c24xx: Remove some dead code
> >>   cpufreq: s5pv210: Make the driver multiplatform aware
> > 
> > Looks like you used --suppress-cc=all while sending these and none of
> > CPUFreq/PM guys received it :(
> 
> Oops, I had a feeling that I has screwed up something with this series
> and now we know what. Sorry for this. Will resend properly next Tuesday.

I got the cover-letter 3 times (19:44, 19:46 and 19:48). The one from 19:48 
also did contain all 19 patches ;-)


Heiko

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 00/19] ARM: SAMSUNG: S5PV210 platform clean-up

2014-07-05 Thread Tomasz Figa
On 05.07.2014 06:46, Viresh Kumar wrote:
> On Fri, Jul 4, 2014 at 11:14 PM, Tomasz Figa  wrote:
>> This huge series is a (hopefully final) attempt to convert Samsung S5PV210
>> into a DT-only and multiplatform-aware platform. It consists of several
>> steps to gradually replace legacy code with one meeting current standards
>> and then finally remove unused remnants.
>>
>> Patches 1-6 migrate the platform to fully use the Common Clock Framework
>> and get rid of legacy private clock code, of which s5pv210 was the last
>> user. Then patch 7 adds generic PHY driver for USB PHY on S5PV210 to allow
>> USB to be supported when using DT. Further three patches (8-10) add DT
>> support for mach-s5pv210 and necessary DT sources for currently supported
>> boards. Patch 11 removes board files and code directly related to them,
>> effectively making s5pv210 a DT-only platform. In next step, patches 12-15
>> prepare remaining code for multiplatform enablement, which is finally done
>> in patch 16. Patches 17-19 are a final clean-up, which remove a lot of
>> unused code left after making the last S5P platform DT-only.
>>
>> Build tested patch by patch on following configs:
>>  - s3c2410_defconfig (with DT support enabled),
>>  - s3c6400_defconfig (with DT support enabled),
>>  - s5pv210_defconfig (with DT support enabled after patches adding it),
>>  - exynos_defconfig,
>>  - exynos_defconfig with S5PV210 enabled in multiplatform configuration.
>>
>> Boot tested on s5pv210-goni board.
>>
>> Note that support for smdkc110, smdkv210 and torbreck boards is provided
>> by moving data from existing board files to new device tree sources. No
>> testing was performed due to mentioned board not being available anymore.
>> However I believe we agreed on this approach, because apparently there
>> are no active users of them. See the RFC from August 2013 asking for
>> removal of the whole platform [1].
>>
>> [1] 
>> http://www.mail-archive.com/linux-samsung-soc%40vger.kernel.org/msg21882.html
> 
>> Tomasz Figa (13):
>>   cpufreq: s3c24xx: Remove some dead code
>>   cpufreq: s5pv210: Make the driver multiplatform aware
> 
> Looks like you used --suppress-cc=all while sending these and none of
> CPUFreq/PM guys received it :(

Oops, I had a feeling that I has screwed up something with this series
and now we know what. Sorry for this. Will resend properly next Tuesday.

> 
> Anyways, for cpufreq part:
> 
> Acked-by: Viresh Kumar 
> 

Thanks. Will add to the patches when resending.

Best regards,
Tomasz
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 00/19] ARM: SAMSUNG: S5PV210 platform clean-up

2014-07-04 Thread Viresh Kumar
On Fri, Jul 4, 2014 at 11:14 PM, Tomasz Figa  wrote:
> This huge series is a (hopefully final) attempt to convert Samsung S5PV210
> into a DT-only and multiplatform-aware platform. It consists of several
> steps to gradually replace legacy code with one meeting current standards
> and then finally remove unused remnants.
>
> Patches 1-6 migrate the platform to fully use the Common Clock Framework
> and get rid of legacy private clock code, of which s5pv210 was the last
> user. Then patch 7 adds generic PHY driver for USB PHY on S5PV210 to allow
> USB to be supported when using DT. Further three patches (8-10) add DT
> support for mach-s5pv210 and necessary DT sources for currently supported
> boards. Patch 11 removes board files and code directly related to them,
> effectively making s5pv210 a DT-only platform. In next step, patches 12-15
> prepare remaining code for multiplatform enablement, which is finally done
> in patch 16. Patches 17-19 are a final clean-up, which remove a lot of
> unused code left after making the last S5P platform DT-only.
>
> Build tested patch by patch on following configs:
>  - s3c2410_defconfig (with DT support enabled),
>  - s3c6400_defconfig (with DT support enabled),
>  - s5pv210_defconfig (with DT support enabled after patches adding it),
>  - exynos_defconfig,
>  - exynos_defconfig with S5PV210 enabled in multiplatform configuration.
>
> Boot tested on s5pv210-goni board.
>
> Note that support for smdkc110, smdkv210 and torbreck boards is provided
> by moving data from existing board files to new device tree sources. No
> testing was performed due to mentioned board not being available anymore.
> However I believe we agreed on this approach, because apparently there
> are no active users of them. See the RFC from August 2013 asking for
> removal of the whole platform [1].
>
> [1] 
> http://www.mail-archive.com/linux-samsung-soc%40vger.kernel.org/msg21882.html

> Tomasz Figa (13):
>   cpufreq: s3c24xx: Remove some dead code
>   cpufreq: s5pv210: Make the driver multiplatform aware

Looks like you used --suppress-cc=all while sending these and none of
CPUFreq/PM guys received it :(

Anyways, for cpufreq part:

Acked-by: Viresh Kumar 
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 00/19] ARM: SAMSUNG: S5PV210 platform clean-up

2014-07-04 Thread Arnd Bergmann
On Friday 04 July 2014 19:48:00 Tomasz Figa wrote:
> This huge series is a (hopefully final) attempt to convert Samsung S5PV210
> into a DT-only and multiplatform-aware platform. It consists of several
> steps to gradually replace legacy code with one meeting current standards
> and then finally remove unused remnants.
> 
> Patches 1-6 migrate the platform to fully use the Common Clock Framework
> and get rid of legacy private clock code, of which s5pv210 was the last
> user. Then patch 7 adds generic PHY driver for USB PHY on S5PV210 to allow
> USB to be supported when using DT. Further three patches (8-10) add DT
> support for mach-s5pv210 and necessary DT sources for currently supported
> boards. Patch 11 removes board files and code directly related to them,
> effectively making s5pv210 a DT-only platform. In next step, patches 12-15
> prepare remaining code for multiplatform enablement, which is finally done
> in patch 16. Patches 17-19 are a final clean-up, which remove a lot of
> unused code left after making the last S5P platform DT-only.
> 
> Build tested patch by patch on following configs:
>  - s3c2410_defconfig (with DT support enabled),
>  - s3c6400_defconfig (with DT support enabled),
>  - s5pv210_defconfig (with DT support enabled after patches adding it),
>  - exynos_defconfig,
>  - exynos_defconfig with S5PV210 enabled in multiplatform configuration.
> 
> Boot tested on s5pv210-goni board.
> 
> Note that support for smdkc110, smdkv210 and torbreck boards is provided
> by moving data from existing board files to new device tree sources. No
> testing was performed due to mentioned board not being available anymore.
> However I believe we agreed on this approach, because apparently there
> are no active users of them. See the RFC from August 2013 asking for
> removal of the whole platform [1].
> 
> [1] 
> http://www.mail-archive.com/linux-samsung-soc%40vger.kernel.org/msg21882.html
> 
> 
Great work, everything

Acked-by: Arnd Bergmann 

I hope we can get this into linux-next soon so we can do some more
cleanups on top.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 00/19] ARM: SAMSUNG: S5PV210 platform clean-up

2014-07-04 Thread Tomasz Figa
Aha, I forgot to add that the series is based on Kukjin's for-next
branch with "pwm: samsung: remove s5pc100 related pwm codes" patch
reverted and you can find a ready branch here:

https://github.com/tom3q/linux.git v3.17-s5pv210-dt

Sorry for the noise.

Best regards,
Tomasz

On 04.07.2014 19:48, Tomasz Figa wrote:
> This huge series is a (hopefully final) attempt to convert Samsung S5PV210
> into a DT-only and multiplatform-aware platform. It consists of several
> steps to gradually replace legacy code with one meeting current standards
> and then finally remove unused remnants.
> 
> Patches 1-6 migrate the platform to fully use the Common Clock Framework
> and get rid of legacy private clock code, of which s5pv210 was the last
> user. Then patch 7 adds generic PHY driver for USB PHY on S5PV210 to allow
> USB to be supported when using DT. Further three patches (8-10) add DT
> support for mach-s5pv210 and necessary DT sources for currently supported
> boards. Patch 11 removes board files and code directly related to them,
> effectively making s5pv210 a DT-only platform. In next step, patches 12-15
> prepare remaining code for multiplatform enablement, which is finally done
> in patch 16. Patches 17-19 are a final clean-up, which remove a lot of
> unused code left after making the last S5P platform DT-only.
> 
> Build tested patch by patch on following configs:
>  - s3c2410_defconfig (with DT support enabled),
>  - s3c6400_defconfig (with DT support enabled),
>  - s5pv210_defconfig (with DT support enabled after patches adding it),
>  - exynos_defconfig,
>  - exynos_defconfig with S5PV210 enabled in multiplatform configuration.
> 
> Boot tested on s5pv210-goni board.
> 
> Note that support for smdkc110, smdkv210 and torbreck boards is provided
> by moving data from existing board files to new device tree sources. No
> testing was performed due to mentioned board not being available anymore.
> However I believe we agreed on this approach, because apparently there
> are no active users of them. See the RFC from August 2013 asking for
> removal of the whole platform [1].
> 
> [1] 
> http://www.mail-archive.com/linux-samsung-soc%40vger.kernel.org/msg21882.html
> 
> Mateusz Krawczuk (6):
>   clk: samsung: Add clock driver for S5PV210 and compatible SoCs
>   ARM: s5pv210: Migrate clock handling to Common Clock Framework
>   phy: Add support for S5PV210 to the Exynos USB 2.0 PHY driver
>   ARM: s5pv210: Add board file for boot using Device Tree
>   ARM: Samsung: DT: Add Device tree for s5pv210
>   ARM: Samsung: DT: Add Device tree for S5PC110/S5PV210 Boards
> 
> Tomasz Figa (13):
>   cpufreq: s3c24xx: Remove some dead code
>   serial: samsung: Remove support for legacy clock code
>   ARM: SAMSUNG: Remove legacy clock code
>   clk: samsung: Add S5PV210 Audio Subsystem clock driver
>   ARM: S5PV210: Remove support for board files
>   ARM: S5PV210: Untie PM support from legacy code
>   ARM: s5pv210: move debug-macro.S into the common space
>   ARM: s5pv210: Register cpufreq platform device
>   cpufreq: s5pv210: Make the driver multiplatform aware
>   ARM: s5pv210: Enable multi-platform build support
>   gpio: samsung: Remove legacy support of S5PV210
>   ARM: SAMSUNG: Remove remaining legacy code
>   clk: samsung: s5pv210: Remove legacy board support
> 
>  .../bindings/clock/clk-s5pv210-audss.txt   |   53 +
>  .../bindings/clock/samsung,s5pv210-clock.txt   |   78 ++
>  .../devicetree/bindings/phy/samsung-phy.txt|1 +
>  arch/arm/Kconfig   |   22 +-
>  arch/arm/Kconfig.debug |   12 +-
>  arch/arm/Makefile  |4 +-
>  arch/arm/boot/dts/Makefile |5 +
>  arch/arm/boot/dts/s5pv210-aquila.dts   |  392 ++
>  arch/arm/boot/dts/s5pv210-goni.dts |  449 +++
>  arch/arm/boot/dts/s5pv210-pinctrl.dtsi |  839 
>  arch/arm/boot/dts/s5pv210-smdkc110.dts |   78 ++
>  arch/arm/boot/dts/s5pv210-smdkv210.dts |  238 
>  arch/arm/boot/dts/s5pv210-torbreck.dts |   92 ++
>  arch/arm/boot/dts/s5pv210.dtsi |  633 +
>  arch/arm/include/debug/s5pv210.S   |   34 +
>  arch/arm/mach-exynos/pm.c  |1 -
>  arch/arm/mach-s3c24xx/common.c |2 -
>  arch/arm/mach-s3c24xx/iotiming-s3c2412.c   |1 -
>  arch/arm/mach-s3c24xx/mach-h1940.c |5 +-
>  arch/arm/mach-s3c24xx/mach-jive.c  |1 -
>  arch/arm/mach-s3c24xx/mach-smdk2413.c  |1 -
>  arch/arm/mach-s3c24xx/mach-smdk2416.c  |1 -
>  arch/arm/mach-s3c24xx/mach-smdk2443.c  |1 -
>  arch/arm/mach-s3c24xx/mach-vstms.c |1 -
>  arch/arm/mach-s3c24xx/s3c2410.c|6 -
>  arch/arm/mach-s3c24xx/s3c2412.c|6 -
>  arch/arm/mac

[PATCH 00/19] ARM: SAMSUNG: S5PV210 platform clean-up

2014-07-04 Thread Tomasz Figa
This huge series is a (hopefully final) attempt to convert Samsung S5PV210
into a DT-only and multiplatform-aware platform. It consists of several
steps to gradually replace legacy code with one meeting current standards
and then finally remove unused remnants.

Patches 1-6 migrate the platform to fully use the Common Clock Framework
and get rid of legacy private clock code, of which s5pv210 was the last
user. Then patch 7 adds generic PHY driver for USB PHY on S5PV210 to allow
USB to be supported when using DT. Further three patches (8-10) add DT
support for mach-s5pv210 and necessary DT sources for currently supported
boards. Patch 11 removes board files and code directly related to them,
effectively making s5pv210 a DT-only platform. In next step, patches 12-15
prepare remaining code for multiplatform enablement, which is finally done
in patch 16. Patches 17-19 are a final clean-up, which remove a lot of
unused code left after making the last S5P platform DT-only.

Build tested patch by patch on following configs:
 - s3c2410_defconfig (with DT support enabled),
 - s3c6400_defconfig (with DT support enabled),
 - s5pv210_defconfig (with DT support enabled after patches adding it),
 - exynos_defconfig,
 - exynos_defconfig with S5PV210 enabled in multiplatform configuration.

Boot tested on s5pv210-goni board.

Note that support for smdkc110, smdkv210 and torbreck boards is provided
by moving data from existing board files to new device tree sources. No
testing was performed due to mentioned board not being available anymore.
However I believe we agreed on this approach, because apparently there
are no active users of them. See the RFC from August 2013 asking for
removal of the whole platform [1].

[1] 
http://www.mail-archive.com/linux-samsung-soc%40vger.kernel.org/msg21882.html

Mateusz Krawczuk (6):
  clk: samsung: Add clock driver for S5PV210 and compatible SoCs
  ARM: s5pv210: Migrate clock handling to Common Clock Framework
  phy: Add support for S5PV210 to the Exynos USB 2.0 PHY driver
  ARM: s5pv210: Add board file for boot using Device Tree
  ARM: Samsung: DT: Add Device tree for s5pv210
  ARM: Samsung: DT: Add Device tree for S5PC110/S5PV210 Boards

Tomasz Figa (13):
  cpufreq: s3c24xx: Remove some dead code
  serial: samsung: Remove support for legacy clock code
  ARM: SAMSUNG: Remove legacy clock code
  clk: samsung: Add S5PV210 Audio Subsystem clock driver
  ARM: S5PV210: Remove support for board files
  ARM: S5PV210: Untie PM support from legacy code
  ARM: s5pv210: move debug-macro.S into the common space
  ARM: s5pv210: Register cpufreq platform device
  cpufreq: s5pv210: Make the driver multiplatform aware
  ARM: s5pv210: Enable multi-platform build support
  gpio: samsung: Remove legacy support of S5PV210
  ARM: SAMSUNG: Remove remaining legacy code
  clk: samsung: s5pv210: Remove legacy board support

 .../bindings/clock/clk-s5pv210-audss.txt   |   53 +
 .../bindings/clock/samsung,s5pv210-clock.txt   |   78 ++
 .../devicetree/bindings/phy/samsung-phy.txt|1 +
 arch/arm/Kconfig   |   22 +-
 arch/arm/Kconfig.debug |   12 +-
 arch/arm/Makefile  |4 +-
 arch/arm/boot/dts/Makefile |5 +
 arch/arm/boot/dts/s5pv210-aquila.dts   |  392 ++
 arch/arm/boot/dts/s5pv210-goni.dts |  449 +++
 arch/arm/boot/dts/s5pv210-pinctrl.dtsi |  839 
 arch/arm/boot/dts/s5pv210-smdkc110.dts |   78 ++
 arch/arm/boot/dts/s5pv210-smdkv210.dts |  238 
 arch/arm/boot/dts/s5pv210-torbreck.dts |   92 ++
 arch/arm/boot/dts/s5pv210.dtsi |  633 +
 arch/arm/include/debug/s5pv210.S   |   34 +
 arch/arm/mach-exynos/pm.c  |1 -
 arch/arm/mach-s3c24xx/common.c |2 -
 arch/arm/mach-s3c24xx/iotiming-s3c2412.c   |1 -
 arch/arm/mach-s3c24xx/mach-h1940.c |5 +-
 arch/arm/mach-s3c24xx/mach-jive.c  |1 -
 arch/arm/mach-s3c24xx/mach-smdk2413.c  |1 -
 arch/arm/mach-s3c24xx/mach-smdk2416.c  |1 -
 arch/arm/mach-s3c24xx/mach-smdk2443.c  |1 -
 arch/arm/mach-s3c24xx/mach-vstms.c |1 -
 arch/arm/mach-s3c24xx/s3c2410.c|6 -
 arch/arm/mach-s3c24xx/s3c2412.c|6 -
 arch/arm/mach-s3c24xx/s3c2442.c|1 -
 arch/arm/mach-s3c24xx/s3c244x.c|6 -
 arch/arm/mach-s3c64xx/mach-anw6410.c   |1 -
 arch/arm/mach-s3c64xx/mach-crag6410.c  |1 -
 arch/arm/mach-s3c64xx/mach-hmt.c   |1 -
 arch/arm/mach-s3c64xx/mach-ncp.c   |1 -
 arch/arm/mach-s3c64xx/mach-smartq.c|1 -
 arch/arm/mach-s3c64xx/mach-smdk6400.c  |1 -
 arch/arm/mach

[PATCH 00/19] ARM: SAMSUNG: S5PV210 platform clean-up

2014-07-04 Thread Tomasz Figa
This huge series is a (hopefully final) attempt to convert Samsung S5PV210
into a DT-only and multiplatform-aware platform. It consists of several
steps to gradually replace legacy code with one meeting current standards
and then finally remove unused remnants.

Patches 1-6 migrate the platform to fully use the Common Clock Framework
and get rid of legacy private clock code, of which s5pv210 was the last
user. Then patch 7 adds generic PHY driver for USB PHY on S5PV210 to allow
USB to be supported when using DT. Further three patches (8-10) add DT
support for mach-s5pv210 and necessary DT sources for currently supported
boards. Patch 11 removes board files and code directly related to them,
effectively making s5pv210 a DT-only platform. In next step, patches 12-15
prepare remaining code for multiplatform enablement, which is finally done
in patch 16. Patches 17-19 are a final clean-up, which remove a lot of
unused code left after making the last S5P platform DT-only.

Build tested patch by patch on following configs:
 - s3c2410_defconfig (with DT support enabled),
 - s3c6400_defconfig (with DT support enabled),
 - s5pv210_defconfig (with DT support enabled after patches adding it),
 - exynos_defconfig,
 - exynos_defconfig with S5PV210 enabled in multiplatform configuration.

Boot tested on s5pv210-goni board.

Note that support for smdkc110, smdkv210 and torbreck boards is provided
by moving data from existing board files to new device tree sources. No
testing was performed due to mentioned board not being available anymore.
However I believe we agreed on this approach, because apparently there
are no active users of them. See the RFC from August 2013 asking for
removal of the whole platform [1].

[1] 
http://www.mail-archive.com/linux-samsung-soc%40vger.kernel.org/msg21882.html

Mateusz Krawczuk (6):
  clk: samsung: Add clock driver for S5PV210 and compatible SoCs
  ARM: s5pv210: Migrate clock handling to Common Clock Framework
  phy: Add support for S5PV210 to the Exynos USB 2.0 PHY driver
  ARM: s5pv210: Add board file for boot using Device Tree
  ARM: Samsung: DT: Add Device tree for s5pv210
  ARM: Samsung: DT: Add Device tree for S5PC110/S5PV210 Boards

Tomasz Figa (13):
  cpufreq: s3c24xx: Remove some dead code
  serial: samsung: Remove support for legacy clock code
  ARM: SAMSUNG: Remove legacy clock code
  clk: samsung: Add S5PV210 Audio Subsystem clock driver
  ARM: S5PV210: Remove support for board files
  ARM: S5PV210: Untie PM support from legacy code
  ARM: s5pv210: move debug-macro.S into the common space
  ARM: s5pv210: Register cpufreq platform device
  cpufreq: s5pv210: Make the driver multiplatform aware
  ARM: s5pv210: Enable multi-platform build support
  gpio: samsung: Remove legacy support of S5PV210
  ARM: SAMSUNG: Remove remaining legacy code
  clk: samsung: s5pv210: Remove legacy board support

 .../bindings/clock/clk-s5pv210-audss.txt   |   53 +
 .../bindings/clock/samsung,s5pv210-clock.txt   |   78 ++
 .../devicetree/bindings/phy/samsung-phy.txt|1 +
 arch/arm/Kconfig   |   22 +-
 arch/arm/Kconfig.debug |   12 +-
 arch/arm/Makefile  |4 +-
 arch/arm/boot/dts/Makefile |5 +
 arch/arm/boot/dts/s5pv210-aquila.dts   |  392 ++
 arch/arm/boot/dts/s5pv210-goni.dts |  449 +++
 arch/arm/boot/dts/s5pv210-pinctrl.dtsi |  839 
 arch/arm/boot/dts/s5pv210-smdkc110.dts |   78 ++
 arch/arm/boot/dts/s5pv210-smdkv210.dts |  238 
 arch/arm/boot/dts/s5pv210-torbreck.dts |   92 ++
 arch/arm/boot/dts/s5pv210.dtsi |  633 +
 arch/arm/include/debug/s5pv210.S   |   34 +
 arch/arm/mach-exynos/pm.c  |1 -
 arch/arm/mach-s3c24xx/common.c |2 -
 arch/arm/mach-s3c24xx/iotiming-s3c2412.c   |1 -
 arch/arm/mach-s3c24xx/mach-h1940.c |5 +-
 arch/arm/mach-s3c24xx/mach-jive.c  |1 -
 arch/arm/mach-s3c24xx/mach-smdk2413.c  |1 -
 arch/arm/mach-s3c24xx/mach-smdk2416.c  |1 -
 arch/arm/mach-s3c24xx/mach-smdk2443.c  |1 -
 arch/arm/mach-s3c24xx/mach-vstms.c |1 -
 arch/arm/mach-s3c24xx/s3c2410.c|6 -
 arch/arm/mach-s3c24xx/s3c2412.c|6 -
 arch/arm/mach-s3c24xx/s3c2442.c|1 -
 arch/arm/mach-s3c24xx/s3c244x.c|6 -
 arch/arm/mach-s3c64xx/mach-anw6410.c   |1 -
 arch/arm/mach-s3c64xx/mach-crag6410.c  |1 -
 arch/arm/mach-s3c64xx/mach-hmt.c   |1 -
 arch/arm/mach-s3c64xx/mach-ncp.c   |1 -
 arch/arm/mach-s3c64xx/mach-smartq.c|1 -
 arch/arm/mach-s3c64xx/mach-smdk6400.c  |1 -
 arch/arm/mach

[PATCH 00/19] ARM: SAMSUNG: S5PV210 platform clean-up

2014-07-04 Thread Tomasz Figa
This huge series is a (hopefully final) attempt to convert Samsung S5PV210
into a DT-only and multiplatform-aware platform. It consists of several
steps to gradually replace legacy code with one meeting current standards
and then finally remove unused remnants.

Patches 1-6 migrate the platform to fully use the Common Clock Framework
and get rid of legacy private clock code, of which s5pv210 was the last
user. Then patch 7 adds generic PHY driver for USB PHY on S5PV210 to allow
USB to be supported when using DT. Further three patches (8-10) add DT
support for mach-s5pv210 and necessary DT sources for currently supported
boards. Patch 11 removes board files and code directly related to them,
effectively making s5pv210 a DT-only platform. In next step, patches 12-15
prepare remaining code for multiplatform enablement, which is finally done
in patch 16. Patches 17-19 are a final clean-up, which remove a lot of
unused code left after making the last S5P platform DT-only.

Build tested patch by patch on following configs:
 - s3c2410_defconfig (with DT support enabled),
 - s3c6400_defconfig (with DT support enabled),
 - s5pv210_defconfig (with DT support enabled after patches adding it),
 - exynos_defconfig,
 - exynos_defconfig with S5PV210 enabled in multiplatform configuration.

Boot tested on s5pv210-goni board.

Note that support for smdkc110, smdkv210 and torbreck boards is provided
by moving data from existing board files to new device tree sources. No
testing was performed due to mentioned board not being available anymore.
However I believe we agreed on this approach, because apparently there
are no active users of them. See the RFC from August 2013 asking for
removal of the whole platform [1].

[1] 
http://www.mail-archive.com/linux-samsung-soc%40vger.kernel.org/msg21882.html

Mateusz Krawczuk (6):
  clk: samsung: Add clock driver for S5PV210 and compatible SoCs
  ARM: s5pv210: Migrate clock handling to Common Clock Framework
  phy: Add support for S5PV210 to the Exynos USB 2.0 PHY driver
  ARM: s5pv210: Add board file for boot using Device Tree
  ARM: Samsung: DT: Add Device tree for s5pv210
  ARM: Samsung: DT: Add Device tree for S5PC110/S5PV210 Boards

Tomasz Figa (13):
  cpufreq: s3c24xx: Remove some dead code
  serial: samsung: Remove support for legacy clock code
  ARM: SAMSUNG: Remove legacy clock code
  clk: samsung: Add S5PV210 Audio Subsystem clock driver
  ARM: S5PV210: Remove support for board files
  ARM: S5PV210: Untie PM support from legacy code
  ARM: s5pv210: move debug-macro.S into the common space
  ARM: s5pv210: Register cpufreq platform device
  cpufreq: s5pv210: Make the driver multiplatform aware
  ARM: s5pv210: Enable multi-platform build support
  gpio: samsung: Remove legacy support of S5PV210
  ARM: SAMSUNG: Remove remaining legacy code
  clk: samsung: s5pv210: Remove legacy board support

 .../bindings/clock/clk-s5pv210-audss.txt   |   53 +
 .../bindings/clock/samsung,s5pv210-clock.txt   |   78 ++
 .../devicetree/bindings/phy/samsung-phy.txt|1 +
 arch/arm/Kconfig   |   22 +-
 arch/arm/Kconfig.debug |   12 +-
 arch/arm/Makefile  |4 +-
 arch/arm/boot/dts/Makefile |5 +
 arch/arm/boot/dts/s5pv210-aquila.dts   |  392 ++
 arch/arm/boot/dts/s5pv210-goni.dts |  449 +++
 arch/arm/boot/dts/s5pv210-pinctrl.dtsi |  839 
 arch/arm/boot/dts/s5pv210-smdkc110.dts |   78 ++
 arch/arm/boot/dts/s5pv210-smdkv210.dts |  238 
 arch/arm/boot/dts/s5pv210-torbreck.dts |   92 ++
 arch/arm/boot/dts/s5pv210.dtsi |  633 +
 arch/arm/include/debug/s5pv210.S   |   34 +
 arch/arm/mach-exynos/pm.c  |1 -
 arch/arm/mach-s3c24xx/common.c |2 -
 arch/arm/mach-s3c24xx/iotiming-s3c2412.c   |1 -
 arch/arm/mach-s3c24xx/mach-h1940.c |5 +-
 arch/arm/mach-s3c24xx/mach-jive.c  |1 -
 arch/arm/mach-s3c24xx/mach-smdk2413.c  |1 -
 arch/arm/mach-s3c24xx/mach-smdk2416.c  |1 -
 arch/arm/mach-s3c24xx/mach-smdk2443.c  |1 -
 arch/arm/mach-s3c24xx/mach-vstms.c |1 -
 arch/arm/mach-s3c24xx/s3c2410.c|6 -
 arch/arm/mach-s3c24xx/s3c2412.c|6 -
 arch/arm/mach-s3c24xx/s3c2442.c|1 -
 arch/arm/mach-s3c24xx/s3c244x.c|6 -
 arch/arm/mach-s3c64xx/mach-anw6410.c   |1 -
 arch/arm/mach-s3c64xx/mach-crag6410.c  |1 -
 arch/arm/mach-s3c64xx/mach-hmt.c   |1 -
 arch/arm/mach-s3c64xx/mach-ncp.c   |1 -
 arch/arm/mach-s3c64xx/mach-smartq.c|1 -
 arch/arm/mach-s3c64xx/mach-smdk6400.c  |1 -
 arch/arm/mach