]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pinctrl: armada-37xx: Correct mpp definitions
authorMarek BehĂșn <marek.behun@nic.cz>
Fri, 21 Dec 2018 17:32:57 +0000 (18:32 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Jan 2019 08:53:47 +0000 (09:53 +0100)
commit823868fceae3bac07cf5eccb128d6916e7a5ae9d
tree87dfbff40a3856fe54aef986bee5439fe76a3e56
parentf05c07b05d67c578d2f11c04482d983dba7ebc9c
pinctrl: armada-37xx: Correct mpp definitions

This is a cleanup and fix of the patch by Ken Ma <make@marvell.com>.

Fix the mpp definitions according to newest revision of the
specification:
  - northbridge:
    fix pmic1 gpio number to 7
    fix pmic0 gpio number to 6
  - southbridge
    split pcie1 group bit mask to BIT(5) and  BIT(9)
    fix ptp group bit mask to BIT(11) | BIT(12) | BIT(13)
    add smi group with bit mask BIT(4)

[gregory: split the pcie group in 2, as at hardware level they can be
configured separately]
Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Tested-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/marvell,armada-37xx-pinctrl.txt
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c