15 uint8_t *
const mmio,
const unsigned int panel_idx)
17 const unsigned int offset = panel_idx * 0x100;
24 reg32 = ((panel_cfg->
up_delay_ms * 10) & 0x1fff) << 16;
35 uint8_t *
const mmio,
const unsigned int panel_idx)
static void write32(void *addr, uint32_t val)
#define DIV_ROUND_UP(x, y)
struct resource * probe_resource(const struct device *dev, unsigned int index)
See if a resource structure already exists for a given index.
static struct tpm_chip chip
#define BXT_BLC_PWM_CTL(controller)
#define BXT_BLC_PWM_POLARITY
#define PCH_PP_OFF_DELAYS
#define BXT_BLC_PWM_FREQ(controller)
#define PANEL_POWER_RESET
#define BXT_BLC_PWM_DUTY(controller)
#define UTIL_PIN_MODE_PWM
static struct resource * mmio_res
#define PCI_BASE_ADDRESS_0
static void graphics_configure_panelpower(const struct i915_gpu_panel_config *const panel_cfg, uint8_t *const mmio, const unsigned int panel_idx)
static void graphics_configure_backlight(const struct i915_gpu_panel_config *const panel_cfg, uint8_t *const mmio, const unsigned int panel_idx)
const struct i915_gpu_controller_info * intel_igd_get_controller_info(const struct device *device)
void graphics_soc_panel_init(struct device *const dev)
DEVTREE_CONST void * chip_info
unsigned int backlight_off_delay_ms
unsigned int backlight_on_delay_ms
unsigned int cycle_delay_ms
enum i915_gpu_panel_config::@68 backlight_polarity
unsigned int down_delay_ms
unsigned int backlight_pwm_hz
struct i915_gpu_panel_config panel_cfg[2]