]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00139278-2: Add MLB driver platform data structure for mx6q
authorTerry Lv <r65388@freescale.com>
Mon, 26 Dec 2011 06:26:07 +0000 (14:26 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:43 +0000 (08:33 +0200)
Add MLB driver platform data structure.

Signed-off-by: Terry Lv <r65388@freescale.com>
include/linux/fsl_devices.h

index 2a374064c91721d99e4415f2f75f0c88e2289332..aab2fc827ea050b5b8991b9b12082d44fbd2f8ef 100644 (file)
@@ -18,6 +18,7 @@
 #define _FSL_DEVICE_H_
 
 #include <linux/types.h>
+#include <linux/cdev.h>
 
 /*
  * Some conventions on how we handle peripherals on Freescale chips
@@ -167,6 +168,17 @@ struct fsl_usb2_wakeup_platform_data {
 
 #define FLS_USB2_WORKAROUND_ENGCM09152 (1 << 0)
 
+struct mxc_mlb_platform_data {
+       struct device *dev;
+       u32 buf_addr;
+       u32 phy_addr;
+       char *reg_nvcc;
+       char *mlb_clk;
+       char *mlb_pll_clk;
+       void (*fps_sel)(int mlbfs);
+       struct cdev cdev;
+};
+
 struct spi_device;
 
 struct fsl_spi_platform_data {