From: icenowy at aosc.io Date: Mon, 09 Oct 2017 21:32:57 +0800 Subject: [U-Boot] [PATCH v5 0/4] Allwinner SimpleFB Kconfig cleanup and DE2 SimpleFB support In-Reply-To: <20170920161822.64503-1-icenowy@aosc.io> References: <20170920161822.64503-1-icenowy@aosc.io> Message-ID: <80609d5c55eeb526afdb7566aba2204f@aosc.io> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de 在 2017-09-21 00:18,Icenowy Zheng 写道: > This patchset is mainly for Allwinner DE2 HDMI SimpleFB support. > > The framebuffer initialized by the Allwinner DE2 driver can be > passed by to the kernel as simplefb, and this can enable the > kernel to display graphics without having full DE2 driver. > > Add the suppot of simplefb in DE2 code. > > The code to find a simplefb with sunxi extension and a suitable > pipeline is extracted to a new source file in video/sunxi/. > > An option is added for device tree simplefb, and furtherly other > simplefb support code should also be converted to it. The > current only user to the CONFIG_VIDEO_DT_SIMPLEFB, Allwinner > DE1 legacy video, has already converted to use the Kconfig > option in this patchset. A cleanup commit is introduced for > this conversion. > > Icenowy Zheng (4): > sunxi: change the DE1 video option to CONFIG_VIDEO_SUNXI > video: sunxi: extract simplefb match code to a new file > video: add an option for video simplefb via DT > sunxi: setup simplefb for Allwinner DE2 Hello Anatolij, Could you look at this patchset? I used to think it as a sunxi-only patchset, so I sent it to the sunxi maintainers. However, Maxime says that he needs feedback from video maintainers. Thanks! > > arch/arm/mach-sunxi/Kconfig | 31 ++++++++------- > drivers/video/Kconfig | 8 ++++ > drivers/video/sunxi/Makefile | 4 +- > drivers/video/sunxi/simplefb_common.c | 30 +++++++++++++++ > drivers/video/sunxi/simplefb_common.h | 22 +++++++++++ > drivers/video/sunxi/sunxi_de2.c | 72 > +++++++++++++++++++++++++++++++++++ > drivers/video/sunxi/sunxi_display.c | 13 +------ > include/configs/sunxi-common.h | 9 +---- > scripts/config_whitelist.txt | 1 - > 9 files changed, 155 insertions(+), 35 deletions(-) > create mode 100644 drivers/video/sunxi/simplefb_common.c > create mode 100644 drivers/video/sunxi/simplefb_common.h