Skip to contentSkip to conversation

Samsung Cleanup EXYNOS clock for v3.4

GIT PULL Kukjin Kim 2 participants 6 messages Mar 8, 2012 – Mar 11, 2012 Arm Samsung Exynos

lore
Share & tools
lore

Kukjin Kim

author
#0 lore raw

Hi Arnd, Olof,

Here is cleanup clock part for EXYNOS SoCs from:
git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
next/cleanup-exynos-clock

Please pull and if any problems, please kindly let me know.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.

The following changes since commit b01543dfe67bb1d191998e90d20534dc354de059:

Linux 3.3-rc4 (2012-02-18 15:53:33 -0800)

are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
next/cleanup-exynos-clock

Kukjin Kim (2):
ARM: EXYNOS: cleanup clock part for new EXYNOS SoCs PM / devfreq: update the name of EXYNOS clock register

  arch/arm/mach-exynos/Makefile                     |    3 +-
  arch/arm/mach-exynos/clock-exynos4.c              | 1564 
+++++++++++++++++++++
  arch/arm/mach-exynos/clock-exynos4.h              |   32 +
  arch/arm/mach-exynos/clock-exynos4210.c           |   46 +-
  arch/arm/mach-exynos/clock-exynos4212.c           |   30 +-
  arch/arm/mach-exynos/clock.c                      | 1564 
---------------------
  arch/arm/mach-exynos/common.h                     |    9 +
  arch/arm/mach-exynos/include/mach/exynos4-clock.h |   43 -
  arch/arm/mach-exynos/include/mach/regs-clock.h    |  364 +++---
  arch/arm/mach-exynos/pm.c                         |   40 +-
  drivers/devfreq/exynos4_bus.c                     |  224 ++--
  11 files changed, 1959 insertions(+), 1960 deletions(-)

create mode 100644 arch/arm/mach-exynos/clock-exynos4.c create mode 100644 arch/arm/mach-exynos/clock-exynos4.h delete mode 100644 arch/arm/mach-exynos/clock.c
delete mode 100644 arch/arm/mach-exynos/include/mach/exynos4-clock.h

#1 lore raw

Hi,

Quoted 2 lines · Kukjin Kim

Kukjin Kim (2):
? ? ?ARM: EXYNOS: cleanup clock part for new EXYNOS SoCs

This is one large commit that does many things in one change. As the patch message says:

ARM: EXYNOS: cleanup clock part for new EXYNOS SoCs

- the prefix of clk register replace S5P_ with EXYNOS4_
- move mach-exynos/clock.c to mach-exynos/clock-exynos4.c
- according to moving clock-exynos4.c,
move <mach/exynos4-clock.h> to "clock-exynos4.h"
- add prefix exynos4_ on clk declaration

It makes it hard to review, especially when you combine a move with other changes. It's better to do the move in a separate commit that doesn't change code (or only changes very very little) and then do the other changes in separate commits later.

-Olof

author
#2 lore raw
Quoted 18 lines · Olof Johansson

Hi,

Quoted 2 lines · Kukjin Kim

Kukjin Kim (2):
ARM: EXYNOS: cleanup clock part for new EXYNOS SoCs

This is one large commit that does many things in one change. As the patch message says:

ARM: EXYNOS: cleanup clock part for new EXYNOS SoCs

- the prefix of clk register replace S5P_ with EXYNOS4_
- move mach-exynos/clock.c to mach-exynos/clock-exynos4.c
- according to moving clock-exynos4.c, move<mach/exynos4-clock.h> to "clock-exynos4.h"
- add prefix exynos4_ on clk declaration

Quoted 5 lines

It makes it hard to review, especially when you combine a move with other changes. It's better to do the move in a separate commit that doesn't change code (or only changes very very little) and then do the other changes in separate commits later.

Hmm...OK, let me do as per your suggestion and will re-send this soon.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.

author
#3 lore raw
Quoted 19 lines · Kukjin Kim
Quoted 18 lines · Olof Johansson

Hi,

Quoted 2 lines · Kukjin Kim

Kukjin Kim (2):
ARM: EXYNOS: cleanup clock part for new EXYNOS SoCs

This is one large commit that does many things in one change. As the patch message says:

ARM: EXYNOS: cleanup clock part for new EXYNOS SoCs

- the prefix of clk register replace S5P_ with EXYNOS4_
- move mach-exynos/clock.c to mach-exynos/clock-exynos4.c
- according to moving clock-exynos4.c, move<mach/exynos4-clock.h> to "clock-exynos4.h"
- add prefix exynos4_ on clk declaration

Quoted 7 lines
Quoted 5 lines

It makes it hard to review, especially when you combine a move with other changes. It's better to do the move in a separate commit that doesn't change code (or only changes very very little) and then do the other changes in separate commits later.

Hmm...OK, let me do as per your suggestion and will re-send this soon.

Hi Olof,

I addressed comments from you and I think it should be ok to you.

Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
next/cleanup-exynos-clock

