memory: brcmstb_memc: Simplify compatible matching
authorFlorian Fainelli <florian.fainelli@broadcom.com>
Mon, 9 Jun 2025 21:23:56 +0000 (14:23 -0700)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 27 Jun 2025 05:47:49 +0000 (07:47 +0200)
commit0e3dd41a94b29d5d9973dac356ebd37f87bd8a37
treef97b50c1772c8ca0b7c6c843899967904c3ead2f
parent501be7cecec9aaf9cd52e76d0820efd6d0b952e7
memory: brcmstb_memc: Simplify compatible matching

Now that a "brcm,brcmstb-memc-ddr-rev-b.2.x" fallback compatible string
has been defined, we can greatly simplify the matching within the driver
to only look for that compatible string and nothing else.

The fallback "brcm,brcmstb-memc-ddr" is also updated to assume the V21
register layout since that is the most common nowadays.

Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/20250609212356.2264244-3-florian.fainelli@broadcom.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/memory/brcmstb_memc.c