]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: ux500: Over-ride the DT device naming scheme for pinctrl
authorLee Jones <lee.jones@linaro.org>
Fri, 6 Jul 2012 14:59:01 +0000 (15:59 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 6 Jul 2012 19:42:10 +0000 (21:42 +0200)
commit953dfc1ded95d7193ec215d73bddc12da1296026
tree486032c4a879b905009ca9560b8008454153da64
parentb0f6110ba3c8a0f3aea2bec468838b818db5635f
ARM: ux500: Over-ride the DT device naming scheme for pinctrl

When pin control mapping tables are written the registered device
name is supplied for use in name-based searches within the pinctrl
driver. In the case of the DB8500 the string "pinctrl-db8500" is
used. However, when we register the driver with Device Tree, its
naming convention uses something that looks more like "pinctrl.2".

To work around the device naming inconsistencies between devices
registered via platform code and the ones registered by Device
Tree, we use AUXDATA to over-ride the Device Tree naming scheme.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
arch/arm/mach-ux500/board-mop500.c