Narrow surge protection for I/Os and controllers