u-boot/arch/arm/include/asm/arch-rockchip
Philipp Tomsich d46d40474a rockchip: video: refactor rk_vop and split RK3288-specific code off
To prepare for adding the RK3399 VOP driver (which shares most of its
registers and config logic with the RK3228 VOP), this change refactors
the driver and splits the RK3288-specific driver off.

The changes in detail are:
- introduces a data-structure for chip-specific drivers to register
  features/callbacks with the common driver: at this time, this is
  limited to a callback for setting the pin polarities (between the
  VOP and the encoder modules) and a flag to signal 10bit RGB
  capability
- refactors the probing of regulators into a helper function that
  can take a list of regulator names to probe and autoset
- moves the priv data-structure into a (common) header file to be
  used by the chip-specific drivers to provide base addresses to
  the common driver
- uses a callback into the chip-specific driver to set pin polarities
  (replacing the direct register accesses previously used)
- splits enabling the output (towards an encoder) into a separate
  help function withint the common driver

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-06-07 21:30:49 -06:00
..
boot0.h rockchip: reserve memory for rk3399 ATF data 2017-05-10 13:37:21 -06:00
boot_mode.h rockchip: add boot-mode support for rk3288, rk3036 2016-10-01 18:36:55 -06:00
bootrom.h rockchip: Print a message when returning to the bootrom 2017-04-18 10:29:26 -04:00
clock.h rockchip: arm64: rk3399: syscon addition for rk3399 2017-03-16 16:03:44 -06:00
cru_rk3036.h rockchip: clock: rk3036: some fix according TRM 2017-06-07 07:29:20 -06:00
cru_rk3188.h rockchip: clk: rk3188: Allow configuration of the armclk 2017-04-04 20:01:57 -06:00
cru_rk3288.h rockchip: rk3288: Move rockchip_get_cru() out of the driver 2016-10-30 13:29:06 -06:00
cru_rk3328.h rockchip: rk3328: add clock driver 2017-03-16 16:03:46 -06:00
cru_rk3368.h rockchip: rk3368: Add clock driver 2017-06-07 07:29:19 -06:00
cru_rk3399.h rockchip: clk: rk3399: update driver for spl 2017-03-16 16:03:43 -06:00
cru_rv1108.h rockchip: clk: Add rv1108 clock driver 2017-06-07 07:29:25 -06:00
ddr_rk3188.h rockchip: rk3188: Add sdram driver 2017-03-16 16:03:45 -06:00
ddr_rk3288.h rockchip: rk3288: sdram: use constants in ddrconf table 2017-03-16 16:03:44 -06:00
edp_rk3288.h rockchip: video: Add a display driver for rockchip eDP 2016-01-21 20:42:36 -07:00
gpio.h rockchip: gpio: Add rockchip GPIO driver 2015-09-02 21:28:23 -06:00
grf_rk3036.h rockchip: rk3036: clean mask definition for grf reg 2017-06-07 07:29:21 -06:00
grf_rk3188.h rockchip: rk3188: Add header files for PMU and GRF 2017-03-16 16:03:44 -06:00
grf_rk3288.h rockchip: rk3288: grf: Fix shift for RK3288_TXCLK_DLY_ENA_GMAC_ENABLE 2017-06-07 21:30:48 -06:00
grf_rk3328.h rockchip: pinctrl: rk3328: do not set io routing 2017-06-07 07:29:21 -06:00
grf_rk3368.h rockchip: rk3368: Add pinctrl driver 2017-06-07 07:29:19 -06:00
grf_rk3399.h rockchip: include: grf: Add GRF register declaration for mipi dsi 2017-05-10 13:37:22 -06:00
grf_rv1108.h rockchip: pinctrl: Add rv1108 pinctrl driver 2017-06-07 07:29:24 -06:00
hardware.h rockchip: Tidy up the register-access macros 2016-01-21 20:42:37 -07:00
i2c.h rockchip: Add I2C driver 2015-09-02 21:28:24 -06:00
lvds_rk3288.h rockchip: video: Add a display driver for rockchip LVDS 2016-03-14 22:06:33 +01:00
periph.h rockchip: clk: Add rv1108 clock driver 2017-06-07 07:29:25 -06:00
pmu_rk3188.h rockchip: rk3188: Add header files for PMU and GRF 2017-03-16 16:03:44 -06:00
pmu_rk3288.h rockchip: Convert the PMU IOMUX registers into an array 2016-01-21 20:42:34 -07:00
pwm.h rockchip: rkpwm: fix the register sequence 2016-10-01 18:35:01 -06:00
qos_rk3288.h rockchip: rk3288: set isp/vop qos priority level 2017-01-11 20:23:50 -07:00
rockchip_mipi_dsi.h rockchip: video: Add mipi driver support for rockchip soc 2017-05-10 13:37:22 -06:00
sdram.h rk3288: sdram: auto-detect the capacity 2016-10-30 13:29:06 -06:00
sdram_rk3036.h rockchip: add rk3036 sdram driver 2015-12-01 08:07:22 -07:00
sdram_rk3399.h rockchip: arm64: rk3399: add ddr controller driver 2017-03-16 16:03:45 -06:00
sys_proto.h rk3399: add a empty "sys_proto.h" header file 2016-09-22 07:57:02 -06:00
timer.h rockchip: add timer driver 2015-12-01 08:07:22 -07:00
uart.h rockchip: add early uart driver 2015-12-01 08:07:22 -07:00
vop_rk3288.h rockchip: video: refactor rk_vop and split RK3288-specific code off 2017-06-07 21:30:49 -06:00