mvebu: pinctrl: apply SDHCI PHY config for A7K
authorKonstantin Porotchkin <kostap@marvell.com>
Mon, 25 Jul 2022 12:13:02 +0000 (14:13 +0200)
committerStefan Roese <sr@denx.de>
Fri, 29 Jul 2022 08:02:43 +0000 (10:02 +0200)
commitef6fcab85f2f924f44f9a504302343bf248ab2fe
tree8afc247dc662f7e15a9785b0442d776f3a809054
parente34d8afd7219b7c2b8e7bf83225d09f79fd3f0b0
mvebu: pinctrl: apply SDHCI PHY config for A7K

Current pin control driver applies SDHCI PHY MUX selection
when board DT calls for eMMC function on MPP wires.
However, for CP side eMMC, only the "armada-8k-cpm-pinctrl"
compatibility string is taken into account, which causes
CP-SDHCI on Armada-7K boards to fail.
This patch adds "armada-7k-pinctrl" compatibility string
handling for the CP-SDHCI PHY configuration case.

Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Reviewed-by: Igal Liberman <igall@marvell.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/pinctrl/mvebu/pinctrl-mvebu.c