All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrzej Hajda <a.hajda@samsung.com>
To: linux-arm-kernel@lists.infradead.org
Cc: Andrzej Hajda <a.hajda@samsung.com>,
	Tomasz Figa <t.figa@samsung.com>,
	Kukjin Kim <kgene.kim@samsung.com>,
	Mike Turquette <mturquette@linaro.org>,
	Kyungmin Park <kyungmin.park@samsung.com>,
	"moderated list:OPEN FIRMWARE AND..."
	<devicetree@vger.kernel.org>,
	"moderated list:ARM/S5P EXYNOS AR..."
	<linux-samsung-soc@vger.kernel.org>
Subject: [PATCH RESEND v2 00/12] clk/exynos convert clock IDs to macros
Date: Tue, 07 Jan 2014 15:47:28 +0100	[thread overview]
Message-ID: <1389106060-20291-1-git-send-email-a.hajda@samsung.com> (raw)

Hi,

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

The patch set is rebased on the latest samsung-clk/samsung-next branch.

The patches are generated by script.
Many clocks I have verified by hand.
I have also tested it successfully 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 | 162 +---
 .../devicetree/bindings/clock/exynos5420-clock.txt | 184 +----
 .../devicetree/bindings/clock/exynos5440-clock.txt |  45 +-
 arch/arm/boot/dts/exynos4.dtsi                     |  73 +-
 arch/arm/boot/dts/exynos4210.dtsi                  |   9 +-
 arch/arm/boot/dts/exynos4412.dtsi                  |   2 +-
 arch/arm/boot/dts/exynos4x12.dtsi                  |  30 +-
 arch/arm/boot/dts/exynos5250.dtsi                  | 100 +--
 arch/arm/boot/dts/exynos5420.dtsi                  |  38 +-
 arch/arm/boot/dts/exynos5440.dtsi                  |  33 +-
 drivers/clk/samsung/clk-exynos4.c                  | 857 ++++++++++-----------
 drivers/clk/samsung/clk-exynos5250.c               | 559 +++++++-------
 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             | 159 ++++
 include/dt-bindings/clock/exynos5420.h             | 188 +++++
 include/dt-bindings/clock/exynos5440.h             |  42 +
 19 files changed, 1816 insertions(+), 1897 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.3.2

WARNING: multiple messages have this Message-ID (diff)
From: a.hajda@samsung.com (Andrzej Hajda)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH RESEND v2 00/12] clk/exynos convert clock IDs to macros
Date: Tue, 07 Jan 2014 15:47:28 +0100	[thread overview]
Message-ID: <1389106060-20291-1-git-send-email-a.hajda@samsung.com> (raw)

Hi,

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

The patch set is rebased on the latest samsung-clk/samsung-next branch.

