pinctrl: mvebu: armada-xp: rename spi to spi0
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 9 Jun 2015 16:47:15 +0000 (18:47 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 10 Jun 2015 12:00:54 +0000 (14:00 +0200)
commit50a7d13d241081838c6cd12b1fdabc36838f9b4c
treef4aad06b6655ddc078037c2510619a7ef358542c
parent9e05db29e2ac7f1fec1a4d15db8c419634290535
pinctrl: mvebu: armada-xp: rename spi to spi0

After updating to the latest Armada XP datasheet, we discovered that
there is a second SPI bus accessible from the MPP pins, called 'spi1'.

In order to be consistent with other SoCs having two SPI busses, this
commit renames the functions of the first SPI bus to 'spi0' instead of
just 'spi'.

This commit obviously breaks the DT backward compatibility for the
people using the "spi" function name in their Device Tree.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/marvell,armada-xp-pinctrl.txt
drivers/pinctrl/mvebu/pinctrl-armada-xp.c