]> 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)
commit1c7ffbb3654ddb769098ee046ed136468b1bebe0
tree96f77be940a3fb94fade9464ff40805ac3330175
parent9e5f96e5ce55869ecb96f5ab5970aed3080c8ae8
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: daf5576a2a0a ("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