Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1397483648-26611-8-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>

authored by

Thomas Petazzoni and committed by
Jason Cooper
b4bca249 87384cc0

+7 -3
+6 -3
Documentation/devicetree/bindings/arm/armada-370-xp-pmsu.txt
··· 1 1 Power Management Service Unit(PMSU) 2 2 ----------------------------------- 3 - Available on Marvell SOCs: Armada 370 and Armada XP 3 + Available on Marvell SOCs: Armada 370, Armada 38x and Armada XP 4 4 5 5 Required properties: 6 6 7 - - compatible: should be "marvell,armada-370-pmsu", whereas 8 - "marvell,armada-370-xp-pmsu" is deprecated and will be removed 7 + - compatible: should be one of: 8 + - "marvell,armada-370-pmsu" for Armada 370 or Armada XP 9 + - "marvell,armada-380-pmsu" for Armada 38x 10 + - "marvell,armada-370-xp-pmsu" was used for Armada 370/XP but is now 11 + deprecated and will be removed 9 12 10 13 - reg: Should contain PMSU registers location and length. 11 14
+1
arch/arm/mach-mvebu/pmsu.c
··· 38 38 static struct of_device_id of_pmsu_table[] = { 39 39 { .compatible = "marvell,armada-370-pmsu", }, 40 40 { .compatible = "marvell,armada-370-xp-pmsu", }, 41 + { .compatible = "marvell,armada-380-pmsu", }, 41 42 { /* end of list */ }, 42 43 }; 43 44