vdec: Kernel 4.9: codec common/mm for GXLX (S905C) bring up [1/2]
authorapollo.ling <apollo.ling@amlogic.com>
Fri, 8 May 2020 12:37:53 +0000 (20:37 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Mon, 18 May 2020 01:57:35 +0000 (18:57 -0700)
PD#SWPL-24837

Problem:
Kernel 4.9: codec common/mm for GXLX (S905C) bring up

Solution:
Kernel 4.9: codec common/mm for GXLX (S905C) bring up

Verify:
p271

Change-Id: I4c8e6a18b27d7f7e967c5703b575989ee646eb6c
Signed-off-by: apollo.ling <apollo.ling@amlogic.com>
drivers/common/chips/chips.c
drivers/common/media_clock/clk/clkg12.c

index a55d640f8218bcc631f51cbe99aabb537fe87096..9cabb1dba5dbb07e918f3bcf71ff08116f10a843 100644 (file)
@@ -71,6 +71,7 @@ static const struct type_name cpu_type_name[] = {
        {AM_MESON_CPU_MAJOR_ID_GXM, "gxm"},
        {AM_MESON_CPU_MAJOR_ID_TXL, "txl"},
        {AM_MESON_CPU_MAJOR_ID_TXLX, "txlx"},
+       {AM_MESON_CPU_MAJOR_ID_GXLX, "gxlx"},
        {AM_MESON_CPU_MAJOR_ID_G12A, "g12a"},
        {AM_MESON_CPU_MAJOR_ID_G12B, "g12b"},
        {AM_MESON_CPU_MAJOR_ID_SM1, "sm1"},
index 9694959dd5ed3cd22f5cc00dc4edb451ce2d158a..22d71a6386a9e46bc463e46ef65374875e3eca83 100644 (file)
@@ -1016,6 +1016,7 @@ static int vdec_clock_get(enum vdec_type_e core)
        AM_MESON_CPU_MAJOR_ID_GXM,\
        AM_MESON_CPU_MAJOR_ID_TXL,\
        AM_MESON_CPU_MAJOR_ID_TXLX,\
+       AM_MESON_CPU_MAJOR_ID_GXLX,\
        AM_MESON_CPU_MAJOR_ID_G12A,\
        AM_MESON_CPU_MAJOR_ID_G12B,\
        AM_MESON_CPU_MAJOR_ID_SM1,\