Yes, he was the third son of the Pallava king Simhavarman - 2. He gave up his kingdom and became a monk.