>>>>> "Anatolij" == Anatolij Gustschin <ag...@denx.de> writes:
Anatolij> The GPIO controller of MPC512x is slightly different from Anatolij> 8xxx GPIO controllers. The register interface is the same Anatolij> except the external interrupt control register. The MPC512x Anatolij> GPIO controller differentiates between four interrupt event Anatolij> types and therefore provides two interrupt control registers, Anatolij> GPICR1 and GPICR2. GPIO[0:15] interrupt event types are Anatolij> configured in GPICR1 register, GPIO[16:31] - in GPICR2 register. Anatolij> This patch adds MPC512x speciffic set_type() callback and Anatolij> updates config file and comments. Additionally the gpio chip Anatolij> registration function is changed to use for_each_matching_node() Anatolij> preventing multiple registration if a node claimes compatibility Anatolij> with another gpio controller type. Anatolij> Signed-off-by: Anatolij Gustschin <ag...@denx.de> Sorry, was away on holiday. Acked-by: Peter Korsgaard <jac...@sunsite.dk> -- Bye, Peter Korsgaard _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev