Chloroplast endoribonuclease p54 involved in RNA 3'-end processing is regulated by phosphorylation and redox state.