linux/drivers/soc/mediatek
John Crispin 25269cefb6 soc: mediatek: PMIC wrap: remove pwrap_is_mt8135() and pwrap_is_mt8173()
With more SoCs being added the list of helper functions like these would
grow. To mitigate this problem we remove the existing helpers and change
the code to test against the pmic type stored inside the pmic specific
datastructure that our context structure points at. There is one usage of
pwrap_is_mt8135() that is ambiguous as the test should not be dependent on
mt8135, but rather on the existence of a bridge. Add a new element to
pmic_wrapper_type to indicate if a bridge is present and use this where
appropriate.

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2016-04-20 13:03:04 +02:00
..
Kconfig soc: Mediatek: Enable SCPSYS power domain driver by default 2015-11-24 10:15:38 -08:00
Makefile soc: Mediatek: Add SCPSYS power domain driver 2015-07-06 18:36:32 +02:00
mtk-infracfg.c soc: mediatek: Add infracfg misc driver support 2015-07-06 18:36:31 +02:00
mtk-pmic-wrap.c soc: mediatek: PMIC wrap: remove pwrap_is_mt8135() and pwrap_is_mt8173() 2016-04-20 13:03:04 +02:00
mtk-scpsys.c soc: mediatek: SCPSYS: Fix double enabling of regulators 2016-02-01 11:28:07 +01:00