827-v6.3-0003-of-property-add-nvmem-cell-cells-property.patch 1.3 KB

123456789101112131415161718192021222324252627282930
  1. From e2d8172043d2e50df19fcd59c11e5593de8188d7 Mon Sep 17 00:00:00 2001
  2. From: Michael Walle <[email protected]>
  3. Date: Mon, 6 Feb 2023 13:43:45 +0000
  4. Subject: [PATCH] of: property: add #nvmem-cell-cells property
  5. Bindings describe the new '#nvmem-cell-cells' property. Now that the
  6. arguments count property is optional, we just add this property to the
  7. nvmem-cells.
  8. Signed-off-by: Michael Walle <[email protected]>
  9. Tested-by: Miquel Raynal <[email protected]>
  10. Reviewed-by: Rob Herring <[email protected]>
  11. Signed-off-by: Srinivas Kandagatla <[email protected]>
  12. Link: https://lore.kernel.org/r/[email protected]
  13. Signed-off-by: Greg Kroah-Hartman <[email protected]>
  14. ---
  15. drivers/of/property.c | 2 +-
  16. 1 file changed, 1 insertion(+), 1 deletion(-)
  17. --- a/drivers/of/property.c
  18. +++ b/drivers/of/property.c
  19. @@ -1251,7 +1251,7 @@ DEFINE_SIMPLE_PROP(dmas, "dmas", "#dma-c
  20. DEFINE_SIMPLE_PROP(power_domains, "power-domains", "#power-domain-cells")
  21. DEFINE_SIMPLE_PROP(hwlocks, "hwlocks", "#hwlock-cells")
  22. DEFINE_SIMPLE_PROP(extcon, "extcon", NULL)
  23. -DEFINE_SIMPLE_PROP(nvmem_cells, "nvmem-cells", NULL)
  24. +DEFINE_SIMPLE_PROP(nvmem_cells, "nvmem-cells", "#nvmem-cell-cells")
  25. DEFINE_SIMPLE_PROP(phys, "phys", "#phy-cells")
  26. DEFINE_SIMPLE_PROP(wakeup_parent, "wakeup-parent", NULL)
  27. DEFINE_SIMPLE_PROP(pinctrl0, "pinctrl-0", NULL)