]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/powernv: Add PIO accessors for Power8 LPC bus
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 15 Jul 2013 03:03:11 +0000 (13:03 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 14 Aug 2013 04:58:08 +0000 (14:58 +1000)
commit3fafe9c202321a3edc47386d2071af89555c9f45
tree7a809f8ab83049c69468e4c0a64f1ef977934d6a
parentb37193b71846858d816e152d3a5db010d7b73f5e
powerpc/powernv: Add PIO accessors for Power8 LPC bus

This uses the hooks provided by CONFIG_PPC_INDIRECT_PIO to
implement a set of hooks for IO port access to use the LPC
bus via OPAL calls for the first 64K of IO space

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/io.h
arch/powerpc/include/asm/opal.h
arch/powerpc/kernel/io.c
arch/powerpc/platforms/powernv/Kconfig
arch/powerpc/platforms/powernv/Makefile
arch/powerpc/platforms/powernv/opal-lpc.c [new file with mode: 0644]
arch/powerpc/platforms/powernv/powernv.h
arch/powerpc/platforms/powernv/setup.c