Trench sidewall doping for lateral power devices [ion implantation]