Re: [PATCH v2 0/8] Common Clock Framework support for Samsung S3C64xx

2013-08-25 Thread Kukjin Kim

On 08/20/13 16:09, Kukjin Kim wrote:

Mike Turquette wrote:




[...]


OK, if new branch is ready, I will replace with that or if re-merge is
required, I will. Either way, I'm fine and can handle. Mike, let me know
your choice :-)


Since I have already published it let's just go with the delta patch.  I
can create another stable branch named clk-next-s3c64xx-delta that just
has this patch on top of clk-next-s3c64xx OR I can apply it on top of
the existing clk-next-s3c64xx and re-merge it.


Sounds good to me. If the branch for the delta is ready, let me know.

Mike, I'm waiting for your delta branch which includes following from 
Tomasz.


[PATCH] clk: samsung: pll: Use new registration method for PLL6552 and 
PLL6553


I couldn't send some branches to arm-soc for upcoming merge window yet 
because of build compilation breakage of common-clk-s3c64xx branch which 
has many dependencies...


- Kukjin


I'm trying to think on whether there are any weird git corner cases with
re-merging clk-next-s3c64xx. Let me know if re-merging is somehow unsafe
(makes history weird, or whatever).


I don't think it causes some problem.


Let me know what option is better for you. I'll publish as soon as I get
the delta patch. Apologies again for creating some extra work!


No problem.

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


RE: RE: [PATCH v2 0/8] Common Clock Framework support for Samsung S3C64xx

2013-08-20 Thread Kukjin Kim
Mike Turquette wrote:
 

[...]

  OK, if new branch is ready, I will replace with that or if re-merge is
  required, I will. Either way, I'm fine and can handle. Mike, let me know
  your choice :-)
 
 Since I have already published it let's just go with the delta patch.  I
 can create another stable branch named clk-next-s3c64xx-delta that just
 has this patch on top of clk-next-s3c64xx OR I can apply it on top of
 the existing clk-next-s3c64xx and re-merge it.
 
Sounds good to me. If the branch for the delta is ready, let me know.

 I'm trying to think on whether there are any weird git corner cases with
 re-merging clk-next-s3c64xx. Let me know if re-merging is somehow unsafe
 (makes history weird, or whatever).
 
I don't think it causes some problem.

 Let me know what option is better for you. I'll publish as soon as I get
 the delta patch. Apologies again for creating some extra work!
 
No problem.

Thanks,
Kukjin

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


Re: RE: [PATCH v2 0/8] Common Clock Framework support for Samsung S3C64xx

2013-08-19 Thread Mike Turquette
Quoting Kukjin Kim (2013-08-17 03:30:11)
 Tomasz Figa wrote:
 
 [...]
 
 
  Basically, this series looks good to me, but I'm not sure how this
  should be handled because of dependency with PWM cleanup and clk
  stuff
  in clk tree now...

 Patches 1-3 can go into the clk tree. 4-6 should go through their
 respective trees.
   
It looks like version 2 of patch 2/8 has been applied by mistake,
breaking compilation (and operation) of the clock driver added in
patch 3/8.
   Ugh. My mistake.
  
  Happens. Thanks for fast response.
  
 Sorry for late ;-)
 
Could you please fix this up? Thanks in advance.
  
   This is a little tricky since I published the clk-next-s3c64xx branch as
   a stable branch for Samsung which I think has been merged to the
   Samsung tree already.
  
  Right, this somewhat limits our options. Although I'm not really sure
  whether Kukjin already has pushed it to his public tree.
  
 Yeah, I already did sort out in my local but not public tree because of some
 problem.
 
   So what are the options?
  
   One option is to create a fixup patch that just manages the delta
   between V2 and V3. I can then add this to the top of clk-next-s3c64xx
   and re-merge it into clk-next. Then the Samsung tree will need to
   re-merge that dependency branch.
  
  Well, I can make a convert PLL65xx to new registration method patch,
  that would be basically the delta. If this could be merged before patch
  7/8, no regression would be introduced.
  
   Do you have a better idea?
  
  Not really. Maybe let's ask Kukjin whether he has already merged it to his
  tree. Kukjin, have you?
  
 OK, if new branch is ready, I will replace with that or if re-merge is
 required, I will. Either way, I'm fine and can handle. Mike, let me know
 your choice :-)

Since I have already published it let's just go with the delta patch.  I
can create another stable branch named clk-next-s3c64xx-delta that just
has this patch on top of clk-next-s3c64xx OR I can apply it on top of
the existing clk-next-s3c64xx and re-merge it.

I'm trying to think on whether there are any weird git corner cases with
re-merging clk-next-s3c64xx. Let me know if re-merging is somehow unsafe
(makes history weird, or whatever).

Let me know what option is better for you. I'll publish as soon as I get
the delta patch. Apologies again for creating some extra work!

Thanks,
Mike

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


RE: [PATCH v2 0/8] Common Clock Framework support for Samsung S3C64xx

2013-08-17 Thread Kukjin Kim
Tomasz Figa wrote:

[...]


 Basically, this series looks good to me, but I'm not sure how this
 should be handled because of dependency with PWM cleanup and clk
 stuff
 in clk tree now...
   
Patches 1-3 can go into the clk tree. 4-6 should go through their
respective trees.
  
   It looks like version 2 of patch 2/8 has been applied by mistake,
   breaking compilation (and operation) of the clock driver added in
   patch 3/8.
  Ugh. My mistake.
 
 Happens. Thanks for fast response.
 
Sorry for late ;-)

   Could you please fix this up? Thanks in advance.
 
  This is a little tricky since I published the clk-next-s3c64xx branch as
  a stable branch for Samsung which I think has been merged to the
  Samsung tree already.
 
 Right, this somewhat limits our options. Although I'm not really sure
 whether Kukjin already has pushed it to his public tree.
 
Yeah, I already did sort out in my local but not public tree because of some
problem.

  So what are the options?
 
  One option is to create a fixup patch that just manages the delta
  between V2 and V3. I can then add this to the top of clk-next-s3c64xx
  and re-merge it into clk-next. Then the Samsung tree will need to
  re-merge that dependency branch.
 
 Well, I can make a convert PLL65xx to new registration method patch,
 that would be basically the delta. If this could be merged before patch
 7/8, no regression would be introduced.
 
  Do you have a better idea?
 
 Not really. Maybe let's ask Kukjin whether he has already merged it to his
 tree. Kukjin, have you?
 
OK, if new branch is ready, I will replace with that or if re-merge is
required, I will. Either way, I'm fine and can handle. Mike, let me know
your choice :-)

Thanks,
Kukjin

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


Re: [PATCH v2 0/8] Common Clock Framework support for Samsung S3C64xx

2013-08-16 Thread Tomasz Figa
Hi Mike,