The patches are generated by script.
Many clocks I have verified by hand.
I have also tested it successfully 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 | 162 +---
 .../devicetree/bindings/clock/exynos5420-clock.txt | 184 +----
 .../devicetree/bindings/clock/exynos5440-clock.txt |  45 +-
 arch/arm/boot/dts/exynos4.dtsi                     |  73 +-
 arch/arm/boot/dts/exynos4210.dtsi                  |   9 +-
 arch/arm/boot/dts/exynos4412.dtsi                  |   2 +-
 arch/arm/boot/dts/exynos4x12.dtsi                  |  30 +-
 arch/arm/boot/dts/exynos5250.dtsi                  | 100 +--
 arch/arm/boot/dts/exynos5420.dtsi                  |  38 +-
 arch/arm/boot/dts/exynos5440.dtsi                  |  33 +-
 drivers/clk/samsung/clk-exynos4.c                  | 857 ++++++++++-----------
 drivers/clk/samsung/clk-exynos5250.c               | 559 +++++++-------
 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             | 159 ++++
 include/dt-bindings/clock/exynos5420.h             | 188 +++++
 include/dt-bindings/clock/exynos5440.h             |  42 +
 19 files changed, 1816 insertions(+), 1897 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.3.2

             reply	other threads:[~2014-01-07 14:47 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-07 14:47 Andrzej Hajda [this message]
2014-01-07 14:47 ` [PATCH RESEND v2 00/12] clk/exynos convert clock IDs to macros Andrzej Hajda
2014-01-07 14:47 ` [PATCH RESEND v2 01/12] ARM: exynos4: create a DT header defining CLK IDs Andrzej Hajda
2014-01-07 14:47   ` Andrzej Hajda
2014-01-08  0:53   ` Tomasz Figa
2014-01-08  0:53     ` Tomasz Figa
     [not found] ` <1389106060-20291-1-git-send-email-a.hajda-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-01-07 14:47   ` [PATCH RESEND v2 02/12] ARM: dts: exynos4: convert magic numbers to macros in clock bindings Andrzej Hajda
2014-01-07 14:47     ` Andrzej Hajda
2014-01-07 14:47   ` [PATCH RESEND v2 10/12] ARM: exynos5440: create a DT header defining CLK IDs Andrzej Hajda
2014-01-07 14:47     ` Andrzej Hajda
2014-01-07 14:47 ` [PATCH RESEND v2 03/12] clk: exynos4: replace clock ID private enums with IDs from DT header Andrzej Hajda
2014-01-07 14:47   ` Andrzej Hajda
2014-01-07 14:47 ` [PATCH RESEND v2 04/12] ARM: exynos5250: create a DT header defining CLK IDs Andrzej Hajda
2014-01-07 14:47   ` Andrzej Hajda
2014-01-07 14:47 ` [PATCH RESEND v2 05/12] ARM: dts: exynos5250: convert magic numbers to macros in clock bindings Andrzej Hajda
2014-01-07 14:47   ` Andrzej Hajda
2014-01-07 14:47 ` [PATCH RESEND v2 06/12] clk: exynos5250: replace clock ID private enums with IDs from DT header Andrzej Hajda
2014-01-07 14:47   ` Andrzej Hajda
2014-01-07 14:47 ` [PATCH RESEND v2 07/12] ARM: exynos5420: create a DT header defining CLK IDs Andrzej Hajda
2014-01-07 14:47   ` Andrzej Hajda
2014-01-07 14:47 ` [PATCH RESEND v2 08/12] ARM: dts: exynos5420: convert magic numbers to macros in clock bindings Andrzej Hajda
2014-01-07 14:47   ` Andrzej Hajda
2014-01-07 14:47 ` [PATCH RESEND v2 09/12] clk: exynos5420: replace clock ID private enums with IDs from DT header Andrzej Hajda
2014-01-07 14:47   ` Andrzej Hajda
2014-01-07 14:47 ` [PATCH RESEND v2 11/12] ARM: dts: exynos5440: convert magic numbers to macros in clock bindings Andrzej Hajda
2014-01-07 14:47   ` Andrzej Hajda
2014-01-07 14:47 ` [PATCH RESEND v2 12/12] clk: exynos5440: replace clock ID private enums with IDs from DT header Andrzej Hajda
2014-01-07 14:47   ` Andrzej Hajda
2014-01-07 15:17 ` [PATCH RESEND v2 00/12] clk/exynos convert clock IDs to macros Tomasz Figa
2014-01-07 15:17   ` Tomasz Figa
2014-01-27 21:49   ` Mike Turquette
2014-01-27 21:49     ` Mike Turquette
2014-02-14  0:10     ` Kukjin Kim
2014-02-14  0:10       ` Kukjin Kim
2014-02-14  0:17       ` Kukjin Kim
2014-02-14  0:17         ` Kukjin Kim
2014-02-14 10:41         ` Tomasz Figa
2014-02-14 10:41           ` Tomasz Figa
2014-02-14 11:14           ` Sachin Kamat
2014-02-14 11:14             ` Sachin Kamat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1389106060-20291-1-git-send-email-a.hajda@samsung.com \
    --to=a.hajda@samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kgene.kim@samsung.com \
    --cc=kyungmin.park@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=mturquette@linaro.org \
    --cc=t.figa@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.