This series comes after the one I sent earlier today sorting media/platform Makefile and Kconfig.
It basically groups all drivers per vendor, ensuring that each vendor has a Makefile/Kconfig
pair.
The end goal is to keep the platform Makefile/Kconfig clean and easier to maintain, less
prune to errors. After applying both series, the size of such files were drastically reduced:
drivers/media/platform/Kconfig | 731 ++------------------------------
drivers/media/platform/Makefile | 115 +----
2 files changed, 78 insertions(+), 768 deletions(-)
Mauro Carvalho Chehab (24):
media: platform: rename coda/ to chips-media/
media: platform: rename marvell-ccic/ to marvell/
media: platform: rename meson/ge2d/ to amlogic/meson-ge2d/
media: platform: rename mtk-jpeg/ to mediatek/mtk-jpeg/
media: platform: rename mtk-mdp/ to mediatek/mtk-mdp/
media: platform: rename mtk-vcodec/ to mediatek/mtk-vcodec/
media: platform: rename mtk-vpu/ to mediatek/mtk-vpu/
media: platform: rename sunxi/ to allwinner/
media: platform: rename tegra/vde/ to nvidia/tegra-vde/
media: platform: rename amphion/ to nxp/amphion/
media: platform: rename exynos4-is/ to samsung/exynos4-is/
media: platform: rename exynos-gsc/ to samsung/exynos-gsc/
media: platform: rename s3c-camif/ to samsung/s3c-camif/
media: platform: rename s5p-g2d/ to samsung/s5p-g2d/
media: platform: rename s5p-jpeg/ to samsung/s5p-jpeg/
media: platform: rename s5p-mfc/ to samsung/s5p-mfc/
media: platform: rename stm32/ to sti/stm32/
media: platform: rename am437x/ to ti/am437x/
media: platform: rename davinci/ to ti/davinci/
media: platform: rename omap3isp/ to ti/omap3isp/
media: platform: rename omap/ to ti/omap/
media: platform: rename ti-vpe/ to ti/vpe/
media: platform: Create vendor/{Makefile,Kconfig} files
media: platform/*/Kconfig: make menus more uniform
Documentation/admin-guide/media/fimc.rst | 2 +-
Documentation/admin-guide/media/omap3isp.rst | 2 +-
.../admin-guide/media/omap4_camera.rst | 2 +-
.../media/drivers/davinci-vpbe-devel.rst | 20 ++++----
.../driver-api/media/drivers/fimc-devel.rst | 14 +++---
Documentation/driver-api/media/v4l2-event.rst | 2 +-
MAINTAINERS | 48 +++++++++----------
drivers/media/platform/Kconfig | 30 ++++--------
drivers/media/platform/Makefile | 41 +++++-----------
drivers/media/platform/allegro-dvt/Kconfig | 3 ++
drivers/media/platform/allwinner/Kconfig | 6 +++
.../platform/{sunxi => allwinner}/Makefile | 0
.../{sunxi => allwinner}/sun4i-csi/Kconfig | 0
.../{sunxi => allwinner}/sun4i-csi/Makefile | 0
.../sun4i-csi/sun4i_csi.c | 0
.../sun4i-csi/sun4i_csi.h | 0
.../sun4i-csi/sun4i_dma.c | 0
.../sun4i-csi/sun4i_v4l2.c | 0
.../{sunxi => allwinner}/sun6i-csi/Kconfig | 0
.../{sunxi => allwinner}/sun6i-csi/Makefile | 0
.../sun6i-csi/sun6i_csi.c | 0
.../sun6i-csi/sun6i_csi.h | 0
.../sun6i-csi/sun6i_csi_reg.h | 0
.../sun6i-csi/sun6i_video.c | 0
.../sun6i-csi/sun6i_video.h | 0
.../{sunxi => allwinner}/sun8i-di/Kconfig | 0
.../{sunxi => allwinner}/sun8i-di/Makefile | 0
.../{sunxi => allwinner}/sun8i-di/sun8i-di.c | 0
.../{sunxi => allwinner}/sun8i-di/sun8i-di.h | 0
.../{sunxi => allwinner}/sun8i-rotate/Kconfig | 0
.../sun8i-rotate/Makefile | 0
.../sun8i-rotate/sun8i-formats.h | 0
.../sun8i-rotate/sun8i-rotate.h | 0
.../sun8i-rotate/sun8i_formats.c | 0
.../sun8i-rotate/sun8i_rotate.c | 0
drivers/media/platform/amlogic/Kconfig | 5 ++
drivers/media/platform/amlogic/Makefile | 2 +
.../ge2d => amlogic/meson-ge2d}/Kconfig | 0
.../ge2d => amlogic/meson-ge2d}/Makefile | 0
.../ge2d => amlogic/meson-ge2d}/ge2d-regs.h | 0
.../{meson/ge2d => amlogic/meson-ge2d}/ge2d.c | 0
drivers/media/platform/aspeed/Kconfig | 3 ++
drivers/media/platform/atmel/Kconfig | 3 ++
drivers/media/platform/cadence/Kconfig | 13 +----
.../platform/{coda => chips-media}/Kconfig | 3 ++
.../platform/{coda => chips-media}/Makefile | 0
.../platform/{coda => chips-media}/coda-bit.c | 0
.../{coda => chips-media}/coda-common.c | 0
.../platform/{coda => chips-media}/coda-gdi.c | 0
.../{coda => chips-media}/coda-h264.c | 0
.../{coda => chips-media}/coda-jpeg.c | 0
.../{coda => chips-media}/coda-mpeg2.c | 0
.../{coda => chips-media}/coda-mpeg4.c | 0
.../platform/{coda => chips-media}/coda.h | 0
.../{coda => chips-media}/coda_regs.h | 2 +-
.../platform/{coda => chips-media}/imx-vdoa.c | 0
.../platform/{coda => chips-media}/imx-vdoa.h | 0
.../platform/{coda => chips-media}/trace.h | 2 +-
drivers/media/platform/intel/Kconfig | 3 ++
.../{marvell-ccic => marvell}/Kconfig | 3 ++
.../{marvell-ccic => marvell}/Makefile | 0
.../{marvell-ccic => marvell}/cafe-driver.c | 0
.../{marvell-ccic => marvell}/mcam-core.c | 0
.../{marvell-ccic => marvell}/mcam-core.h | 0
.../{marvell-ccic => marvell}/mmp-driver.c | 0
drivers/media/platform/mediatek/Kconfig | 8 ++++
drivers/media/platform/mediatek/Makefile | 5 ++
.../platform/{ => mediatek}/mtk-jpeg/Kconfig | 0
.../platform/{ => mediatek}/mtk-jpeg/Makefile | 0
.../{ => mediatek}/mtk-jpeg/mtk_jpeg_core.c | 0
.../{ => mediatek}/mtk-jpeg/mtk_jpeg_core.h | 0
.../{ => mediatek}/mtk-jpeg/mtk_jpeg_dec_hw.c | 0
.../{ => mediatek}/mtk-jpeg/mtk_jpeg_dec_hw.h | 0
.../mtk-jpeg/mtk_jpeg_dec_parse.c | 0
.../mtk-jpeg/mtk_jpeg_dec_parse.h | 0
.../mtk-jpeg/mtk_jpeg_dec_reg.h | 0
.../{ => mediatek}/mtk-jpeg/mtk_jpeg_enc_hw.c | 0
.../{ => mediatek}/mtk-jpeg/mtk_jpeg_enc_hw.h | 0
.../platform/{ => mediatek}/mtk-mdp/Kconfig | 0
.../platform/{ => mediatek}/mtk-mdp/Makefile | 2 +-
.../{ => mediatek}/mtk-mdp/mtk_mdp_comp.c | 0
.../{ => mediatek}/mtk-mdp/mtk_mdp_comp.h | 0
.../{ => mediatek}/mtk-mdp/mtk_mdp_core.c | 0
.../{ => mediatek}/mtk-mdp/mtk_mdp_core.h | 0
.../{ => mediatek}/mtk-mdp/mtk_mdp_ipi.h | 0
.../{ => mediatek}/mtk-mdp/mtk_mdp_m2m.c | 0
.../{ => mediatek}/mtk-mdp/mtk_mdp_m2m.h | 0
.../{ => mediatek}/mtk-mdp/mtk_mdp_regs.c | 0
.../{ => mediatek}/mtk-mdp/mtk_mdp_regs.h | 0
.../{ => mediatek}/mtk-mdp/mtk_mdp_vpu.c | 0
.../{ => mediatek}/mtk-mdp/mtk_mdp_vpu.h | 0
.../{ => mediatek}/mtk-vcodec/Kconfig | 0
.../{ => mediatek}/mtk-vcodec/Makefile | 0
.../mtk-vcodec/mtk_vcodec_dec.c | 0
.../mtk-vcodec/mtk_vcodec_dec.h | 0
.../mtk-vcodec/mtk_vcodec_dec_drv.c | 0
.../mtk-vcodec/mtk_vcodec_dec_hw.c | 0
.../mtk-vcodec/mtk_vcodec_dec_hw.h | 0
.../mtk-vcodec/mtk_vcodec_dec_pm.c | 0
.../mtk-vcodec/mtk_vcodec_dec_pm.h | 0
.../mtk-vcodec/mtk_vcodec_dec_stateful.c | 0
.../mtk-vcodec/mtk_vcodec_dec_stateless.c | 0
.../mtk-vcodec/mtk_vcodec_drv.h | 0
.../mtk-vcodec/mtk_vcodec_enc.c | 0
.../mtk-vcodec/mtk_vcodec_enc.h | 0
.../mtk-vcodec/mtk_vcodec_enc_drv.c | 0
.../mtk-vcodec/mtk_vcodec_enc_pm.c | 0
.../mtk-vcodec/mtk_vcodec_enc_pm.h | 0
.../{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.c | 0
.../{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.h | 0
.../mtk-vcodec/mtk_vcodec_fw_priv.h | 0
.../mtk-vcodec/mtk_vcodec_fw_scp.c | 0
.../mtk-vcodec/mtk_vcodec_fw_vpu.c | 0
.../mtk-vcodec/mtk_vcodec_intr.c | 0
.../mtk-vcodec/mtk_vcodec_intr.h | 0
.../mtk-vcodec/mtk_vcodec_util.c | 0
.../mtk-vcodec/mtk_vcodec_util.h | 0
.../mtk-vcodec/vdec/vdec_h264_if.c | 0
.../mtk-vcodec/vdec/vdec_h264_req_if.c | 0
.../mtk-vcodec/vdec/vdec_vp8_if.c | 0
.../mtk-vcodec/vdec/vdec_vp9_if.c | 0
.../{ => mediatek}/mtk-vcodec/vdec_drv_base.h | 0
.../{ => mediatek}/mtk-vcodec/vdec_drv_if.c | 0
.../{ => mediatek}/mtk-vcodec/vdec_drv_if.h | 0
.../{ => mediatek}/mtk-vcodec/vdec_ipi_msg.h | 0
.../mtk-vcodec/vdec_msg_queue.c | 0
.../mtk-vcodec/vdec_msg_queue.h | 0
.../{ => mediatek}/mtk-vcodec/vdec_vpu_if.c | 0
.../{ => mediatek}/mtk-vcodec/vdec_vpu_if.h | 0
.../mtk-vcodec/venc/venc_h264_if.c | 0
.../mtk-vcodec/venc/venc_vp8_if.c | 0
.../{ => mediatek}/mtk-vcodec/venc_drv_base.h | 0
.../{ => mediatek}/mtk-vcodec/venc_drv_if.c | 0
.../{ => mediatek}/mtk-vcodec/venc_drv_if.h | 0
.../{ => mediatek}/mtk-vcodec/venc_ipi_msg.h | 0
.../{ => mediatek}/mtk-vcodec/venc_vpu_if.c | 0
.../{ => mediatek}/mtk-vcodec/venc_vpu_if.h | 0
.../platform/{ => mediatek}/mtk-vpu/Kconfig | 0
.../platform/{ => mediatek}/mtk-vpu/Makefile | 0
.../platform/{ => mediatek}/mtk-vpu/mtk_vpu.c | 0
.../platform/{ => mediatek}/mtk-vpu/mtk_vpu.h | 0
drivers/media/platform/nvidia/Kconfig | 5 ++
.../{tegra/vde => nvidia/tegra-vde}/Kconfig | 0
.../{tegra/vde => nvidia/tegra-vde}/Makefile | 0
.../vde => nvidia/tegra-vde}/dmabuf-cache.c | 0
.../{tegra/vde => nvidia/tegra-vde}/h264.c | 0
.../{tegra/vde => nvidia/tegra-vde}/iommu.c | 0
.../{tegra/vde => nvidia/tegra-vde}/trace.h | 2 +-
.../{tegra/vde => nvidia/tegra-vde}/v4l2.c | 0
.../{tegra/vde => nvidia/tegra-vde}/vde.c | 0
.../{tegra/vde => nvidia/tegra-vde}/vde.h | 0
drivers/media/platform/nxp/Kconfig | 23 +++------
drivers/media/platform/nxp/Makefile | 1 +
.../media/platform/{ => nxp}/amphion/Kconfig | 0
.../media/platform/{ => nxp}/amphion/Makefile | 0
.../media/platform/{ => nxp}/amphion/vdec.c | 0
.../media/platform/{ => nxp}/amphion/venc.c | 0
.../media/platform/{ => nxp}/amphion/vpu.h | 0
.../platform/{ => nxp}/amphion/vpu_cmds.c | 0
.../platform/{ => nxp}/amphion/vpu_cmds.h | 0
.../platform/{ => nxp}/amphion/vpu_codec.h | 0
.../platform/{ => nxp}/amphion/vpu_color.c | 0
.../platform/{ => nxp}/amphion/vpu_core.c | 0
.../platform/{ => nxp}/amphion/vpu_core.h | 0
.../platform/{ => nxp}/amphion/vpu_dbg.c | 0
.../platform/{ => nxp}/amphion/vpu_defs.h | 0
.../platform/{ => nxp}/amphion/vpu_drv.c | 0
.../platform/{ => nxp}/amphion/vpu_helpers.c | 0
.../platform/{ => nxp}/amphion/vpu_helpers.h | 0
.../platform/{ => nxp}/amphion/vpu_imx8q.c | 0
.../platform/{ => nxp}/amphion/vpu_imx8q.h | 0
.../platform/{ => nxp}/amphion/vpu_malone.c | 0
.../platform/{ => nxp}/amphion/vpu_malone.h | 0
.../platform/{ => nxp}/amphion/vpu_mbox.c | 0
.../platform/{ => nxp}/amphion/vpu_mbox.h | 0
.../platform/{ => nxp}/amphion/vpu_msgs.c | 0
.../platform/{ => nxp}/amphion/vpu_msgs.h | 0
.../platform/{ => nxp}/amphion/vpu_rpc.c | 0
.../platform/{ => nxp}/amphion/vpu_rpc.h | 0
.../platform/{ => nxp}/amphion/vpu_v4l2.c | 0
.../platform/{ => nxp}/amphion/vpu_v4l2.h | 0
.../platform/{ => nxp}/amphion/vpu_windsor.c | 0
.../platform/{ => nxp}/amphion/vpu_windsor.h | 0
.../media/platform/nxp/imx-jpeg/mxc-jpeg.c | 2 +-
drivers/media/platform/qcom/Kconfig | 3 ++
drivers/media/platform/qcom/Makefile | 3 ++
drivers/media/platform/renesas/Kconfig | 2 +
drivers/media/platform/renesas/rcar_jpu.c | 2 +-
drivers/media/platform/rockchip/Kconfig | 3 ++
drivers/media/platform/rockchip/Makefile | 3 ++
drivers/media/platform/samsung/Kconfig | 10 ++++
drivers/media/platform/samsung/Makefile | 7 +++
.../platform/{ => samsung}/exynos-gsc/Kconfig | 0
.../{ => samsung}/exynos-gsc/Makefile | 0
.../{ => samsung}/exynos-gsc/gsc-core.c | 0
.../{ => samsung}/exynos-gsc/gsc-core.h | 0
.../{ => samsung}/exynos-gsc/gsc-m2m.c | 0
.../{ => samsung}/exynos-gsc/gsc-regs.c | 0
.../{ => samsung}/exynos-gsc/gsc-regs.h | 0
.../platform/{ => samsung}/exynos4-is/Kconfig | 0
.../{ => samsung}/exynos4-is/Makefile | 0
.../{ => samsung}/exynos4-is/common.c | 0
.../{ => samsung}/exynos4-is/common.h | 0
.../{ => samsung}/exynos4-is/fimc-capture.c | 0
.../{ => samsung}/exynos4-is/fimc-core.c | 0
.../{ => samsung}/exynos4-is/fimc-core.h | 0
.../exynos4-is/fimc-is-command.h | 0
.../{ => samsung}/exynos4-is/fimc-is-errno.c | 0
.../{ => samsung}/exynos4-is/fimc-is-errno.h | 0
.../{ => samsung}/exynos4-is/fimc-is-i2c.c | 0
.../{ => samsung}/exynos4-is/fimc-is-i2c.h | 0
.../{ => samsung}/exynos4-is/fimc-is-param.c | 0
.../{ => samsung}/exynos4-is/fimc-is-param.h | 0
.../{ => samsung}/exynos4-is/fimc-is-regs.c | 0
.../{ => samsung}/exynos4-is/fimc-is-regs.h | 0
.../{ => samsung}/exynos4-is/fimc-is-sensor.c | 0
.../{ => samsung}/exynos4-is/fimc-is-sensor.h | 0
.../{ => samsung}/exynos4-is/fimc-is.c | 0
.../{ => samsung}/exynos4-is/fimc-is.h | 0
.../{ => samsung}/exynos4-is/fimc-isp-video.c | 0
.../{ => samsung}/exynos4-is/fimc-isp-video.h | 0
.../{ => samsung}/exynos4-is/fimc-isp.c | 0
.../{ => samsung}/exynos4-is/fimc-isp.h | 0
.../{ => samsung}/exynos4-is/fimc-lite-reg.c | 0
.../{ => samsung}/exynos4-is/fimc-lite-reg.h | 0
.../{ => samsung}/exynos4-is/fimc-lite.c | 0
.../{ => samsung}/exynos4-is/fimc-lite.h | 0
.../{ => samsung}/exynos4-is/fimc-m2m.c | 0
.../{ => samsung}/exynos4-is/fimc-reg.c | 0
.../{ => samsung}/exynos4-is/fimc-reg.h | 0
.../{ => samsung}/exynos4-is/media-dev.c | 0
.../{ => samsung}/exynos4-is/media-dev.h | 0
.../{ => samsung}/exynos4-is/mipi-csis.c | 0
.../{ => samsung}/exynos4-is/mipi-csis.h | 0
.../platform/{ => samsung}/s3c-camif/Kconfig | 0
.../platform/{ => samsung}/s3c-camif/Makefile | 0
.../{ => samsung}/s3c-camif/camif-capture.c | 0
.../{ => samsung}/s3c-camif/camif-core.c | 0
.../{ => samsung}/s3c-camif/camif-core.h | 0
.../{ => samsung}/s3c-camif/camif-regs.c | 0
.../{ => samsung}/s3c-camif/camif-regs.h | 0
.../platform/{ => samsung}/s5p-g2d/Kconfig | 0
.../platform/{ => samsung}/s5p-g2d/Makefile | 0
.../platform/{ => samsung}/s5p-g2d/g2d-hw.c | 0
.../platform/{ => samsung}/s5p-g2d/g2d-regs.h | 0
.../platform/{ => samsung}/s5p-g2d/g2d.c | 0
.../platform/{ => samsung}/s5p-g2d/g2d.h | 0
.../platform/{ => samsung}/s5p-jpeg/Kconfig | 0
.../platform/{ => samsung}/s5p-jpeg/Makefile | 0
.../{ => samsung}/s5p-jpeg/jpeg-core.c | 2 +-
.../{ => samsung}/s5p-jpeg/jpeg-core.h | 2 +-
.../s5p-jpeg/jpeg-hw-exynos3250.c | 0
.../s5p-jpeg/jpeg-hw-exynos3250.h | 2 +-
.../{ => samsung}/s5p-jpeg/jpeg-hw-exynos4.c | 0
.../{ => samsung}/s5p-jpeg/jpeg-hw-exynos4.h | 0
.../{ => samsung}/s5p-jpeg/jpeg-hw-s5p.c | 2 +-
.../{ => samsung}/s5p-jpeg/jpeg-hw-s5p.h | 2 +-
.../{ => samsung}/s5p-jpeg/jpeg-regs.h | 2 +-
.../platform/{ => samsung}/s5p-mfc/Kconfig | 0
.../platform/{ => samsung}/s5p-mfc/Makefile | 0
.../{ => samsung}/s5p-mfc/regs-mfc-v10.h | 0
.../{ => samsung}/s5p-mfc/regs-mfc-v6.h | 0
.../{ => samsung}/s5p-mfc/regs-mfc-v7.h | 0
.../{ => samsung}/s5p-mfc/regs-mfc-v8.h | 0
.../platform/{ => samsung}/s5p-mfc/regs-mfc.h | 0
.../platform/{ => samsung}/s5p-mfc/s5p_mfc.c | 0
.../{ => samsung}/s5p-mfc/s5p_mfc_cmd.c | 2 +-
.../{ => samsung}/s5p-mfc/s5p_mfc_cmd.h | 2 +-
.../{ => samsung}/s5p-mfc/s5p_mfc_cmd_v5.c | 2 +-
.../{ => samsung}/s5p-mfc/s5p_mfc_cmd_v5.h | 2 +-
.../{ => samsung}/s5p-mfc/s5p_mfc_cmd_v6.c | 2 +-
.../{ => samsung}/s5p-mfc/s5p_mfc_cmd_v6.h | 2 +-
.../{ => samsung}/s5p-mfc/s5p_mfc_common.h | 0
.../{ => samsung}/s5p-mfc/s5p_mfc_ctrl.c | 2 +-
.../{ => samsung}/s5p-mfc/s5p_mfc_ctrl.h | 2 +-
.../{ => samsung}/s5p-mfc/s5p_mfc_debug.h | 2 +-
.../{ => samsung}/s5p-mfc/s5p_mfc_dec.c | 2 +-
.../{ => samsung}/s5p-mfc/s5p_mfc_dec.h | 2 +-
.../{ => samsung}/s5p-mfc/s5p_mfc_enc.c | 2 +-
.../{ => samsung}/s5p-mfc/s5p_mfc_enc.h | 2 +-
.../{ => samsung}/s5p-mfc/s5p_mfc_intr.c | 0
.../{ => samsung}/s5p-mfc/s5p_mfc_intr.h | 0
.../{ => samsung}/s5p-mfc/s5p_mfc_iommu.h | 0
.../{ => samsung}/s5p-mfc/s5p_mfc_opr.c | 2 +-
.../{ => samsung}/s5p-mfc/s5p_mfc_opr.h | 2 +-
.../{ => samsung}/s5p-mfc/s5p_mfc_opr_v5.c | 0
.../{ => samsung}/s5p-mfc/s5p_mfc_opr_v5.h | 0
.../{ => samsung}/s5p-mfc/s5p_mfc_opr_v6.c | 2 +-
.../{ => samsung}/s5p-mfc/s5p_mfc_opr_v6.h | 2 +-
.../{ => samsung}/s5p-mfc/s5p_mfc_pm.c | 2 +-
.../{ => samsung}/s5p-mfc/s5p_mfc_pm.h | 2 +-
drivers/media/platform/sti/Kconfig | 4 ++
drivers/media/platform/sti/Makefile | 6 +++
.../media/platform/{ => sti}/stm32/Kconfig | 0
.../media/platform/{ => sti}/stm32/Makefile | 0
.../platform/{ => sti}/stm32/dma2d/dma2d-hw.c | 0
.../{ => sti}/stm32/dma2d/dma2d-regs.h | 0
.../platform/{ => sti}/stm32/dma2d/dma2d.c | 0
.../platform/{ => sti}/stm32/dma2d/dma2d.h | 0
.../platform/{ => sti}/stm32/stm32-dcmi.c | 0
drivers/media/platform/sunxi/Kconfig | 6 ---
drivers/media/platform/ti/Kconfig | 9 ++++
drivers/media/platform/ti/Makefile | 6 +++
.../media/platform/{ => ti}/am437x/Kconfig | 0
.../media/platform/{ => ti}/am437x/Makefile | 0
.../platform/{ => ti}/am437x/am437x-vpfe.c | 0
.../platform/{ => ti}/am437x/am437x-vpfe.h | 0
.../{ => ti}/am437x/am437x-vpfe_regs.h | 0
.../media/platform/{ => ti}/davinci/Kconfig | 0
.../media/platform/{ => ti}/davinci/Makefile | 0
.../{ => ti}/davinci/ccdc_hw_device.h | 0
.../platform/{ => ti}/davinci/dm355_ccdc.c | 0
.../{ => ti}/davinci/dm355_ccdc_regs.h | 0
.../platform/{ => ti}/davinci/dm644x_ccdc.c | 0
.../{ => ti}/davinci/dm644x_ccdc_regs.h | 0
.../media/platform/{ => ti}/davinci/isif.c | 0
.../platform/{ => ti}/davinci/isif_regs.h | 0
.../media/platform/{ => ti}/davinci/vpbe.c | 0
.../platform/{ => ti}/davinci/vpbe_display.c | 0
.../platform/{ => ti}/davinci/vpbe_osd.c | 0
.../platform/{ => ti}/davinci/vpbe_osd_regs.h | 0
.../platform/{ => ti}/davinci/vpbe_venc.c | 0
.../{ => ti}/davinci/vpbe_venc_regs.h | 0
.../platform/{ => ti}/davinci/vpfe_capture.c | 0
.../media/platform/{ => ti}/davinci/vpif.c | 0
.../media/platform/{ => ti}/davinci/vpif.h | 0
.../platform/{ => ti}/davinci/vpif_capture.c | 0
.../platform/{ => ti}/davinci/vpif_capture.h | 0
.../platform/{ => ti}/davinci/vpif_display.c | 0
.../platform/{ => ti}/davinci/vpif_display.h | 0
.../media/platform/{ => ti}/davinci/vpss.c | 0
drivers/media/platform/{ => ti}/omap/Kconfig | 0
drivers/media/platform/{ => ti}/omap/Makefile | 0
.../media/platform/{ => ti}/omap/omap_vout.c | 0
.../platform/{ => ti}/omap/omap_vout_vrfb.c | 0
.../platform/{ => ti}/omap/omap_vout_vrfb.h | 0
.../platform/{ => ti}/omap/omap_voutdef.h | 0
.../platform/{ => ti}/omap/omap_voutlib.c | 0
.../platform/{ => ti}/omap/omap_voutlib.h | 0
.../media/platform/{ => ti}/omap3isp/Kconfig | 0
.../media/platform/{ => ti}/omap3isp/Makefile | 0
.../{ => ti}/omap3isp/cfa_coef_table.h | 0
.../platform/{ => ti}/omap3isp/gamma_table.h | 0
.../media/platform/{ => ti}/omap3isp/isp.c | 0
.../media/platform/{ => ti}/omap3isp/isp.h | 0
.../platform/{ => ti}/omap3isp/ispccdc.c | 0
.../platform/{ => ti}/omap3isp/ispccdc.h | 0
.../platform/{ => ti}/omap3isp/ispccp2.c | 0
.../platform/{ => ti}/omap3isp/ispccp2.h | 0
.../platform/{ => ti}/omap3isp/ispcsi2.c | 0
.../platform/{ => ti}/omap3isp/ispcsi2.h | 0
.../platform/{ => ti}/omap3isp/ispcsiphy.c | 0
.../platform/{ => ti}/omap3isp/ispcsiphy.h | 0
.../media/platform/{ => ti}/omap3isp/isph3a.h | 0
.../platform/{ => ti}/omap3isp/isph3a_aewb.c | 0
.../platform/{ => ti}/omap3isp/isph3a_af.c | 0
.../platform/{ => ti}/omap3isp/isphist.c | 0
.../platform/{ => ti}/omap3isp/isphist.h | 0
.../platform/{ => ti}/omap3isp/isppreview.c | 0
.../platform/{ => ti}/omap3isp/isppreview.h | 0
.../media/platform/{ => ti}/omap3isp/ispreg.h | 0
.../platform/{ => ti}/omap3isp/ispresizer.c | 0
.../platform/{ => ti}/omap3isp/ispresizer.h | 0
.../platform/{ => ti}/omap3isp/ispstat.c | 0
.../platform/{ => ti}/omap3isp/ispstat.h | 0
.../platform/{ => ti}/omap3isp/ispvideo.c | 0
.../platform/{ => ti}/omap3isp/ispvideo.h | 0
.../{ => ti}/omap3isp/luma_enhance_table.h | 0
.../{ => ti}/omap3isp/noise_filter_table.h | 0
.../platform/{ => ti}/omap3isp/omap3isp.h | 0
.../media/platform/{ti-vpe => ti/vpe}/Kconfig | 0
.../platform/{ti-vpe => ti/vpe}/Makefile | 0
.../{ti-vpe => ti/vpe}/cal-camerarx.c | 0
.../platform/{ti-vpe => ti/vpe}/cal-video.c | 0
.../media/platform/{ti-vpe => ti/vpe}/cal.c | 0
.../media/platform/{ti-vpe => ti/vpe}/cal.h | 0
.../platform/{ti-vpe => ti/vpe}/cal_regs.h | 0
.../media/platform/{ti-vpe => ti/vpe}/csc.c | 0
.../media/platform/{ti-vpe => ti/vpe}/csc.h | 0
.../media/platform/{ti-vpe => ti/vpe}/sc.c | 0
.../media/platform/{ti-vpe => ti/vpe}/sc.h | 0
.../platform/{ti-vpe => ti/vpe}/sc_coeff.h | 0
.../media/platform/{ti-vpe => ti/vpe}/vpdma.c | 0
.../media/platform/{ti-vpe => ti/vpe}/vpdma.h | 0
.../platform/{ti-vpe => ti/vpe}/vpdma_priv.h | 0
.../media/platform/{ti-vpe => ti/vpe}/vpe.c | 0
.../platform/{ti-vpe => ti/vpe}/vpe_regs.h | 0
drivers/media/platform/via/Kconfig | 3 ++
drivers/media/platform/xilinx/Kconfig | 7 ++-
389 files changed, 214 insertions(+), 167 deletions(-)
create mode 100644 drivers/media/platform/allwinner/Kconfig
rename drivers/media/platform/{sunxi => allwinner}/Makefile (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun4i-csi/Kconfig (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun4i-csi/Makefile (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun4i-csi/sun4i_csi.c (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun4i-csi/sun4i_csi.h (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun4i-csi/sun4i_dma.c (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun4i-csi/sun4i_v4l2.c (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun6i-csi/Kconfig (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun6i-csi/Makefile (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun6i-csi/sun6i_csi.c (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun6i-csi/sun6i_csi.h (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun6i-csi/sun6i_csi_reg.h (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun6i-csi/sun6i_video.c (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun6i-csi/sun6i_video.h (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun8i-di/Kconfig (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun8i-di/Makefile (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun8i-di/sun8i-di.c (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun8i-di/sun8i-di.h (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun8i-rotate/Kconfig (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun8i-rotate/Makefile (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun8i-rotate/sun8i-formats.h (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun8i-rotate/sun8i-rotate.h (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun8i-rotate/sun8i_formats.c (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun8i-rotate/sun8i_rotate.c (100%)
create mode 100644 drivers/media/platform/amlogic/Kconfig
create mode 100644 drivers/media/platform/amlogic/Makefile
rename drivers/media/platform/{meson/ge2d => amlogic/meson-ge2d}/Kconfig (100%)
rename drivers/media/platform/{meson/ge2d => amlogic/meson-ge2d}/Makefile (100%)
rename drivers/media/platform/{meson/ge2d => amlogic/meson-ge2d}/ge2d-regs.h (100%)
rename drivers/media/platform/{meson/ge2d => amlogic/meson-ge2d}/ge2d.c (100%)
rename drivers/media/platform/{coda => chips-media}/Kconfig (94%)
rename drivers/media/platform/{coda => chips-media}/Makefile (100%)
rename drivers/media/platform/{coda => chips-media}/coda-bit.c (100%)
rename drivers/media/platform/{coda => chips-media}/coda-common.c (100%)
rename drivers/media/platform/{coda => chips-media}/coda-gdi.c (100%)
rename drivers/media/platform/{coda => chips-media}/coda-h264.c (100%)
rename drivers/media/platform/{coda => chips-media}/coda-jpeg.c (100%)
rename drivers/media/platform/{coda => chips-media}/coda-mpeg2.c (100%)
rename drivers/media/platform/{coda => chips-media}/coda-mpeg4.c (100%)
rename drivers/media/platform/{coda => chips-media}/coda.h (100%)
rename drivers/media/platform/{coda => chips-media}/coda_regs.h (99%)
rename drivers/media/platform/{coda => chips-media}/imx-vdoa.c (100%)
rename drivers/media/platform/{coda => chips-media}/imx-vdoa.h (100%)
rename drivers/media/platform/{coda => chips-media}/trace.h (98%)
rename drivers/media/platform/{marvell-ccic => marvell}/Kconfig (97%)
rename drivers/media/platform/{marvell-ccic => marvell}/Makefile (100%)
rename drivers/media/platform/{marvell-ccic => marvell}/cafe-driver.c (100%)
rename drivers/media/platform/{marvell-ccic => marvell}/mcam-core.c (100%)
rename drivers/media/platform/{marvell-ccic => marvell}/mcam-core.h (100%)
rename drivers/media/platform/{marvell-ccic => marvell}/mmp-driver.c (100%)
create mode 100644 drivers/media/platform/mediatek/Kconfig
create mode 100644 drivers/media/platform/mediatek/Makefile
rename drivers/media/platform/{ => mediatek}/mtk-jpeg/Kconfig (100%)
rename drivers/media/platform/{ => mediatek}/mtk-jpeg/Makefile (100%)
rename drivers/media/platform/{ => mediatek}/mtk-jpeg/mtk_jpeg_core.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-jpeg/mtk_jpeg_core.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-jpeg/mtk_jpeg_dec_hw.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-jpeg/mtk_jpeg_dec_hw.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-jpeg/mtk_jpeg_dec_parse.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-jpeg/mtk_jpeg_dec_parse.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-jpeg/mtk_jpeg_dec_reg.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-jpeg/mtk_jpeg_enc_hw.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-jpeg/mtk_jpeg_enc_hw.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-mdp/Kconfig (100%)
rename drivers/media/platform/{ => mediatek}/mtk-mdp/Makefile (77%)
rename drivers/media/platform/{ => mediatek}/mtk-mdp/mtk_mdp_comp.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-mdp/mtk_mdp_comp.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-mdp/mtk_mdp_core.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-mdp/mtk_mdp_core.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-mdp/mtk_mdp_ipi.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-mdp/mtk_mdp_m2m.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-mdp/mtk_mdp_m2m.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-mdp/mtk_mdp_regs.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-mdp/mtk_mdp_regs.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-mdp/mtk_mdp_vpu.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-mdp/mtk_mdp_vpu.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/Kconfig (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/Makefile (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_drv.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateful.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateless.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_drv.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_drv.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_priv.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_scp.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_vpu.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_if.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_req_if.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp8_if.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp9_if.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_base.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_ipi_msg.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc/venc_h264_if.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc/venc_vp8_if.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_base.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_ipi_msg.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vpu/Kconfig (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vpu/Makefile (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vpu/mtk_vpu.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vpu/mtk_vpu.h (100%)
create mode 100644 drivers/media/platform/nvidia/Kconfig
rename drivers/media/platform/{tegra/vde => nvidia/tegra-vde}/Kconfig (100%)
rename drivers/media/platform/{tegra/vde => nvidia/tegra-vde}/Makefile (100%)
rename drivers/media/platform/{tegra/vde => nvidia/tegra-vde}/dmabuf-cache.c (100%)
rename drivers/media/platform/{tegra/vde => nvidia/tegra-vde}/h264.c (100%)
rename drivers/media/platform/{tegra/vde => nvidia/tegra-vde}/iommu.c (100%)
rename drivers/media/platform/{tegra/vde => nvidia/tegra-vde}/trace.h (97%)
rename drivers/media/platform/{tegra/vde => nvidia/tegra-vde}/v4l2.c (100%)
rename drivers/media/platform/{tegra/vde => nvidia/tegra-vde}/vde.c (100%)
rename drivers/media/platform/{tegra/vde => nvidia/tegra-vde}/vde.h (100%)
rename drivers/media/platform/{ => nxp}/amphion/Kconfig (100%)
rename drivers/media/platform/{ => nxp}/amphion/Makefile (100%)
rename drivers/media/platform/{ => nxp}/amphion/vdec.c (100%)
rename drivers/media/platform/{ => nxp}/amphion/venc.c (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu.h (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_cmds.c (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_cmds.h (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_codec.h (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_color.c (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_core.c (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_core.h (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_dbg.c (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_defs.h (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_drv.c (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_helpers.c (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_helpers.h (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_imx8q.c (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_imx8q.h (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_malone.c (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_malone.h (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_mbox.c (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_mbox.h (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_msgs.c (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_msgs.h (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_rpc.c (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_rpc.h (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_v4l2.c (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_v4l2.h (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_windsor.c (100%)
rename drivers/media/platform/{ => nxp}/amphion/vpu_windsor.h (100%)
create mode 100644 drivers/media/platform/qcom/Makefile
create mode 100644 drivers/media/platform/rockchip/Makefile
create mode 100644 drivers/media/platform/samsung/Kconfig
create mode 100644 drivers/media/platform/samsung/Makefile
rename drivers/media/platform/{ => samsung}/exynos-gsc/Kconfig (100%)
rename drivers/media/platform/{ => samsung}/exynos-gsc/Makefile (100%)
rename drivers/media/platform/{ => samsung}/exynos-gsc/gsc-core.c (100%)
rename drivers/media/platform/{ => samsung}/exynos-gsc/gsc-core.h (100%)
rename drivers/media/platform/{ => samsung}/exynos-gsc/gsc-m2m.c (100%)
rename drivers/media/platform/{ => samsung}/exynos-gsc/gsc-regs.c (100%)
rename drivers/media/platform/{ => samsung}/exynos-gsc/gsc-regs.h (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/Kconfig (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/Makefile (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/common.c (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/common.h (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-capture.c (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-core.c (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-core.h (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-is-command.h (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-is-errno.c (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-is-errno.h (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-is-i2c.c (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-is-i2c.h (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-is-param.c (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-is-param.h (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-is-regs.c (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-is-regs.h (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-is-sensor.c (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-is-sensor.h (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-is.c (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-is.h (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-isp-video.c (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-isp-video.h (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-isp.c (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-isp.h (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-lite-reg.c (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-lite-reg.h (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-lite.c (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-lite.h (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-m2m.c (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-reg.c (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/fimc-reg.h (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/media-dev.c (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/media-dev.h (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/mipi-csis.c (100%)
rename drivers/media/platform/{ => samsung}/exynos4-is/mipi-csis.h (100%)
rename drivers/media/platform/{ => samsung}/s3c-camif/Kconfig (100%)
rename drivers/media/platform/{ => samsung}/s3c-camif/Makefile (100%)
rename drivers/media/platform/{ => samsung}/s3c-camif/camif-capture.c (100%)
rename drivers/media/platform/{ => samsung}/s3c-camif/camif-core.c (100%)
rename drivers/media/platform/{ => samsung}/s3c-camif/camif-core.h (100%)
rename drivers/media/platform/{ => samsung}/s3c-camif/camif-regs.c (100%)
rename drivers/media/platform/{ => samsung}/s3c-camif/camif-regs.h (100%)
rename drivers/media/platform/{ => samsung}/s5p-g2d/Kconfig (100%)
rename drivers/media/platform/{ => samsung}/s5p-g2d/Makefile (100%)
rename drivers/media/platform/{ => samsung}/s5p-g2d/g2d-hw.c (100%)
rename drivers/media/platform/{ => samsung}/s5p-g2d/g2d-regs.h (100%)
rename drivers/media/platform/{ => samsung}/s5p-g2d/g2d.c (100%)
rename drivers/media/platform/{ => samsung}/s5p-g2d/g2d.h (100%)
rename drivers/media/platform/{ => samsung}/s5p-jpeg/Kconfig (100%)
rename drivers/media/platform/{ => samsung}/s5p-jpeg/Makefile (100%)
rename drivers/media/platform/{ => samsung}/s5p-jpeg/jpeg-core.c (99%)
rename drivers/media/platform/{ => samsung}/s5p-jpeg/jpeg-core.h (99%)
rename drivers/media/platform/{ => samsung}/s5p-jpeg/jpeg-hw-exynos3250.c (100%)
rename drivers/media/platform/{ => samsung}/s5p-jpeg/jpeg-hw-exynos3250.h (97%)
rename drivers/media/platform/{ => samsung}/s5p-jpeg/jpeg-hw-exynos4.c (100%)
rename drivers/media/platform/{ => samsung}/s5p-jpeg/jpeg-hw-exynos4.h (100%)
rename drivers/media/platform/{ => samsung}/s5p-jpeg/jpeg-hw-s5p.c (99%)
rename drivers/media/platform/{ => samsung}/s5p-jpeg/jpeg-hw-s5p.h (97%)
rename drivers/media/platform/{ => samsung}/s5p-jpeg/jpeg-regs.h (99%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/Kconfig (100%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/Makefile (100%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/regs-mfc-v10.h (100%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/regs-mfc-v6.h (100%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/regs-mfc-v7.h (100%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/regs-mfc-v8.h (100%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/regs-mfc.h (100%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc.c (100%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_cmd.c (89%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_cmd.h (92%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_cmd_v5.c (98%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_cmd_v5.h (82%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_cmd_v6.c (98%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_cmd_v6.h (82%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_common.h (100%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_ctrl.c (99%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_ctrl.h (92%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_debug.h (95%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_dec.c (99%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_dec.h (90%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_enc.c (99%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_enc.h (90%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_intr.c (100%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_intr.h (100%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_iommu.h (100%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_opr.c (98%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_opr.h (99%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_opr_v5.c (100%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_opr_v5.h (100%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_opr_v6.c (99%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_opr_v6.h (96%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_pm.c (97%)
rename drivers/media/platform/{ => samsung}/s5p-mfc/s5p_mfc_pm.h (87%)
create mode 100644 drivers/media/platform/sti/Makefile
rename drivers/media/platform/{ => sti}/stm32/Kconfig (100%)
rename drivers/media/platform/{ => sti}/stm32/Makefile (100%)
rename drivers/media/platform/{ => sti}/stm32/dma2d/dma2d-hw.c (100%)
rename drivers/media/platform/{ => sti}/stm32/dma2d/dma2d-regs.h (100%)
rename drivers/media/platform/{ => sti}/stm32/dma2d/dma2d.c (100%)
rename drivers/media/platform/{ => sti}/stm32/dma2d/dma2d.h (100%)
rename drivers/media/platform/{ => sti}/stm32/stm32-dcmi.c (100%)
delete mode 100644 drivers/media/platform/sunxi/Kconfig
create mode 100644 drivers/media/platform/ti/Kconfig
create mode 100644 drivers/media/platform/ti/Makefile
rename drivers/media/platform/{ => ti}/am437x/Kconfig (100%)
rename drivers/media/platform/{ => ti}/am437x/Makefile (100%)
rename drivers/media/platform/{ => ti}/am437x/am437x-vpfe.c (100%)
rename drivers/media/platform/{ => ti}/am437x/am437x-vpfe.h (100%)
rename drivers/media/platform/{ => ti}/am437x/am437x-vpfe_regs.h (100%)
rename drivers/media/platform/{ => ti}/davinci/Kconfig (100%)
rename drivers/media/platform/{ => ti}/davinci/Makefile (100%)
rename drivers/media/platform/{ => ti}/davinci/ccdc_hw_device.h (100%)
rename drivers/media/platform/{ => ti}/davinci/dm355_ccdc.c (100%)
rename drivers/media/platform/{ => ti}/davinci/dm355_ccdc_regs.h (100%)
rename drivers/media/platform/{ => ti}/davinci/dm644x_ccdc.c (100%)
rename drivers/media/platform/{ => ti}/davinci/dm644x_ccdc_regs.h (100%)
rename drivers/media/platform/{ => ti}/davinci/isif.c (100%)
rename drivers/media/platform/{ => ti}/davinci/isif_regs.h (100%)
rename drivers/media/platform/{ => ti}/davinci/vpbe.c (100%)
rename drivers/media/platform/{ => ti}/davinci/vpbe_display.c (100%)
rename drivers/media/platform/{ => ti}/davinci/vpbe_osd.c (100%)
rename drivers/media/platform/{ => ti}/davinci/vpbe_osd_regs.h (100%)
rename drivers/media/platform/{ => ti}/davinci/vpbe_venc.c (100%)
rename drivers/media/platform/{ => ti}/davinci/vpbe_venc_regs.h (100%)
rename drivers/media/platform/{ => ti}/davinci/vpfe_capture.c (100%)
rename drivers/media/platform/{ => ti}/davinci/vpif.c (100%)
rename drivers/media/platform/{ => ti}/davinci/vpif.h (100%)
rename drivers/media/platform/{ => ti}/davinci/vpif_capture.c (100%)
rename drivers/media/platform/{ => ti}/davinci/vpif_capture.h (100%)
rename drivers/media/platform/{ => ti}/davinci/vpif_display.c (100%)
rename drivers/media/platform/{ => ti}/davinci/vpif_display.h (100%)
rename drivers/media/platform/{ => ti}/davinci/vpss.c (100%)
rename drivers/media/platform/{ => ti}/omap/Kconfig (100%)
rename drivers/media/platform/{ => ti}/omap/Makefile (100%)
rename drivers/media/platform/{ => ti}/omap/omap_vout.c (100%)
rename drivers/media/platform/{ => ti}/omap/omap_vout_vrfb.c (100%)
rename drivers/media/platform/{ => ti}/omap/omap_vout_vrfb.h (100%)
rename drivers/media/platform/{ => ti}/omap/omap_voutdef.h (100%)
rename drivers/media/platform/{ => ti}/omap/omap_voutlib.c (100%)
rename drivers/media/platform/{ => ti}/omap/omap_voutlib.h (100%)
rename drivers/media/platform/{ => ti}/omap3isp/Kconfig (100%)
rename drivers/media/platform/{ => ti}/omap3isp/Makefile (100%)
rename drivers/media/platform/{ => ti}/omap3isp/cfa_coef_table.h (100%)
rename drivers/media/platform/{ => ti}/omap3isp/gamma_table.h (100%)
rename drivers/media/platform/{ => ti}/omap3isp/isp.c (100%)
rename drivers/media/platform/{ => ti}/omap3isp/isp.h (100%)
rename drivers/media/platform/{ => ti}/omap3isp/ispccdc.c (100%)
rename drivers/media/platform/{ => ti}/omap3isp/ispccdc.h (100%)
rename drivers/media/platform/{ => ti}/omap3isp/ispccp2.c (100%)
rename drivers/media/platform/{ => ti}/omap3isp/ispccp2.h (100%)
rename drivers/media/platform/{ => ti}/omap3isp/ispcsi2.c (100%)
rename drivers/media/platform/{ => ti}/omap3isp/ispcsi2.h (100%)
rename drivers/media/platform/{ => ti}/omap3isp/ispcsiphy.c (100%)
rename drivers/media/platform/{ => ti}/omap3isp/ispcsiphy.h (100%)
rename drivers/media/platform/{ => ti}/omap3isp/isph3a.h (100%)
rename drivers/media/platform/{ => ti}/omap3isp/isph3a_aewb.c (100%)
rename drivers/media/platform/{ => ti}/omap3isp/isph3a_af.c (100%)
rename drivers/media/platform/{ => ti}/omap3isp/isphist.c (100%)
rename drivers/media/platform/{ => ti}/omap3isp/isphist.h (100%)
rename drivers/media/platform/{ => ti}/omap3isp/isppreview.c (100%)
rename drivers/media/platform/{ => ti}/omap3isp/isppreview.h (100%)
rename drivers/media/platform/{ => ti}/omap3isp/ispreg.h (100%)
rename drivers/media/platform/{ => ti}/omap3isp/ispresizer.c (100%)
rename drivers/media/platform/{ => ti}/omap3isp/ispresizer.h (100%)
rename drivers/media/platform/{ => ti}/omap3isp/ispstat.c (100%)
rename drivers/media/platform/{ => ti}/omap3isp/ispstat.h (100%)
rename drivers/media/platform/{ => ti}/omap3isp/ispvideo.c (100%)
rename drivers/media/platform/{ => ti}/omap3isp/ispvideo.h (100%)
rename drivers/media/platform/{ => ti}/omap3isp/luma_enhance_table.h (100%)
rename drivers/media/platform/{ => ti}/omap3isp/noise_filter_table.h (100%)
rename drivers/media/platform/{ => ti}/omap3isp/omap3isp.h (100%)
rename drivers/media/platform/{ti-vpe => ti/vpe}/Kconfig (100%)
rename drivers/media/platform/{ti-vpe => ti/vpe}/Makefile (100%)
rename drivers/media/platform/{ti-vpe => ti/vpe}/cal-camerarx.c (100%)
rename drivers/media/platform/{ti-vpe => ti/vpe}/cal-video.c (100%)
rename drivers/media/platform/{ti-vpe => ti/vpe}/cal.c (100%)
rename drivers/media/platform/{ti-vpe => ti/vpe}/cal.h (100%)
rename drivers/media/platform/{ti-vpe => ti/vpe}/cal_regs.h (100%)
rename drivers/media/platform/{ti-vpe => ti/vpe}/csc.c (100%)
rename drivers/media/platform/{ti-vpe => ti/vpe}/csc.h (100%)
rename drivers/media/platform/{ti-vpe => ti/vpe}/sc.c (100%)
rename drivers/media/platform/{ti-vpe => ti/vpe}/sc.h (100%)
rename drivers/media/platform/{ti-vpe => ti/vpe}/sc_coeff.h (100%)
rename drivers/media/platform/{ti-vpe => ti/vpe}/vpdma.c (100%)
rename drivers/media/platform/{ti-vpe => ti/vpe}/vpdma.h (100%)
rename drivers/media/platform/{ti-vpe => ti/vpe}/vpdma_priv.h (100%)
rename drivers/media/platform/{ti-vpe => ti/vpe}/vpe.c (100%)
rename drivers/media/platform/{ti-vpe => ti/vpe}/vpe_regs.h (100%)
--
2.35.1
As the end goal is to have platform drivers split by vendor,
rename omap/ to ti/omap/.
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
---
To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover.
See [PATCH 00/24] at: https://lore.kernel.org/all/[email protected]/
drivers/media/platform/Kconfig | 2 +-
drivers/media/platform/Makefile | 2 +-
drivers/media/platform/{ => ti}/omap/Kconfig | 0
drivers/media/platform/{ => ti}/omap/Makefile | 0
drivers/media/platform/{ => ti}/omap/omap_vout.c | 0
drivers/media/platform/{ => ti}/omap/omap_vout_vrfb.c | 0
drivers/media/platform/{ => ti}/omap/omap_vout_vrfb.h | 0
drivers/media/platform/{ => ti}/omap/omap_voutdef.h | 0
drivers/media/platform/{ => ti}/omap/omap_voutlib.c | 0
drivers/media/platform/{ => ti}/omap/omap_voutlib.h | 0
10 files changed, 2 insertions(+), 2 deletions(-)
rename drivers/media/platform/{ => ti}/omap/Kconfig (100%)
rename drivers/media/platform/{ => ti}/omap/Makefile (100%)
rename drivers/media/platform/{ => ti}/omap/omap_vout.c (100%)
rename drivers/media/platform/{ => ti}/omap/omap_vout_vrfb.c (100%)
rename drivers/media/platform/{ => ti}/omap/omap_vout_vrfb.h (100%)
rename drivers/media/platform/{ => ti}/omap/omap_voutdef.h (100%)
rename drivers/media/platform/{ => ti}/omap/omap_voutlib.c (100%)
rename drivers/media/platform/{ => ti}/omap/omap_voutlib.h (100%)
diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
index 7763bd455f21..366a0fa5e519 100644
--- a/drivers/media/platform/Kconfig
+++ b/drivers/media/platform/Kconfig
@@ -81,7 +81,6 @@ source "drivers/media/platform/mediatek/mtk-vpu/Kconfig"
source "drivers/media/platform/nvidia/tegra-vde/Kconfig"
source "drivers/media/platform/nxp/Kconfig"
source "drivers/media/platform/nxp/amphion/Kconfig"
-source "drivers/media/platform/omap/Kconfig"
source "drivers/media/platform/qcom/Kconfig"
source "drivers/media/platform/renesas/Kconfig"
source "drivers/media/platform/rockchip/Kconfig"
@@ -96,6 +95,7 @@ source "drivers/media/platform/sti/stm32/Kconfig"
source "drivers/media/platform/ti-vpe/Kconfig"
source "drivers/media/platform/ti/am437x/Kconfig"
source "drivers/media/platform/ti/davinci/Kconfig"
+source "drivers/media/platform/ti/omap/Kconfig"
source "drivers/media/platform/ti/omap3isp/Kconfig"
source "drivers/media/platform/via/Kconfig"
source "drivers/media/platform/xilinx/Kconfig"
diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile
index ef6c00b2ed64..a9740f6021d2 100644
--- a/drivers/media/platform/Makefile
+++ b/drivers/media/platform/Makefile
@@ -21,7 +21,6 @@ obj-y += mediatek/mtk-vpu/
obj-y += nvidia/tegra-vde/
obj-y += nxp/
obj-y += nxp/amphion/
-obj-y += omap/
obj-y += qcom/camss/
obj-y += qcom/venus/
obj-y += renesas/
@@ -41,6 +40,7 @@ obj-y += sti/stm32/
obj-y += ti-vpe/
obj-y += ti/am437x/
obj-y += ti/davinci/
+obj-y += ti/omap/
obj-y += ti/omap3isp/
obj-y += via/
obj-y += xilinx/
diff --git a/drivers/media/platform/omap/Kconfig b/drivers/media/platform/ti/omap/Kconfig
similarity index 100%
rename from drivers/media/platform/omap/Kconfig
rename to drivers/media/platform/ti/omap/Kconfig
diff --git a/drivers/media/platform/omap/Makefile b/drivers/media/platform/ti/omap/Makefile
similarity index 100%
rename from drivers/media/platform/omap/Makefile
rename to drivers/media/platform/ti/omap/Makefile
diff --git a/drivers/media/platform/omap/omap_vout.c b/drivers/media/platform/ti/omap/omap_vout.c
similarity index 100%
rename from drivers/media/platform/omap/omap_vout.c
rename to drivers/media/platform/ti/omap/omap_vout.c
diff --git a/drivers/media/platform/omap/omap_vout_vrfb.c b/drivers/media/platform/ti/omap/omap_vout_vrfb.c
similarity index 100%
rename from drivers/media/platform/omap/omap_vout_vrfb.c
rename to drivers/media/platform/ti/omap/omap_vout_vrfb.c
diff --git a/drivers/media/platform/omap/omap_vout_vrfb.h b/drivers/media/platform/ti/omap/omap_vout_vrfb.h
similarity index 100%
rename from drivers/media/platform/omap/omap_vout_vrfb.h
rename to drivers/media/platform/ti/omap/omap_vout_vrfb.h
diff --git a/drivers/media/platform/omap/omap_voutdef.h b/drivers/media/platform/ti/omap/omap_voutdef.h
similarity index 100%
rename from drivers/media/platform/omap/omap_voutdef.h
rename to drivers/media/platform/ti/omap/omap_voutdef.h
diff --git a/drivers/media/platform/omap/omap_voutlib.c b/drivers/media/platform/ti/omap/omap_voutlib.c
similarity index 100%
rename from drivers/media/platform/omap/omap_voutlib.c
rename to drivers/media/platform/ti/omap/omap_voutlib.c
diff --git a/drivers/media/platform/omap/omap_voutlib.h b/drivers/media/platform/ti/omap/omap_voutlib.h
similarity index 100%
rename from drivers/media/platform/omap/omap_voutlib.h
rename to drivers/media/platform/ti/omap/omap_voutlib.h
--
2.35.1
As the end goal is to have platform drivers split by vendor,
rename mtk-vcodec/ to mediatek/mtk-vcodec/.
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
---
To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover.
See [PATCH 00/24] at: https://lore.kernel.org/all/[email protected]/
MAINTAINERS | 2 +-
drivers/media/platform/Kconfig | 2 +-
drivers/media/platform/Makefile | 2 +-
drivers/media/platform/{ => mediatek}/mtk-vcodec/Kconfig | 0
drivers/media/platform/{ => mediatek}/mtk-vcodec/Makefile | 0
.../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.c | 0
.../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.h | 0
.../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_drv.c | 0
.../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.c | 0
.../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.h | 0
.../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.c | 0
.../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.h | 0
.../{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateful.c | 0
.../{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateless.c | 0
.../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_drv.h | 0
.../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.c | 0
.../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.h | 0
.../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_drv.c | 0
.../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.c | 0
.../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.h | 0
.../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.c | 0
.../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.h | 0
.../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_priv.h | 0
.../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_scp.c | 0
.../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_vpu.c | 0
.../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.c | 0
.../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.h | 0
.../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.c | 0
.../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.h | 0
.../platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_if.c | 0
.../platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_req_if.c | 0
.../media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp8_if.c | 0
.../media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp9_if.c | 0
.../media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_base.h | 0
drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.c | 0
drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.h | 0
drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_ipi_msg.h | 0
.../media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.c | 0
.../media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.h | 0
drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.c | 0
drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.h | 0
.../platform/{ => mediatek}/mtk-vcodec/venc/venc_h264_if.c | 0
.../media/platform/{ => mediatek}/mtk-vcodec/venc/venc_vp8_if.c | 0
.../media/platform/{ => mediatek}/mtk-vcodec/venc_drv_base.h | 0
drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.c | 0
drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.h | 0
drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_ipi_msg.h | 0
drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.c | 0
drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.h | 0
49 files changed, 3 insertions(+), 3 deletions(-)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/Kconfig (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/Makefile (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_drv.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateful.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateless.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_drv.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_drv.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_priv.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_scp.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_vpu.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_if.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_req_if.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp8_if.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp9_if.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_base.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_ipi_msg.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc/venc_h264_if.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc/venc_vp8_if.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_base.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_ipi_msg.h (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.c (100%)
rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.h (100%)
diff --git a/MAINTAINERS b/MAINTAINERS
index 2203d98bbcf1..bfe014870a77 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -12147,7 +12147,7 @@ M: Andrew-CT Chen <[email protected]>
S: Supported
F: Documentation/devicetree/bindings/media/mediatek-vcodec.txt
F: Documentation/devicetree/bindings/media/mediatek-vpu.txt
-F: drivers/media/platform/mtk-vcodec/
+F: drivers/media/platform/mediatek/mtk-vcodec/
F: drivers/media/platform/mtk-vpu/
MEDIATEK MMC/SD/SDIO DRIVER
diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
index a45fd3fe103e..8ba10b657164 100644
--- a/drivers/media/platform/Kconfig
+++ b/drivers/media/platform/Kconfig
@@ -80,7 +80,7 @@ source "drivers/media/platform/intel/Kconfig"
source "drivers/media/platform/marvell/Kconfig"
source "drivers/media/platform/mediatek/mtk-jpeg/Kconfig"
source "drivers/media/platform/mediatek/mtk-mdp/Kconfig"
-source "drivers/media/platform/mtk-vcodec/Kconfig"
+source "drivers/media/platform/mediatek/mtk-vcodec/Kconfig"
source "drivers/media/platform/mtk-vpu/Kconfig"
source "drivers/media/platform/nxp/Kconfig"
source "drivers/media/platform/omap/Kconfig"
diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile
index 6f5d09cd8f9b..637a3a7ac036 100644
--- a/drivers/media/platform/Makefile
+++ b/drivers/media/platform/Makefile
@@ -20,7 +20,7 @@ obj-y += intel/
obj-y += marvell/
obj-y += mediatek/mtk-jpeg/
obj-y += mediatek/mtk-mdp/
-obj-y += mtk-vcodec/
+obj-y += mediatek/mtk-vcodec/
obj-y += mtk-vpu/
obj-y += nxp/
obj-y += omap/
diff --git a/drivers/media/platform/mtk-vcodec/Kconfig b/drivers/media/platform/mediatek/mtk-vcodec/Kconfig
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/Kconfig
rename to drivers/media/platform/mediatek/mtk-vcodec/Kconfig
diff --git a/drivers/media/platform/mtk-vcodec/Makefile b/drivers/media/platform/mediatek/mtk-vcodec/Makefile
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/Makefile
rename to drivers/media/platform/mediatek/mtk-vcodec/Makefile
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.c
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.h
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.h
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_drv.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_drv.c
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.c
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.c
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.h
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.h
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.h
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.c
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.h
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.h
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.h
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateful.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateful.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateful.c
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateful.c
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateless.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateless.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateless.c
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateless.c
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_drv.h
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_drv.h
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.c
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.h
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.h
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.h
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_drv.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_drv.c
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.c
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.h
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.h
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.h
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.c
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.c
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.h
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.h
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.h
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_priv.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_priv.h
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_priv.h
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_priv.h
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_scp.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_scp.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_scp.c
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_scp.c
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_vpu.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_vpu.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_vpu.c
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_vpu.c
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.c
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.h
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.h
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.h
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.c
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.h
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h
rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.h
diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_if.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c
rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_if.c
diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_req_if.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c
rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_req_if.c
diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp8_if.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c
rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp8_if.c
diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp9_if.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c
rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp9_if.c
diff --git a/drivers/media/platform/mtk-vcodec/vdec_drv_base.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_base.h
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/vdec_drv_base.h
rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_base.h
diff --git a/drivers/media/platform/mtk-vcodec/vdec_drv_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/vdec_drv_if.c
rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.c
diff --git a/drivers/media/platform/mtk-vcodec/vdec_drv_if.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.h
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/vdec_drv_if.h
rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.h
diff --git a/drivers/media/platform/mtk-vcodec/vdec_ipi_msg.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_ipi_msg.h
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/vdec_ipi_msg.h
rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_ipi_msg.h
diff --git a/drivers/media/platform/mtk-vcodec/vdec_msg_queue.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/vdec_msg_queue.c
rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.c
diff --git a/drivers/media/platform/mtk-vcodec/vdec_msg_queue.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.h
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/vdec_msg_queue.h
rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.h
diff --git a/drivers/media/platform/mtk-vcodec/vdec_vpu_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/vdec_vpu_if.c
rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.c
diff --git a/drivers/media/platform/mtk-vcodec/vdec_vpu_if.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.h
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/vdec_vpu_if.h
rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.h
diff --git a/drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc/venc_h264_if.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c
rename to drivers/media/platform/mediatek/mtk-vcodec/venc/venc_h264_if.c
diff --git a/drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc/venc_vp8_if.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c
rename to drivers/media/platform/mediatek/mtk-vcodec/venc/venc_vp8_if.c
diff --git a/drivers/media/platform/mtk-vcodec/venc_drv_base.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_drv_base.h
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/venc_drv_base.h
rename to drivers/media/platform/mediatek/mtk-vcodec/venc_drv_base.h
diff --git a/drivers/media/platform/mtk-vcodec/venc_drv_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/venc_drv_if.c
rename to drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.c
diff --git a/drivers/media/platform/mtk-vcodec/venc_drv_if.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.h
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/venc_drv_if.h
rename to drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.h
diff --git a/drivers/media/platform/mtk-vcodec/venc_ipi_msg.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_ipi_msg.h
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/venc_ipi_msg.h
rename to drivers/media/platform/mediatek/mtk-vcodec/venc_ipi_msg.h
diff --git a/drivers/media/platform/mtk-vcodec/venc_vpu_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.c
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/venc_vpu_if.c
rename to drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.c
diff --git a/drivers/media/platform/mtk-vcodec/venc_vpu_if.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.h
similarity index 100%
rename from drivers/media/platform/mtk-vcodec/venc_vpu_if.h
rename to drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.h
--
2.35.1
Em Mon, 14 Mar 2022 09:09:45 -0400
Nicolas Dufresne <[email protected]> escreveu:
> Le dimanche 13 mars 2022 à 11:51 +0100, Mauro Carvalho Chehab a écrit :
> > As the end goal is to have platform drivers split by vendor,
> > rename mtk-vcodec/ to mediatek/mtk-vcodec/.
>
> Was thinking all these mtk-* directory didn't fit with the platform/ semantic. I
> totally support this change. I suppose jpeg/mdp/vpu also needs to be moved. And
> mdp3 and various vcodec patches will need a new submission.
They were all moved too, each one on a separate patch in this series:
$ LANG=C tree -d drivers/media/platform/
drivers/media/platform/
|-- allegro-dvt
|-- allwinner
| |-- sun4i-csi
| |-- sun6i-csi
| |-- sun8i-di
| `-- sun8i-rotate
|-- amlogic
| `-- meson-ge2d
|-- amphion
|-- aspeed
|-- atmel
|-- cadence
|-- chips-media
|-- intel
|-- marvell
|-- mediatek
| |-- mtk-jpeg
| |-- mtk-mdp
| |-- mtk-vcodec
| | |-- vdec
| | `-- venc
| `-- mtk-vpu
|-- nvidia
| `-- tegra-vde
|-- nxp
| `-- imx-jpeg
|-- qcom
| |-- camss
| `-- venus
|-- renesas
| |-- rcar-vin
| `-- vsp1
|-- rockchip
| |-- rga
| `-- rkisp1
|-- samsung
| |-- exynos-gsc
| |-- exynos4-is
| |-- s3c-camif
| |-- s5p-g2d
| |-- s5p-jpeg
| `-- s5p-mfc
|-- stm
| |-- sti
| | |-- bdisp
| | |-- c8sectpfe
| | |-- delta
| | `-- hva
| `-- stm32
| `-- dma2d
|-- ti
| |-- am437x
| |-- cal
| |-- davinci
| |-- omap
| |-- omap3isp
| `-- vpe
|-- ti-vpe
|-- via
`-- xilinx
>
> >
> > Signed-off-by: Mauro Carvalho Chehab <[email protected]>
>
> Acked-by: Nicolas Dufresne <[email protected]>
>
> > ---
> >
> > To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover.
> > See [PATCH 00/24] at: https://lore.kernel.org/all/[email protected]/
> >
> > MAINTAINERS | 2 +-
> > drivers/media/platform/Kconfig | 2 +-
> > drivers/media/platform/Makefile | 2 +-
> > drivers/media/platform/{ => mediatek}/mtk-vcodec/Kconfig | 0
> > drivers/media/platform/{ => mediatek}/mtk-vcodec/Makefile | 0
> > .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.c | 0
> > .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.h | 0
> > .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_drv.c | 0
> > .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.c | 0
> > .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.h | 0
> > .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.c | 0
> > .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.h | 0
> > .../{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateful.c | 0
> > .../{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateless.c | 0
> > .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_drv.h | 0
> > .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.c | 0
> > .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.h | 0
> > .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_drv.c | 0
> > .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.c | 0
> > .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.h | 0
> > .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.c | 0
> > .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.h | 0
> > .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_priv.h | 0
> > .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_scp.c | 0
> > .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_vpu.c | 0
> > .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.c | 0
> > .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.h | 0
> > .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.c | 0
> > .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.h | 0
> > .../platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_if.c | 0
> > .../platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_req_if.c | 0
> > .../media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp8_if.c | 0
> > .../media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp9_if.c | 0
> > .../media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_base.h | 0
> > drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.c | 0
> > drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.h | 0
> > drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_ipi_msg.h | 0
> > .../media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.c | 0
> > .../media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.h | 0
> > drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.c | 0
> > drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.h | 0
> > .../platform/{ => mediatek}/mtk-vcodec/venc/venc_h264_if.c | 0
> > .../media/platform/{ => mediatek}/mtk-vcodec/venc/venc_vp8_if.c | 0
> > .../media/platform/{ => mediatek}/mtk-vcodec/venc_drv_base.h | 0
> > drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.c | 0
> > drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.h | 0
> > drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_ipi_msg.h | 0
> > drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.c | 0
> > drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.h | 0
> > 49 files changed, 3 insertions(+), 3 deletions(-)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/Kconfig (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/Makefile (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.h (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_drv.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.h (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.h (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateful.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateless.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_drv.h (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.h (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_drv.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.h (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.h (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_priv.h (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_scp.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_vpu.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.h (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.h (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_if.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_req_if.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp8_if.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp9_if.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_base.h (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.h (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_ipi_msg.h (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.h (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.h (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc/venc_h264_if.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc/venc_vp8_if.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_base.h (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.h (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_ipi_msg.h (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.c (100%)
> > rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.h (100%)
> >
> > diff --git a/MAINTAINERS b/MAINTAINERS
> > index 2203d98bbcf1..bfe014870a77 100644
> > --- a/MAINTAINERS
> > +++ b/MAINTAINERS
> > @@ -12147,7 +12147,7 @@ M: Andrew-CT Chen <[email protected]>
> > S: Supported
> > F: Documentation/devicetree/bindings/media/mediatek-vcodec.txt
> > F: Documentation/devicetree/bindings/media/mediatek-vpu.txt
> > -F: drivers/media/platform/mtk-vcodec/
> > +F: drivers/media/platform/mediatek/mtk-vcodec/
> > F: drivers/media/platform/mtk-vpu/
> >
> > MEDIATEK MMC/SD/SDIO DRIVER
> > diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
> > index a45fd3fe103e..8ba10b657164 100644
> > --- a/drivers/media/platform/Kconfig
> > +++ b/drivers/media/platform/Kconfig
> > @@ -80,7 +80,7 @@ source "drivers/media/platform/intel/Kconfig"
> > source "drivers/media/platform/marvell/Kconfig"
> > source "drivers/media/platform/mediatek/mtk-jpeg/Kconfig"
> > source "drivers/media/platform/mediatek/mtk-mdp/Kconfig"
> > -source "drivers/media/platform/mtk-vcodec/Kconfig"
> > +source "drivers/media/platform/mediatek/mtk-vcodec/Kconfig"
> > source "drivers/media/platform/mtk-vpu/Kconfig"
> > source "drivers/media/platform/nxp/Kconfig"
> > source "drivers/media/platform/omap/Kconfig"
> > diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile
> > index 6f5d09cd8f9b..637a3a7ac036 100644
> > --- a/drivers/media/platform/Makefile
> > +++ b/drivers/media/platform/Makefile
> > @@ -20,7 +20,7 @@ obj-y += intel/
> > obj-y += marvell/
> > obj-y += mediatek/mtk-jpeg/
> > obj-y += mediatek/mtk-mdp/
> > -obj-y += mtk-vcodec/
> > +obj-y += mediatek/mtk-vcodec/
> > obj-y += mtk-vpu/
> > obj-y += nxp/
> > obj-y += omap/
> > diff --git a/drivers/media/platform/mtk-vcodec/Kconfig b/drivers/media/platform/mediatek/mtk-vcodec/Kconfig
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/Kconfig
> > rename to drivers/media/platform/mediatek/mtk-vcodec/Kconfig
> > diff --git a/drivers/media/platform/mtk-vcodec/Makefile b/drivers/media/platform/mediatek/mtk-vcodec/Makefile
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/Makefile
> > rename to drivers/media/platform/mediatek/mtk-vcodec/Makefile
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.c
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.h
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.h
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_drv.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_drv.c
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.c
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.h
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.h
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.h
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.c
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.h
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.h
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.h
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateful.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateful.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateful.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateful.c
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateless.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateless.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateless.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateless.c
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_drv.h
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_drv.h
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.c
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.h
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.h
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.h
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_drv.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_drv.c
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.c
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.h
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.h
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.h
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.c
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.h
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.h
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.h
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_priv.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_priv.h
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_priv.h
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_priv.h
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_scp.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_scp.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_scp.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_scp.c
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_vpu.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_vpu.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_vpu.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_vpu.c
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.c
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.h
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.h
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.h
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.c
> > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.h
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h
> > rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.h
> > diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_if.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_if.c
> > diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_req_if.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_req_if.c
> > diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp8_if.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp8_if.c
> > diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp9_if.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp9_if.c
> > diff --git a/drivers/media/platform/mtk-vcodec/vdec_drv_base.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_base.h
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/vdec_drv_base.h
> > rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_base.h
> > diff --git a/drivers/media/platform/mtk-vcodec/vdec_drv_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/vdec_drv_if.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.c
> > diff --git a/drivers/media/platform/mtk-vcodec/vdec_drv_if.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.h
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/vdec_drv_if.h
> > rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.h
> > diff --git a/drivers/media/platform/mtk-vcodec/vdec_ipi_msg.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_ipi_msg.h
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/vdec_ipi_msg.h
> > rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_ipi_msg.h
> > diff --git a/drivers/media/platform/mtk-vcodec/vdec_msg_queue.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/vdec_msg_queue.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.c
> > diff --git a/drivers/media/platform/mtk-vcodec/vdec_msg_queue.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.h
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/vdec_msg_queue.h
> > rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.h
> > diff --git a/drivers/media/platform/mtk-vcodec/vdec_vpu_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/vdec_vpu_if.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.c
> > diff --git a/drivers/media/platform/mtk-vcodec/vdec_vpu_if.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.h
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/vdec_vpu_if.h
> > rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.h
> > diff --git a/drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc/venc_h264_if.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/venc/venc_h264_if.c
> > diff --git a/drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc/venc_vp8_if.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/venc/venc_vp8_if.c
> > diff --git a/drivers/media/platform/mtk-vcodec/venc_drv_base.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_drv_base.h
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/venc_drv_base.h
> > rename to drivers/media/platform/mediatek/mtk-vcodec/venc_drv_base.h
> > diff --git a/drivers/media/platform/mtk-vcodec/venc_drv_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/venc_drv_if.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.c
> > diff --git a/drivers/media/platform/mtk-vcodec/venc_drv_if.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.h
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/venc_drv_if.h
> > rename to drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.h
> > diff --git a/drivers/media/platform/mtk-vcodec/venc_ipi_msg.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_ipi_msg.h
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/venc_ipi_msg.h
> > rename to drivers/media/platform/mediatek/mtk-vcodec/venc_ipi_msg.h
> > diff --git a/drivers/media/platform/mtk-vcodec/venc_vpu_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.c
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/venc_vpu_if.c
> > rename to drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.c
> > diff --git a/drivers/media/platform/mtk-vcodec/venc_vpu_if.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.h
> > similarity index 100%
> > rename from drivers/media/platform/mtk-vcodec/venc_vpu_if.h
> > rename to drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.h
>
Thanks,
Mauro
Il 14/03/22 16:42, Mauro Carvalho Chehab ha scritto:
> Em Mon, 14 Mar 2022 16:02:43 +0100
> AngeloGioacchino Del Regno <[email protected]> escreveu:
>
>> Il 14/03/22 15:37, Mauro Carvalho Chehab ha scritto:
>>> Em Mon, 14 Mar 2022 09:09:45 -0400
>>> Nicolas Dufresne <[email protected]> escreveu:
>>>
>>>> Le dimanche 13 mars 2022 à 11:51 +0100, Mauro Carvalho Chehab a écrit :
>>>>> As the end goal is to have platform drivers split by vendor,
>>>>> rename mtk-vcodec/ to mediatek/mtk-vcodec/.
>>>>
>>>> Was thinking all these mtk-* directory didn't fit with the platform/ semantic. I
>>>> totally support this change. I suppose jpeg/mdp/vpu also needs to be moved. And
>>>> mdp3 and various vcodec patches will need a new submission.
>>>
>>> They were all moved too, each one on a separate patch in this series:
>>>
>>
>> Hello Mauro, Nicolas
>>
>> I was wondering if we could also drop the 'mtk-' prefix from the folder names,
>> as 'mtk' effectively stands for 'mediatek'... so we would have them as:
>>
>> mediatek/jpeg
>> mediatek/mdp
>
>> mediatek/mdp3
>
> Hmm... I guess this one didn't reach upstream yet.
Hehehe, sorry, I tend to always think forward... sometimes too much :))
>
>> mediatek/vcodec
>> mediatek/vpu
>>
>> mediatek/mtk-... looks a bit repetitive :)
>
> Ok, but I'll likely place this on a separate patch at the end of this
> series. Rebasing such series has been no fun ;-)
>
Sure, thank you!
>>
>> Cheers,
>> Angelo
>>
>>> $ LANG=C tree -d drivers/media/platform/
>>> drivers/media/platform/
>>> |-- allegro-dvt
>>> |-- allwinner
>>> | |-- sun4i-csi
>>> | |-- sun6i-csi
>>> | |-- sun8i-di
>>> | `-- sun8i-rotate
>>> |-- amlogic
>>> | `-- meson-ge2d
>>> |-- amphion
>>> |-- aspeed
>>> |-- atmel
>>> |-- cadence
>>> |-- chips-media
>>> |-- intel
>>> |-- marvell
>>> |-- mediatek
>>> | |-- mtk-jpeg
>>> | |-- mtk-mdp
>>> | |-- mtk-vcodec
>>> | | |-- vdec
>>> | | `-- venc
>>> | `-- mtk-vpu
>>> |-- nvidia
>>> | `-- tegra-vde
>>> |-- nxp
>>> | `-- imx-jpeg
>>> |-- qcom
>>> | |-- camss
>>> | `-- venus
>>> |-- renesas
>>> | |-- rcar-vin
>>> | `-- vsp1
>>> |-- rockchip
>>> | |-- rga
>>> | `-- rkisp1
>>> |-- samsung
>>> | |-- exynos-gsc
>>> | |-- exynos4-is
>>> | |-- s3c-camif
>>> | |-- s5p-g2d
>>> | |-- s5p-jpeg
>>> | `-- s5p-mfc
>>> |-- stm
>>> | |-- sti
>>> | | |-- bdisp
>>> | | |-- c8sectpfe
>>> | | |-- delta
>>> | | `-- hva
>>> | `-- stm32
>>> | `-- dma2d
>>> |-- ti
>>> | |-- am437x
>>> | |-- cal
>>> | |-- davinci
>>> | |-- omap
>>> | |-- omap3isp
>>> | `-- vpe
>>> |-- ti-vpe
>>> |-- via
>>> `-- xilinx
>>>
>>>>
>>>>>
>>>>> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
>>>>
>>>> Acked-by: Nicolas Dufresne <[email protected]>
>>>>
>>>>> ---
>>>>>
>>>>> To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover.
>>>>> See [PATCH 00/24] at: https://lore.kernel.org/all/[email protected]/
>>>>>
>>>>> MAINTAINERS | 2 +-
>>>>> drivers/media/platform/Kconfig | 2 +-
>>>>> drivers/media/platform/Makefile | 2 +-
>>>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/Kconfig | 0
>>>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/Makefile | 0
>>>>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.c | 0
>>>>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.h | 0
>>>>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_drv.c | 0
>>>>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.c | 0
>>>>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.h | 0
>>>>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.c | 0
>>>>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.h | 0
>>>>> .../{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateful.c | 0
>>>>> .../{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateless.c | 0
>>>>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_drv.h | 0
>>>>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.c | 0
>>>>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.h | 0
>>>>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_drv.c | 0
>>>>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.c | 0
>>>>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.h | 0
>>>>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.c | 0
>>>>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.h | 0
>>>>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_priv.h | 0
>>>>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_scp.c | 0
>>>>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_vpu.c | 0
>>>>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.c | 0
>>>>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.h | 0
>>>>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.c | 0
>>>>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.h | 0
>>>>> .../platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_if.c | 0
>>>>> .../platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_req_if.c | 0
>>>>> .../media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp8_if.c | 0
>>>>> .../media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp9_if.c | 0
>>>>> .../media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_base.h | 0
>>>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.c | 0
>>>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.h | 0
>>>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_ipi_msg.h | 0
>>>>> .../media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.c | 0
>>>>> .../media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.h | 0
>>>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.c | 0
>>>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.h | 0
>>>>> .../platform/{ => mediatek}/mtk-vcodec/venc/venc_h264_if.c | 0
>>>>> .../media/platform/{ => mediatek}/mtk-vcodec/venc/venc_vp8_if.c | 0
>>>>> .../media/platform/{ => mediatek}/mtk-vcodec/venc_drv_base.h | 0
>>>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.c | 0
>>>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.h | 0
>>>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_ipi_msg.h | 0
>>>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.c | 0
>>>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.h | 0
>>>>> 49 files changed, 3 insertions(+), 3 deletions(-)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/Kconfig (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/Makefile (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.h (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_drv.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.h (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.h (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateful.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateless.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_drv.h (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.h (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_drv.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.h (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.h (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_priv.h (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_scp.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_vpu.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.h (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.h (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_if.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_req_if.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp8_if.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp9_if.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_base.h (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.h (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_ipi_msg.h (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.h (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.h (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc/venc_h264_if.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc/venc_vp8_if.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_base.h (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.h (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_ipi_msg.h (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.c (100%)
>>>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.h (100%)
>>>>>
>>>>> diff --git a/MAINTAINERS b/MAINTAINERS
>>>>> index 2203d98bbcf1..bfe014870a77 100644
>>>>> --- a/MAINTAINERS
>>>>> +++ b/MAINTAINERS
>>>>> @@ -12147,7 +12147,7 @@ M: Andrew-CT Chen <[email protected]>
>>>>> S: Supported
>>>>> F: Documentation/devicetree/bindings/media/mediatek-vcodec.txt
>>>>> F: Documentation/devicetree/bindings/media/mediatek-vpu.txt
>>>>> -F: drivers/media/platform/mtk-vcodec/
>>>>> +F: drivers/media/platform/mediatek/mtk-vcodec/
>>>>> F: drivers/media/platform/mtk-vpu/
>>>>>
>>>>> MEDIATEK MMC/SD/SDIO DRIVER
>>>>> diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
>>>>> index a45fd3fe103e..8ba10b657164 100644
>>>>> --- a/drivers/media/platform/Kconfig
>>>>> +++ b/drivers/media/platform/Kconfig
>>>>> @@ -80,7 +80,7 @@ source "drivers/media/platform/intel/Kconfig"
>>>>> source "drivers/media/platform/marvell/Kconfig"
>>>>> source "drivers/media/platform/mediatek/mtk-jpeg/Kconfig"
>>>>> source "drivers/media/platform/mediatek/mtk-mdp/Kconfig"
>>>>> -source "drivers/media/platform/mtk-vcodec/Kconfig"
>>>>> +source "drivers/media/platform/mediatek/mtk-vcodec/Kconfig"
>>>>> source "drivers/media/platform/mtk-vpu/Kconfig"
>>>>> source "drivers/media/platform/nxp/Kconfig"
>>>>> source "drivers/media/platform/omap/Kconfig"
>>>>> diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile
>>>>> index 6f5d09cd8f9b..637a3a7ac036 100644
>>>>> --- a/drivers/media/platform/Makefile
>>>>> +++ b/drivers/media/platform/Makefile
>>>>> @@ -20,7 +20,7 @@ obj-y += intel/
>>>>> obj-y += marvell/
>>>>> obj-y += mediatek/mtk-jpeg/
>>>>> obj-y += mediatek/mtk-mdp/
>>>>> -obj-y += mtk-vcodec/
>>>>> +obj-y += mediatek/mtk-vcodec/
>>>>> obj-y += mtk-vpu/
>>>>> obj-y += nxp/
>>>>> obj-y += omap/
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/Kconfig b/drivers/media/platform/mediatek/mtk-vcodec/Kconfig
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/Kconfig
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/Kconfig
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/Makefile b/drivers/media/platform/mediatek/mtk-vcodec/Makefile
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/Makefile
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/Makefile
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.h
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.h
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_drv.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_drv.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.h
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.h
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.h
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.h
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.h
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.h
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateful.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateful.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateful.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateful.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateless.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateless.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateless.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateless.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_drv.h
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_drv.h
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.h
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.h
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.h
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_drv.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_drv.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.h
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.h
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.h
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.h
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.h
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.h
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_priv.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_priv.h
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_priv.h
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_priv.h
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_scp.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_scp.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_scp.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_scp.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_vpu.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_vpu.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_vpu.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_vpu.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.h
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.h
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.h
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.h
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.h
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_if.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_if.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_req_if.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_req_if.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp8_if.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp8_if.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp9_if.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp9_if.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_drv_base.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_base.h
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/vdec_drv_base.h
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_base.h
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_drv_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/vdec_drv_if.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_drv_if.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.h
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/vdec_drv_if.h
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.h
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_ipi_msg.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_ipi_msg.h
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/vdec_ipi_msg.h
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_ipi_msg.h
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_msg_queue.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/vdec_msg_queue.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_msg_queue.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.h
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/vdec_msg_queue.h
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.h
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_vpu_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/vdec_vpu_if.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_vpu_if.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.h
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/vdec_vpu_if.h
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.h
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc/venc_h264_if.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc/venc_h264_if.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc/venc_vp8_if.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc/venc_vp8_if.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/venc_drv_base.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_drv_base.h
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/venc_drv_base.h
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_drv_base.h
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/venc_drv_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/venc_drv_if.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/venc_drv_if.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.h
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/venc_drv_if.h
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.h
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/venc_ipi_msg.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_ipi_msg.h
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/venc_ipi_msg.h
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_ipi_msg.h
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/venc_vpu_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.c
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/venc_vpu_if.c
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.c
>>>>> diff --git a/drivers/media/platform/mtk-vcodec/venc_vpu_if.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.h
>>>>> similarity index 100%
>>>>> rename from drivers/media/platform/mtk-vcodec/venc_vpu_if.h
>>>>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.h
>>>>
>>>
>>>
>>>
>>> Thanks,
>>> Mauro
>>
>>
>
>
>
> Thanks,
> Mauro
Il 14/03/22 15:37, Mauro Carvalho Chehab ha scritto:
> Em Mon, 14 Mar 2022 09:09:45 -0400
> Nicolas Dufresne <[email protected]> escreveu:
>
>> Le dimanche 13 mars 2022 à 11:51 +0100, Mauro Carvalho Chehab a écrit :
>>> As the end goal is to have platform drivers split by vendor,
>>> rename mtk-vcodec/ to mediatek/mtk-vcodec/.
>>
>> Was thinking all these mtk-* directory didn't fit with the platform/ semantic. I
>> totally support this change. I suppose jpeg/mdp/vpu also needs to be moved. And
>> mdp3 and various vcodec patches will need a new submission.
>
> They were all moved too, each one on a separate patch in this series:
>
Hello Mauro, Nicolas
I was wondering if we could also drop the 'mtk-' prefix from the folder names,
as 'mtk' effectively stands for 'mediatek'... so we would have them as:
mediatek/jpeg
mediatek/mdp
mediatek/mdp3
mediatek/vcodec
mediatek/vpu
mediatek/mtk-... looks a bit repetitive :)
Cheers,
Angelo
> $ LANG=C tree -d drivers/media/platform/
> drivers/media/platform/
> |-- allegro-dvt
> |-- allwinner
> | |-- sun4i-csi
> | |-- sun6i-csi
> | |-- sun8i-di
> | `-- sun8i-rotate
> |-- amlogic
> | `-- meson-ge2d
> |-- amphion
> |-- aspeed
> |-- atmel
> |-- cadence
> |-- chips-media
> |-- intel
> |-- marvell
> |-- mediatek
> | |-- mtk-jpeg
> | |-- mtk-mdp
> | |-- mtk-vcodec
> | | |-- vdec
> | | `-- venc
> | `-- mtk-vpu
> |-- nvidia
> | `-- tegra-vde
> |-- nxp
> | `-- imx-jpeg
> |-- qcom
> | |-- camss
> | `-- venus
> |-- renesas
> | |-- rcar-vin
> | `-- vsp1
> |-- rockchip
> | |-- rga
> | `-- rkisp1
> |-- samsung
> | |-- exynos-gsc
> | |-- exynos4-is
> | |-- s3c-camif
> | |-- s5p-g2d
> | |-- s5p-jpeg
> | `-- s5p-mfc
> |-- stm
> | |-- sti
> | | |-- bdisp
> | | |-- c8sectpfe
> | | |-- delta
> | | `-- hva
> | `-- stm32
> | `-- dma2d
> |-- ti
> | |-- am437x
> | |-- cal
> | |-- davinci
> | |-- omap
> | |-- omap3isp
> | `-- vpe
> |-- ti-vpe
> |-- via
> `-- xilinx
>
>>
>>>
>>> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
>>
>> Acked-by: Nicolas Dufresne <[email protected]>
>>
>>> ---
>>>
>>> To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover.
>>> See [PATCH 00/24] at: https://lore.kernel.org/all/[email protected]/
>>>
>>> MAINTAINERS | 2 +-
>>> drivers/media/platform/Kconfig | 2 +-
>>> drivers/media/platform/Makefile | 2 +-
>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/Kconfig | 0
>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/Makefile | 0
>>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.c | 0
>>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.h | 0
>>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_drv.c | 0
>>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.c | 0
>>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.h | 0
>>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.c | 0
>>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.h | 0
>>> .../{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateful.c | 0
>>> .../{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateless.c | 0
>>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_drv.h | 0
>>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.c | 0
>>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.h | 0
>>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_drv.c | 0
>>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.c | 0
>>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.h | 0
>>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.c | 0
>>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.h | 0
>>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_priv.h | 0
>>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_scp.c | 0
>>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_vpu.c | 0
>>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.c | 0
>>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.h | 0
>>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.c | 0
>>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.h | 0
>>> .../platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_if.c | 0
>>> .../platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_req_if.c | 0
>>> .../media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp8_if.c | 0
>>> .../media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp9_if.c | 0
>>> .../media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_base.h | 0
>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.c | 0
>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.h | 0
>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_ipi_msg.h | 0
>>> .../media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.c | 0
>>> .../media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.h | 0
>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.c | 0
>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.h | 0
>>> .../platform/{ => mediatek}/mtk-vcodec/venc/venc_h264_if.c | 0
>>> .../media/platform/{ => mediatek}/mtk-vcodec/venc/venc_vp8_if.c | 0
>>> .../media/platform/{ => mediatek}/mtk-vcodec/venc_drv_base.h | 0
>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.c | 0
>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.h | 0
>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_ipi_msg.h | 0
>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.c | 0
>>> drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.h | 0
>>> 49 files changed, 3 insertions(+), 3 deletions(-)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/Kconfig (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/Makefile (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.h (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_drv.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.h (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.h (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateful.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateless.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_drv.h (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.h (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_drv.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.h (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.h (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_priv.h (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_scp.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_vpu.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.h (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.h (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_if.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_req_if.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp8_if.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp9_if.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_base.h (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.h (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_ipi_msg.h (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.h (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.h (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc/venc_h264_if.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc/venc_vp8_if.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_base.h (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.h (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_ipi_msg.h (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.c (100%)
>>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.h (100%)
>>>
>>> diff --git a/MAINTAINERS b/MAINTAINERS
>>> index 2203d98bbcf1..bfe014870a77 100644
>>> --- a/MAINTAINERS
>>> +++ b/MAINTAINERS
>>> @@ -12147,7 +12147,7 @@ M: Andrew-CT Chen <[email protected]>
>>> S: Supported
>>> F: Documentation/devicetree/bindings/media/mediatek-vcodec.txt
>>> F: Documentation/devicetree/bindings/media/mediatek-vpu.txt
>>> -F: drivers/media/platform/mtk-vcodec/
>>> +F: drivers/media/platform/mediatek/mtk-vcodec/
>>> F: drivers/media/platform/mtk-vpu/
>>>
>>> MEDIATEK MMC/SD/SDIO DRIVER
>>> diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
>>> index a45fd3fe103e..8ba10b657164 100644
>>> --- a/drivers/media/platform/Kconfig
>>> +++ b/drivers/media/platform/Kconfig
>>> @@ -80,7 +80,7 @@ source "drivers/media/platform/intel/Kconfig"
>>> source "drivers/media/platform/marvell/Kconfig"
>>> source "drivers/media/platform/mediatek/mtk-jpeg/Kconfig"
>>> source "drivers/media/platform/mediatek/mtk-mdp/Kconfig"
>>> -source "drivers/media/platform/mtk-vcodec/Kconfig"
>>> +source "drivers/media/platform/mediatek/mtk-vcodec/Kconfig"
>>> source "drivers/media/platform/mtk-vpu/Kconfig"
>>> source "drivers/media/platform/nxp/Kconfig"
>>> source "drivers/media/platform/omap/Kconfig"
>>> diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile
>>> index 6f5d09cd8f9b..637a3a7ac036 100644
>>> --- a/drivers/media/platform/Makefile
>>> +++ b/drivers/media/platform/Makefile
>>> @@ -20,7 +20,7 @@ obj-y += intel/
>>> obj-y += marvell/
>>> obj-y += mediatek/mtk-jpeg/
>>> obj-y += mediatek/mtk-mdp/
>>> -obj-y += mtk-vcodec/
>>> +obj-y += mediatek/mtk-vcodec/
>>> obj-y += mtk-vpu/
>>> obj-y += nxp/
>>> obj-y += omap/
>>> diff --git a/drivers/media/platform/mtk-vcodec/Kconfig b/drivers/media/platform/mediatek/mtk-vcodec/Kconfig
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/Kconfig
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/Kconfig
>>> diff --git a/drivers/media/platform/mtk-vcodec/Makefile b/drivers/media/platform/mediatek/mtk-vcodec/Makefile
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/Makefile
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/Makefile
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.h
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.h
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_drv.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_drv.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.h
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.h
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.h
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.h
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.h
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.h
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateful.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateful.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateful.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateful.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateless.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateless.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateless.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateless.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_drv.h
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_drv.h
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.h
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.h
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.h
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_drv.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_drv.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.h
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.h
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.h
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.h
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.h
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.h
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_priv.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_priv.h
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_priv.h
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_priv.h
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_scp.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_scp.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_scp.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_scp.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_vpu.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_vpu.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_vpu.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_vpu.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.h
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.h
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.h
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.h
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.h
>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_if.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_if.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_req_if.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_req_if.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp8_if.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp8_if.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp9_if.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp9_if.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_drv_base.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_base.h
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/vdec_drv_base.h
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_base.h
>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_drv_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/vdec_drv_if.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_drv_if.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.h
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/vdec_drv_if.h
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.h
>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_ipi_msg.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_ipi_msg.h
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/vdec_ipi_msg.h
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_ipi_msg.h
>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_msg_queue.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/vdec_msg_queue.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_msg_queue.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.h
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/vdec_msg_queue.h
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.h
>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_vpu_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/vdec_vpu_if.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_vpu_if.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.h
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/vdec_vpu_if.h
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.h
>>> diff --git a/drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc/venc_h264_if.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc/venc_h264_if.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc/venc_vp8_if.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc/venc_vp8_if.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/venc_drv_base.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_drv_base.h
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/venc_drv_base.h
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_drv_base.h
>>> diff --git a/drivers/media/platform/mtk-vcodec/venc_drv_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/venc_drv_if.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/venc_drv_if.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.h
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/venc_drv_if.h
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.h
>>> diff --git a/drivers/media/platform/mtk-vcodec/venc_ipi_msg.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_ipi_msg.h
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/venc_ipi_msg.h
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_ipi_msg.h
>>> diff --git a/drivers/media/platform/mtk-vcodec/venc_vpu_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.c
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/venc_vpu_if.c
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.c
>>> diff --git a/drivers/media/platform/mtk-vcodec/venc_vpu_if.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.h
>>> similarity index 100%
>>> rename from drivers/media/platform/mtk-vcodec/venc_vpu_if.h
>>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.h
>>
>
>
>
> Thanks,
> Mauro
Em Mon, 14 Mar 2022 16:02:43 +0100
AngeloGioacchino Del Regno <[email protected]> escreveu:
> Il 14/03/22 15:37, Mauro Carvalho Chehab ha scritto:
> > Em Mon, 14 Mar 2022 09:09:45 -0400
> > Nicolas Dufresne <[email protected]> escreveu:
> >
> >> Le dimanche 13 mars 2022 à 11:51 +0100, Mauro Carvalho Chehab a écrit :
> >>> As the end goal is to have platform drivers split by vendor,
> >>> rename mtk-vcodec/ to mediatek/mtk-vcodec/.
> >>
> >> Was thinking all these mtk-* directory didn't fit with the platform/ semantic. I
> >> totally support this change. I suppose jpeg/mdp/vpu also needs to be moved. And
> >> mdp3 and various vcodec patches will need a new submission.
> >
> > They were all moved too, each one on a separate patch in this series:
> >
>
> Hello Mauro, Nicolas
>
> I was wondering if we could also drop the 'mtk-' prefix from the folder names,
> as 'mtk' effectively stands for 'mediatek'... so we would have them as:
>
> mediatek/jpeg
> mediatek/mdp
> mediatek/mdp3
Hmm... I guess this one didn't reach upstream yet.
> mediatek/vcodec
> mediatek/vpu
>
> mediatek/mtk-... looks a bit repetitive :)
Ok, but I'll likely place this on a separate patch at the end of this
series. Rebasing such series has been no fun ;-)
>
> Cheers,
> Angelo
>
> > $ LANG=C tree -d drivers/media/platform/
> > drivers/media/platform/
> > |-- allegro-dvt
> > |-- allwinner
> > | |-- sun4i-csi
> > | |-- sun6i-csi
> > | |-- sun8i-di
> > | `-- sun8i-rotate
> > |-- amlogic
> > | `-- meson-ge2d
> > |-- amphion
> > |-- aspeed
> > |-- atmel
> > |-- cadence
> > |-- chips-media
> > |-- intel
> > |-- marvell
> > |-- mediatek
> > | |-- mtk-jpeg
> > | |-- mtk-mdp
> > | |-- mtk-vcodec
> > | | |-- vdec
> > | | `-- venc
> > | `-- mtk-vpu
> > |-- nvidia
> > | `-- tegra-vde
> > |-- nxp
> > | `-- imx-jpeg
> > |-- qcom
> > | |-- camss
> > | `-- venus
> > |-- renesas
> > | |-- rcar-vin
> > | `-- vsp1
> > |-- rockchip
> > | |-- rga
> > | `-- rkisp1
> > |-- samsung
> > | |-- exynos-gsc
> > | |-- exynos4-is
> > | |-- s3c-camif
> > | |-- s5p-g2d
> > | |-- s5p-jpeg
> > | `-- s5p-mfc
> > |-- stm
> > | |-- sti
> > | | |-- bdisp
> > | | |-- c8sectpfe
> > | | |-- delta
> > | | `-- hva
> > | `-- stm32
> > | `-- dma2d
> > |-- ti
> > | |-- am437x
> > | |-- cal
> > | |-- davinci
> > | |-- omap
> > | |-- omap3isp
> > | `-- vpe
> > |-- ti-vpe
> > |-- via
> > `-- xilinx
> >
> >>
> >>>
> >>> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
> >>
> >> Acked-by: Nicolas Dufresne <[email protected]>
> >>
> >>> ---
> >>>
> >>> To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover.
> >>> See [PATCH 00/24] at: https://lore.kernel.org/all/[email protected]/
> >>>
> >>> MAINTAINERS | 2 +-
> >>> drivers/media/platform/Kconfig | 2 +-
> >>> drivers/media/platform/Makefile | 2 +-
> >>> drivers/media/platform/{ => mediatek}/mtk-vcodec/Kconfig | 0
> >>> drivers/media/platform/{ => mediatek}/mtk-vcodec/Makefile | 0
> >>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.c | 0
> >>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.h | 0
> >>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_drv.c | 0
> >>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.c | 0
> >>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.h | 0
> >>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.c | 0
> >>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.h | 0
> >>> .../{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateful.c | 0
> >>> .../{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateless.c | 0
> >>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_drv.h | 0
> >>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.c | 0
> >>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.h | 0
> >>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_drv.c | 0
> >>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.c | 0
> >>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.h | 0
> >>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.c | 0
> >>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.h | 0
> >>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_priv.h | 0
> >>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_scp.c | 0
> >>> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_vpu.c | 0
> >>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.c | 0
> >>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.h | 0
> >>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.c | 0
> >>> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.h | 0
> >>> .../platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_if.c | 0
> >>> .../platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_req_if.c | 0
> >>> .../media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp8_if.c | 0
> >>> .../media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp9_if.c | 0
> >>> .../media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_base.h | 0
> >>> drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.c | 0
> >>> drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.h | 0
> >>> drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_ipi_msg.h | 0
> >>> .../media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.c | 0
> >>> .../media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.h | 0
> >>> drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.c | 0
> >>> drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.h | 0
> >>> .../platform/{ => mediatek}/mtk-vcodec/venc/venc_h264_if.c | 0
> >>> .../media/platform/{ => mediatek}/mtk-vcodec/venc/venc_vp8_if.c | 0
> >>> .../media/platform/{ => mediatek}/mtk-vcodec/venc_drv_base.h | 0
> >>> drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.c | 0
> >>> drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.h | 0
> >>> drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_ipi_msg.h | 0
> >>> drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.c | 0
> >>> drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.h | 0
> >>> 49 files changed, 3 insertions(+), 3 deletions(-)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/Kconfig (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/Makefile (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.h (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_drv.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.h (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.h (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateful.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateless.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_drv.h (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.h (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_drv.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.h (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.h (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_priv.h (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_scp.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_vpu.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.h (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.h (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_if.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_req_if.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp8_if.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp9_if.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_base.h (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.h (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_ipi_msg.h (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.h (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.h (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc/venc_h264_if.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc/venc_vp8_if.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_base.h (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.h (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_ipi_msg.h (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.c (100%)
> >>> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.h (100%)
> >>>
> >>> diff --git a/MAINTAINERS b/MAINTAINERS
> >>> index 2203d98bbcf1..bfe014870a77 100644
> >>> --- a/MAINTAINERS
> >>> +++ b/MAINTAINERS
> >>> @@ -12147,7 +12147,7 @@ M: Andrew-CT Chen <[email protected]>
> >>> S: Supported
> >>> F: Documentation/devicetree/bindings/media/mediatek-vcodec.txt
> >>> F: Documentation/devicetree/bindings/media/mediatek-vpu.txt
> >>> -F: drivers/media/platform/mtk-vcodec/
> >>> +F: drivers/media/platform/mediatek/mtk-vcodec/
> >>> F: drivers/media/platform/mtk-vpu/
> >>>
> >>> MEDIATEK MMC/SD/SDIO DRIVER
> >>> diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
> >>> index a45fd3fe103e..8ba10b657164 100644
> >>> --- a/drivers/media/platform/Kconfig
> >>> +++ b/drivers/media/platform/Kconfig
> >>> @@ -80,7 +80,7 @@ source "drivers/media/platform/intel/Kconfig"
> >>> source "drivers/media/platform/marvell/Kconfig"
> >>> source "drivers/media/platform/mediatek/mtk-jpeg/Kconfig"
> >>> source "drivers/media/platform/mediatek/mtk-mdp/Kconfig"
> >>> -source "drivers/media/platform/mtk-vcodec/Kconfig"
> >>> +source "drivers/media/platform/mediatek/mtk-vcodec/Kconfig"
> >>> source "drivers/media/platform/mtk-vpu/Kconfig"
> >>> source "drivers/media/platform/nxp/Kconfig"
> >>> source "drivers/media/platform/omap/Kconfig"
> >>> diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile
> >>> index 6f5d09cd8f9b..637a3a7ac036 100644
> >>> --- a/drivers/media/platform/Makefile
> >>> +++ b/drivers/media/platform/Makefile
> >>> @@ -20,7 +20,7 @@ obj-y += intel/
> >>> obj-y += marvell/
> >>> obj-y += mediatek/mtk-jpeg/
> >>> obj-y += mediatek/mtk-mdp/
> >>> -obj-y += mtk-vcodec/
> >>> +obj-y += mediatek/mtk-vcodec/
> >>> obj-y += mtk-vpu/
> >>> obj-y += nxp/
> >>> obj-y += omap/
> >>> diff --git a/drivers/media/platform/mtk-vcodec/Kconfig b/drivers/media/platform/mediatek/mtk-vcodec/Kconfig
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/Kconfig
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/Kconfig
> >>> diff --git a/drivers/media/platform/mtk-vcodec/Makefile b/drivers/media/platform/mediatek/mtk-vcodec/Makefile
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/Makefile
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/Makefile
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.h
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.h
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_drv.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_drv.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.h
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.h
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.h
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.h
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.h
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.h
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateful.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateful.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateful.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateful.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateless.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateless.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateless.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateless.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_drv.h
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_drv.h
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.h
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.h
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.h
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_drv.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_drv.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.h
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.h
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.h
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.h
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.h
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.h
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_priv.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_priv.h
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_priv.h
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_priv.h
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_scp.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_scp.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_scp.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_scp.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_vpu.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_vpu.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_vpu.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_vpu.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.h
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.h
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.h
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.h
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.h
> >>> diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_if.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_if.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_req_if.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_req_if.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp8_if.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp8_if.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp9_if.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp9_if.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_drv_base.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_base.h
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/vdec_drv_base.h
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_base.h
> >>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_drv_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/vdec_drv_if.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_drv_if.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.h
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/vdec_drv_if.h
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.h
> >>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_ipi_msg.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_ipi_msg.h
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/vdec_ipi_msg.h
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_ipi_msg.h
> >>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_msg_queue.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/vdec_msg_queue.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_msg_queue.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.h
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/vdec_msg_queue.h
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.h
> >>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_vpu_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/vdec_vpu_if.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/vdec_vpu_if.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.h
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/vdec_vpu_if.h
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.h
> >>> diff --git a/drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc/venc_h264_if.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc/venc_h264_if.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc/venc_vp8_if.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc/venc_vp8_if.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/venc_drv_base.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_drv_base.h
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/venc_drv_base.h
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_drv_base.h
> >>> diff --git a/drivers/media/platform/mtk-vcodec/venc_drv_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/venc_drv_if.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/venc_drv_if.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.h
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/venc_drv_if.h
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.h
> >>> diff --git a/drivers/media/platform/mtk-vcodec/venc_ipi_msg.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_ipi_msg.h
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/venc_ipi_msg.h
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_ipi_msg.h
> >>> diff --git a/drivers/media/platform/mtk-vcodec/venc_vpu_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.c
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/venc_vpu_if.c
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.c
> >>> diff --git a/drivers/media/platform/mtk-vcodec/venc_vpu_if.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.h
> >>> similarity index 100%
> >>> rename from drivers/media/platform/mtk-vcodec/venc_vpu_if.h
> >>> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.h
> >>
> >
> >
> >
> > Thanks,
> > Mauro
>
>
Thanks,
Mauro
As the end goal is to have platform drivers split by vendor,
rename sunxi/ to allwinner/.
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
---
To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover.
See [PATCH 00/24] at: https://lore.kernel.org/all/[email protected]/
MAINTAINERS | 8 ++++----
drivers/media/platform/Kconfig | 2 +-
drivers/media/platform/Makefile | 2 +-
drivers/media/platform/allwinner/Kconfig | 6 ++++++
drivers/media/platform/{sunxi => allwinner}/Makefile | 0
.../media/platform/{sunxi => allwinner}/sun4i-csi/Kconfig | 0
.../platform/{sunxi => allwinner}/sun4i-csi/Makefile | 0
.../platform/{sunxi => allwinner}/sun4i-csi/sun4i_csi.c | 0
.../platform/{sunxi => allwinner}/sun4i-csi/sun4i_csi.h | 0
.../platform/{sunxi => allwinner}/sun4i-csi/sun4i_dma.c | 0
.../platform/{sunxi => allwinner}/sun4i-csi/sun4i_v4l2.c | 0
.../media/platform/{sunxi => allwinner}/sun6i-csi/Kconfig | 0
.../platform/{sunxi => allwinner}/sun6i-csi/Makefile | 0
.../platform/{sunxi => allwinner}/sun6i-csi/sun6i_csi.c | 0
.../platform/{sunxi => allwinner}/sun6i-csi/sun6i_csi.h | 0
.../{sunxi => allwinner}/sun6i-csi/sun6i_csi_reg.h | 0
.../platform/{sunxi => allwinner}/sun6i-csi/sun6i_video.c | 0
.../platform/{sunxi => allwinner}/sun6i-csi/sun6i_video.h | 0
.../media/platform/{sunxi => allwinner}/sun8i-di/Kconfig | 0
.../media/platform/{sunxi => allwinner}/sun8i-di/Makefile | 0
.../platform/{sunxi => allwinner}/sun8i-di/sun8i-di.c | 0
.../platform/{sunxi => allwinner}/sun8i-di/sun8i-di.h | 0
.../platform/{sunxi => allwinner}/sun8i-rotate/Kconfig | 0
.../platform/{sunxi => allwinner}/sun8i-rotate/Makefile | 0
.../{sunxi => allwinner}/sun8i-rotate/sun8i-formats.h | 0
.../{sunxi => allwinner}/sun8i-rotate/sun8i-rotate.h | 0
.../{sunxi => allwinner}/sun8i-rotate/sun8i_formats.c | 0
.../{sunxi => allwinner}/sun8i-rotate/sun8i_rotate.c | 0
drivers/media/platform/sunxi/Kconfig | 6 ------
29 files changed, 12 insertions(+), 12 deletions(-)
create mode 100644 drivers/media/platform/allwinner/Kconfig
rename drivers/media/platform/{sunxi => allwinner}/Makefile (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun4i-csi/Kconfig (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun4i-csi/Makefile (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun4i-csi/sun4i_csi.c (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun4i-csi/sun4i_csi.h (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun4i-csi/sun4i_dma.c (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun4i-csi/sun4i_v4l2.c (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun6i-csi/Kconfig (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun6i-csi/Makefile (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun6i-csi/sun6i_csi.c (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun6i-csi/sun6i_csi.h (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun6i-csi/sun6i_csi_reg.h (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun6i-csi/sun6i_video.c (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun6i-csi/sun6i_video.h (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun8i-di/Kconfig (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun8i-di/Makefile (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun8i-di/sun8i-di.c (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun8i-di/sun8i-di.h (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun8i-rotate/Kconfig (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun8i-rotate/Makefile (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun8i-rotate/sun8i-formats.h (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun8i-rotate/sun8i-rotate.h (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun8i-rotate/sun8i_formats.c (100%)
rename drivers/media/platform/{sunxi => allwinner}/sun8i-rotate/sun8i_rotate.c (100%)
delete mode 100644 drivers/media/platform/sunxi/Kconfig
diff --git a/MAINTAINERS b/MAINTAINERS
index 58e0d42b1278..f29195850c16 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -750,7 +750,7 @@ L: [email protected]
S: Maintained
T: git git://linuxtv.org/media_tree.git
F: Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml
-F: drivers/media/platform/sunxi/sun4i-csi/
+F: drivers/media/platform/allwinner/sun4i-csi/
ALLWINNER CPUFREQ DRIVER
M: Yangtao Li <[email protected]>
@@ -5114,7 +5114,7 @@ L: [email protected]
S: Maintained
T: git git://linuxtv.org/media_tree.git
F: Documentation/devicetree/bindings/media/allwinner,sun6i-a31-csi.yaml
-F: drivers/media/platform/sunxi/sun6i-csi/
+F: drivers/media/platform/allwinner/sun6i-csi/
CW1200 WLAN driver
M: Solomon Peachy <[email protected]>
@@ -5391,7 +5391,7 @@ L: [email protected]
S: Maintained
T: git git://linuxtv.org/media_tree.git
F: Documentation/devicetree/bindings/media/allwinner,sun8i-h3-deinterlace.yaml
-F: drivers/media/platform/sunxi/sun8i-di/
+F: drivers/media/platform/allwinner/sun8i-di/
DELL LAPTOP DRIVER
M: Matthew Garrett <[email protected]>
@@ -16746,7 +16746,7 @@ L: [email protected]
S: Maintained
T: git git://linuxtv.org/media_tree.git
F: Documentation/devicetree/bindings/media/allwinner,sun8i-a83t-de2-rotate.yaml
-F: drivers/media/platform/sunxi/sun8i-rotate/
+F: drivers/media/platform/allwinner/sun8i-rotate/
RPMSG TTY DRIVER
M: Arnaud Pouliquen <[email protected]>
diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
index 33f8f41b2771..5ffbbd6c6f91 100644
--- a/drivers/media/platform/Kconfig
+++ b/drivers/media/platform/Kconfig
@@ -66,6 +66,7 @@ config VIDEO_MUX
# TODO: create per-manufacturer directories
source "drivers/media/platform/allegro-dvt/Kconfig"
+source "drivers/media/platform/allwinner/Kconfig"
source "drivers/media/platform/am437x/Kconfig"
source "drivers/media/platform/amlogic/meson-ge2d/Kconfig"
source "drivers/media/platform/amphion/Kconfig"
@@ -94,7 +95,6 @@ source "drivers/media/platform/s5p-jpeg/Kconfig"
source "drivers/media/platform/s5p-mfc/Kconfig"
source "drivers/media/platform/sti/Kconfig"
source "drivers/media/platform/stm32/Kconfig"
-source "drivers/media/platform/sunxi/Kconfig"
source "drivers/media/platform/tegra/vde/Kconfig"
source "drivers/media/platform/ti-vpe/Kconfig"
source "drivers/media/platform/via/Kconfig"
diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile
index 954ad8f2cde1..88519e902919 100644
--- a/drivers/media/platform/Makefile
+++ b/drivers/media/platform/Makefile
@@ -6,6 +6,7 @@
# Place here, alphabetically sorted by directory
# (e. g. LC_ALL=C sort Makefile)
obj-y += allegro-dvt/
+obj-y += allwinner/
obj-y += am437x/
obj-y += amlogic/meson-ge2d/
obj-y += amphion/
@@ -39,7 +40,6 @@ obj-y += sti/c8sectpfe/
obj-y += sti/delta/
obj-y += sti/hva/
obj-y += stm32/
-obj-y += sunxi/
obj-y += tegra/vde/
obj-y += ti-vpe/
obj-y += via/
diff --git a/drivers/media/platform/allwinner/Kconfig b/drivers/media/platform/allwinner/Kconfig
new file mode 100644
index 000000000000..88bffb055528
--- /dev/null
+++ b/drivers/media/platform/allwinner/Kconfig
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0
+
+source "drivers/media/platform/allwinner/sun4i-csi/Kconfig"
+source "drivers/media/platform/allwinner/sun6i-csi/Kconfig"
+source "drivers/media/platform/allwinner/sun8i-di/Kconfig"
+source "drivers/media/platform/allwinner/sun8i-rotate/Kconfig"
diff --git a/drivers/media/platform/sunxi/Makefile b/drivers/media/platform/allwinner/Makefile
similarity index 100%
rename from drivers/media/platform/sunxi/Makefile
rename to drivers/media/platform/allwinner/Makefile
diff --git a/drivers/media/platform/sunxi/sun4i-csi/Kconfig b/drivers/media/platform/allwinner/sun4i-csi/Kconfig
similarity index 100%
rename from drivers/media/platform/sunxi/sun4i-csi/Kconfig
rename to drivers/media/platform/allwinner/sun4i-csi/Kconfig
diff --git a/drivers/media/platform/sunxi/sun4i-csi/Makefile b/drivers/media/platform/allwinner/sun4i-csi/Makefile
similarity index 100%
rename from drivers/media/platform/sunxi/sun4i-csi/Makefile
rename to drivers/media/platform/allwinner/sun4i-csi/Makefile
diff --git a/drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c b/drivers/media/platform/allwinner/sun4i-csi/sun4i_csi.c
similarity index 100%
rename from drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c
rename to drivers/media/platform/allwinner/sun4i-csi/sun4i_csi.c
diff --git a/drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.h b/drivers/media/platform/allwinner/sun4i-csi/sun4i_csi.h
similarity index 100%
rename from drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.h
rename to drivers/media/platform/allwinner/sun4i-csi/sun4i_csi.h
diff --git a/drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c b/drivers/media/platform/allwinner/sun4i-csi/sun4i_dma.c
similarity index 100%
rename from drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c
rename to drivers/media/platform/allwinner/sun4i-csi/sun4i_dma.c
diff --git a/drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c b/drivers/media/platform/allwinner/sun4i-csi/sun4i_v4l2.c
similarity index 100%
rename from drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c
rename to drivers/media/platform/allwinner/sun4i-csi/sun4i_v4l2.c
diff --git a/drivers/media/platform/sunxi/sun6i-csi/Kconfig b/drivers/media/platform/allwinner/sun6i-csi/Kconfig
similarity index 100%
rename from drivers/media/platform/sunxi/sun6i-csi/Kconfig
rename to drivers/media/platform/allwinner/sun6i-csi/Kconfig
diff --git a/drivers/media/platform/sunxi/sun6i-csi/Makefile b/drivers/media/platform/allwinner/sun6i-csi/Makefile
similarity index 100%
rename from drivers/media/platform/sunxi/sun6i-csi/Makefile
rename to drivers/media/platform/allwinner/sun6i-csi/Makefile
diff --git a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c b/drivers/media/platform/allwinner/sun6i-csi/sun6i_csi.c
similarity index 100%
rename from drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c
rename to drivers/media/platform/allwinner/sun6i-csi/sun6i_csi.c
diff --git a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.h b/drivers/media/platform/allwinner/sun6i-csi/sun6i_csi.h
similarity index 100%
rename from drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.h
rename to drivers/media/platform/allwinner/sun6i-csi/sun6i_csi.h
diff --git a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_reg.h b/drivers/media/platform/allwinner/sun6i-csi/sun6i_csi_reg.h
similarity index 100%
rename from drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_reg.h
rename to drivers/media/platform/allwinner/sun6i-csi/sun6i_csi_reg.h
diff --git a/drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c b/drivers/media/platform/allwinner/sun6i-csi/sun6i_video.c
similarity index 100%
rename from drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c
rename to drivers/media/platform/allwinner/sun6i-csi/sun6i_video.c
diff --git a/drivers/media/platform/sunxi/sun6i-csi/sun6i_video.h b/drivers/media/platform/allwinner/sun6i-csi/sun6i_video.h
similarity index 100%
rename from drivers/media/platform/sunxi/sun6i-csi/sun6i_video.h
rename to drivers/media/platform/allwinner/sun6i-csi/sun6i_video.h
diff --git a/drivers/media/platform/sunxi/sun8i-di/Kconfig b/drivers/media/platform/allwinner/sun8i-di/Kconfig
similarity index 100%
rename from drivers/media/platform/sunxi/sun8i-di/Kconfig
rename to drivers/media/platform/allwinner/sun8i-di/Kconfig
diff --git a/drivers/media/platform/sunxi/sun8i-di/Makefile b/drivers/media/platform/allwinner/sun8i-di/Makefile
similarity index 100%
rename from drivers/media/platform/sunxi/sun8i-di/Makefile
rename to drivers/media/platform/allwinner/sun8i-di/Makefile
diff --git a/drivers/media/platform/sunxi/sun8i-di/sun8i-di.c b/drivers/media/platform/allwinner/sun8i-di/sun8i-di.c
similarity index 100%
rename from drivers/media/platform/sunxi/sun8i-di/sun8i-di.c
rename to drivers/media/platform/allwinner/sun8i-di/sun8i-di.c
diff --git a/drivers/media/platform/sunxi/sun8i-di/sun8i-di.h b/drivers/media/platform/allwinner/sun8i-di/sun8i-di.h
similarity index 100%
rename from drivers/media/platform/sunxi/sun8i-di/sun8i-di.h
rename to drivers/media/platform/allwinner/sun8i-di/sun8i-di.h
diff --git a/drivers/media/platform/sunxi/sun8i-rotate/Kconfig b/drivers/media/platform/allwinner/sun8i-rotate/Kconfig
similarity index 100%
rename from drivers/media/platform/sunxi/sun8i-rotate/Kconfig
rename to drivers/media/platform/allwinner/sun8i-rotate/Kconfig
diff --git a/drivers/media/platform/sunxi/sun8i-rotate/Makefile b/drivers/media/platform/allwinner/sun8i-rotate/Makefile
similarity index 100%
rename from drivers/media/platform/sunxi/sun8i-rotate/Makefile
rename to drivers/media/platform/allwinner/sun8i-rotate/Makefile
diff --git a/drivers/media/platform/sunxi/sun8i-rotate/sun8i-formats.h b/drivers/media/platform/allwinner/sun8i-rotate/sun8i-formats.h
similarity index 100%
rename from drivers/media/platform/sunxi/sun8i-rotate/sun8i-formats.h
rename to drivers/media/platform/allwinner/sun8i-rotate/sun8i-formats.h
diff --git a/drivers/media/platform/sunxi/sun8i-rotate/sun8i-rotate.h b/drivers/media/platform/allwinner/sun8i-rotate/sun8i-rotate.h
similarity index 100%
rename from drivers/media/platform/sunxi/sun8i-rotate/sun8i-rotate.h
rename to drivers/media/platform/allwinner/sun8i-rotate/sun8i-rotate.h
diff --git a/drivers/media/platform/sunxi/sun8i-rotate/sun8i_formats.c b/drivers/media/platform/allwinner/sun8i-rotate/sun8i_formats.c
similarity index 100%
rename from drivers/media/platform/sunxi/sun8i-rotate/sun8i_formats.c
rename to drivers/media/platform/allwinner/sun8i-rotate/sun8i_formats.c
diff --git a/drivers/media/platform/sunxi/sun8i-rotate/sun8i_rotate.c b/drivers/media/platform/allwinner/sun8i-rotate/sun8i_rotate.c
similarity index 100%
rename from drivers/media/platform/sunxi/sun8i-rotate/sun8i_rotate.c
rename to drivers/media/platform/allwinner/sun8i-rotate/sun8i_rotate.c
diff --git a/drivers/media/platform/sunxi/Kconfig b/drivers/media/platform/sunxi/Kconfig
deleted file mode 100644
index a10032215b08..000000000000
--- a/drivers/media/platform/sunxi/Kconfig
+++ /dev/null
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-
-source "drivers/media/platform/sunxi/sun4i-csi/Kconfig"
-source "drivers/media/platform/sunxi/sun6i-csi/Kconfig"
-source "drivers/media/platform/sunxi/sun8i-di/Kconfig"
-source "drivers/media/platform/sunxi/sun8i-rotate/Kconfig"
--
2.35.1
As the end goal is to have platform drivers split by vendor,
rename marvell-ccic/ to marvell/.
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
---
To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover.
See [PATCH 00/24] at: https://lore.kernel.org/all/[email protected]/
MAINTAINERS | 2 +-
drivers/media/platform/Kconfig | 2 +-
drivers/media/platform/Makefile | 2 +-
drivers/media/platform/{marvell-ccic => marvell}/Kconfig | 0
drivers/media/platform/{marvell-ccic => marvell}/Makefile | 0
drivers/media/platform/{marvell-ccic => marvell}/cafe-driver.c | 0
drivers/media/platform/{marvell-ccic => marvell}/mcam-core.c | 0
drivers/media/platform/{marvell-ccic => marvell}/mcam-core.h | 0
drivers/media/platform/{marvell-ccic => marvell}/mmp-driver.c | 0
9 files changed, 3 insertions(+), 3 deletions(-)
rename drivers/media/platform/{marvell-ccic => marvell}/Kconfig (100%)
rename drivers/media/platform/{marvell-ccic => marvell}/Makefile (100%)
rename drivers/media/platform/{marvell-ccic => marvell}/cafe-driver.c (100%)
rename drivers/media/platform/{marvell-ccic => marvell}/mcam-core.c (100%)
rename drivers/media/platform/{marvell-ccic => marvell}/mcam-core.h (100%)
rename drivers/media/platform/{marvell-ccic => marvell}/mmp-driver.c (100%)
diff --git a/MAINTAINERS b/MAINTAINERS
index 84bc106acc57..b83cf0eb99ce 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4248,7 +4248,7 @@ L: [email protected]
S: Orphan
T: git git://linuxtv.org/media_tree.git
F: Documentation/admin-guide/media/cafe_ccic*
-F: drivers/media/platform/marvell-ccic/
+F: drivers/media/platform/marvell/
CAIF NETWORK LAYER
L: [email protected]
diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
index 615736ac117c..5e7cb24038fe 100644
--- a/drivers/media/platform/Kconfig
+++ b/drivers/media/platform/Kconfig
@@ -76,7 +76,7 @@ source "drivers/media/platform/davinci/Kconfig"
source "drivers/media/platform/exynos-gsc/Kconfig"
source "drivers/media/platform/exynos4-is/Kconfig"
source "drivers/media/platform/intel/Kconfig"
-source "drivers/media/platform/marvell-ccic/Kconfig"
+source "drivers/media/platform/marvell/Kconfig"
source "drivers/media/platform/meson/ge2d/Kconfig"
source "drivers/media/platform/mtk-jpeg/Kconfig"
source "drivers/media/platform/mtk-mdp/Kconfig"
diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile
index 8d6e15fad0b1..8b2deba4b62c 100644
--- a/drivers/media/platform/Makefile
+++ b/drivers/media/platform/Makefile
@@ -16,7 +16,7 @@ obj-y += davinci/
obj-y += exynos-gsc/
obj-y += exynos4-is/
obj-y += intel/
-obj-y += marvell-ccic/
+obj-y += marvell/
obj-y += meson/ge2d/
obj-y += mtk-jpeg/
obj-y += mtk-mdp/
diff --git a/drivers/media/platform/marvell-ccic/Kconfig b/drivers/media/platform/marvell/Kconfig
similarity index 100%
rename from drivers/media/platform/marvell-ccic/Kconfig
rename to drivers/media/platform/marvell/Kconfig
diff --git a/drivers/media/platform/marvell-ccic/Makefile b/drivers/media/platform/marvell/Makefile
similarity index 100%
rename from drivers/media/platform/marvell-ccic/Makefile
rename to drivers/media/platform/marvell/Makefile
diff --git a/drivers/media/platform/marvell-ccic/cafe-driver.c b/drivers/media/platform/marvell/cafe-driver.c
similarity index 100%
rename from drivers/media/platform/marvell-ccic/cafe-driver.c
rename to drivers/media/platform/marvell/cafe-driver.c
diff --git a/drivers/media/platform/marvell-ccic/mcam-core.c b/drivers/media/platform/marvell/mcam-core.c
similarity index 100%
rename from drivers/media/platform/marvell-ccic/mcam-core.c
rename to drivers/media/platform/marvell/mcam-core.c
diff --git a/drivers/media/platform/marvell-ccic/mcam-core.h b/drivers/media/platform/marvell/mcam-core.h
similarity index 100%
rename from drivers/media/platform/marvell-ccic/mcam-core.h
rename to drivers/media/platform/marvell/mcam-core.h
diff --git a/drivers/media/platform/marvell-ccic/mmp-driver.c b/drivers/media/platform/marvell/mmp-driver.c
similarity index 100%
rename from drivers/media/platform/marvell-ccic/mmp-driver.c
rename to drivers/media/platform/marvell/mmp-driver.c
--
2.35.1
Le dimanche 13 mars 2022 à 11:51 +0100, Mauro Carvalho Chehab a écrit :
> As the end goal is to have platform drivers split by vendor,
> rename mtk-vcodec/ to mediatek/mtk-vcodec/.
Was thinking all these mtk-* directory didn't fit with the platform/ semantic. I
totally support this change. I suppose jpeg/mdp/vpu also needs to be moved. And
mdp3 and various vcodec patches will need a new submission.
>
> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Acked-by: Nicolas Dufresne <[email protected]>
> ---
>
> To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover.
> See [PATCH 00/24] at: https://lore.kernel.org/all/[email protected]/
>
> MAINTAINERS | 2 +-
> drivers/media/platform/Kconfig | 2 +-
> drivers/media/platform/Makefile | 2 +-
> drivers/media/platform/{ => mediatek}/mtk-vcodec/Kconfig | 0
> drivers/media/platform/{ => mediatek}/mtk-vcodec/Makefile | 0
> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.c | 0
> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.h | 0
> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_drv.c | 0
> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.c | 0
> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.h | 0
> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.c | 0
> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.h | 0
> .../{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateful.c | 0
> .../{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateless.c | 0
> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_drv.h | 0
> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.c | 0
> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.h | 0
> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_drv.c | 0
> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.c | 0
> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.h | 0
> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.c | 0
> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.h | 0
> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_priv.h | 0
> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_scp.c | 0
> .../platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_vpu.c | 0
> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.c | 0
> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.h | 0
> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.c | 0
> .../media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.h | 0
> .../platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_if.c | 0
> .../platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_req_if.c | 0
> .../media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp8_if.c | 0
> .../media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp9_if.c | 0
> .../media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_base.h | 0
> drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.c | 0
> drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.h | 0
> drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_ipi_msg.h | 0
> .../media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.c | 0
> .../media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.h | 0
> drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.c | 0
> drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.h | 0
> .../platform/{ => mediatek}/mtk-vcodec/venc/venc_h264_if.c | 0
> .../media/platform/{ => mediatek}/mtk-vcodec/venc/venc_vp8_if.c | 0
> .../media/platform/{ => mediatek}/mtk-vcodec/venc_drv_base.h | 0
> drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.c | 0
> drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.h | 0
> drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_ipi_msg.h | 0
> drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.c | 0
> drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.h | 0
> 49 files changed, 3 insertions(+), 3 deletions(-)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/Kconfig (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/Makefile (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec.h (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_drv.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_hw.h (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_pm.h (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateful.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_dec_stateless.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_drv.h (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc.h (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_drv.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_enc_pm.h (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw.h (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_priv.h (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_scp.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_fw_vpu.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_intr.h (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/mtk_vcodec_util.h (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_if.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_h264_req_if.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp8_if.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec/vdec_vp9_if.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_base.h (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_drv_if.h (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_ipi_msg.h (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_msg_queue.h (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/vdec_vpu_if.h (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc/venc_h264_if.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc/venc_vp8_if.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_base.h (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_drv_if.h (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_ipi_msg.h (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.c (100%)
> rename drivers/media/platform/{ => mediatek}/mtk-vcodec/venc_vpu_if.h (100%)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 2203d98bbcf1..bfe014870a77 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -12147,7 +12147,7 @@ M: Andrew-CT Chen <[email protected]>
> S: Supported
> F: Documentation/devicetree/bindings/media/mediatek-vcodec.txt
> F: Documentation/devicetree/bindings/media/mediatek-vpu.txt
> -F: drivers/media/platform/mtk-vcodec/
> +F: drivers/media/platform/mediatek/mtk-vcodec/
> F: drivers/media/platform/mtk-vpu/
>
> MEDIATEK MMC/SD/SDIO DRIVER
> diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
> index a45fd3fe103e..8ba10b657164 100644
> --- a/drivers/media/platform/Kconfig
> +++ b/drivers/media/platform/Kconfig
> @@ -80,7 +80,7 @@ source "drivers/media/platform/intel/Kconfig"
> source "drivers/media/platform/marvell/Kconfig"
> source "drivers/media/platform/mediatek/mtk-jpeg/Kconfig"
> source "drivers/media/platform/mediatek/mtk-mdp/Kconfig"
> -source "drivers/media/platform/mtk-vcodec/Kconfig"
> +source "drivers/media/platform/mediatek/mtk-vcodec/Kconfig"
> source "drivers/media/platform/mtk-vpu/Kconfig"
> source "drivers/media/platform/nxp/Kconfig"
> source "drivers/media/platform/omap/Kconfig"
> diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile
> index 6f5d09cd8f9b..637a3a7ac036 100644
> --- a/drivers/media/platform/Makefile
> +++ b/drivers/media/platform/Makefile
> @@ -20,7 +20,7 @@ obj-y += intel/
> obj-y += marvell/
> obj-y += mediatek/mtk-jpeg/
> obj-y += mediatek/mtk-mdp/
> -obj-y += mtk-vcodec/
> +obj-y += mediatek/mtk-vcodec/
> obj-y += mtk-vpu/
> obj-y += nxp/
> obj-y += omap/
> diff --git a/drivers/media/platform/mtk-vcodec/Kconfig b/drivers/media/platform/mediatek/mtk-vcodec/Kconfig
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/Kconfig
> rename to drivers/media/platform/mediatek/mtk-vcodec/Kconfig
> diff --git a/drivers/media/platform/mtk-vcodec/Makefile b/drivers/media/platform/mediatek/mtk-vcodec/Makefile
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/Makefile
> rename to drivers/media/platform/mediatek/mtk-vcodec/Makefile
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.c
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.h
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec.h
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_drv.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_drv.c
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.c
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.h
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.h
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_hw.h
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.c
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.h
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.h
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_pm.h
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateful.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateful.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateful.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateful.c
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateless.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateless.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateless.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_dec_stateless.c
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_drv.h
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_drv.h
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.c
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.h
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.h
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc.h
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_drv.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_drv.c
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.c
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.h
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.h
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_enc_pm.h
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.c
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.h
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.h
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw.h
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_priv.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_priv.h
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_priv.h
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_priv.h
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_scp.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_scp.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_scp.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_scp.c
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_vpu.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_vpu.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_vpu.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_fw_vpu.c
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.c
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.h
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.h
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_intr.h
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.c
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h b/drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.h
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h
> rename to drivers/media/platform/mediatek/mtk-vcodec/mtk_vcodec_util.h
> diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_if.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_if.c
> diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_req_if.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_h264_req_if.c
> diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp8_if.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp8_if.c
> diff --git a/drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp9_if.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec/vdec_vp9_if.c
> diff --git a/drivers/media/platform/mtk-vcodec/vdec_drv_base.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_base.h
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/vdec_drv_base.h
> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_base.h
> diff --git a/drivers/media/platform/mtk-vcodec/vdec_drv_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/vdec_drv_if.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.c
> diff --git a/drivers/media/platform/mtk-vcodec/vdec_drv_if.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.h
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/vdec_drv_if.h
> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_drv_if.h
> diff --git a/drivers/media/platform/mtk-vcodec/vdec_ipi_msg.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_ipi_msg.h
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/vdec_ipi_msg.h
> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_ipi_msg.h
> diff --git a/drivers/media/platform/mtk-vcodec/vdec_msg_queue.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/vdec_msg_queue.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.c
> diff --git a/drivers/media/platform/mtk-vcodec/vdec_msg_queue.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.h
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/vdec_msg_queue.h
> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_msg_queue.h
> diff --git a/drivers/media/platform/mtk-vcodec/vdec_vpu_if.c b/drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/vdec_vpu_if.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.c
> diff --git a/drivers/media/platform/mtk-vcodec/vdec_vpu_if.h b/drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.h
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/vdec_vpu_if.h
> rename to drivers/media/platform/mediatek/mtk-vcodec/vdec_vpu_if.h
> diff --git a/drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc/venc_h264_if.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/venc/venc_h264_if.c
> diff --git a/drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc/venc_vp8_if.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/venc/venc_vp8_if.c
> diff --git a/drivers/media/platform/mtk-vcodec/venc_drv_base.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_drv_base.h
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/venc_drv_base.h
> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_drv_base.h
> diff --git a/drivers/media/platform/mtk-vcodec/venc_drv_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/venc_drv_if.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.c
> diff --git a/drivers/media/platform/mtk-vcodec/venc_drv_if.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.h
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/venc_drv_if.h
> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_drv_if.h
> diff --git a/drivers/media/platform/mtk-vcodec/venc_ipi_msg.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_ipi_msg.h
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/venc_ipi_msg.h
> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_ipi_msg.h
> diff --git a/drivers/media/platform/mtk-vcodec/venc_vpu_if.c b/drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.c
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/venc_vpu_if.c
> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.c
> diff --git a/drivers/media/platform/mtk-vcodec/venc_vpu_if.h b/drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.h
> similarity index 100%
> rename from drivers/media/platform/mtk-vcodec/venc_vpu_if.h
> rename to drivers/media/platform/mediatek/mtk-vcodec/venc_vpu_if.h