On Monday 05 of August 2013 11:06:25 Mike Turquette wrote:
 Quoting Kukjin Kim (2013-08-05 10:01:36)
 
  On 07/23/13 08:49, Tomasz Figa wrote:
   This series is an attempt to move clock support on Samsung S3C64xx
   SoCs
   to Common Clock Framework.
   
   First, support for PLL types present on S3C64xx SoCs is added to
   Samsung
   Common Clock Framework driver. Then the main clock driver for
   mentioned
   SoCs is introduced. Further patches contain fixes for drivers to make
   them compliant with CCF semantics, migration of platform code to use
   the new clock driver and removal of old clock management code.
   
   Depends on:
 - [PATCH v4 00/20] Samsung PWM support cleanup
 
   http://thread.gmane.org/gmane.linux.kernel.samsung-soc/20856
   
   On S3C6410-based Tiny6410 board (Mini6410-compatible):
   
   Tested-by: Tomasz Figatomasz.f...@gmail.com
   
   For v1:
   
   Acked-by: Mike Turquettemturque...@linaro.org
   
   Changes since v1:
 - added patch for read-only muxes,
 - exported configurable muxes and dividers,
 - defined mout_syncmux as read-only mux,
 - in DT-enabled case fixed-clock binding is used to define external
 clocks.  
   Tomasz Figa (8):
  clk: mux: Add support for read-only muxes.
  clk: samsung: pll: Add support for PLL6552 and PLL6553
  clk: samsung: Add clock driver for S3C64xx SoCs
  ARM: SAMSUNG: Add soc_is_s3c6400/s3c6410 macros
  ARM: s3c64xx: dma: Use clk_prepare_enable/clk_disable_unprepare
  usb: host: ohci-s3c2410 Use
  clk_prepare_enable/clk_disable_unprepare
  ARM: s3c64xx: Migrate clock handling to Common Clock Framework
  ARM: s3c64xx: Remove old clock management code
 
 .../bindings/clock/samsung,s3c64xx-clock.txt   |   77 ++
 arch/arm/Kconfig   |2 +-
 arch/arm/mach-s3c64xx/Makefile |2 +-
 arch/arm/mach-s3c64xx/clock.c  | 1007
  arch/arm/mach-s3c64xx/common.c   
  |   21 +-
 arch/arm/mach-s3c64xx/common.h |   12 +-
 arch/arm/mach-s3c64xx/dma.c|4 +-
 arch/arm/mach-s3c64xx/include/mach/regs-clock.h|  132 +--
 arch/arm/mach-s3c64xx/mach-anw6410.c   |2 +-
 arch/arm/mach-s3c64xx/mach-crag6410.c  |2 +-
 arch/arm/mach-s3c64xx/mach-hmt.c   |2 +-
 arch/arm/mach-s3c64xx/mach-mini6410.c  |2 +-
 arch/arm/mach-s3c64xx/mach-ncp.c   |2 +-
 arch/arm/mach-s3c64xx/mach-smartq.c|   11 +-
 arch/arm/mach-s3c64xx/mach-smdk6400.c  |2 +-
 arch/arm/mach-s3c64xx/mach-smdk6410.c  |2 +-
 arch/arm/mach-s3c64xx/pm.c |   21 -
 arch/arm/mach-s3c64xx/s3c6400.c|6 -
 arch/arm/mach-s3c64xx/s3c6410.c|7 -
 arch/arm/plat-samsung/include/plat/cpu.h   |4 +
 drivers/clk/clk-mux.c  |   10 +-
 drivers/clk/samsung/Makefile   |1 +
 drivers/clk/samsung/clk-pll.c  |  160 
 drivers/clk/samsung/clk-pll.h  |4 +
 drivers/clk/samsung/clk-s3c64xx.c  |  465 +
 drivers/usb/host/ohci-s3c2410.c|8 +-
 include/dt-bindings/clock/samsung,s3c64xx-clock.h  |  178 
 include/linux/clk-provider.h   |2 +
 28 files changed, 943 insertions(+), 1205 deletions(-)
 create mode 100644
 Documentation/devicetree/bindings/clock/samsung,s3c64xx-clock.txt
 delete mode 100644 arch/arm/mach-s3c64xx/clock.c
 create mode 100644 drivers/clk/samsung/clk-s3c64xx.c
 create mode 100644
 include/dt-bindings/clock/samsung,s3c64xx-clock.h
  
  Basically, this series looks good to me, but I'm not sure how this
  should be handled because of dependency with PWM cleanup and clk stuff
  in clk tree now...
 
 Patches 1-3 can go into the clk tree. 4-6 should go through their
 respective trees.

It looks like version 2 of patch 2/8 has been applied by mistake, breaking 
compilation (and operation) of the clock driver added in patch 3/8.

Could you please fix this up? Thanks in advance.

Best regards,
Tomasz

 If you want I can take 7  8 through the clk tree.
 
 Alternatively I can provide patches 1-3 in a separate stable topic
 branch for you to pull in as a dependency. We'll both merge that stable
 topic branch into our trees and you can make a note of it for the
 arm-soc folks.
 
 Regards,
 Mike
 
  - 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

signature.asc
Description: This is a digitally signed message 

Re: [PATCH v2 0/8] Common Clock Framework support for Samsung S3C64xx

2013-08-16 Thread Tomasz Figa
On Friday 16 of August 2013 14:02:03 Mike Turquette wrote:
 Quoting Tomasz Figa (2013-08-16 03:44:44)
 
  Hi Mike,
  
  On Monday 05 of August 2013 11:06:25 Mike Turquette wrote:
   Quoting Kukjin Kim (2013-08-05 10:01:36)
   
On 07/23/13 08:49, Tomasz Figa wrote:
 This series is an attempt to move clock support on Samsung
 S3C64xx
 SoCs
 to Common Clock Framework.
 
 First, support for PLL types present on S3C64xx SoCs is added to
 Samsung
 Common Clock Framework driver. Then the main clock driver for
 mentioned
 SoCs is introduced. Further patches contain fixes for drivers to
 make
 them compliant with CCF semantics, migration of platform code to
 use
 the new clock driver and removal of old clock management code.
 
 Depends on:
   - [PATCH v4 00/20] Samsung PWM support cleanup
   
 http://thread.gmane.org/gmane.linux.kernel.samsung-soc/20856
 
 On S3C6410-based Tiny6410 board (Mini6410-compatible):
 
 Tested-by: Tomasz Figatomasz.f...@gmail.com
 
 For v1:
 
 Acked-by: Mike Turquettemturque...@linaro.org
 
 Changes since v1:
   - added patch for read-only muxes,
   - exported configurable muxes and dividers,
   - defined mout_syncmux as read-only mux,
   - in DT-enabled case fixed-clock binding is used to define
   external
   clocks. 
 
 Tomasz Figa (8):
clk: mux: Add support for read-only muxes.
clk: samsung: pll: Add support for PLL6552 and PLL6553
clk: samsung: Add clock driver for S3C64xx SoCs
ARM: SAMSUNG: Add soc_is_s3c6400/s3c6410 macros
ARM: s3c64xx: dma: Use
clk_prepare_enable/clk_disable_unprepare
usb: host: ohci-s3c2410 Use
clk_prepare_enable/clk_disable_unprepare
ARM: s3c64xx: Migrate clock handling to Common Clock
Framework
ARM: s3c64xx: Remove old clock management code
   
   .../bindings/clock/samsung,s3c64xx-clock.txt   |   77 ++
   arch/arm/Kconfig   |2 +-
   arch/arm/mach-s3c64xx/Makefile |2 +-
   arch/arm/mach-s3c64xx/clock.c  | 1007
    arch/arm/mach-s3c64xx/common.c
   
