/* Sets a Policy Engine state. 
Private Policy Engine Layer API below  */
void pe_set_state(const struct device *dev, const enum usbc_pe_state state)
/* Sets a Policy Engine state. 
Private Policy Engine Layer API below  */
void pe_set_state(const struct device *dev, const enum usbc_pe_state state)
{
	struct usbc_port_data *data = dev->data;
	__ASSERT(state < ARRAY_SIZE(pe_states), "invalid pe_state %d", state);
	smf_set_state(SMF_CTX(data->pe), &pe_states[state]);
	usbc_bypass_next_sleep(dev);
}