Skip to content

RFC Device Tree implementation for sh_flctl

Bastian Hecht linux-sh 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ARM: sh-mobile: Add sh_flctl to sh7372-mackerel device treearch/arm/boot/dts/sh7372-mackerel.dts+37 -00 replies
2/4mtd: sh_flctl: Add device tree supportdrivers/mtd/nand/sh_flctl.c+154 -10 replies
3/4Out-of-tree: sh_flctl: Add dirty hardware init codedrivers/mtd/nand/sh_flctl.c+52 -00 replies
4/4docs/mtd/nand/sh_flctl: Initial device tree binding specificationDocumentation/devicetree/bindings/mtd/rmobile-flctl.txt+58 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC DT style 0/4] Device Tree implementation for sh_flctl

This is a prototype implementation of a device tree version of the flctl flash controller. I thought before posting anything on the mtd list, I get a review first at the "arch corner". Patch 3 contains all the stuff I was unable to figure out where to put - gpio setup and power domain handling. The controller runs smooth with the series booting with DT. So my main concerns are:

- Do I miss anything important?
- naming style is ok?
- will patch 3 become completely unneccessary when DT support grows mature for
mackerel?
- how to handle the evt2irq transformation? Simply supply the result to the device tree? (I omitted irqs in my patches)

Thanks,

Bastian Hecht

Bastian Hecht (4):
ARM: sh-mobile: Add sh_flctl to sh7372-mackerel device tree
mtd: sh_flctl: Add device tree support
Out-of-tree: sh_flctl: Add dirty hardware init code
mtd: sh_flctl: Initial device tree binding specification

 .../devicetree/bindings/mtd/rmobile-flctl.txt      |   58 ++++++
 arch/arm/boot/dts/sh7372-mackerel.dts              |   36 ++++
 drivers/mtd/nand/sh_flctl.c                        |  207 +++++++++++++++++++-
 3 files changed, 300 insertions(+), 1 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mtd/rmobile-flctl.txt
Signature · 1 line
1.7.5.4