cpufreq: dt: Don't create platform-device from platform code
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 2 repliesIn review
- v18 patches 12 repliesSuperseded
Changes in v2 from the cover letter
- Acks from Arnd for all the patches and from few other maintainers
- Finley sent his patch for rockchip 2 minutes before I sent mine :), and so I picked his patch instead of mine.
- First patch is new based on suggestions from Geert.
- Arnd suggested to get rid of a init routine in imx patch, that's done as well.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | cpufreq: dt: Mark platdev machines array as __initconstdrivers/ | +1 | 0 replies | |
| 2/9 | cpufreq: berlin: Use generic platdev driverarch/ drivers/ | +2 | 0 replies | |
| 3/9 | cpufreq: imx: Use generic platdev driverarch/ arch/ arch/ +2 more | +5 | 0 replies | |
| 4/9 | cpufreq: omap: Use generic platdev driverarch/ drivers/ | +7 | 0 replies | |
| 5/9 | cpufreq: rockchip: Use generic platdev driverarch/ drivers/ | +11 | 1 reply | |
| 6/9 | cpufreq: shmobile: Use generic platdev driverarch/ arch/ arch/ +1 more | +12 | 0 replies | |
| 7/9 | cpufreq: sunxi: Use generic platdev driverarch/ drivers/ | +12 | 0 replies | |
| 8/9 | cpufreq: zynq: Use generic platdev driverarch/ drivers/ | +2 | 0 replies | |
| 9/9 | cpufreq: hisilicon: Use generic platdev driverdrivers/ drivers/ drivers/ +1 more | +2 | 0 replies |
Reviews trailers per patch
8 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Antoine Tenart | Arnd Bergmann | Lucas Stach | Viresh Kumar | Heiko Stuebner |
|---|---|---|---|---|---|
| 1/9 | |||||
| 2/9 | A-b | A-b | |||
| 3/9 | A-b | A-b | |||
| 4/9 | A-b | ||||
| 5/9 | A-b | A-b | R-b | ||
| 6/9 | A-b | ||||
| 7/9 | A-b | ||||
| 8/9 | A-b | ||||
| 9/9 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH V2 0/9] cpufreq: dt: Don't create platform-device from platform code
Hi Rafael,
This migrates rest of the platforms to use cpufreq-dt-platdev.c. There are few exceptions though:
- mvebu: it uses platform data and its problem will be solved in a separate series.
- highbank, s5pv210, sti, tegra124: these platforms already have cpufreq drivers in drivers/cpufreq/, which does some other stuff and finally create the device. There are sequencing issues, and so they will be left as it is.
V1->V2:
- Acks from Arnd for all the patches and from few other maintainers
- Finley sent his patch for rockchip 2 minutes before I sent mine :), and so I picked his patch instead of mine.
- First patch is new based on suggestions from Geert.
- Arnd suggested to get rid of a init routine in imx patch, that's done as well.
I think we can push this series now that its been Acked by Arnd..
Finley Xiao (1):
cpufreq: rockchip: Use generic platdev driver
Viresh Kumar (8):
cpufreq: dt: Mark platdev machines array as __initconst
cpufreq: berlin: Use generic platdev driver
cpufreq: imx: Use generic platdev driver
cpufreq: omap: Use generic platdev driver
cpufreq: shmobile: Use generic platdev driver
cpufreq: sunxi: Use generic platdev driver
cpufreq: zynq: Use generic platdev driver
cpufreq: hisilicon: Use generic platdev driver
arch/arm/mach-berlin/berlin.c | 6 ---- arch/arm/mach-imx/imx27-dt.c | 10 ------- arch/arm/mach-imx/mach-imx51.c | 3 -- arch/arm/mach-imx/mach-imx53.c | 2 -- arch/arm/mach-imx/mach-imx7d.c | 6 ---- arch/arm/mach-omap2/pm.c | 7 ++--- arch/arm/mach-rockchip/rockchip.c | 1 - arch/arm/mach-shmobile/Makefile | 1 - arch/arm/mach-shmobile/common.h | 7 ----- arch/arm/mach-shmobile/cpufreq.c | 19 ------------- arch/arm/mach-sunxi/sunxi.c | 9 ------ arch/arm/mach-zynq/common.c | 2 -- drivers/cpufreq/Kconfig.arm | 9 ------ drivers/cpufreq/Makefile | 1 - drivers/cpufreq/cpufreq-dt-platdev.c | 53 +++++++++++++++++++++++++++++++++++- drivers/cpufreq/hisi-acpu-cpufreq.c | 42 ---------------------------- 16 files changed, 54 insertions(+), 124 deletions(-) delete mode 100644 arch/arm/mach-shmobile/cpufreq.c delete mode 100644 drivers/cpufreq/hisi-acpu-cpufreq.c
Signature · 1 line
2.7.1.410.g6faf27b