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)
commit6c7515c61ffa0985c57abd8892c7928b52b9a306
tree96f77be940a3fb94fade9464ff40805ac3330175
parent41f1830f5a7af77cf5c86359aba3cbd706687e52
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: 757642f9a584 ("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