Skip to content

Commit

Permalink
media: staging: atomisp: use clock framework for camera clocks
Browse files Browse the repository at this point in the history
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 <carlo@endlessm.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
  • Loading branch information
plbossart authored and mchehab committed Sep 23, 2017
1 parent abe5139 commit d5426f4
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 332 deletions.
1 change: 1 addition & 0 deletions drivers/staging/media/atomisp/Kconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
menuconfig INTEL_ATOMISP
bool "Enable support to Intel MIPI camera drivers"
depends on X86 && EFI && MEDIA_CONTROLLER && PCI && ACPI
select COMMON_CLK
help
Enable support for the Intel ISP2 camera interfaces and MIPI
sensor drivers.
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/media/atomisp/platform/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
# Makefile for camera drivers.
#

obj-$(CONFIG_INTEL_ATOMISP) += clock/
obj-$(CONFIG_INTEL_ATOMISP) += intel-mid/
6 changes: 0 additions & 6 deletions drivers/staging/media/atomisp/platform/clock/Makefile

This file was deleted.

This file was deleted.

This file was deleted.

247 changes: 0 additions & 247 deletions drivers/staging/media/atomisp/platform/clock/vlv2_plat_clock.c

This file was deleted.

Loading

0 comments on commit d5426f4

Please sign in to comment.