All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/12] clk/exynos convert clock IDs to macros
@ 2013-09-06 10:12 ` Andrzej Hajda
  0 siblings, 0 replies; 52+ messages in thread
From: Andrzej Hajda @ 2013-09-06 10:12 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Andrzej Hajda, Kukjin Kim, Mike Turquette, Kyungmin Park,
	moderated list:OPEN FIRMWARE AND...,
	moderated list:ARM/S5P EXYNOS AR...

Hi,

This patch set adds headers with defines of exynos clocks.
Then it converts dts files and drivers to use macros instead
of magic numbers/enums to describe clock bindings.

The patch set is based on the latest mturquette/clk-next branch.

The patches are generated by script.
I have verified random clocks by hand.
I have also tested it on exynos4 based board.

This is the 2nd version of the patchset.
Changes:
- corrected devicetree mailing list,
- added comments to include/dt-bindings/clock/exynos4.h for
  clocks present only in particular chip,
- added tab alignement in headers,
- added comment to CLK_NR_CLKS,
- added copyright headers,
- split long lines in dts,
- corrected example in bindings/clock/exynos5250-clock.txt, to point
  appropriate clocks.

Regards
Andrzej

Andrzej Hajda (12):
  ARM: exynos4: create a DT header defining CLK IDs
  ARM: dts: exynos4: convert magic numbers to macros in clock bindings
  clk: exynos4: replace clock ID private enums with IDs from DT header
  ARM: exynos5250: create a DT header defining CLK IDs
  ARM: dts: exynos5250: convert magic numbers to macros in clock
    bindings
  clk: exynos5250: replace clock ID private enums with IDs from DT
    header
  ARM: exynos5420: create a DT header defining CLK IDs
  ARM: dts: exynos5420: convert magic numbers to macros in clock
    bindings
  clk: exynos5420: replace clock ID private enums with IDs from DT
    header
  ARM: exynos5440: create a DT header defining CLK IDs
  ARM: dts: exynos5440: convert magic numbers to macros in clock
    bindings
  clk: exynos5440: replace clock ID private enums with IDs from DT
    header

 .../devicetree/bindings/clock/exynos4-clock.txt    | 259 +------
 .../devicetree/bindings/clock/exynos5250-clock.txt | 160 +---
 .../devicetree/bindings/clock/exynos5420-clock.txt | 184 +----
 .../devicetree/bindings/clock/exynos5440-clock.txt |  45 +-
 arch/arm/boot/dts/exynos4.dtsi                     |  55 +-
 arch/arm/boot/dts/exynos4210.dtsi                  |   6 +-
 arch/arm/boot/dts/exynos4412.dtsi                  |   2 +-
 arch/arm/boot/dts/exynos4x12.dtsi                  |   2 +-
 arch/arm/boot/dts/exynos5250.dtsi                  |  92 +--
 arch/arm/boot/dts/exynos5420.dtsi                  |  13 +-
 arch/arm/boot/dts/exynos5440.dtsi                  |  27 +-
 drivers/clk/samsung/clk-exynos4.c                  | 857 ++++++++++-----------
 drivers/clk/samsung/clk-exynos5250.c               | 501 ++++++------
 drivers/clk/samsung/clk-exynos5420.c               | 648 ++++++++--------
 drivers/clk/samsung/clk-exynos5440.c               |  81 +-
 include/dt-bindings/clock/exynos4.h                | 244 ++++++
 include/dt-bindings/clock/exynos5250.h             | 157 ++++
 include/dt-bindings/clock/exynos5420.h             | 188 +++++
 include/dt-bindings/clock/exynos5440.h             |  42 +
 19 files changed, 1734 insertions(+), 1829 deletions(-)
 create mode 100644 include/dt-bindings/clock/exynos4.h
 create mode 100644 include/dt-bindings/clock/exynos5250.h
 create mode 100644 include/dt-bindings/clock/exynos5420.h
 create mode 100644 include/dt-bindings/clock/exynos5440.h

-- 
1.8.1.2

^ permalink raw reply	[flat|nested] 52+ messages in thread

end of thread, other threads:[~2013-10-28 15:03 UTC | newest]

Thread overview: 52+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-06 10:12 [PATCH v2 00/12] clk/exynos convert clock IDs to macros Andrzej Hajda
2013-09-06 10:12 ` Andrzej Hajda
2013-09-06 10:12 ` [PATCH v2 01/12] ARM: exynos4: create a DT header defining CLK IDs Andrzej Hajda
2013-09-06 10:12   ` Andrzej Hajda
2013-09-06 10:12 ` [PATCH v2 02/12] ARM: dts: exynos4: convert magic numbers to macros in clock bindings Andrzej Hajda
2013-09-06 10:12   ` Andrzej Hajda
2013-09-06 10:12 ` [PATCH v2 03/12] clk: exynos4: replace clock ID private enums with IDs from DT header Andrzej Hajda
2013-09-06 10:12   ` Andrzej Hajda
2013-09-06 10:12 ` [PATCH v2 04/12] ARM: exynos5250: create a DT header defining CLK IDs Andrzej Hajda
2013-09-06 10:12   ` Andrzej Hajda
2013-09-06 10:12 ` [PATCH v2 05/12] ARM: dts: exynos5250: convert magic numbers to macros in clock bindings Andrzej Hajda
2013-09-06 10:12   ` Andrzej Hajda
2013-09-06 10:12 ` [PATCH v2 06/12] clk: exynos5250: replace clock ID private enums with IDs from DT header Andrzej Hajda
2013-09-06 10:12   ` Andrzej Hajda
2013-09-06 10:12 ` [PATCH v2 07/12] ARM: exynos5420: create a DT header defining CLK IDs Andrzej Hajda
2013-09-06 10:12   ` Andrzej Hajda
2013-09-06 10:12 ` [PATCH v2 08/12] ARM: dts: exynos5420: convert magic numbers to macros in clock bindings Andrzej Hajda
2013-09-06 10:12   ` Andrzej Hajda
2013-09-06 10:12 ` [PATCH v2 09/12] clk: exynos5420: replace clock ID private enums with IDs from DT header Andrzej Hajda
2013-09-06 10:12   ` Andrzej Hajda
2013-09-06 10:12 ` [PATCH v2 10/12] ARM: exynos5440: create a DT header defining CLK IDs Andrzej Hajda
2013-09-06 10:12   ` Andrzej Hajda
2013-09-06 10:12 ` [PATCH v2 11/12] ARM: dts: exynos5440: convert magic numbers to macros in clock bindings Andrzej Hajda
2013-09-06 10:12   ` Andrzej Hajda
2013-09-06 10:12 ` [PATCH v2 12/12] clk: exynos5440: replace clock ID private enums with IDs from DT header Andrzej Hajda
2013-09-06 10:12   ` Andrzej Hajda
2013-09-06 11:19 ` [PATCH v2 00/12] clk/exynos convert clock IDs to macros Tomasz Figa
2013-09-06 11:19   ` Tomasz Figa
2013-09-12 10:50   ` Kukjin Kim
2013-09-12 10:50     ` Kukjin Kim
2013-09-12 11:12     ` Tomasz Figa
2013-09-12 11:12       ` Tomasz Figa
     [not found]     ` <070001ceafa5$d4d81a40$7e884ec0$%kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-09-16 14:33       ` Sylwester Nawrocki
2013-09-16 14:33         ` Sylwester Nawrocki
     [not found]         ` <523716C9.3000204-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-09-16 19:37           ` Mike Turquette
2013-09-16 19:37             ` Mike Turquette
2013-09-26 12:21             ` Andrzej Hajda
2013-09-26 12:21               ` Andrzej Hajda
2013-09-30 10:11             ` Kukjin Kim
2013-09-30 10:11               ` Kukjin Kim
     [not found]               ` <06c101cebdc5$75a83d10$60f8b730$%kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-10-02  1:09                 ` Mike Turquette
2013-10-02  1:09                   ` Mike Turquette
2013-10-05  2:16                   ` Kukjin Kim
2013-10-05  2:16                     ` Kukjin Kim
2013-10-06 20:27                     ` RE: " Mike Turquette
2013-10-06 20:27                       ` Mike Turquette
2013-10-07  8:46                       ` Andrzej Hajda
2013-10-07  8:46                         ` Andrzej Hajda
2013-10-28 14:31                         ` Andrzej Hajda
2013-10-28 14:31                           ` Andrzej Hajda
2013-10-28 15:03                           ` Kukjin Kim
2013-10-28 15:03                             ` Kukjin Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.