|   21 +-
   
   arch/arm/mach-s3c64xx/common.h |   12 +-
   arch/arm/mach-s3c64xx/dma.c|4 +-
   arch/arm/mach-s3c64xx/include/mach/regs-clock.h|  132 +--
   arch/arm/mach-s3c64xx/mach-anw6410.c   |2 +-
   arch/arm/mach-s3c64xx/mach-crag6410.c  |2 +-
   arch/arm/mach-s3c64xx/mach-hmt.c   |2 +-
   arch/arm/mach-s3c64xx/mach-mini6410.c  |2 +-
   arch/arm/mach-s3c64xx/mach-ncp.c   |2 +-
   arch/arm/mach-s3c64xx/mach-smartq.c|   11 +-
   arch/arm/mach-s3c64xx/mach-smdk6400.c  |2 +-
   arch/arm/mach-s3c64xx/mach-smdk6410.c  |2 +-
   arch/arm/mach-s3c64xx/pm.c |   21 -
   arch/arm/mach-s3c64xx/s3c6400.c|6 -
   arch/arm/mach-s3c64xx/s3c6410.c|7 -
   arch/arm/plat-samsung/include/plat/cpu.h   |4 +
   drivers/clk/clk-mux.c  |   10 +-
   drivers/clk/samsung/Makefile   |1 +
   drivers/clk/samsung/clk-pll.c  |  160 
   drivers/clk/samsung/clk-pll.h  |4 +
   drivers/clk/samsung/clk-s3c64xx.c  |  465
   +
   drivers/usb/host/ohci-s3c2410.c|8 +-
   include/dt-bindings/clock/samsung,s3c64xx-clock.h  |  178 
   include/linux/clk-provider.h   |2 +
   28 files changed, 943 insertions(+), 1205 deletions(-)
   create mode 100644
   Documentation/devicetree/bindings/clock/samsung,s3c64xx-clock.
   txt
   delete mode 100644 arch/arm/mach-s3c64xx/clock.c
   create mode 100644 drivers/clk/samsung/clk-s3c64xx.c
   create mode 100644
   include/dt-bindings/clock/samsung,s3c64xx-clock.h

Basically, this series looks good to me, but I'm not sure how this
should be handled because of dependency with PWM cleanup and clk
stuff
in clk tree now...
   
   Patches 1-3 can go into the clk tree. 4-6 should go through their
   respective trees.
  
  It looks like version 2 of patch 2/8 has been applied by mistake,
  breaking compilation (and operation) of the clock driver added in
  patch 3/8.
 Ugh. My mistake.

Happens. Thanks for fast response.

  Could you please fix this up? Thanks in advance.
 
 This is a little tricky since I published the clk-next-s3c64xx branch as
 a stable branch for Samsung which I think has been merged to the
 Samsung tree already.

Right, this somewhat 

Re: [PATCH v2 0/8] Common Clock Framework support for Samsung S3C64xx

2013-08-06 Thread Tomasz Figa
On Tuesday 06 of August 2013 12:47:51 Mike Turquette wrote:
 Quoting Tomasz Figa (2013-08-05 16:42:16)
 
  On Monday 05 of August 2013 12:02:16 Mike Turquette wrote:
   Quoting Kukjin Kim (2013-08-05 11:13:55)
   
On 08/06/13 03:06, Mike Turquette wrote:
 Quoting Kukjin Kim (2013-08-05 10:01:36)
 
 On 07/23/13 08:49, Tomasz Figa wrote:
 This series is an attempt to move clock support on Samsung
 S3C64xx
 SoCs
 to Common Clock Framework.
 
 First, support for PLL types present on S3C64xx SoCs is added
 to
 Samsung Common Clock Framework driver. Then the main clock
 driver
 for mentioned SoCs is introduced. Further patches contain
 fixes
 for drivers to make them compliant with CCF semantics,
 migration
 of platform code to use the new clock driver and removal of
 old
 clock management code.
 
 Depends on:
- [PATCH v4 00/20] Samsung PWM support cleanup

  http://thread.gmane.org/gmane.linux.kernel.samsung-soc/20
  856
 
 On S3C6410-based Tiny6410 board (Mini6410-compatible):
 
 Tested-by: Tomasz Figatomasz.f...@gmail.com
 
 For v1:
 
 Acked-by: Mike Turquettemturque...@linaro.org
 
 Changes since v1:
- added patch for read-only muxes,
- exported configurable muxes and dividers,
- defined mout_syncmux as read-only mux,
- in DT-enabled case fixed-clock binding is used to define
external clocks. 
 
 Tomasz Figa (8):
 clk: mux: Add support for read-only muxes.
 clk: samsung: pll: Add support for PLL6552 and PLL6553
 clk: samsung: Add clock driver for S3C64xx SoCs
 ARM: SAMSUNG: Add soc_is_s3c6400/s3c6410 macros
 ARM: s3c64xx: dma: Use
 clk_prepare_enable/clk_disable_unprepare
 usb: host: ohci-s3c2410 Use
 clk_prepare_enable/clk_disable_unprepare
 ARM: s3c64xx: Migrate clock handling to Common Clock
 Framework
 ARM: s3c64xx: Remove old clock management code

.../bindings/clock/samsung,s3c64xx-clock.txt   |   77
++
arch/arm/Kconfig   |2
+-
arch/arm/mach-s3c64xx/Makefile |2
+-
arch/arm/mach-s3c64xx/clock.c  | 1007
 arch/arm/mach-s3c64xx/common.c

 |   21 +-

arch/arm/mach-s3c64xx/common.h |   12
+-
arch/arm/mach-s3c64xx/dma.c|4
+-
arch/arm/mach-s3c64xx/include/mach/regs-clock.h|  132
+--
arch/arm/mach-s3c64xx/mach-anw6410.c   |2
+-
arch/arm/mach-s3c64xx/mach-crag6410.c  |2
+-
arch/arm/mach-s3c64xx/mach-hmt.c   |2
+-
arch/arm/mach-s3c64xx/mach-mini6410.c  |2
+-
arch/arm/mach-s3c64xx/mach-ncp.c   |2
+-
arch/arm/mach-s3c64xx/mach-smartq.c|   11
+-
arch/arm/mach-s3c64xx/mach-smdk6400.c  |2
+-
arch/arm/mach-s3c64xx/mach-smdk6410.c  |2
+-
arch/arm/mach-s3c64xx/pm.c |   21 -
arch/arm/mach-s3c64xx/s3c6400.c|6 -
arch/arm/mach-s3c64xx/s3c6410.c|7 -
arch/arm/plat-samsung/include/plat/cpu.h   |4 +
drivers/clk/clk-mux.c  |   10
+-
drivers/clk/samsung/Makefile   |1 +
drivers/clk/samsung/clk-pll.c  |  160

drivers/clk/samsung/clk-pll.h  |4 +
drivers/clk/samsung/clk-s3c64xx.c  |  465
+
drivers/usb/host/ohci-s3c2410.c|8
+-
include/dt-bindings/clock/samsung,s3c64xx-clock.h  |  178

