media: platform: re-structure TI drivers

The ti-vpe/ sub-directory does not only contain the VPE-specific things.
It also contains the CAL driver, which is a completely different
subsystem. This is also not a good place to add new drivers for other TI
platforms since they will all get mixed up.

Separate the VPE and CAL parts into different sub-directories and rename
the ti-vpe/ sub-directory to ti/. This is now the place where new TI
platform drivers can be added.

[mchehab: rebased to apple on the top of media/platform/Kconfig series]
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
Pratyush Yadav 2022-01-21 19:59:00 +05:30 committed by Mauro Carvalho Chehab
parent 012e3ca3cb
commit 8148baabd1
20 changed files with 9 additions and 10 deletions

View File

@ -19407,7 +19407,8 @@ W: http://linuxtv.org/
Q: http://patchwork.linuxtv.org/project/linux-media/list/
F: Documentation/devicetree/bindings/media/ti,cal.yaml
F: Documentation/devicetree/bindings/media/ti,vpe.yaml
F: drivers/media/platform/ti-vpe/
F: drivers/media/platform/ti/cal/
F: drivers/media/platform/ti/vpe/
TI WILINK WIRELESS DRIVERS
L: linux-wireless@vger.kernel.org

View File

@ -38,11 +38,7 @@ obj-y += st/sti/c8sectpfe/
obj-y += st/sti/delta/
obj-y += st/sti/hva/
obj-y += st/stm32/
obj-y += ti-vpe/
obj-y += ti/am437x/
obj-y += ti/davinci/
obj-y += ti/omap/
obj-y += ti/omap3isp/
obj-y += ti/
obj-y += via/
obj-y += xilinx/

View File

@ -0,0 +1,3 @@
# SPDX-License-Identifier: GPL-2.0
obj-y += cal/
obj-y += vpe/

View File

@ -0,0 +1,3 @@
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_VIDEO_TI_CAL) += ti-cal.o
ti-cal-y := cal.o cal-camerarx.o cal-video.o

View File

@ -10,7 +10,3 @@ ti-sc-y := sc.o
ti-csc-y := csc.o
ccflags-$(CONFIG_VIDEO_TI_VPE_DEBUG) += -DDEBUG
obj-$(CONFIG_VIDEO_TI_CAL) += ti-cal.o
ti-cal-y := cal.o cal-camerarx.o cal-video.o