memory: mtk-smi: Add support for MT6795 Helio X10
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 18 May 2022 09:10:38 +0000 (11:10 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 6 Jun 2022 09:11:50 +0000 (11:11 +0200)
commit0d97f2176dec9c1e070215c4e28ba87e036458c9
tree974ed16f4a2bd2d5c8f96824daa91187605112b0
parenta24394059a1bde7c630352827543d50034f03180
memory: mtk-smi: Add support for MT6795 Helio X10

The MediaTek Helio X10 (MT6795) SoC has 5 LARBs and one common SMI
instance without any sub-common and without GALS.

While the smi-common configuration is specific to this SoC, on the
LARB side, this is similar to MT8173, in the sense that it doesn't
need the port in LARB, and the register layout is also compatible
with that one, which makes us able to fully reuse the smi-larb
platform data struct that was introduced for MT8173.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Reviewed-by: Yong Wu <yong.wu@mediatek.com>
Link: https://lore.kernel.org/r/20220518091038.22380-3-angelogioacchino.delregno@collabora.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/memory/mtk-smi.c