mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 07:57:21 +00:00
d46d40474a
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> |
||
---|---|---|
.. | ||
boot0.h | ||
boot_mode.h | ||
bootrom.h | ||
clock.h | ||
cru_rk3036.h | ||
cru_rk3188.h | ||
cru_rk3288.h | ||
cru_rk3328.h | ||
cru_rk3368.h | ||
cru_rk3399.h | ||
cru_rv1108.h | ||
ddr_rk3188.h | ||
ddr_rk3288.h | ||
edp_rk3288.h | ||
gpio.h | ||
grf_rk3036.h | ||
grf_rk3188.h | ||
grf_rk3288.h | ||
grf_rk3328.h | ||
grf_rk3368.h | ||
grf_rk3399.h | ||
grf_rv1108.h | ||
hardware.h | ||
i2c.h | ||
lvds_rk3288.h | ||
periph.h | ||
pmu_rk3188.h | ||
pmu_rk3288.h | ||
pwm.h | ||
qos_rk3288.h | ||
rockchip_mipi_dsi.h | ||
sdram.h | ||
sdram_rk3036.h | ||
sdram_rk3399.h | ||
sys_proto.h | ||
timer.h | ||
uart.h | ||
vop_rk3288.h |