]> git.baikalelectronics.ru Git - kernel.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)
commita48ee721fd1987d919e39ae1bf5622ede45a8066
tree87dfbff40a3856fe54aef986bee5439fe76a3e56
parentbab17b5811acda12c5cafb2b99862002ec804475
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