I had attempted to merge HDMI using this approach in 2017, but after some discussions with Simon, we used a 'mini-drivers' approach. I would like to see a similar approach taken here.
See https://patchwork.ozlabs.org/project/uboot/patch/1493394792-20743-4-git-send-email-philipp.toms...@theobroma-systems.com/#1650260 for the original discussion between Simon and me. Thanks, Philipp. On Mon, 28 Jun 2021 at 11:20, Yifeng Zhao <yifeng.z...@rock-chips.com> wrote: > RK3399 and RK3568 are use different sdhci controllers. > The drivers need to be updated to support these two platforms > and it's easy to support new platforms. > > > Changes in v2: > - Add mmc_of_parse to parse dts config. > - Used read_poll_timeout api to check dll lock status > - Add execute tuning api for hs200 tuning > - Used sdhci_set_clock api to set clock. > - Used read_poll_timeout api to check dll status. > > Yifeng Zhao (3): > mmc: rockchip_sdhci: add phy and clock config for rk3399 > mmc: rockchip_sdhci: Add support for RK3568 > rockchip: config: evb-rk3399: add hs200 and hs400 support > > configs/evb-rk3399_defconfig | 1 + > drivers/mmc/rockchip_sdhci.c | 427 ++++++++++++++++++++++++++++++++--- > 2 files changed, 392 insertions(+), 36 deletions(-) > > -- > 2.17.1 > > > >