drm: Add definition for eDP backlight frequency
authorPuthikorn Voravootivat <puthik@chromium.org>
Tue, 23 May 2017 22:38:04 +0000 (15:38 -0700)
committerJani Nikula <jani.nikula@intel.com>
Fri, 26 May 2017 12:20:51 +0000 (15:20 +0300)
commit77a494a7250ce082def81a5fa67c24789ecabe0b
tree4c9ad7ec657f0b8303eea958fcc8a866375d7c80
parent49d191dd5d41ca3a6b447075d50ce5f287171f71
drm: Add definition for eDP backlight frequency

This patch adds the following definition
- Bit mask for EDP_PWMGEN_BIT_COUNT and min/max cap
  register which only use bit 0:4
- Base frequency (27 MHz) for backlight PWM frequency
  generator.

Signed-off-by: Puthikorn Voravootivat <puthik@chromium.org>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Acked-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170523223805.46372-5-puthik@chromium.org
include/drm/drm_dp_helper.h