v5xx-common: initial commonized commit

Change-Id: I41079262c6507a6e2e98d47782f6ec6e8e28a732