mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 19:36:43 +07:00
a3b2924547
Platform data for device drivers should be defined in include/linux/platform_data/*.h, not in the architecture and platform specific directories. This moves such data out of the ep93xx include directories Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Nicolas Pitre <nico@linaro.org> Acked-by: Hartley Sweeten <hsweeten@visionengravers.com> Acked-by: Ryan Mallon <rmallon@gmail.com> Acked-by: Vinod Koul <vinod.koul@linux.intel.com> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Jeff Garzik <jgarzik@pobox.com> Cc: Dan Williams <djbw@fb.com> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Cc: Liam Girdwood <lrg@ti.com> Cc: Jaroslav Kysela <perex@perex.cz> Cc: Takashi Iwai <tiwai@suse.de> Cc: Mika Westerberg <mika.westerberg@iki.fi> Cc: Axel Lin <axel.lin@gmail.com>
57 lines
1.7 KiB
C
57 lines
1.7 KiB
C
/*
|
|
* arch/arm/mach-ep93xx/include/mach/fb.h
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_EP93XXFB_H
|
|
#define __ASM_ARCH_EP93XXFB_H
|
|
|
|
struct platform_device;
|
|
struct fb_videomode;
|
|
struct fb_info;
|
|
|
|
#define EP93XXFB_USE_MODEDB 0
|
|
|
|
/* VideoAttributes flags */
|
|
#define EP93XXFB_STATE_MACHINE_ENABLE (1 << 0)
|
|
#define EP93XXFB_PIXEL_CLOCK_ENABLE (1 << 1)
|
|
#define EP93XXFB_VSYNC_ENABLE (1 << 2)
|
|
#define EP93XXFB_PIXEL_DATA_ENABLE (1 << 3)
|
|
#define EP93XXFB_COMPOSITE_SYNC (1 << 4)
|
|
#define EP93XXFB_SYNC_VERT_HIGH (1 << 5)
|
|
#define EP93XXFB_SYNC_HORIZ_HIGH (1 << 6)
|
|
#define EP93XXFB_SYNC_BLANK_HIGH (1 << 7)
|
|
#define EP93XXFB_PCLK_FALLING (1 << 8)
|
|
#define EP93XXFB_ENABLE_AC (1 << 9)
|
|
#define EP93XXFB_ENABLE_LCD (1 << 10)
|
|
#define EP93XXFB_ENABLE_CCIR (1 << 12)
|
|
#define EP93XXFB_USE_PARALLEL_INTERFACE (1 << 13)
|
|
#define EP93XXFB_ENABLE_INTERRUPT (1 << 14)
|
|
#define EP93XXFB_USB_INTERLACE (1 << 16)
|
|
#define EP93XXFB_USE_EQUALIZATION (1 << 17)
|
|
#define EP93XXFB_USE_DOUBLE_HORZ (1 << 18)
|
|
#define EP93XXFB_USE_DOUBLE_VERT (1 << 19)
|
|
#define EP93XXFB_USE_BLANK_PIXEL (1 << 20)
|
|
#define EP93XXFB_USE_SDCSN0 (0 << 21)
|
|
#define EP93XXFB_USE_SDCSN1 (1 << 21)
|
|
#define EP93XXFB_USE_SDCSN2 (2 << 21)
|
|
#define EP93XXFB_USE_SDCSN3 (3 << 21)
|
|
|
|
#define EP93XXFB_ENABLE (EP93XXFB_STATE_MACHINE_ENABLE | \
|
|
EP93XXFB_PIXEL_CLOCK_ENABLE | \
|
|
EP93XXFB_VSYNC_ENABLE | \
|
|
EP93XXFB_PIXEL_DATA_ENABLE)
|
|
|
|
struct ep93xxfb_mach_info {
|
|
unsigned int num_modes;
|
|
const struct fb_videomode *modes;
|
|
const struct fb_videomode *default_mode;
|
|
int bpp;
|
|
unsigned int flags;
|
|
|
|
int (*setup)(struct platform_device *pdev);
|
|
void (*teardown)(struct platform_device *pdev);
|
|
void (*blank)(int blank_mode, struct fb_info *info);
|
|
};
|
|
|
|
#endif /* __ASM_ARCH_EP93XXFB_H */
|