[PATCH 2/2] powerpc/QE: implement QE Pin Multiplexing API

2008-10-06 Thread Anton Vorontsov
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

[PATCH 2/2] powerpc/QE: implement QE Pin Multiplexing API

2008-09-25 Thread Anton Vorontsov
Today the API is still based on a 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