#define DEC_IO_SIZE ((100 + 1) * 4) /* bytes */
#define ENC_IO_SIZE (96 * 4) /* bytes */
static const u16 dec_hw_ids[] = { 0x8190, 0x8170, 0x9170, 0x9190, 0x6731 };
+#if defined(CONFIG_ARCH_RK29)
static const u16 enc_hw_ids[] = { 0x6280, 0x7280, 0x8270 };
+#elif defined(CONFIG_ARCH_RK30)
+static const u16 enc_hw_ids[] = { 0x6280, 0x7280, 0x8270, 0x8290, 0x4831 };
+#endif
#define VPU_REG_EN_ENC 14
#define VPU_REG_ENC_GATE 2