m68k: coldfire: proof-of-concept devicetree
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | serial: mcf: convert to use proper platform resourcesarch/ arch/ drivers/ | +218 | 0 replies | |
| 2/13 | serial: mcf: add devicetree supportdrivers/ | +12 | 0 replies | |
| 3/13 | net: fec: add device tree support for ColdFire FECDocumentation/ drivers/ | +6 | 2 replies | |
| 4/13 | m68k: coldfire: enable common clock frameworkarch/ arch/ | +7 | 0 replies | |
| 5/13 | m68k: coldfire: support devicetree binding for intc-simrarch/ | +52 | 0 replies | |
| 6/13 | m68k: coldfire: support devicetree binding for intc controllerarch/ | +43 | 0 replies | |
| 7/13 | m68k: coldfire: support devicetree binding for intc-2 controllerarch/ | +49 | 0 replies | |
| 8/13 | m68k: coldfire: add devicetree for mcf5208-evb platformarch/ arch/ | +61 | 0 replies | |
| 9/13 | m68k: coldfire: add devicetree for mcf5475-evb platformarch/ arch/ | +56 | 4 replies | |
| 10/13 | m68k: implement an embedded devicetree for nonmmuarch/ arch/ arch/ +2 more | +73 | 2 replies | |
| 11/13 | m68k: implement an embedded devicetree for mm targetsarch/ arch/ | +43 | 0 replies | |
| 12/13 | m68k: coldfire: disable platform device tree entriesarch/ | +4 | 0 replies | |
| 13/13 | m68k: coldfire: enable devicetree usearch/ arch/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/13] m68k: coldfire: proof-of-concept devicetree
Proof of Concept only - not for merging.
The following patch set is a minimal conversion of two ColdFire platforms from using the legacy style platform device configuration to using a devicetree. The two platform types supported here are one each of a full MMU target (M5475EVB) and nommu (M5208EVB).
It takes a few short cuts (that is hacks) to prove it is possible and show how it can be done. The problems and more work required include:
. proper conversion to use clock framework
. proper resource setup for interrupt controllers
. conversion of more ColdFire peripherals to use devicetree . cleanup of changes for sending to appropriate lists/maintainers
Signed-off-by Greg Ungerer <[email protected]>
--- arch/m68k/Kconfig.cpu | 1 arch/m68k/boot/dts/Makefile | 1 arch/m68k/coldfire/device.c | 4 b/Documentation/devicetree/bindings/net/fsl,fec.yaml | 1 b/arch/m68k/Kconfig | 2 b/arch/m68k/Kconfig.cpu | 2 b/arch/m68k/Kconfig.devices | 11 b/arch/m68k/boot/dts/Makefile | 4 b/arch/m68k/boot/dts/mcf5208evb.dts | 57 ++++ b/arch/m68k/boot/dts/mcf5475evb.dts | 55 ++++ b/arch/m68k/coldfire/clk.c | 8 b/arch/m68k/coldfire/device.c | 221 ++++++++++++++++--- b/arch/m68k/coldfire/intc-2.c | 59 ++++- b/arch/m68k/coldfire/intc-simr.c | 61 ++++- b/arch/m68k/coldfire/intc.c | 50 +++- b/arch/m68k/include/asm/mcfuart.h | 12 - b/arch/m68k/kernel/Makefile | 1 b/arch/m68k/kernel/embedded_dtb.S | 19 + b/arch/m68k/kernel/setup_mm.c | 33 ++ b/arch/m68k/kernel/setup_no.c | 33 ++ b/arch/m68k/kernel/vmlinux-nommu.lds | 9 b/arch/m68k/kernel/vmlinux-std.lds | 10 b/drivers/net/ethernet/freescale/fec_main.c | 5 b/drivers/tty/serial/mcf.c | 49 ++-- drivers/tty/serial/mcf.c | 12 + 25 files changed, 627 insertions(+), 93 deletions(-)