Skip to content

Commit d5426f4

Browse files
plbossartmchehab
authored andcommitted
media: staging: atomisp: use clock framework for camera clocks
The Atom ISP driver initializes and configures PMC clocks which are already handled by the clock framework. Remove all legacy vlv2_platform_clock stuff and move to the clk API to avoid conflicts, e.g. with audio machine drivers enabling the MCLK for external codecs Fixes: a49d253 ("staging/atomisp: Add support for the Intel IPU v2") Tested-by: Carlo Caione <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent abe5139 commit d5426f4

File tree

7 files changed

+52
-332
lines changed

7 files changed

+52
-332
lines changed

drivers/staging/media/atomisp/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
menuconfig INTEL_ATOMISP
22
bool "Enable support to Intel MIPI camera drivers"
33
depends on X86 && EFI && MEDIA_CONTROLLER && PCI && ACPI
4+
select COMMON_CLK
45
help
56
Enable support for the Intel ISP2 camera interfaces and MIPI
67
sensor drivers.

drivers/staging/media/atomisp/platform/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
# Makefile for camera drivers.
33
#
44

5-
obj-$(CONFIG_INTEL_ATOMISP) += clock/
65
obj-$(CONFIG_INTEL_ATOMISP) += intel-mid/

drivers/staging/media/atomisp/platform/clock/Makefile

Lines changed: 0 additions & 6 deletions
This file was deleted.

drivers/staging/media/atomisp/platform/clock/platform_vlv2_plat_clk.c

Lines changed: 0 additions & 40 deletions
This file was deleted.

drivers/staging/media/atomisp/platform/clock/platform_vlv2_plat_clk.h

Lines changed: 0 additions & 26 deletions
This file was deleted.

drivers/staging/media/atomisp/platform/clock/vlv2_plat_clock.c

Lines changed: 0 additions & 247 deletions
This file was deleted.

0 commit comments

Comments
 (0)