Skip to content

RFC: marvell dreamplug dft support

Jason Cooper linux-arm-kernel linux-devicetree 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3RFC: arm/kirkwood: TEMP hack till mach-types is updated.arch/arm/tools/mach-types+1 -02 replies
1/3arm: ignore devicetree blobs.arch/arm/boot/.gitignore+1 -03 replies
1/3arm: ignore devicetree blobs.+0 -00 replies
2/3RFC: arm/kirkwood: add dreamplug support.arch/arm/mach-kirkwood/Kconfig arch/arm/mach-kirkwood/Makefile arch/arm/mach-kirkwood/dreamplug-setup.c+151 -03 replies
3/3RFC: arm: kirkwood: dreamplug fdt supportarch/arm/boot/dts/kirkwood-dreamplug.dts arch/arm/mach-kirkwood/Kconfig arch/arm/mach-kirkwood/Makefile.boot +1 more+81 -60 replies
3/3arm: kirkwood: convert uart0 to devicetree.arch/arm/boot/dts/kirkwood.dtsi arch/arm/mach-kirkwood/board-dt.c+8 -21 reply
3/3arm: kirkwood: convert uart0 to devicetree.+0 -00 replies

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchArnd BergmannNicolas PitreIan Campbell
SeriesA-b A-b T-b
1/3A-b
1/3A-b
1/3A-b
2/3
3/3
3/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH 0/3 v2] RFC: marvell dreamplug dft support

All,

First, a warning. Do not apply the last patch in the series! It has no hope of compiling. I'm trying to learn how to add board support to the Linux kernel _and_ now trying to learn how to do it using devicetree.

In short, I'm lost. ;-) Any and all help appreciated.

In my sad attempt to add devicetree support, I used arch/arm/mach-kirkwood/include/mach/kirkwood.h to stub out the addresses. It's my understanding that most peripherals on this SoC are register-based. So, I haven't added external-bus{...}; yet.

Based on kirkwood.h, there doesn't seem to be any obvious register size definition, should I omit that all around in my devicetree?

I'm guessing at a lot of the compatible="" properties, I simply chose the .name string I found in the respective code. Is this correct?

I see nothing obvious to indicate an irq handler similar to that mentioned in [1]. Any thoughts? I found the irq table, just no way to use it.

Also, I'll rename dreamplug-setup.c -> dreamplug-dt.c once I have something working.

[1] has been a great help, thanks Grant!

thx,

Jason.

[1] http://devicetree.org/Device_Tree_Usage

Jason Cooper (3):
arm/kirkwood: TEMP hack till mach-types is updated. arm/kirkwood: add dreamplug support.
arm: kirkwood: dreamplug fdt support

 arch/arm/boot/dts/kirkwood-dreamplug.dts |   64 +++++++++++++
 arch/arm/mach-kirkwood/Kconfig           |    8 ++
 arch/arm/mach-kirkwood/Makefile          |    1 +
 arch/arm/mach-kirkwood/Makefile.boot     |    2 +
 arch/arm/mach-kirkwood/dreamplug-setup.c |  151 ++++++++++++++++++++++++++++++
 arch/arm/tools/mach-types                |    1 +
 6 files changed, 227 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/boot/dts/kirkwood-dreamplug.dts
 create mode 100644 arch/arm/mach-kirkwood/dreamplug-setup.c