gpio: xilinx: Add support for using label property
authorMichal Simek <michal.simek@xilinx.com>
Thu, 2 Aug 2018 10:58:54 +0000 (12:58 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 7 Aug 2018 09:03:43 +0000 (11:03 +0200)
commit312dd1c55cbb4f090a1f3ba25709779550c0f50c
tree1933b98dbb10071de43b38887b03416e470493c5
parentac7f061398ba48904e2900f1f9df93f35f5c88c8
gpio: xilinx: Add support for using label property

Add support for reading label property from DT and set up bank name
based on that. If label property is not present full device node name is
used.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
drivers/gpio/xilinx_gpio.c
drivers/gpio/zynq_gpio.c