]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a034fcd68c0961843dcdbb27c9c6ddbfa748812
tree974ed16f4a2bd2d5c8f96824daa91187605112b0
parenta44459ae89a7b22278f7d0480036861f38047690
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