#include <linux/reset.h>
#include <linux/mfd/syscon.h>
#include <linux/regmap.h>
+#include <linux/rk_keys.h>
#include <linux/rockchip/cru.h>
#include <linux/rockchip/grf.h>
#include <linux/rockchip/cpu.h>
RST_OTHER,
};
-extern void rk_send_wakeup_key(void);
/* rk3188 platform data */
extern struct dwc_otg_platform_data usb20otg_pdata_rk3188;
extern struct dwc_otg_platform_data usb20host_pdata_rk3188;
pGRF_SOC_STATUS19_RK3288 grf_soc_status19_rk3288;
pGRF_SOC_STATUS21_RK3288 grf_soc_status21_rk3288;
+ u32 grf_otg_st_offset;
struct regmap *grf;
struct gpio *host_gpios;
struct gpio *otg_gpios;
char name[32];
struct rkehci_platform_data *pdata;
};
+
+#ifdef CONFIG_ARM
+int is_rk3288_usb(void);
+#else
+static inline int is_rk3288_usb(void)
+{
+ return false;
+}
+#endif
#endif