summaryrefslogtreecommitdiff
path: root/src/soc/rockchip/rk3399/chip.h
diff options
context:
space:
mode:
authorNickey Yang <nickey.yang@rock-chips.com>2017-04-27 09:38:06 +0800
committerJulius Werner <jwerner@chromium.org>2017-05-18 01:00:09 +0200
commitfe122d4dfc130be1e87b367b0dc9b39044b262bd (patch)
tree021e8b921fcdfd1d6af2ea62a57fd4c4af7a48c7 /src/soc/rockchip/rk3399/chip.h
parent2684efc49213802dcd36bd9bddd7a69851b8774a (diff)
rockchip/rk3399: Add MIPI driver
This patch configures clock for mipi and then adds mipi driver for support innolux-p079zca mipi panel in rk3399 scarlet. Change-Id: I02475eefb187c619c614b1cd20e97074bc8d917f Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com> Reviewed-on: https://review.coreboot.org/19477 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/soc/rockchip/rk3399/chip.h')
-rw-r--r--src/soc/rockchip/rk3399/chip.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/soc/rockchip/rk3399/chip.h b/src/soc/rockchip/rk3399/chip.h
index 1f9462a009..4b2ccc5b52 100644
--- a/src/soc/rockchip/rk3399/chip.h
+++ b/src/soc/rockchip/rk3399/chip.h
@@ -26,6 +26,18 @@ struct soc_rockchip_rk3399_config {
u32 bl_pwm_to_enable_udelay;
u32 framebuffer_bits_per_pixel;
u32 vop_mode;
+ u32 panel_pixel_clock; /* below only be considered for MIPI displays */
+ u32 panel_refresh;
+ u32 panel_ha;
+ u32 panel_hbl;
+ u32 panel_hso;
+ u32 panel_hspw;
+ u32 panel_va;
+ u32 panel_vbl;
+ u32 panel_vso;
+ u32 panel_vspw;
+ u32 panel_display_on_mdelay;
+ u32 panel_video_mode_mdelay;
};
#endif /* __SOC_ROCKCHIP_RK3399_CHIP_H__ */