include/linux/clk-provider.h   |2 +
28 files changed, 943 insertions(+), 1205 deletions(-)
create mode 100644
Documentation/devicetree/bindings/clock/samsung,s3c64xx-clo
ck.
txt delete mode 100644 arch/arm/mach-s3c64xx/clock.c
create mode 100644 drivers/clk/samsung/clk-s3c64xx.c
create mode 100644
include/dt-bindings/clock/samsung,s3c64xx-clock.h
 
 Basically, this series looks good to me, but I'm not sure how
 this
 should be handled because of dependency with PWM cleanup and
 clk
 stuff
 in clk tree now...
 
 Patches 1-3 can go into the clk tree. 4-6 should go through
 their
 respective trees.
 
 If you want I can take 7  8 through the clk tree.
 
 Alternatively I can provide patches 1-3 in 

Re: [PATCH v2 0/8] Common Clock Framework support for Samsung S3C64xx

2013-08-06 Thread Kukjin Kim

On 08/07/13 07:06, Tomasz Figa wrote:

On Tuesday 06 of August 2013 12:47:51 Mike Turquette wrote:

Quoting Tomasz Figa (2013-08-05 16:42:16)


On Monday 05 of August 2013 12:02:16 Mike Turquette wrote:

Quoting Kukjin Kim (2013-08-05 11:13:55)


On 08/06/13 03:06, Mike Turquette wrote:

Quoting Kukjin Kim (2013-08-05 10:01:36)


On 07/23/13 08:49, Tomasz Figa wrote:

This series is an attempt to move clock support on Samsung
S3C64xx
SoCs
to Common Clock Framework.

First, support for PLL types present on S3C64xx SoCs is added
to
Samsung Common Clock Framework driver. Then the main clock
driver
for mentioned SoCs is introduced. Further patches contain
fixes
for drivers to make them compliant with CCF semantics,
migration
of platform code to use the new clock driver and removal of
old
clock management code.

Depends on:
- [PATCH v4 00/20] Samsung PWM support cleanup

  http://thread.gmane.org/gmane.linux.kernel.samsung-soc/20
  856

On S3C6410-based Tiny6410 board (Mini6410-compatible):

Tested-by: Tomasz Figatomasz.f...@gmail.com

For v1:

Acked-by: Mike Turquettemturque...@linaro.org

Changes since v1:
- added patch for read-only muxes,
- exported configurable muxes and dividers,
- defined mout_syncmux as read-only mux,
- in DT-enabled case fixed-clock binding is used to define
external clocks.  

Tomasz Figa (8):
 clk: mux: Add support for read-only muxes.
 clk: samsung: pll: Add support for PLL6552 and PLL6553
 clk: samsung: Add clock driver for S3C64xx SoCs
 ARM: SAMSUNG: Add soc_is_s3c6400/s3c6410 macros
 ARM: s3c64xx: dma: Use
 clk_prepare_enable/clk_disable_unprepare
 usb: host: ohci-s3c2410 Use
 clk_prepare_enable/clk_disable_unprepare
 ARM: s3c64xx: Migrate clock handling to Common Clock
 Framework
 ARM: s3c64xx: Remove old clock management code

.../bindings/clock/samsung,s3c64xx-clock.txt   |   77
++
arch/arm/Kconfig   |2
+-
arch/arm/mach-s3c64xx/Makefile |2
+-
arch/arm/mach-s3c64xx/clock.c  | 1007
 arch/arm/mach-s3c64xx/common.c

 |   21 +-

arch/arm/mach-s3c64xx/common.h |   12
+-
arch/arm/mach-s3c64xx/dma.c|4
+-
arch/arm/mach-s3c64xx/include/mach/regs-clock.h|  132
+--
arch/arm/mach-s3c64xx/mach-anw6410.c   |2
+-
arch/arm/mach-s3c64xx/mach-crag6410.c  |2
+-
arch/arm/mach-s3c64xx/mach-hmt.c   |2
+-
arch/arm/mach-s3c64xx/mach-mini6410.c  |2
+-
arch/arm/mach-s3c64xx/mach-ncp.c   |2
+-
arch/arm/mach-s3c64xx/mach-smartq.c|   11
+-
arch/arm/mach-s3c64xx/mach-smdk6400.c  |2
+-
arch/arm/mach-s3c64xx/mach-smdk6410.c  |2
+-
arch/arm/mach-s3c64xx/pm.c |   21 -
arch/arm/mach-s3c64xx/s3c6400.c|6 -
arch/arm/mach-s3c64xx/s3c6410.c|7 -
arch/arm/plat-samsung/include/plat/cpu.h   |4 +
drivers/clk/clk-mux.c  |   10
+-
drivers/clk/samsung/Makefile   |1 +
drivers/clk/samsung/clk-pll.c  |  160

drivers/clk/samsung/clk-pll.h  |4 +
drivers/clk/samsung/clk-s3c64xx.c  |  465
+
drivers/usb/host/ohci-s3c2410.c|8
+-
include/dt-bindings/clock/samsung,s3c64xx-clock.h  |  178

include/linux/clk-provider.h   |2 +
28 files changed, 943 insertions(+), 1205 deletions(-)
create mode 100644
Documentation/devicetree/bindings/clock/samsung,s3c64xx-clo
ck.
txt delete mode 100644 arch/arm/mach-s3c64xx/clock.c
create mode 100644 drivers/clk/samsung/clk-s3c64xx.c
create mode 100644
include/dt-bindings/clock/samsung,s3c64xx-clock.h


Basically, this series looks good to me, but I'm not sure how
this
should be handled because of dependency with PWM cleanup and
clk
stuff
in clk tree now...


Patches 1-3 can go into the clk tree. 4-6 should go through
their
respective trees.

If you want I can take 7   8 through the clk tree.

Alternatively I can provide patches 1-3 in a separate stable
topic
branch for you to pull in as a dependency. We'll both merge that
stable
topic branch into our trees and you can make a note of it for
the
arm-soc folks.


Thanks for your quick response. Would be helpful to samsung tree
if
you
could provide a separate stable topic branch what you suggested
for
clk
stuff in this series.


git://git.linaro.org/people/mturquette/linux.git clk-next-s3c64xx

Topic branch contains patches 1-3 of this series on top of
v3.11-rc2. I
have already merged the same into the clk-next 

Re: [PATCH v2 0/8] Common Clock Framework support for Samsung S3C64xx

2013-08-06 Thread Tomasz Figa
On Wednesday 07 of August 2013 07:11:40 Kukjin Kim wrote:
 On 08/07/13 07:06, Tomasz Figa wrote:
  On Tuesday 06 of August 2013 12:47:51 Mike Turquette wrote:
  Quoting Tomasz Figa (2013-08-05 16:42:16)
  
  On Monday 05 of August 2013 12:02:16 Mike Turquette wrote:
  Quoting Kukjin Kim (2013-08-05 11:13:55)
  
  On 08/06/13 03:06, Mike Turquette wrote:
  Quoting Kukjin Kim (2013-08-05 10:01:36)
  
  On 07/23/13 08:49, Tomasz Figa wrote:
  This series is an attempt to move clock support on Samsung
  S3C64xx
  SoCs
  to Common Clock Framework.
  
  First, support for PLL types present on S3C64xx SoCs is added
  to
  Samsung Common Clock Framework driver. Then the main clock
  driver
  for mentioned SoCs is introduced. Further patches contain
  fixes
  for drivers to make them compliant with CCF semantics,
  migration
  of platform code to use the new clock driver and removal of
  old
  clock management code.
  
  Depends on:
  - [PATCH v4 00/20] Samsung PWM support cleanup
  
