sunxi: gpio: Add support for the gpio banks which are part of the R-io cluster
authorHans de Goede <hdegoede@redhat.com>
Thu, 6 Aug 2015 18:10:20 +0000 (20:10 +0200)
committerHans de Goede <hdegoede@redhat.com>
Fri, 14 Aug 2015 06:37:38 +0000 (08:37 +0200)
commitfbf10ae98657f1a888b670078f4eb18f9172c834
treec80bc4afab428ecc58a82d89a81bf923da355193
parentf00e8207c372b079b920b0d86cd03d6be06d2ff4
sunxi: gpio: Add support for the gpio banks which are part of the R-io cluster

sun6i and later have a couple of io-blocks which are shared between the
main CPU core and the "R" cpu which is small embedded cpu which can be
active while the main system is suspended.

These gpio banks sit at a different mmio address then the normal banks,
and have a separate devicetree node and compatible, this adds support for
these banks to the sunxi-gpio code when built with device-model support.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
drivers/gpio/sunxi_gpio.c