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
..
2008-12-21 14:21:16 +11:00
2008-08-18 21:40:03 +02:00
2008-08-04 13:18:17 +10:00
2008-11-19 16:04:58 +11:00
2008-12-21 14:21:14 +11:00
2008-11-30 11:00:15 -08:00
2008-10-15 11:31:54 +11:00
2008-10-22 22:55:20 -07:00
2008-09-06 19:30:15 +01:00
2008-11-19 16:04:55 +11:00
2008-11-19 16:04:57 +11:00