http://thread.gmane.org/gmane.linux.kernel.samsung-soc/20
856
  
  On S3C6410-based Tiny6410 board (Mini6410-compatible):
  
  Tested-by: Tomasz Figatomasz.f...@gmail.com
  
  For v1:
  
  Acked-by: Mike Turquettemturque...@linaro.org
  
  Changes since v1:
  - added patch for read-only muxes,
  - exported configurable muxes and dividers,
  - defined mout_syncmux as read-only mux,
  - in DT-enabled case fixed-clock binding is used to define
  external clocks.  
  
  Tomasz Figa (8):
   clk: mux: Add support for read-only muxes.
   clk: samsung: pll: Add support for PLL6552 and PLL6553
   clk: samsung: Add clock driver for S3C64xx SoCs
   ARM: SAMSUNG: Add soc_is_s3c6400/s3c6410 macros
   ARM: s3c64xx: dma: Use
   clk_prepare_enable/clk_disable_unprepare
   usb: host: ohci-s3c2410 Use
   clk_prepare_enable/clk_disable_unprepare
   ARM: s3c64xx: Migrate clock handling to Common Clock
   Framework
   ARM: s3c64xx: Remove old clock management code
  
  .../bindings/clock/samsung,s3c64xx-clock.txt   |   77
  ++
  arch/arm/Kconfig   |2
  +-
  arch/arm/mach-s3c64xx/Makefile |2
  +-
  arch/arm/mach-s3c64xx/clock.c  | 1007
   arch/arm/mach-s3c64xx/common.c
  
   |   21 +-
  
  arch/arm/mach-s3c64xx/common.h |   12
  +-
  arch/arm/mach-s3c64xx/dma.c|4
  +-
  arch/arm/mach-s3c64xx/include/mach/regs-clock.h|  132
  +--
  arch/arm/mach-s3c64xx/mach-anw6410.c   |2
  +-
  arch/arm/mach-s3c64xx/mach-crag6410.c  |2
  +-
  arch/arm/mach-s3c64xx/mach-hmt.c   |2
  +-
  arch/arm/mach-s3c64xx/mach-mini6410.c  |2
  +-
  arch/arm/mach-s3c64xx/mach-ncp.c   |2
  +-
  arch/arm/mach-s3c64xx/mach-smartq.c|   11
  +-
  arch/arm/mach-s3c64xx/mach-smdk6400.c  |2
  +-
  arch/arm/mach-s3c64xx/mach-smdk6410.c  |2
  +-
  arch/arm/mach-s3c64xx/pm.c |   21 -
  arch/arm/mach-s3c64xx/s3c6400.c|6 -
  arch/arm/mach-s3c64xx/s3c6410.c|7 -
  arch/arm/plat-samsung/include/plat/cpu.h   |4 +
  drivers/clk/clk-mux.c  |   10
  +-
  drivers/clk/samsung/Makefile   |1 +
  drivers/clk/samsung/clk-pll.c  |  160
  
  drivers/clk/samsung/clk-pll.h  |4 +
  drivers/clk/samsung/clk-s3c64xx.c  |  465
  +
  drivers/usb/host/ohci-s3c2410.c|8
  +-
  include/dt-bindings/clock/samsung,s3c64xx-clock.h  |  178
  
  include/linux/clk-provider.h   |2 +
  28 files changed, 943 insertions(+), 1205 deletions(-)
  create mode 100644
  Documentation/devicetree/bindings/clock/samsung,s3c64xx-clo
  ck.
  txt delete mode 100644 arch/arm/mach-s3c64xx/clock.c
  create mode 100644 drivers/clk/samsung/clk-s3c64xx.c
  create mode 100644
  include/dt-bindings/clock/samsung,s3c64xx-clock.h
  
  Basically, this series looks good to me, but I'm not sure how
  this
  should be handled because of dependency with PWM cleanup and
  clk
  stuff
  in clk tree now...
  
  Patches 1-3 can go into the clk tree. 4-6 should go through
  their
  respective trees.
  
  If you want I can take 7   8 through the clk tree.
  
  Alternatively I can provide patches 1-3 in a separate stable
  topic
  branch for you to pull in as a dependency. We'll both merge that
  stable
  topic branch into our trees and you can make a note of it for
  the
  arm-soc folks.
  
  Thanks 

Re: [PATCH v2 0/8] Common Clock Framework support for Samsung S3C64xx

2013-08-05 Thread Kukjin Kim

On 07/23/13 08:49, Tomasz Figa wrote:

This series is an attempt to move clock support on Samsung S3C64xx SoCs
to Common Clock Framework.

First, support for PLL types present on S3C64xx SoCs is added to Samsung
Common Clock Framework driver. Then the main clock driver for mentioned
SoCs is introduced. Further patches contain fixes for drivers to make them
compliant with CCF semantics, migration of platform code to use the new
clock driver and removal of old clock management code.

Depends on:
  - [PATCH v4 00/20] Samsung PWM support cleanup
http://thread.gmane.org/gmane.linux.kernel.samsung-soc/20856

On S3C6410-based Tiny6410 board (Mini6410-compatible):

Tested-by: Tomasz Figatomasz.f...@gmail.com

For v1:

Acked-by: Mike Turquettemturque...@linaro.org

Changes since v1:
  - added patch for read-only muxes,
  - exported configurable muxes and dividers,
  - defined mout_syncmux as read-only mux,
  - in DT-enabled case fixed-clock binding is used to define external clocks.

Tomasz Figa (8):
   clk: mux: Add support for read-only muxes.
   clk: samsung: pll: Add support for PLL6552 and PLL6553
   clk: samsung: Add clock driver for S3C64xx SoCs
   ARM: SAMSUNG: Add soc_is_s3c6400/s3c6410 macros
   ARM: s3c64xx: dma: Use clk_prepare_enable/clk_disable_unprepare
   usb: host: ohci-s3c2410 Use clk_prepare_enable/clk_disable_unprepare
   ARM: s3c64xx: Migrate clock handling to Common Clock Framework
   ARM: s3c64xx: Remove old clock management code

  .../bindings/clock/samsung,s3c64xx-clock.txt   |   77 ++
  arch/arm/Kconfig   |2 +-
  arch/arm/mach-s3c64xx/Makefile |2 +-
  arch/arm/mach-s3c64xx/clock.c  | 1007 
  arch/arm/mach-s3c64xx/common.c |   21 +-
  arch/arm/mach-s3c64xx/common.h |   12 +-
  arch/arm/mach-s3c64xx/dma.c|4 +-
  arch/arm/mach-s3c64xx/include/mach/regs-clock.h|  132 +--
  arch/arm/mach-s3c64xx/mach-anw6410.c   |2 +-
  arch/arm/mach-s3c64xx/mach-crag6410.c  |2 +-
  arch/arm/mach-s3c64xx/mach-hmt.c   |2 +-
  arch/arm/mach-s3c64xx/mach-mini6410.c  |2 +-
  arch/arm/mach-s3c64xx/mach-ncp.c   |2 +-
  arch/arm/mach-s3c64xx/mach-smartq.c|   11 +-
  arch/arm/mach-s3c64xx/mach-smdk6400.c  |2 +-
  arch/arm/mach-s3c64xx/mach-smdk6410.c  |2 +-
  arch/arm/mach-s3c64xx/pm.c |   21 -
  arch/arm/mach-s3c64xx/s3c6400.c|6 -
  arch/arm/mach-s3c64xx/s3c6410.c|7 -
  arch/arm/plat-samsung/include/plat/cpu.h   |4 +
  drivers/clk/clk-mux.c  |   10 +-
  drivers/clk/samsung/Makefile   |1 +
  drivers/clk/samsung/clk-pll.c  |  160 
  drivers/clk/samsung/clk-pll.h  |4 +
  drivers/clk/samsung/clk-s3c64xx.c  |  465 +
  drivers/usb/host/ohci-s3c2410.c|8 +-
  include/dt-bindings/clock/samsung,s3c64xx-clock.h  |  178 
  include/linux/clk-provider.h   |2 +
  28 files changed, 943 insertions(+), 1205 deletions(-)
  create mode 100644 
