Merge tag 'memory-controller-drv-pl353-5.14' of https://git.kernel.org/pub/scm/linux...
authorOlof Johansson <olof@lixom.net>
Sat, 12 Jun 2021 15:53:04 +0000 (08:53 -0700)
committerOlof Johansson <olof@lixom.net>
Sat, 12 Jun 2021 15:53:06 +0000 (08:53 -0700)
Memory controller drivers for v5.14 - PL353

Bigger work around ARM Primecell PL35x SMC memory controller driver by
Miquel Raynal built on previous series from Naga Sureshkumar Relli.

This includes bindings cleanup and correction, converting these to
dtschema and several cleanyps in pl353-smc driver.

* tag 'memory-controller-drv-pl353-5.14' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl:
  dt-binding: memory: pl353-smc: Convert to yaml
  MAINTAINERS: Add PL353 SMC entry
  memory: pl353-smc: Declare variables following a reverse christmas tree order
  memory: pl353-smc: Avoid useless acronyms in descriptions
  memory: pl353-smc: Let lower level controller drivers handle inits
  memory: pl353-smc: Rename goto labels
  memory: pl353-smc: Fix style
  dt-binding: memory: pl353-smc: Fix the NAND controller node in the example
  dt-binding: memory: pl353-smc: Drop unsupported nodes from the example
  dt-binding: memory: pl353-smc: Fix the example syntax and style
  dt-binding: memory: pl353-smc: Describe the child reg property
  dt-binding: memory: pl353-smc: Drop the partitioning section
  dt-binding: memory: pl353-smc: Document the range property
  dt-binding: memory: pl353-smc: Rephrase the binding

Link: https://lore.kernel.org/r/20210611140659.61980-2-krzysztof.kozlowski@canonical.com
Signed-off-by: Olof Johansson <olof@lixom.net>
1  2 
MAINTAINERS
drivers/memory/pl353-smc.c

diff --cc MAINTAINERS
Simple merge
@@@ -407,14 -116,10 +116,11 @@@ static int pl353_smc_probe(struct amba_
                break;
        }
        if (!match) {
 +              err = -ENODEV;
                dev_err(&adev->dev, "no matching children\n");
-               goto out_clk_disable;
+               goto disable_mem_clk;
        }
  
-       init = match->data;
-       if (init)
-               init(adev, child);
        of_platform_device_create(child, NULL, &adev->dev);
  
        return 0;