2024-02-26 02:11:28

by Tobias Schramm

[permalink] [raw]
Subject: [PATCH] dt-bindings: nvmem: fix tlv layout I2C eeprom example

24Cxx eeproms are I2C devices, not SPI.

Signed-off-by: Tobias Schramm <[email protected]>
---
.../devicetree/bindings/nvmem/layouts/onie,tlv-layout.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/nvmem/layouts/onie,tlv-layout.yaml b/Documentation/devicetree/bindings/nvmem/layouts/onie,tlv-layout.yaml
index ee8ac322332d..4c981935f76b 100644
--- a/Documentation/devicetree/bindings/nvmem/layouts/onie,tlv-layout.yaml
+++ b/Documentation/devicetree/bindings/nvmem/layouts/onie,tlv-layout.yaml
@@ -104,7 +104,7 @@ additionalProperties: false

examples:
- |
- spi {
+ i2c {
#address-cells = <1>;
#size-cells = <0>;

--
2.43.2



2024-02-26 07:17:32

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: nvmem: fix tlv layout I2C eeprom example

On 26/02/2024 03:10, Tobias Schramm wrote:
> 24Cxx eeproms are I2C devices, not SPI.
>
> Signed-off-by: Tobias Schramm <[email protected]>
> ---

Acked-by: Krzysztof Kozlowski <[email protected]>

Best regards,
Krzysztof