devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: eeprom: at25: add st,m95640 compatible
@ 2023-06-14 20:10 Rasmus Villemoes
  2023-06-15  7:52 ` Krzysztof Kozlowski
  2023-06-15 14:22 ` Rob Herring
  0 siblings, 2 replies; 3+ messages in thread
From: Rasmus Villemoes @ 2023-06-14 20:10 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Christian Eggers
  Cc: Rasmus Villemoes, devicetree, linux-kernel

The st,m95640 is a 64 Kbit SPI eeprom in the same family as the two
existing st,m95* compatibles.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
---

In case its relevant the data sheet is easily available from
https://www.st.com/en/memories/m95640-w.html . It seems odd they chose
right-pad with a 0, 640 instead of 064 (m02 means 2 Mbit, 256 means
256 Kbit, so there's some logic to that), but here we are.

 Documentation/devicetree/bindings/eeprom/at25.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/eeprom/at25.yaml b/Documentation/devicetree/bindings/eeprom/at25.yaml
index 11e2a95a7bcb..0e31bb36ebb1 100644
--- a/Documentation/devicetree/bindings/eeprom/at25.yaml
+++ b/Documentation/devicetree/bindings/eeprom/at25.yaml
@@ -33,6 +33,7 @@ properties:
               - microchip,25lc040
               - st,m95m02
               - st,m95256
+              - st,m95640
               - cypress,fm25
 
           - const: atmel,at25
-- 
2.37.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: eeprom: at25: add st,m95640 compatible
  2023-06-14 20:10 [PATCH] dt-bindings: eeprom: at25: add st,m95640 compatible Rasmus Villemoes
@ 2023-06-15  7:52 ` Krzysztof Kozlowski
  2023-06-15 14:22 ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-06-15  7:52 UTC (permalink / raw)
  To: Rasmus Villemoes, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Christian Eggers
  Cc: devicetree, linux-kernel

On 14/06/2023 22:10, Rasmus Villemoes wrote:
> The st,m95640 is a 64 Kbit SPI eeprom in the same family as the two
> existing st,m95* compatibles.
> 
> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
> ---
> 

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: eeprom: at25: add st,m95640 compatible
  2023-06-14 20:10 [PATCH] dt-bindings: eeprom: at25: add st,m95640 compatible Rasmus Villemoes
  2023-06-15  7:52 ` Krzysztof Kozlowski
@ 2023-06-15 14:22 ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2023-06-15 14:22 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: devicetree, Rob Herring, Christian Eggers, linux-kernel,
	Conor Dooley, Krzysztof Kozlowski


On Wed, 14 Jun 2023 22:10:56 +0200, Rasmus Villemoes wrote:
> The st,m95640 is a 64 Kbit SPI eeprom in the same family as the two
> existing st,m95* compatibles.
> 
> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
> ---
> 
> In case its relevant the data sheet is easily available from
> https://www.st.com/en/memories/m95640-w.html . It seems odd they chose
> right-pad with a 0, 640 instead of 064 (m02 means 2 Mbit, 256 means
> 256 Kbit, so there's some logic to that), but here we are.
> 
>  Documentation/devicetree/bindings/eeprom/at25.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Applied, thanks!


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-06-15 14:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-14 20:10 [PATCH] dt-bindings: eeprom: at25: add st,m95640 compatible Rasmus Villemoes
2023-06-15  7:52 ` Krzysztof Kozlowski
2023-06-15 14:22 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).