Skip to contentSkip to conversation

ARM: shmobile: r8a7740 and Armadillo cleanup

PATCH In review Magnus Damm 3 participants 3 messages Aug 28, 2014 – Aug 29, 2014 SuperH

lore
Share & tools
lore
#0 lore raw

cover ARM: shmobile: r8a7740 and Armadillo cleanup

ARM: shmobile: r8a7740 and Armadillo cleanup

[PATCH 01/05] ARM: shmobile: armadillo800eva: Sync DTS
[PATCH 02/05] ARM: shmobile: armadillo800eva: Build DTS for multiplatform [PATCH 03/05] ARM: shmobile: r8a7740: Add restart callback [PATCH 04/05] ARM: shmobile: armadillo800eva reference: Remove C board code [PATCH 05/05] ARM: shmobile: armadillo800eva reference: Remove DTS

This patch series cleans up the Armadillo board support by removing the DT reference implementation. To not lose functionality the reset handling code is moved from (incorrect) board specific location to the r8a7740 SoC code.

With this patch series applied the "DT Reference" case is now replaced by r8a7740 Multiplatform using the same DTS/DTB as the r8a7740 legacy case.

---

Built on top of renesas-devel-20140827-v3.17-rc2

 arch/arm/boot/dts/Makefile                               |    2 
 arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts  |  300 --------------
 arch/arm/boot/dts/r8a7740-armadillo800eva.dts            |  276 ++++++++++++
 arch/arm/mach-shmobile/Kconfig                           |   15 
 arch/arm/mach-shmobile/Makefile                          |    1 
 arch/arm/mach-shmobile/Makefile.boot                     |    1 
 arch/arm/mach-shmobile/board-armadillo800eva-reference.c |  199 ---------
 arch/arm/mach-shmobile/setup-r8a7740.c                   |    8 
 8 files changed, 284 insertions(+), 518 deletions(-)
Tested-by on the v1 series
#1 lore raw

Hi Magnus,

Quoted 13 lines · Magnus Damm

ARM: shmobile: r8a7740 and Armadillo cleanup

[PATCH 01/05] ARM: shmobile: armadillo800eva: Sync DTS
[PATCH 02/05] ARM: shmobile: armadillo800eva: Build DTS for multiplatform [PATCH 03/05] ARM: shmobile: r8a7740: Add restart callback [PATCH 04/05] ARM: shmobile: armadillo800eva reference: Remove C board code [PATCH 05/05] ARM: shmobile: armadillo800eva reference: Remove DTS

This patch series cleans up the Armadillo board support by removing the DT reference implementation. To not lose functionality the reset handling code is moved from (incorrect) board specific location to the r8a7740 SoC code.

Quoted 5 lines

With this patch series applied the "DT Reference" case is now replaced by r8a7740 Multiplatform using the same DTS/DTB as the r8a7740 legacy case.

Thanks, works fine!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#2 lore raw
In reply to Magnus Damm
Quoted 20 lines · Geert Uytterhoeven

Hi Magnus,

Quoted 17 lines · Magnus Damm

ARM: shmobile: r8a7740 and Armadillo cleanup

[PATCH 01/05] ARM: shmobile: armadillo800eva: Sync DTS
[PATCH 02/05] ARM: shmobile: armadillo800eva: Build DTS for multiplatform [PATCH 03/05] ARM: shmobile: r8a7740: Add restart callback [PATCH 04/05] ARM: shmobile: armadillo800eva reference: Remove C board code [PATCH 05/05] ARM: shmobile: armadillo800eva reference: Remove DTS

This patch series cleans up the Armadillo board support by removing the DT reference implementation. To not lose functionality the reset handling code is moved from (incorrect) board specific location to the r8a7740 SoC code.

With this patch series applied the "DT Reference" case is now replaced by r8a7740 Multiplatform using the same DTS/DTB as the r8a7740 legacy case.

Quoted 5 lines
Quoted 1 line

Thanks, works fine!

Thanks. I have tentatively queued this up.

I got some push back from Olof [CCed] about putting cleanups on top of development when sending pull-requests for v3.17. This series falls into the same category: cleaning up board and related files on top of changes to initialise devices using DT.

Olof, ideally I'd like this to go into v3.18.
Let me know if you have preference to delay it.