Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/i915/icl: Define Panel power ctrl register

There are two panel power sequencers. Each register
has two addressable instances. This patch defines
both the instances of Panel power control register

Signed-off-by: Madhav Chauhan <madhav.chauhan@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/99bb687b17a9165527a6210a79271c8175c8a4e3.1543500286.git.jani.nikula@intel.com

authored by

Madhav Chauhan and committed by
Jani Nikula
f4ff2120 05f2f03d

+11
+11
drivers/gpu/drm/i915/i915_reg.h
··· 4618 4618 #define _PP_STATUS 0x61200 4619 4619 #define PP_STATUS(pps_idx) _MMIO_PPS(pps_idx, _PP_STATUS) 4620 4620 #define PP_ON (1 << 31) 4621 + 4622 + #define _PP_CONTROL_1 0xc7204 4623 + #define _PP_CONTROL_2 0xc7304 4624 + #define ICP_PP_CONTROL(x) _MMIO(((x) == 1) ? _PP_CONTROL_1 : \ 4625 + _PP_CONTROL_2) 4626 + #define POWER_CYCLE_DELAY_MASK (0x1f << 4) 4627 + #define POWER_CYCLE_DELAY_SHIFT 4 4628 + #define VDD_OVERRIDE_FORCE (1 << 3) 4629 + #define BACKLIGHT_ENABLE (1 << 2) 4630 + #define PWR_DOWN_ON_RESET (1 << 1) 4631 + #define PWR_STATE_TARGET (1 << 0) 4621 4632 /* 4622 4633 * Indicates that all dependencies of the panel are on: 4623 4634 *