power: add wirelesscharger(WLC) bq51051b driver

Change-Id: I61c4b9c3d648e8f709ec78708271f807ceed1715
diff --git a/include/linux/mfd/pm8xxx/pm8921-charger.h b/include/linux/mfd/pm8xxx/pm8921-charger.h
index fca8700..8fc40e6 100644
--- a/include/linux/mfd/pm8xxx/pm8921-charger.h
+++ b/include/linux/mfd/pm8xxx/pm8921-charger.h
@@ -276,6 +276,9 @@
  *
  */
 int pm8921_usb_ovp_disable(int disable);
+#ifdef CONFIG_WIRELESS_CHARGER
+int set_wireless_power_supply_control(int value);
+#endif
 #else
 static inline void pm8921_charger_vbus_draw(unsigned int mA)
 {
diff --git a/include/linux/power/bq51051b_charger.h b/include/linux/power/bq51051b_charger.h
new file mode 100644
index 0000000..9c99df0
--- /dev/null
+++ b/include/linux/power/bq51051b_charger.h
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2012, Kyungtae Oh <kyungtae.oh@lge.com>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under  the terms of the GNU General  Public License as published by the
+ * Free Software Foundation;  either version 2 of the License, or (at your
+ * option) any later version.
+ *
+ */
+
+#ifndef __LINUX_POWER_BQ51051B_CHARGER_H__
+#define __LINUX_POWER_BQ51051B_CHARGER_H__
+
+#define BQ51051B_WLC_DEV_NAME "bq51051b_wlc"
+
+#define WLC_DEG
+
+#ifdef WLC_DEG
+#define WLC_DBG_ERROR(fmt, args...) \
+    printk(KERN_ERR "wlc: %s: %d :" fmt, __func__, __LINE__, ##args);
+#define WLC_DBG(fmt, args...) \
+    printk(KERN_DEBUG"wlc: %s : " fmt, __func__, ##args);
+#else
+#define WLC_DBG_ERROR(fmt, args...)
+#define WLC_DBG(fmt, arges...)
+#endif
+
+struct bq51051b_wlc_platform_data {
+	unsigned int chg_state_gpio;
+	unsigned int active_n_gpio;
+	unsigned int wireless_charging;
+};
+#endif
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h
index 32d8ec2..e52bd41 100644
--- a/include/linux/power_supply.h
+++ b/include/linux/power_supply.h
@@ -140,6 +140,9 @@
 	POWER_SUPPLY_TYPE_USB_DCP,	/* Dedicated Charging Port */
 	POWER_SUPPLY_TYPE_USB_CDP,	/* Charging Downstream Port */
 	POWER_SUPPLY_TYPE_USB_ACA,	/* Accessory Charger Adapters */
+#ifdef CONFIG_WIRELESS_CHARGER
+        POWER_SUPPLY_TYPE_WIRELESS,
+#endif
 };
 
 union power_supply_propval {