bt
public text v1 · immutableBelow is what I was trying. I put this toward the end of shamcop_probe, but
you could just as easily stick it in h2200.c for now.
#if 1
/* GPIO_NR_H2200_BT_IDENT and
GPIO_NR_H2200_BT_IRQ are inputs */
SET_H2200_GPIO(BT_RESET_N, 0);
CKEN |= CKEN7_BTUART;
/* select normal operation */
SET_H2200_GPIO(BT_WAKE, 0);
/* apply power */
SET_H2200_GPIO(BT_POWER_ON, 1);
SET_H2200_GPIO(BT_RESET_N, 1);
#endif