[PATCH 00/12] clk/exynos convert clock IDs to macros
Andrzej Hajda
a.hajda at samsung.com
Thu Sep 5 08:36:18 EDT 2013
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 patchset 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.
Btw I have spotted and 'error' in bindings/clock/exynos5250-clock.txt.
Example is syntactically correct, but it contains obviously incorect
clock bindings. Separate patch can be created to 'fix' it if needed.
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 | 91 +--
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 | 231 ++++++
include/dt-bindings/clock/exynos5250.h | 144 ++++
include/dt-bindings/clock/exynos5420.h | 175 +++++
include/dt-bindings/clock/exynos5440.h | 29 +
19 files changed, 1681 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
More information about the linux-arm-kernel
mailing list