diff mbox

[v9,2/6] dt-bindings: Add bindings for SPI NAND devices

Message ID 20180622122828.12939-3-boris.brezillon@bootlin.com (mailing list archive)
State New, archived
Headers show

Commit Message

Boris Brezillon June 22, 2018, 12:28 p.m. UTC
Add bindings for SPI NAND chips.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
---
Changes in v9:
- Do not describe generic SPI device properties, and more importantly
  do not change their meaning

Changes in v8:
- Fixed a typo in the commit message
---
 Documentation/devicetree/bindings/mtd/spi-nand.txt | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mtd/spi-nand.txt

Comments

Rob Herring (Arm) June 25, 2018, 2:45 p.m. UTC | #1
On Fri, Jun 22, 2018 at 02:28:24PM +0200, Boris Brezillon wrote:
> Add bindings for SPI NAND chips.
> 
> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
> ---
> Changes in v9:
> - Do not describe generic SPI device properties, and more importantly
>   do not change their meaning
> 
> Changes in v8:
> - Fixed a typo in the commit message
> ---
>  Documentation/devicetree/bindings/mtd/spi-nand.txt | 5 +++++
>  1 file changed, 5 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/mtd/spi-nand.txt

Reviewed-by: Rob Herring <robh@kernel.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/mtd/spi-nand.txt b/Documentation/devicetree/bindings/mtd/spi-nand.txt
new file mode 100644
index 000000000000..8b51f3b6d55c
--- /dev/null
+++ b/Documentation/devicetree/bindings/mtd/spi-nand.txt
@@ -0,0 +1,5 @@ 
+SPI NAND flash
+
+Required properties:
+- compatible: should be "spi-nand"
+- reg: should encode the chip-select line used to access the NAND chip