summaryrefslogtreecommitdiffstats
path: root/lib/fdt_empty_tree.c
diff options
context:
space:
mode:
authorLiu Gang <Gang.Liu@nxp.com>2016-02-03 19:27:34 +0800
committerLinus Walleij <linus.walleij@linaro.org>2016-02-08 18:32:58 +0100
commit42178e2a1e42b480ada954750f248b53d3fb5940 (patch)
tree3a19411d6c0c695ba4470752f48ca24e32b12f24 /lib/fdt_empty_tree.c
parentdaec0beda6fd7a741e4381741b3f7ff15970fdf6 (diff)
downloadlinux-42178e2a1e42b480ada954750f248b53d3fb5940.tar.gz
linux-42178e2a1e42b480ada954750f248b53d3fb5940.tar.bz2
linux-42178e2a1e42b480ada954750f248b53d3fb5940.zip
drivers/gpio: Switch gpio-mpc8xxx to use gpio-generic
The new Layerscape platforms has the same ip block/controller as GPIO on PowerPC platforms(MPC8XXX), but the GPIO registers may be big or little endian. So the code needs to get the endian property from DTB, then make additional functions to fit all the PowerPC/Layerscape GPIO register read/write operations. gpio-generic.c provides an universal infrastructure for both big and little endian register operations. So switch the gpio-mpc8xxx to use gpio-generic can simplify the driver and reduce a lot of code. The IRQ and some workaround parts in gpio-mpc8xxx.c will be updated with the new API interfaces but following the original functionalities. Signed-off-by: Liu Gang <Gang.Liu@nxp.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib/fdt_empty_tree.c')
0 files changed, 0 insertions, 0 deletions