[media] marvell-ccic: add clock tree support for marvell-ccic driver
[deliverable/linux.git] / drivers / media / platform / marvell-ccic / mcam-core.h
index 74394325dc4fb80e5e1719c47abee46eeecce5fa..0de7e5fda836c6299c9e6b2af60c3fa22061e467 100644 (file)
@@ -88,6 +88,8 @@ struct mcam_frame_state {
        unsigned int delivered;
 };
 
+#define NR_MCAM_CLK 3
+
 /*
  * A description of one of our devices.
  * Locking: controlled by s_mutex.  Certain fields, however, require
@@ -124,6 +126,9 @@ struct mcam_camera {
        bool mipi_enabled;      /* flag whether mipi is enabled already */
        int lane;                       /* lane number */
 
+       /* clock tree support */
+       struct clk *clk[NR_MCAM_CLK];
+
        /*
         * Callbacks from the core to the platform code.
         */
This page took 0.030134 seconds and 5 git commands to generate.