Documentation/devicetree/bindings/clock/samsung,s3c64xx-clock.txt
  delete mode 100644 arch/arm/mach-s3c64xx/clock.c
  create mode 100644 drivers/clk/samsung/clk-s3c64xx.c
  create mode 100644 include/dt-bindings/clock/samsung,s3c64xx-clock.h

Basically, this series looks good to me, but I'm not sure how this 
should be handled because of dependency with PWM cleanup and clk stuff 
in clk tree now...


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


Re: [PATCH v2 0/8] Common Clock Framework support for Samsung S3C64xx

2013-08-05 Thread Mike Turquette
Quoting Kukjin Kim (2013-08-05 10:01:36)
 On 07/23/13 08:49, Tomasz Figa wrote:
  This series is an attempt to move clock support on Samsung S3C64xx SoCs
  to Common Clock Framework.
 
  First, support for PLL types present on S3C64xx SoCs is added to Samsung
  Common Clock Framework driver. Then the main clock driver for mentioned
  SoCs is introduced. Further patches contain fixes for drivers to make them
  compliant with CCF semantics, migration of platform code to use the new
  clock driver and removal of old clock management code.
 
  Depends on:
- [PATCH v4 00/20] Samsung PWM support cleanup
  http://thread.gmane.org/gmane.linux.kernel.samsung-soc/20856
 
  On S3C6410-based Tiny6410 board (Mini6410-compatible):
 
  Tested-by: Tomasz Figatomasz.f...@gmail.com
 
  For v1:
 
  Acked-by: Mike Turquettemturque...@linaro.org
 
  Changes since v1:
- added patch for read-only muxes,
- exported configurable muxes and dividers,
- defined mout_syncmux as read-only mux,
- in DT-enabled case fixed-clock binding is used to define external 
  clocks.
 
  Tomasz Figa (8):
 clk: mux: Add support for read-only muxes.
 clk: samsung: pll: Add support for PLL6552 and PLL6553
 clk: samsung: Add clock driver for S3C64xx SoCs
 ARM: SAMSUNG: Add soc_is_s3c6400/s3c6410 macros
 ARM: s3c64xx: dma: Use clk_prepare_enable/clk_disable_unprepare
 usb: host: ohci-s3c2410 Use clk_prepare_enable/clk_disable_unprepare
 ARM: s3c64xx: Migrate clock handling to Common Clock Framework
 ARM: s3c64xx: Remove old clock management code
 
.../bindings/clock/samsung,s3c64xx-clock.txt   |   77 ++
arch/arm/Kconfig   |2 +-
arch/arm/mach-s3c64xx/Makefile |2 +-
arch/arm/mach-s3c64xx/clock.c  | 1007 
  
arch/arm/mach-s3c64xx/common.c |   21 +-
arch/arm/mach-s3c64xx/common.h |   12 +-
arch/arm/mach-s3c64xx/dma.c|4 +-
arch/arm/mach-s3c64xx/include/mach/regs-clock.h|  132 +--
arch/arm/mach-s3c64xx/mach-anw6410.c   |2 +-
arch/arm/mach-s3c64xx/mach-crag6410.c  |2 +-
arch/arm/mach-s3c64xx/mach-hmt.c   |2 +-
arch/arm/mach-s3c64xx/mach-mini6410.c  |2 +-
arch/arm/mach-s3c64xx/mach-ncp.c   |2 +-
arch/arm/mach-s3c64xx/mach-smartq.c|   11 +-
arch/arm/mach-s3c64xx/mach-smdk6400.c  |2 +-
arch/arm/mach-s3c64xx/mach-smdk6410.c  |2 +-
arch/arm/mach-s3c64xx/pm.c |   21 -
arch/arm/mach-s3c64xx/s3c6400.c|6 -
arch/arm/mach-s3c64xx/s3c6410.c|7 -
arch/arm/plat-samsung/include/plat/cpu.h   |4 +
drivers/clk/clk-mux.c  |   10 +-
drivers/clk/samsung/Makefile   |1 +
drivers/clk/samsung/clk-pll.c  |  160 
drivers/clk/samsung/clk-pll.h  |4 +
drivers/clk/samsung/clk-s3c64xx.c  |  465 +
drivers/usb/host/ohci-s3c2410.c|8 +-
include/dt-bindings/clock/samsung,s3c64xx-clock.h  |  178 
include/linux/clk-provider.h   |2 +
28 files changed, 943 insertions(+), 1205 deletions(-)
create mode 100644 
  Documentation/devicetree/bindings/clock/samsung,s3c64xx-clock.txt
delete mode 100644 arch/arm/mach-s3c64xx/clock.c
create mode 100644 drivers/clk/samsung/clk-s3c64xx.c
create mode 100644 include/dt-bindings/clock/samsung,s3c64xx-clock.h
 
 Basically, this series looks good to me, but I'm not sure how this 
 should be handled because of dependency with PWM cleanup and clk stuff 
 in clk tree now...

Patches 1-3 can go into the clk tree. 4-6 should go through their
respective trees.

If you want I can take 7  8 through the clk tree.

Alternatively I can provide patches 1-3 in a separate stable topic
branch for you to pull in as a dependency. We'll both merge that stable
topic branch into our trees and you can make a note of it for the
arm-soc folks.

Regards,
Mike

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


Re: [PATCH v2 0/8] Common Clock Framework support for Samsung S3C64xx

2013-08-05 Thread Kukjin Kim

On 08/06/13 03:06, Mike Turquette wrote:

Quoting Kukjin Kim (2013-08-05 10:01:36)

On 07/23/13 08:49, Tomasz Figa wrote:

This series is an attempt to move clock support on Samsung S3C64xx SoCs
to Common Clock Framework.

First, support for PLL types present on S3C64xx SoCs is added to Samsung
Common Clock Framework driver. Then the main clock driver for mentioned
SoCs is introduced. Further patches contain fixes for drivers to make them
compliant with CCF semantics, migration of platform code to use the new
clock driver and removal of old clock management code.

