[PATCH v3 0/6] Migrate PXA27x platforms to clock framework
Robert Jarzmik
robert.jarzmik at free.fr
Wed Jul 30 13:50:58 PDT 2014
This is the third opus of this serie.
>From the previous one :
- the boot ordering was fixed
For DT, we rely on time_init() in arch/arm
For non-DT, we keep the postcore_init() until all 3 PXA variants are
converted, and meanwhile I'll discuss with Haojian where to call directly the
clocks init function.
- the section mismatches were fixed
A split is done between CKEN clock descriptor and CKEN clock structure
The result was tested with a Mitac MIO A701 :
- with the upstream platform-data based machine code
- with the device-tree version
As for the patches, if they are carried fully by Mike, I think there will be a
minor conflict in arch/arm/mach-pxa/Makefile with the clocksource patches I
submitted earlier.
As before, the goal remains the same :
- keeping legacy platforms working (ie. without device-tree)
- enable PXA27x to work with a device-tree kernel, and hence
open the way to drivers conversion
- be robust enough to support pxa25x and pxa3xx later inclusion
with almost no change to clk-pxa-dt.c.
Robert Jarzmik (6):
clk: add pxa clocks infrastructure
clk: dts: document pxa clock binding
arm: pxa: add clock pll selection bits
clk: add pxa27x clock drivers
dts: add devicetree bindings for pxa27x clocks
arm: pxa: Transition pxa27x to clk framework
.../devicetree/bindings/clock/pxa-clock.txt | 16 +
arch/arm/Kconfig | 1 +
arch/arm/boot/dts/pxa27x.dtsi | 20 +-
arch/arm/mach-pxa/Makefile | 8 +-
arch/arm/mach-pxa/include/mach/pxa2xx-regs.h | 10 +
arch/arm/mach-pxa/pxa27x.c | 186 +----------
drivers/clk/Makefile | 1 +
drivers/clk/pxa/Makefile | 2 +
drivers/clk/pxa/clk-pxa.c | 97 ++++++
drivers/clk/pxa/clk-pxa.h | 107 ++++++
drivers/clk/pxa/clk-pxa27x.c | 370 +++++++++++++++++++++
include/dt-bindings/clock/pxa-clock.h | 77 +++++
12 files changed, 716 insertions(+), 179 deletions(-)
create mode 100644 Documentation/devicetree/bindings/clock/pxa-clock.txt
create mode 100644 drivers/clk/pxa/Makefile
create mode 100644 drivers/clk/pxa/clk-pxa.c
create mode 100644 drivers/clk/pxa/clk-pxa.h
create mode 100644 drivers/clk/pxa/clk-pxa27x.c
create mode 100644 include/dt-bindings/clock/pxa-clock.h
--
2.0.0.rc2
More information about the linux-arm-kernel
mailing list