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

Tobias Schramm posted 1 patch 1 year, 11 months ago
.../devicetree/bindings/nvmem/layouts/onie,tlv-layout.yaml      | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] dt-bindings: nvmem: fix tlv layout I2C eeprom example
Posted by Tobias Schramm 1 year, 11 months ago
24Cxx eeproms are I2C devices, not SPI.

Signed-off-by: Tobias Schramm <t.schramm@manjaro.org>
---
 .../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
Re: [PATCH] dt-bindings: nvmem: fix tlv layout I2C eeprom example
Posted by Krzysztof Kozlowski 1 year, 11 months ago
On 26/02/2024 03:10, Tobias Schramm wrote:
> 24Cxx eeproms are I2C devices, not SPI.
> 
> Signed-off-by: Tobias Schramm <t.schramm@manjaro.org>
> ---

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

Best regards,
Krzysztof