Depends on:
   - [PATCH v4 00/20] Samsung PWM support cleanup
 http://thread.gmane.org/gmane.linux.kernel.samsung-soc/20856

On S3C6410-based Tiny6410 board (Mini6410-compatible):

Tested-by: Tomasz Figatomasz.f...@gmail.com

For v1:

Acked-by: Mike Turquettemturque...@linaro.org

Changes since v1:
   - added patch for read-only muxes,
   - exported configurable muxes and dividers,
   - defined mout_syncmux as read-only mux,
   - in DT-enabled case fixed-clock binding is used to define external clocks.

Tomasz Figa (8):
clk: mux: Add support for read-only muxes.
clk: samsung: pll: Add support for PLL6552 and PLL6553
clk: samsung: Add clock driver for S3C64xx SoCs
ARM: SAMSUNG: Add soc_is_s3c6400/s3c6410 macros
ARM: s3c64xx: dma: Use clk_prepare_enable/clk_disable_unprepare
usb: host: ohci-s3c2410 Use clk_prepare_enable/clk_disable_unprepare
ARM: s3c64xx: Migrate clock handling to Common Clock Framework
ARM: s3c64xx: Remove old clock management code

   .../bindings/clock/samsung,s3c64xx-clock.txt   |   77 ++
   arch/arm/Kconfig   |2 +-
   arch/arm/mach-s3c64xx/Makefile |2 +-
   arch/arm/mach-s3c64xx/clock.c  | 1007 

   arch/arm/mach-s3c64xx/common.c |   21 +-
   arch/arm/mach-s3c64xx/common.h |   12 +-
   arch/arm/mach-s3c64xx/dma.c|4 +-
   arch/arm/mach-s3c64xx/include/mach/regs-clock.h|  132 +--
   arch/arm/mach-s3c64xx/mach-anw6410.c   |2 +-
   arch/arm/mach-s3c64xx/mach-crag6410.c  |2 +-
   arch/arm/mach-s3c64xx/mach-hmt.c   |2 +-
   arch/arm/mach-s3c64xx/mach-mini6410.c  |2 +-
   arch/arm/mach-s3c64xx/mach-ncp.c   |2 +-
   arch/arm/mach-s3c64xx/mach-smartq.c|   11 +-
   arch/arm/mach-s3c64xx/mach-smdk6400.c  |2 +-
   arch/arm/mach-s3c64xx/mach-smdk6410.c  |2 +-
   arch/arm/mach-s3c64xx/pm.c |   21 -
   arch/arm/mach-s3c64xx/s3c6400.c|6 -
   arch/arm/mach-s3c64xx/s3c6410.c|7 -
   arch/arm/plat-samsung/include/plat/cpu.h   |4 +
   drivers/clk/clk-mux.c  |   10 +-
   drivers/clk/samsung/Makefile   |1 +
   drivers/clk/samsung/clk-pll.c  |  160 
   drivers/clk/samsung/clk-pll.h  |4 +
   drivers/clk/samsung/clk-s3c64xx.c  |  465 +
   drivers/usb/host/ohci-s3c2410.c|8 +-
   include/dt-bindings/clock/samsung,s3c64xx-clock.h  |  178 
   include/linux/clk-provider.h   |2 +
   28 files changed, 943 insertions(+), 1205 deletions(-)
   create mode 100644 
Documentation/devicetree/bindings/clock/samsung,s3c64xx-clock.txt
   delete mode 100644 arch/arm/mach-s3c64xx/clock.c
   create mode 100644 drivers/clk/samsung/clk-s3c64xx.c
   create mode 100644 include/dt-bindings/clock/samsung,s3c64xx-clock.h


Basically, this series looks good to me, but I'm not sure how this
should be handled because of dependency with PWM cleanup and clk stuff
in clk tree now...


Patches 1-3 can go into the clk tree. 4-6 should go through their
respective trees.

If you want I can take 7  8 through the clk tree.

Alternatively I can provide patches 1-3 in a separate stable topic
branch for you to pull in as a dependency. We'll both merge that stable
topic branch into our trees and you can make a note of it for the
arm-soc folks.

Thanks for your quick response. Would be helpful to samsung tree if you 
could provide a separate stable topic branch what you suggested for clk 
stuff in this series.


Of course, I will inform when I send pull-request for this series to 
arm-soc.


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


Re: [PATCH v2 0/8] Common Clock Framework support for Samsung S3C64xx

2013-08-05 Thread Tomasz Figa
On Monday 05 of August 2013 12:02:16 Mike Turquette wrote:
 Quoting Kukjin Kim (2013-08-05 11:13:55)
 
  On 08/06/13 03:06, Mike Turquette wrote:
   Quoting Kukjin Kim (2013-08-05 10:01:36)
   
   On 07/23/13 08:49, Tomasz Figa wrote:
   This series is an attempt to move clock support on Samsung S3C64xx
   SoCs
   to Common Clock Framework.
   
   First, support for PLL types present on S3C64xx SoCs is added to
   Samsung Common Clock Framework driver. Then the main clock driver
   for mentioned SoCs is introduced. Further patches contain fixes
   for drivers to make them compliant with CCF semantics, migration
   of platform code to use the new clock driver and removal of old
   clock management code.
   
   Depends on:
  - [PATCH v4 00/20] Samsung PWM support cleanup
  
