linux/include/linux/platform_data/omapdss.h
<<
>>
Prefs
   1/*
   2 * Copyright (C) 2016 Texas Instruments, Inc.
   3 *
   4 * This program is free software; you can redistribute it and/or modify
   5 * it under the terms of the GNU General Public License as published by
   6 * the Free Software Foundation; either version 2 of the License, or
   7 * (at your option) any later version.
   8 */
   9
  10#ifndef __OMAPDSS_PDATA_H
  11#define __OMAPDSS_PDATA_H
  12
  13enum omapdss_version {
  14        OMAPDSS_VER_UNKNOWN = 0,
  15        OMAPDSS_VER_OMAP24xx,
  16        OMAPDSS_VER_OMAP34xx_ES1,       /* OMAP3430 ES1.0, 2.0 */
  17        OMAPDSS_VER_OMAP34xx_ES3,       /* OMAP3430 ES3.0+ */
  18        OMAPDSS_VER_OMAP3630,
  19        OMAPDSS_VER_AM35xx,
  20        OMAPDSS_VER_OMAP4430_ES1,       /* OMAP4430 ES1.0 */
  21        OMAPDSS_VER_OMAP4430_ES2,       /* OMAP4430 ES2.0, 2.1, 2.2 */
  22        OMAPDSS_VER_OMAP4,              /* All other OMAP4s */
  23        OMAPDSS_VER_OMAP5,
  24        OMAPDSS_VER_AM43xx,
  25        OMAPDSS_VER_DRA7xx,
  26};
  27
  28/* Board specific data */
  29struct omap_dss_board_info {
  30        const char *default_display_name;
  31        int (*dsi_enable_pads)(int dsi_id, unsigned int lane_mask);
  32        void (*dsi_disable_pads)(int dsi_id, unsigned int lane_mask);
  33        int (*set_min_bus_tput)(struct device *dev, unsigned long r);
  34        enum omapdss_version version;
  35};
  36
  37#endif /* __OMAPDSS_PDATA_H */
  38