3 #include <arch/cache.h>
15 #include <soc/periph.h>
16 #include <soc/power.h>
24 #define MMC0_GPIO_PIN (58)
27 #define DRAM_START ((uintptr_t)_dram/MiB)
28 #define DRAM_SIZE CONFIG_DRAM_SIZE_MB
29 #define DRAM_END (DRAM_START + DRAM_SIZE)
90 #define LCD_T3_DELAY_MS 60
92 #define LCD_T5_DELAY_MS 10
93 #define LCD_T6_DELAY_MS 10
108 #define TPS65090_BUS 4
110 #define FET1_CTRL 0x0f
111 #define FET4_CTRL 0x12
112 #define FET6_CTRL 0x14
157 .
name = (
char *)
"eDP-LVDS NXP PTN3460",
173 #define MAX_DP_TRIES 5
267 for (dp_tries = 1; dp_tries <=
MAX_DP_TRIES; dp_tries++) {
310 const unsigned int epll_hz = 192000000;
311 const unsigned int sample_rate = 48000;
312 const unsigned int lr_frame_size = 256;
331 dma->size =
sizeof(*dma);
struct chip_operations mainboard_ops
struct arm64_kernel_header header
void dcache_mmu_enable(void)
void mmu_config_range(u32 start_mb, u32 size_mb, enum dcache_policy policy)
#define printk(level,...)
int dma_coherent(void *ptr)
static struct exynos5_dp *const exynos_dp1
int dp_controller_init(struct s5p_dp_device *dp_device)
struct fb_info * fb_add_framebuffer_info(uintptr_t fb_addr, uint32_t x_resolution, uint32_t y_resolution, uint32_t bytes_per_line, uint8_t bits_per_pixel)
static void mainboard_init(struct device *dev)
static void exynos_dp_reset(void)
static void lcd_vdd(void)
static void exynos_dp_bridge_init(void)
static void backlight_pwm(void)
static void prepare_usb(void)
static void gpio_init(void)
static void setup_storage(void)
static enum exynos5_gpio_pin dp_pd_l
static enum exynos5_gpio_pin dp_rst_l
static void exynos_dp_bridge_setup(void)
static void disable_usb30_pll(void)
static enum exynos5_gpio_pin dp_hpd
static struct video_info dp_video_info
static void sdmmc_vdd(void)
static int exynos_dp_hotplug(void)
static void setup_usb(void)
static enum exynos5_gpio_pin usb_host_vbus
static void mainboard_enable(struct device *dev)
void lb_board(struct lb_header *header)
static void backlight_vdd(void)
static enum exynos5_gpio_pin usb_drd_vbus
static void backlight_en(void)
struct lb_record * lb_new_record(struct lb_header *header)
#define REGION_SIZE(name)
#define BIOS_CRIT
BIOS_CRIT - Recovery unlikely.
#define BIOS_ERR
BIOS_ERR - System in incomplete state.
void exynos_pinmux_i2c1(void)
void exynos_pinmux_sdmmc0(void)
void exynos_pinmux_i2s1(void)
void exynos_pinmux_dphpd(void)
void exynos_pinmux_i2s0(void)
void exynos_pinmux_i2c2(void)
void exynos_pinmux_i2c4(void)
void exynos_pinmux_i2c0(void)
void exynos_pinmux_i2c7(void)
void exynos_pinmux_i2c3(void)
void exynos_pinmux_sdmmc2(void)
void power_enable_xclkout(void)
void i2c_init(unsigned int bus)
void clock_select_i2s_clk_source(void)
int clock_set_i2s_clk_prescaler(unsigned int src_frq, unsigned int dst_frq)
int clock_set_mshci(enum periph_id peripheral)
int clock_epll_set_rate(unsigned long rate)
void exynos5250_config_l2_cache(void)
void gpio_cfg_pin(int gpio, int cfg)
Set GPIO pin configuration.
int gpio_direction_output(unsigned int gpio, int value)
Make a GPIO an output, and set its value.
int gpio_direction_input(unsigned int gpio)
Make a GPIO an input.
int gpio_set_value(unsigned int gpio, int value)
Set an output GPIO's value.
int gpio_get_value(unsigned int gpio)
Get a GPIO's value.
void gpio_set_drv(int gpio, int mode)
Set GPIO drive strength level.
static u32 get_fb_base_kb(void)
struct tmu_info exynos5250_tmu_info
void setup_usb_host_phy(int hsic_gpio)
void setup_usb_drd_dwc3(void)
void reset_usb_drd_dwc3(void)
void setup_usb_drd_phy(void)
void(* init)(struct device *dev)
struct device_operations * ops
enum color_coefficient ycbcr_coeff
enum link_lane_count lane_count
unsigned int h_sync_polarity
unsigned int v_sync_polarity
int tmu_init(struct tmu_info *info)
int tps65090_fet_enable(unsigned int bus, enum fet_id fet_id)
Enable FET.