Extra patchs have been applied to add support for XCIN PR: ports/5066 Submitted by: Frankch Chen Hsiung Chan <frankch@waru.life.nthu.edu.tw>