Welsh form of David [as is Dewi], from Hebrew "beloved". Popular in the Middle Ages and again in modern times.