u-boot/drivers/video/sunxi
Samuel Holland 2421497cb7 sunxi: video: Convert panel I2C to use DM_I2C
Two displays supported by the sunxi display driver (each one used by a
single board) require initialization over I2C. Both previously used
i2c_soft; replace this with the i2c-gpio instance that already exists in
those boards' device trees (sun5i-a13-utoo-p66 and sun6i-a31-colombus).

Since the i2c-gpio nodes are not referenced by any other node in the
device trees (the device trees have no panel node), the I2C bus is
selected by its node name.

This panel initialization code was the only i2c_soft user, so the
i2c_soft GPIO setup code can be removed now as well.

Reviewed-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2021-10-12 11:01:17 +01:00
..
lcdc.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
Makefile sunxi: video: select dw-hdmi in Kconfig, not Makefile 2021-04-16 01:12:59 +01:00
simplefb_common.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
simplefb_common.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sunxi_de2.c video: sunxi: de2: switch to public uclass functions 2021-04-24 13:45:03 +02:00
sunxi_display.c sunxi: video: Convert panel I2C to use DM_I2C 2021-10-12 11:01:17 +01:00
sunxi_dw_hdmi.c video: sunxi: dw-hdmi: read source_id later 2021-04-24 13:44:59 +02:00
sunxi_lcd.c sunxi: Clean up inclusions of asm/arch/gpio.h 2021-10-11 10:46:44 +01:00
tve_common.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00