dt-bindings: nvmem: fix tlv layout I2C eeprom example

Message ID 20240226021017.1470869-1-t.schramm@manjaro.org
State New
Headers
Series dt-bindings: nvmem: fix tlv layout I2C eeprom example |

Commit Message

Tobias Schramm Feb. 26, 2024, 2:10 a.m. UTC
  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(-)
  

Comments

Krzysztof Kozlowski Feb. 26, 2024, 7:17 a.m. UTC | #1
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
  

Patch

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>;