123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- /* Copyright (c) 2008-2013, The Linux Foundation. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 and
- * only version 2 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- */
- #ifndef MDSS_MS01_PANEL_H
- #define MDSS_MS01_PANEL_H
- #include "mdss_panel.h"
- #define MAX_BRIGHTNESS_LEVEL 255
- #define MID_BRIGHTNESS_LEVEL 143
- #define LOW_BRIGHTNESS_LEVEL 15
- #define DIM_BRIGHTNESS_LEVEL 25
- #define BL_MIN_BRIGHTNESS 8
- #define BL_MAX_BRIGHTNESS_LEVEL 192
- #define BL_MID_BRIGHTNESS_LEVEL 94
- #define BL_LOW_BRIGHTNESS_LEVEL 8
- #define BL_DIM_BRIGHTNESS_LEVEL 13
- #define BL_DEFAULT_BRIGHTNESS BL_MID_BRIGHTNESS_LEVEL
- enum {
- MIPI_RESUME_STATE,
- MIPI_SUSPEND_STATE,
- };
- struct display_status{
- unsigned char auto_brightness;
- int bright_level;
- int siop_status;
- };
- struct mdss_samsung_driver_data{
- struct dsi_buf sharp_tx_buf;
- struct msm_fb_data_type *mfd;
- struct dsi_buf sharp_rx_buf;
- struct mdss_panel_common_pdata *mdss_sharp_disp_pdata;
- struct mdss_panel_data *mpd;
- struct mutex lock;
- #if defined(CONFIG_LCD_CLASS_DEVICE)
- struct platform_device *msm_pdev;
- #endif
- #if defined(CONFIG_HAS_EARLYSUSPEND)
- struct early_suspend early_suspend;
- #endif
- struct display_status dstat;
- };
- //void mdnie_lite_tuning_init(struct mdss_samsung_driver_data* msd);
- void mdss_dsi_cmds_send(struct mdss_dsi_ctrl_pdata *ctrl, struct dsi_cmd_desc *cmds, int cnt,int flag);
- #endif
|