lkml.org 
[lkml]   [2021]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/3] nvmem: eeprom: add documentation for FRAM
Date
Added dt binding documentation.

Signed-off-by: Jiri Prchal <jiri.prchal@aksignal.cz>
---
Documentation/devicetree/bindings/eeprom/at25.yaml | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/eeprom/at25.yaml b/Documentation/devicetree/bindings/eeprom/at25.yaml
index 121a601db22e..f9191b67080d 100644
--- a/Documentation/devicetree/bindings/eeprom/at25.yaml
+++ b/Documentation/devicetree/bindings/eeprom/at25.yaml
@@ -4,7 +4,7 @@
$id: "http://devicetree.org/schemas/eeprom/at25.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"

-title: SPI EEPROMs compatible with Atmel's AT25
+title: SPI EEPROMs or FRAMs compatible with Atmel's AT25

maintainers:
- Christian Eggers <ceggers@arri.de>
@@ -31,6 +31,7 @@ properties:
- microchip,25lc040
- st,m95m02
- st,m95256
+ - cypress,fm25

- const: atmel,at25

@@ -48,7 +49,7 @@ properties:
$ref: /schemas/types.yaml#/definitions/uint32
enum: [1, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072]
description:
- Size of the eeprom page.
+ Size of the eeprom page. FRAMs don't have pages.

size:
$ref: /schemas/types.yaml#/definitions/uint32
@@ -101,6 +102,7 @@ required:
- compatible
- reg
- spi-max-frequency
+ # these are for eeproms only
- pagesize
- size
- address-width
@@ -127,3 +129,9 @@ examples:
address-width = <16>;
};
};
+
+ fram@1 {
+ compatible = "cypress,fm25";
+ reg = <1>;
+ spi-max-frequency = <40000000>;
+ };
--
2.25.1
\
 
 \ /
  Last update: 2021-04-09 17:55    [W:0.060 / U:2.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site