WSL2-Linux-Kernel/arch/powerpc
Anton Vorontsov 1b9e89046c powerpc/qe: Implement QE Pin Multiplexing API
With this API we're able to set a QE pin to the GPIO mode or a dedicated
peripheral function.

The API relies on the fact that QE gpio controllers are registered. If
they aren't, the API won't work (gracefully though).

There is one caveat though: if anybody occupied the node->data before us,
or overwrote it, then bad things will happen. Luckily this is all in the
platform code that we fully control, so this should never happen.

I could implement more checks (for example we could create a list of
successfully registered QE controllers, and compare the node->data in the
qe_pin_request()), but this is unneeded if nobody is going to do silly
things behind our back.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-12-30 11:13:43 -06:00
..
boot powerpc/cell: add QPACE as a separate Cell platform 2008-12-22 22:19:19 +01:00
configs Merge branch 'next' of master.kernel.org:/pub/scm/linux/kernel/git/jwboyer/powerpc-4xx into next 2008-12-17 11:01:43 +11:00
include/asm powerpc/qe: Implement QE Pin Multiplexing API 2008-12-30 11:13:43 -06:00
kernel powerpc/44x: Support 16K/64K base page sizes on 44x 2008-12-29 09:53:25 +11:00
kvm powerpc: Fix KVM build on ppc440 2008-12-23 14:58:30 +11:00
lib powerpc: Rename struct vm_region to avoid conflict with NOMMU 2008-12-21 14:21:14 +11:00
math-emu powerpc: Add SPE/EFP math emulation for E500v1/v2 processors. 2008-12-03 08:19:16 -06:00
mm powerpc/44x: Support 16K/64K base page sizes on 44x 2008-12-29 09:53:25 +11:00
oprofile powerpc/cell/OProfile: Fix on-stack array size in activate spu profiling function 2008-10-31 16:13:51 +11:00
platforms powerpc/83xx: Fix sparse warnings in mpc836x_mds.c 2008-12-30 11:13:42 -06:00
sysdev powerpc/qe: Implement QE Pin Multiplexing API 2008-12-30 11:13:43 -06:00
xmon powerpc: Prepare xmon_save_regs for use with kdump 2008-12-23 15:13:28 +11:00
Kconfig powerpc/44x: Support 16K/64K base page sizes on 44x 2008-12-29 09:53:25 +11:00
Kconfig.debug powerpc: Allow the max stack trace depth to be configured 2008-12-03 20:46:35 +11:00
Makefile powerpc: Remove unncessary SPE related compiler flag 2008-12-03 08:19:10 -06:00