Commit b4bca249 authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Jason Cooper

ARM: mvebu: add Armada 38x compatible string to pmsu

Since the Armada 38x PMSU registers are slightly different than the
Armada 370/XP PMSU ones, we introduce a new compatible string
"armada-380-pmsu" in the PMSU driver. These differences are not
visible for the current usage of the PMSU, but they might become
visible in the future.
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1397483648-26611-8-git-send-email-thomas.petazzoni@free-electrons.comSigned-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent 87384cc0
Power Management Service Unit(PMSU) Power Management Service Unit(PMSU)
----------------------------------- -----------------------------------
Available on Marvell SOCs: Armada 370 and Armada XP Available on Marvell SOCs: Armada 370, Armada 38x and Armada XP
Required properties: Required properties:
- compatible: should be "marvell,armada-370-pmsu", whereas - compatible: should be one of:
"marvell,armada-370-xp-pmsu" is deprecated and will be removed - "marvell,armada-370-pmsu" for Armada 370 or Armada XP
- "marvell,armada-380-pmsu" for Armada 38x
- "marvell,armada-370-xp-pmsu" was used for Armada 370/XP but is now
deprecated and will be removed
- reg: Should contain PMSU registers location and length. - reg: Should contain PMSU registers location and length.
......
...@@ -38,6 +38,7 @@ static void __iomem *pmsu_mp_base; ...@@ -38,6 +38,7 @@ static void __iomem *pmsu_mp_base;
static struct of_device_id of_pmsu_table[] = { static struct of_device_id of_pmsu_table[] = {
{ .compatible = "marvell,armada-370-pmsu", }, { .compatible = "marvell,armada-370-pmsu", },
{ .compatible = "marvell,armada-370-xp-pmsu", }, { .compatible = "marvell,armada-370-xp-pmsu", },
{ .compatible = "marvell,armada-380-pmsu", },
{ /* end of list */ }, { /* end of list */ },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment