[U-Boot] [PATCH v4 7/9] rockchip: video: rk3399: add HDMI TX support on the RK3399

Simon Glass sjg at chromium.org
Fri Jun 2 02:54:52 UTC 2017


On 31 May 2017 at 09:59, Philipp Tomsich
<philipp.tomsich at theobroma-systems.com> wrote:
> This commit enables the RK3399 HDMI TX, which is very similar to the
> one found on the RK3288.  As requested by Simon, this splits the HDMI
> driver into a SOC-specific portion (rk3399_hdmi.c, rk3288_hdmi.c) and
> a common portion (rk_hdmi.c).
>
> Note that the I2C communication for reading the EDID works well with
> the default settings, but does not with the alternate settings used on
> the RK3288... this configuration aspect is reflected by the driverdata
> for the RK3399 driver.
>
> Having some sort of DTS-based configuration for the regulator
> dependencies would be nice for the future, but for now we simply use
> lists of regulator names (also via driverdata) that we probe.
>
> Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> ---
>
> Changes in v4:
> - splits the large change into smaller changes
>
> Changes in v3:
> - split into separate drivers for the SOC-specific portion of the driver
> - rebase to sjg/next
>
> Changes in v2:
> - removed DEBUG from the patch (as was done in our production branches,
>   but missing from the patch-prep branch)
> - updated SJG's comment (with a TODO for the RK3288) to reflect the
>   new code structure
>
>
> ---
>  arch/arm/include/asm/arch-rockchip/grf_rk3399.h |  3 +
>  drivers/video/rockchip/Makefile                 |  1 +
>  drivers/video/rockchip/rk3399_hdmi.c            | 81 +++++++++++++++++++++++++
>  3 files changed, 85 insertions(+)
>  create mode 100644 drivers/video/rockchip/rk3399_hdmi.c
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list