If any problems, please kindly let me know.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.

The following changes since commit 192cfd58774b4d17b2fe8bdc77d89c2ef4e0591d:

Linux 3.3-rc6 (2012-03-03 17:08:09 -0800)

are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
next/cleanup-exynos-clock

Jaecheol Lee (1):
ARM: EXYNOS: add clock registers for exynos4x12-cpufreq

Kukjin Kim (4):
ARM: EXYNOS: replace clock.c for other new EXYNOS SoCs
ARM: EXYNOS: use static declaration on regarding clock
ARM: EXYNOS: change the prefix S5P_ to EXYNOS4_ for clock PM / devfreq: update the name of EXYNOS clock register

MyungJoo Ham (2):
PM / devfreq: update the name of EXYNOS clock registers that were
omitted
ARM: EXYNOS: Add clock register addresses for EXYNOS4X12 bus
devfreq driver

  arch/arm/mach-exynos/Makefile                     |    3 +-
  arch/arm/mach-exynos/clock-exynos4.c              | 1563 
++++++++++++++++++++
  arch/arm/mach-exynos/clock-exynos4.h              |   30 +
  arch/arm/mach-exynos/clock-exynos4210.c           |   46 +-
  arch/arm/mach-exynos/clock-exynos4212.c           |   30 +-
  arch/arm/mach-exynos/clock.c                      | 1564 
---------------------
  arch/arm/mach-exynos/common.h                     |    9 +
  arch/arm/mach-exynos/include/mach/exynos4-clock.h |   43 -
  arch/arm/mach-exynos/include/mach/regs-clock.h    |  416 +++---
  arch/arm/mach-exynos/pm.c                         |   40 +-
  drivers/devfreq/exynos4_bus.c                     |  230 ++--
  11 files changed, 2009 insertions(+), 1965 deletions(-)

create mode 100644 arch/arm/mach-exynos/clock-exynos4.c create mode 100644 arch/arm/mach-exynos/clock-exynos4.h delete mode 100644 arch/arm/mach-exynos/clock.c
delete mode 100644 arch/arm/mach-exynos/include/mach/exynos4-clock.h

#4 lore raw
Quoted 25 lines · Kukjin Kim
Quoted 24 lines · Kukjin Kim
Quoted 23 lines · Olof Johansson

Hi,

Quoted 2 lines · Kukjin Kim

Kukjin Kim (2):
ARM: EXYNOS: cleanup clock part for new EXYNOS SoCs

This is one large commit that does many things in one change. As the patch message says:

ARM: EXYNOS: cleanup clock part for new EXYNOS SoCs

- the prefix of clk register replace S5P_ with EXYNOS4_
- move mach-exynos/clock.c to mach-exynos/clock-exynos4.c
- according to moving clock-exynos4.c, move<mach/exynos4-clock.h> to "clock-exynos4.h"
- add prefix exynos4_ on clk declaration

It makes it hard to review, especially when you combine a move with other changes. It's better to do the move in a separate commit that doesn't change code (or only changes very very little) and then do the other changes in separate commits later.

Quoted 5 lines
Quoted 2 lines

Hmm...OK, let me do as per your suggestion and will re-send this soon.

Hi Olof,

I addressed comments from you and I think it should be ok to you.

Yes, much easier to review.

Quoted 16 lines

Please pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
next/cleanup-exynos-clock

If any problems, please kindly let me know.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.

Quoted 8 lines

The following changes since commit 192cfd58774b4d17b2fe8bdc77d89c2ef4e0591d:

Linux 3.3-rc6 (2012-03-03 17:08:09 -0800)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
next/cleanup-exynos-clock

The contents of the branch itself looks good, but now you have introduced a modified/delete conflict with yourself.

You modify arch/arm/mach-exynos/clock.c in your cleanup-use-static branch, and then you move it here. That means that when I merge in this branch, git throws a conflict and I have to do manual edits to make the contents match.

It's better if you base this branch on your cleanup-use-static branch, so that the move includes those edits. That way there is no conflict resolution to do at our end either.

Can you please do that rebase and send a fresh pull request? I'll continue looking at your other requests meanwhile.

Thanks!

-Olof

author
#5 lore raw

On 03/10/12 09:35, Olof Johansson wrote:

[...]

Quoted 8 lines

The contents of the branch itself looks good, but now you have introduced a modified/delete conflict with yourself.

You modify arch/arm/mach-exynos/clock.c in your cleanup-use-static branch, and then you move it here. That means that when I merge in this branch, git throws a conflict and I have to do manual edits to make the contents match.

Quoted 7 lines

It's better if you base this branch on your cleanup-use-static branch, so that the move includes those edits. That way there is no conflict resolution to do at our end either.

Can you please do that rebase and send a fresh pull request? I'll continue looking at your other requests meanwhile.

Hi Olof,

Sorry for late response. OK I see and your suggestion sounds good to me. Let me send a new pull request after that.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.