drm/panel: s6e3ha2: add VR mode support
authorInki Dae <inki.dae@samsung.com>
Thu, 26 May 2016 07:34:30 +0000 (16:34 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:50:51 +0000 (13:50 +0900)
commitc74452a1e8cc68fce6c590d465c45a3ecb254338
tree03ee7cdc3dfb5b04c8b318f1b0bf95d194c915e1
parent4f0e69d979dff1c9107cddec907d007ee17beae7
drm/panel: s6e3ha2: add VR mode support

This patch adds VR mode support.

For this, it creates a new sysfs file which is used by user-space
to enable or disable VR mode like below,

To enable,
echo 1 > /sys/devices/platform/soc/13900000.dsi/13900000.dsi.0/vr

To disable,
echo 0 > /sys/devices/platform/soc/13900000.dsi/13900000.dsi.0/vr

Actually, this patch enables mDNIe feature of Panel device and
updates its Display color temperature to 6500K for VR mode.

Change-Id: I4e9f15134f57fa200e63ac8fa9d94c5300d6a340
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/panel/panel-s6e3ha2.c