http://thread.gmane.org/gmane.linux.kernel.samsung-soc/20856
   
   On S3C6410-based Tiny6410 board (Mini6410-compatible):
   
   Tested-by: Tomasz Figatomasz.f...@gmail.com
   
   For v1:
   
   Acked-by: Mike Turquettemturque...@linaro.org
   
   Changes since v1:
  - added patch for read-only muxes,
  - exported configurable muxes and dividers,
  - defined mout_syncmux as read-only mux,
  - in DT-enabled case fixed-clock binding is used to define
  external clocks.  
   Tomasz Figa (8):
   clk: mux: Add support for read-only muxes.
   clk: samsung: pll: Add support for PLL6552 and PLL6553
   clk: samsung: Add clock driver for S3C64xx SoCs
   ARM: SAMSUNG: Add soc_is_s3c6400/s3c6410 macros
   ARM: s3c64xx: dma: Use
   clk_prepare_enable/clk_disable_unprepare
   usb: host: ohci-s3c2410 Use
   clk_prepare_enable/clk_disable_unprepare
   ARM: s3c64xx: Migrate clock handling to Common Clock Framework
   ARM: s3c64xx: Remove old clock management code
  
  .../bindings/clock/samsung,s3c64xx-clock.txt   |   77 ++
  arch/arm/Kconfig   |2 +-
  arch/arm/mach-s3c64xx/Makefile |2 +-
  arch/arm/mach-s3c64xx/clock.c  | 1007
   arch/arm/mach-s3c64xx/common.c   
   |   21 +-
  arch/arm/mach-s3c64xx/common.h |   12 +-
  arch/arm/mach-s3c64xx/dma.c|4 +-
  arch/arm/mach-s3c64xx/include/mach/regs-clock.h|  132 +--
  arch/arm/mach-s3c64xx/mach-anw6410.c   |2 +-
  arch/arm/mach-s3c64xx/mach-crag6410.c  |2 +-
  arch/arm/mach-s3c64xx/mach-hmt.c   |2 +-
  arch/arm/mach-s3c64xx/mach-mini6410.c  |2 +-
  arch/arm/mach-s3c64xx/mach-ncp.c   |2 +-
  arch/arm/mach-s3c64xx/mach-smartq.c|   11 +-
  arch/arm/mach-s3c64xx/mach-smdk6400.c  |2 +-
  arch/arm/mach-s3c64xx/mach-smdk6410.c  |2 +-
  arch/arm/mach-s3c64xx/pm.c |   21 -
  arch/arm/mach-s3c64xx/s3c6400.c|6 -
  arch/arm/mach-s3c64xx/s3c6410.c|7 -
  arch/arm/plat-samsung/include/plat/cpu.h   |4 +
  drivers/clk/clk-mux.c  |   10 +-
  drivers/clk/samsung/Makefile   |1 +
  drivers/clk/samsung/clk-pll.c  |  160 
  drivers/clk/samsung/clk-pll.h  |4 +
  drivers/clk/samsung/clk-s3c64xx.c  |  465
  +
  drivers/usb/host/ohci-s3c2410.c|8 +-
  include/dt-bindings/clock/samsung,s3c64xx-clock.h  |  178 
  include/linux/clk-provider.h   |2 +
  28 files changed, 943 insertions(+), 1205 deletions(-)
  create mode 100644
  Documentation/devicetree/bindings/clock/samsung,s3c64xx-clock.
  txt delete mode 100644 arch/arm/mach-s3c64xx/clock.c
  create mode 100644 drivers/clk/samsung/clk-s3c64xx.c
  create mode 100644
  include/dt-bindings/clock/samsung,s3c64xx-clock.h
   
   Basically, this series looks good to me, but I'm not sure how this
   should be handled because of dependency with PWM cleanup and clk
   stuff
   in clk tree now...
   
   Patches 1-3 can go into the clk tree. 4-6 should go through their
   respective trees.
   
   If you want I can take 7  8 through the clk tree.
   
   Alternatively I can provide patches 1-3 in a separate stable topic
   branch for you to pull in as a dependency. We'll both merge that
   stable
   topic branch into our trees and you can make a note of it for the
   arm-soc folks.
  
  Thanks for your quick response. Would be helpful to samsung tree if
  you
  could provide a separate stable topic branch what you suggested for
  clk
  stuff in this series.
 
 git://git.linaro.org/people/mturquette/linux.git clk-next-s3c64xx
 
 Topic branch contains patches 1-3 of this series on top of v3.11-rc2. I
 have already 

RE: [PATCH v2 0/8] Common Clock Framework support for Samsung S3C64xx

2013-07-24 Thread Kukjin Kim
Tomasz Figa wrote:
 
 This series is an attempt to move clock support on Samsung S3C64xx SoCs
 to Common Clock Framework.
 
 First, support for PLL types present on S3C64xx SoCs is added to Samsung
 Common Clock Framework driver. Then the main clock driver for mentioned
 SoCs is introduced. Further patches contain fixes for drivers to make them
 compliant with CCF semantics, migration of platform code to use the new
 clock driver and removal of old clock management code.
 
 Depends on:
  - [PATCH v4 00/20] Samsung PWM support cleanup
http://thread.gmane.org/gmane.linux.kernel.samsung-soc/20856
 
 On S3C6410-based Tiny6410 board (Mini6410-compatible):
 
 Tested-by: Tomasz Figa tomasz.f...@gmail.com
 
 For v1:
 
 Acked-by: Mike Turquette mturque...@linaro.org
 
 Changes since v1:
  - added patch for read-only muxes,
  - exported configurable muxes and dividers,
  - defined mout_syncmux as read-only mux,
  - in DT-enabled case fixed-clock binding is used to define external
 clocks.
 
 Tomasz Figa (8):
   clk: mux: Add support for read-only muxes.
   clk: samsung: pll: Add support for PLL6552 and PLL6553
   clk: samsung: Add clock driver for S3C64xx SoCs
   ARM: SAMSUNG: Add soc_is_s3c6400/s3c6410 macros
   ARM: s3c64xx: dma: Use clk_prepare_enable/clk_disable_unprepare
   usb: host: ohci-s3c2410 Use clk_prepare_enable/clk_disable_unprepare
   ARM: s3c64xx: Migrate clock handling to Common Clock Framework
   ARM: s3c64xx: Remove old clock management code
 
  .../bindings/clock/samsung,s3c64xx-clock.txt   |   77 ++
  arch/arm/Kconfig   |2 +-
  arch/arm/mach-s3c64xx/Makefile |2 +-
  arch/arm/mach-s3c64xx/clock.c  | 1007 
 
  arch/arm/mach-s3c64xx/common.c |   21 +-
  arch/arm/mach-s3c64xx/common.h |   12 +-
  arch/arm/mach-s3c64xx/dma.c|4 +-
  arch/arm/mach-s3c64xx/include/mach/regs-clock.h|  132 +--
  arch/arm/mach-s3c64xx/mach-anw6410.c   |2 +-
  arch/arm/mach-s3c64xx/mach-crag6410.c  |2 +-
  arch/arm/mach-s3c64xx/mach-hmt.c   |2 +-
  arch/arm/mach-s3c64xx/mach-mini6410.c  |2 +-
  arch/arm/mach-s3c64xx/mach-ncp.c   |2 +-
  arch/arm/mach-s3c64xx/mach-smartq.c|   11 +-
  arch/arm/mach-s3c64xx/mach-smdk6400.c  |2 +-
  arch/arm/mach-s3c64xx/mach-smdk6410.c  |2 +-
  arch/arm/mach-s3c64xx/pm.c |   21 -
  arch/arm/mach-s3c64xx/s3c6400.c|6 -
  arch/arm/mach-s3c64xx/s3c6410.c|7 -
  arch/arm/plat-samsung/include/plat/cpu.h   |4 +
  drivers/clk/clk-mux.c  |   10 +-
  drivers/clk/samsung/Makefile   |1 +
  drivers/clk/samsung/clk-pll.c  |  160 
  drivers/clk/samsung/clk-pll.h  |4 +
  drivers/clk/samsung/clk-s3c64xx.c  |  465 +
  drivers/usb/host/ohci-s3c2410.c|8 +-
  include/dt-bindings/clock/samsung,s3c64xx-clock.h  |  178 
  include/linux/clk-provider.h   |2 +
  28 files changed, 943 insertions(+), 1205 deletions(-)
  create mode 100644
 Documentation/devicetree/bindings/clock/samsung,s3c64xx-clock.txt
  delete mode 100644 arch/arm/mach-s3c64xx/clock.c
  create mode 100644 drivers/clk/samsung/clk-s3c64xx.c
  create mode 100644 include/dt-bindings/clock/samsung,s3c64xx-clock.h
 
 --
 1.8.3.2

Looks nice series, thanks.

I've applied this whole series including updated v3 2nd and 3rd patches on top 
of PWM cleanup series. BTW, if I could get ack on 1st and 6th patches, would be 
helpful :-)

Regards,
Kukjin

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