mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 09:26:44 +07:00
574ec547c7
The "EET" variant of the pcm037 board has an OLED display, using a S6E63D6 display controller on the first SPI interface, using GPIO57 as a chip-select for it. S6E63D6 is initialised in the boot-loader, so we only have to take care of the LCD. EET also adds several buttons and LEDs on GPIOs. This patch adds a "pcm037_variant=" kernel command line parameter to specify at boot-time which board the kernel is running on, default is "pcm970", specify "eet" for the EET board. Signed-off-by: Guennadi Liakhovetski <lg@denx.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
12 lines
167 B
C
12 lines
167 B
C
#ifndef __PCM037_H__
|
|
#define __PCM037_H__
|
|
|
|
enum pcm037_board_variant {
|
|
PCM037_PCM970,
|
|
PCM037_EET,
|
|
};
|
|
|
|
extern enum pcm037_board_variant pcm037_variant(void);
|
|
|
|
#endif
|