diff mbox series

[1/2,v4] mtd: add DT bindings for the Intel IXP4xx Flash

Message ID 20191020230042.7364-1-linus.walleij@linaro.org
State Accepted
Commit 8b3cc926223be73bb2ab5f9465f157fc27e06eca
Headers show
Series [1/2,v4] mtd: add DT bindings for the Intel IXP4xx Flash | expand

Commit Message

Linus Walleij Oct. 20, 2019, 11 p.m. UTC
This adds device tree bindings for the Intel IXP4xx
flash controller, a simple physmap which however need a
specific big-endian or mixed-endian access pattern to the
memory.

Cc: devicetree@vger.kernel.org
Reviewed-by: Rob Herring <robh@kernel.org>

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
ChangeLog v3->v4:
- Rebase on v5.4-rc1
- Resend
ChangeLog v2->v3:
- Rebase on v5.1-rc1
- Resend
ChangeLog v1->v2:
- Collect Rob's Review tag.
---
 .../bindings/mtd/intel,ixp4xx-flash.txt       | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mtd/intel,ixp4xx-flash.txt

-- 
2.21.0

Comments

Miquel Raynal Oct. 30, 2019, 8:25 a.m. UTC | #1
On Sun, 2019-10-20 at 23:00:41 UTC, Linus Walleij wrote:
> This adds device tree bindings for the Intel IXP4xx

> flash controller, a simple physmap which however need a

> specific big-endian or mixed-endian access pattern to the

> memory.

> 

> Cc: devicetree@vger.kernel.org

> Reviewed-by: Rob Herring <robh@kernel.org>

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>


Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Miquel
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/mtd/intel,ixp4xx-flash.txt b/Documentation/devicetree/bindings/mtd/intel,ixp4xx-flash.txt
new file mode 100644
index 000000000000..4bdcb92ae381
--- /dev/null
+++ b/Documentation/devicetree/bindings/mtd/intel,ixp4xx-flash.txt
@@ -0,0 +1,22 @@ 
+Flash device on Intel IXP4xx SoC
+
+This flash is regular CFI compatible (Intel or AMD extended) flash chips with
+specific big-endian or mixed-endian memory access pattern.
+
+Required properties:
+- compatible : must be "intel,ixp4xx-flash", "cfi-flash";
+- reg : memory address for the flash chip
+- bank-width : width in bytes of flash interface, should be <2>
+
+For the rest of the properties, see mtd-physmap.txt.
+
+The device tree may optionally contain sub-nodes describing partitions of the
+address space. See partition.txt for more detail.
+
+Example:
+
+flash@50000000 {
+	compatible = "intel,ixp4xx-flash", "cfi-flash";
+	reg = <0x50000000 0x01000000>;
+	bank-width = <2>;
+};