void tegra_get_rightspeaker_board_info(struct board_info *bi);
void tegra_get_leftspeaker_board_info(struct board_info *bi);
int tegra_get_board_panel_id(void);
+int tegra_get_touch_panel_id(void);
int get_core_edp(void);
enum panel_type get_panel_type(void);
static struct board_info pmu_board_info;
static struct board_info display_board_info;
static int panel_id;
+static int touch_panel_id;
static struct board_info camera_board_info;
static struct board_info io_board_info;
static struct board_info button_board_info;
}
__setup("display_panel=", tegra_board_panel_id);
+int tegra_get_touch_panel_id(void)
+{
+ return touch_panel_id;
+}
+static int __init tegra_touch_panel_id(char *options)
+{
+ char *p = options;
+ touch_panel_id = memparse(p, &p);
+ return touch_panel_id;
+}
+__setup("touch_panel_id=", tegra_touch_panel_id);
+
enum power_supply_type get_power_supply_type(void)
{
return pow_supply_type;