sunxi: video: Add V3S simple-framebuffer
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 0 repliesNew
- v15 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- problematic patch for generic DE2 suppress of doubleclock search was redesigned for V3s only
- changes dts(i) was synced from Linux-v5.9 and additional patch to enable simple-framebuffer
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | ARM: dts: sun8i: Update V3s dts(i) files from Linux-v5.9arch/ arch/ | +196 | 0 replies | |
| 2/5 | ARM: dts: sun8i: v3s: Add simple-framebufferarch/ | +16 | 1 reply | |
| 3/5 | pwm: sunxi: v3s: Enable PWM0arch/ drivers/ | +4 | 0 replies | |
| 4/5 | sunxi: video: v3s: Enable LCD supportarch/ arch/ arch/ +4 more | +40 | 3 replies | |
| 5/5 | sunxi: add drivers and configs needed for LCD displayconfigs/ | +4 | 3 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Maxime Ripard |
|---|---|
| 1/5 | |
| 2/5 | A-b |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/5] sunxi: video: Add V3S simple-framebuffer
There are patches to enable "allwinner,simple-framebuffer" with "mixer0-lcd0" pipeline for V3s.
First patch updates V3s dts(i) from Linux-v5.9.
Second patch enable simple-framebuffer in V3s dtsi
(planed merge in Linux-v5.11)
Third patch enable PWM0 (for backlight support).
Fourth patch is the main extension to code and build:
- V3s has 2x VI and 1x UI channels (use UI channel), so use third channel.
- V3s uses PLL3 (PLL_VIDEO) for both DE2 and TCON0 pixelclock. PLL10 is used for DDR2. PLL3 does not support doubleclock.
- V3s supports resolution upto 1024x1024. Also scale down memory requirements for V3s (64MB embedded DDR2)
- V3s does not support HDMI.
Fifth patch enable PWM drivers and corrects CONFIG_VIDEO_LCD_DCLK_PHASE.
Tested with "Lichee Zero" V3s and 800x600 LCD (not configured DRM DE2/TCON0/panel in linux DTS). To enable functionality see TESTING patch at
- https://github.com/mcerveny/u-boot/tree/simplefb_v3s_v2
Changes since v1:
- problematic patch for generic DE2 suppress of doubleclock search was redesigned for V3s only
- changes dts(i) was synced from Linux-v5.9 and additional patch to enable simple-framebuffer
Martin Cerveny (5):
ARM: dts: sun8i: Update V3s dts(i) files from Linux-v5.9
ARM: dts: sun8i: v3s: Add simple-framebuffer
pwm: sunxi: v3s: Enable PWM0
sunxi: video: v3s: Enable LCD support
sunxi: add drivers and configs needed for LCD display
arch/arm/dts/sun8i-v3s-licheepi-zero.dts | 26 ++- arch/arm/dts/sun8i-v3s.dtsi | 216 +++++++++++++++--- arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 5 +- arch/arm/include/asm/arch-sunxi/gpio.h | 2 + arch/arm/mach-sunxi/Kconfig | 1 + configs/LicheePi_Zero_defconfig | 4 + drivers/pwm/sunxi_pwm.c | 3 + drivers/video/sunxi/lcdc.c | 5 +- drivers/video/sunxi/sunxi_de2.c | 25 +- drivers/video/sunxi/sunxi_dw_hdmi.c | 2 + drivers/video/sunxi/sunxi_lcd.c | 9 +- 11 files changed, 260 insertions(+), 38 deletions(-)
Signature · 1 line
2.25.1