p-channel mosfet switching circuit