]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: mvebu: change compatible string for PWM support
authorRalph Sennhauser <ralph.sennhauser@gmail.com>
Thu, 1 Jun 2017 20:08:20 +0000 (22:08 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 20 Jun 2017 11:42:20 +0000 (13:42 +0200)
commit672af3c5ab832b03aacc0966128bbe3e0cb67c46
tree96f77be940a3fb94fade9464ff40805ac3330175
parente7de6d66fee4e75d42fc7d1cb785ba58edc08443
gpio: mvebu: change compatible string for PWM support

As it turns out more than just Armada 370 and XP support using GPIO
lines as PWM lines. For example the Armada 38x family has the same
hardware support. As such "marvell,armada-370-xp-gpio" for the
compatible string is a misnomer.

Change the compatible string to "marvell,armada-370-gpio" before the
driver makes it out of the -rc stage. This also follows the practice of
using only the first device family supported as part of the name.

Also update the documentation and comments in the code accordingly.

Fixes: 1c81948016b3 ("gpio: mvebu: Add limited PWM support")
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/gpio/gpio-mvebu.txt
drivers/gpio/gpio-mvebu.c