From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans de Goede Date: Wed, 14 Jan 2015 15:16:44 +0100 Subject: [U-Boot] Please pull u-boot-sunxi master Message-ID: <54B67A4C.3070305@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Tom, We've been building a collection of very nice improvements for sunxi while v2015.01 was stabilizing, please pull u-boot-sunxi/master into master, highlights: 1) Improved sun6i (A31) support, including support for the A31s variant and automatic assignment of a SoC serial based MAC address for ethernet 2) Full sun8i (A23) support including DRAM controller init and SPL, so now people can boot these boards using a full FOSS solution 3) Many improvement to the graphical console support, automatic selection of the native mode for HDMI/DVI monitors via DDC + EDID, LCD panel support, VGA output support 4) Preparation work for OTG controller support, together with 3) this allows using u-boot on tablets effortlessly. The rest of the OTG support is going upstream through the usb tree The following changes since commit 5f88ed5cde04612e5b4520327b82d81a3f5493a0: Merge git://git.denx.de/u-boot-x86 (2015-01-13 13:39:25 -0500) are available in the git repository at: http://git.denx.de/u-boot-sunxi.git master for you to fetch changes up to a90e77dbeb92f78ec06547621a7b22a785a43a3d: sunxi: usbc: Add support for usb-vbus0 controller by axp drivebus pin (2015-01-14 14:56:40 +0100) ---------------------------------------------------------------- Axel Lin (1): mmc: sunxi: Fix misuse of gpio_direction_input() Chen-Yu Tsai (5): sun6i: Add new board Merrii Hummingbird A31 sunxi: video: Allow external DACs for VGA on platforms without TV encoders sunxi: video: Add support for external DAC enable pin sunxi: Hummingbird_A31_defconfig: Enable VGA output through external DAC sunxi: axp221: correct ALDO2 description for sun6i Hans de Goede (66): sun6i: Make dram clk and zq value Kconfig options sun6i: Add sunxi_get_ss_bonding_id() function sun6i: dram: Do not try to initialize a second dram chan on A31s sun6i: Add new CSQ_CS908 board sun6i: Update Colombus defconfig settings sunxi: mmc: Properly setup mod-clk and clock sampling phases sun6i: axp221: Add axp221_get_sid function sunxi: Add sunxi_get_sid helper function sun6i: s/SUNXI_*P2WI*/SUN6I_*P2WI*/ sunxi: Add support for the rsb (Reduced Serial Bus) sunxi: axp221: Add axp223 support sunxi: axp221: Add Kconfig help and sane defaults for typical ldo usage sunxi: axp221: Make dcdc1 voltage configurable sunxi: axp221: Explicitly turn off unused voltages sunxi: axp221: Disable dcdc4 on sun8i (A23) sun6i: Add a sigma_delta_enable paramter to clock_set_pll5() sun6i: clock_set_pll5: Calculate k and m rather then hardcoding them sunxi: Move await_completion dram helper to dram.h sunxi: Fill memory before comparing it when doing dram init on sun6i sunxi: Use memcmp for mctl_mem_matches sun8i: Add dram initialization support sun8i: Ippo_q8h_v5_defconfig: Enable SPL support sun8i: Add defconfig for Ippo_q8h v1.2 sunxi: Fix PLL1 running at half speed on sun8i sun7i: Add new Bananapro board / defconfig videomodes: Add pixelclock_khz and refresh fields to ctfb_res_modes videomodes: Add (vesa) standard timings videomodes: Add a bunch of high res modes videomodes: Add video_get_ctfb_res_modes helper function videomodes: Add helper functions to parse video-mode env-var extra options videomodes: Add video_edid_dtd_to_ctfb_res_modes helper function edid: Add an edid_check_checksum() helper function edid: Add struct and defines for cea681 extension blocks sunxi: video: Use video-mode/-timing from videomodes sunxi: video: Add support for video-mode environment variable sunxi: video: Add hpd option sunxi: video: Add DDC & EDID support sunxi: video: Add hdmi support sunxi: video: Add sunxi_hdmi_edid_get_block helper function sunxi: video: When using edid use CEA681 extension blocks to select hdmi output sunxi: video: Give hotplug-detect (hpd) signal some time to show up sunxi: video: Set input sync enable sunxi: gpio: Properly sort mux defines by port number sunxi: gpio: Add support for gpio pins on the AXP209 pmic sunxi: video: Improve monitor video-mode option handling sunxi: video: Prepare for lcd support sunxi: video: Modify sunxi_lcdc_pll_set to work with both tcon0 and tcon1 sunxi: video: Move sunxi_drc_init sunxi: video: Add lcd output support sunxi: video: Enable video on sun8i, which supports LCD but not HDMI sunxi: video: Add support for VGA via external DACs connected to the LCD pins sunxi: sunxi-common.h: Reduce bootm_size to take the framebuffer into account sunxi: A13-OLinuXino defconfigs: Enable VGA output, add lcd-mode for 7" LCD sunxi: Ippo_q8h defconfigs: Enable the LCD panel found on these tablets. sunxi: video: Remove sunxi_display.enabled variable sunxi: video: Use sunxi_lcdc_get_clk_delay to calculate tcon1 delay sunxi: video: Add support for using PORTD hsync/vsync pins with tcon1 sunxi: video: Fallback from HDMI to VGA on boards with VGA sunxi: video: Add VGA output support sunxi: video: Add a hpd_delay parameter to configure hpd delay sunxi: video: Add lvds support sunxi: axp221: Protect axp221_init against multiple calls sunxi: axp221: Add support for controlling the drivebus pin sunxi: Move usb-controller init code out of ehci-sunxi.c for reuse for otg sunxi: usbc: Add support for usb0 to the common usbc code sunxi: usbc: Add support for usb-vbus0 controller by axp drivebus pin Jan Kiszka (3): sunxi: Align PSCI stack calculation to comment sun7i: Add support for taking CPUs offline via PSCI sun7i: Move psci_arch_init close to text_end Siarhei Siamashka (6): sunxi: Fix CONFIG_UART0_PORT_F build and add it to menuconfig sun6i: Add defconfig for MSI Primo81 tablet sun7i: Add defconfig for MSI Primo73 tablet sunxi: Fix buggy sun6i/sun8i DRAM size detection logic console: Use pre-console buffer to get complete log on all consoles sunxi: Enable pre-console buffer Zoltan HERPAI (1): sunxi: add Linksprite pcDuino v1/v2 support arch/arm/cpu/armv7/sunxi/Makefile | 5 +- arch/arm/cpu/armv7/sunxi/board.c | 3 +- arch/arm/cpu/armv7/sunxi/clock_sun6i.c | 26 +- arch/arm/cpu/armv7/sunxi/cpu_info.c | 57 +- arch/arm/cpu/armv7/sunxi/dram_sun4i.c | 17 +- arch/arm/cpu/armv7/sunxi/dram_sun6i.c | 77 +-- arch/arm/cpu/armv7/sunxi/dram_sun8i.c | 345 +++++++++++ arch/arm/cpu/armv7/sunxi/p2wi.c | 14 +- arch/arm/cpu/armv7/sunxi/psci.S | 201 ++++++- arch/arm/cpu/armv7/sunxi/rsb.c | 158 +++++ arch/arm/cpu/armv7/sunxi/usbc.c | 272 +++++++++ arch/arm/include/asm/arch-sunxi/clock.h | 1 - arch/arm/include/asm/arch-sunxi/clock_sun4i.h | 23 +- arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 31 +- arch/arm/include/asm/arch-sunxi/cpu.h | 13 +- arch/arm/include/asm/arch-sunxi/display.h | 219 ++++++- arch/arm/include/asm/arch-sunxi/dram.h | 29 + arch/arm/include/asm/arch-sunxi/dram_sun8i.h | 266 +++++++++ arch/arm/include/asm/arch-sunxi/gpio.h | 22 +- arch/arm/include/asm/arch-sunxi/prcm.h | 3 +- arch/arm/include/asm/arch-sunxi/rsb.h | 55 ++ arch/arm/include/asm/arch-sunxi/usbc.h | 20 + board/sunxi/Kconfig | 176 +++++- board/sunxi/MAINTAINERS | 27 +- board/sunxi/Makefile | 3 + board/sunxi/board.c | 48 +- board/sunxi/dram_sun4i_408_1024_iow8.c | 31 + board/sunxi/gmac.c | 2 +- common/console.c | 46 +- common/edid.c | 12 + configs/A13-OLinuXinoM_defconfig | 9 +- configs/A13-OLinuXino_defconfig | 9 +- configs/A20-OLinuXino_MICRO_defconfig | 1 + configs/Bananapro_defconfig | 9 + configs/CSQ_CS908_defconfig | 16 + configs/Colombus_defconfig | 8 +- configs/Cubietruck_defconfig | 1 + configs/Hummingbird_A31_defconfig | 17 + configs/Ippo_q8h_v1_2_defconfig | 18 + configs/Ippo_q8h_v5_defconfig | 23 +- configs/Linksprite_pcDuino_defconfig | 7 + configs/MSI_Primo73_defconfig | 12 + configs/MSI_Primo81_defconfig | 12 + configs/Mele_A1000G_defconfig | 1 + configs/Mele_A1000_defconfig | 1 + configs/Mele_M3_defconfig | 1 + configs/Mele_M9_defconfig | 7 +- doc/README.video | 55 +- drivers/gpio/sunxi_gpio.c | 32 +- drivers/mmc/sunxi_mmc.c | 102 +++- drivers/power/Kconfig | 54 +- drivers/power/axp209.c | 72 +++ drivers/power/axp221.c | 245 +++++++- drivers/usb/host/ehci-sunxi.c | 213 +------ drivers/video/Makefile | 2 +- drivers/video/sunxi_display.c | 825 ++++++++++++++++++++++---- drivers/video/videomodes.c | 201 ++++++- drivers/video/videomodes.h | 22 +- include/axp209.h | 7 + include/axp221.h | 27 +- include/configs/sun8i.h | 7 + include/configs/sunxi-common.h | 22 +- include/edid.h | 32 + scripts/multiconfig.sh | 2 +- 64 files changed, 3698 insertions(+), 576 deletions(-) create mode 100644 arch/arm/cpu/armv7/sunxi/dram_sun8i.c create mode 100644 arch/arm/cpu/armv7/sunxi/rsb.c create mode 100644 arch/arm/cpu/armv7/sunxi/usbc.c create mode 100644 arch/arm/include/asm/arch-sunxi/dram_sun8i.h create mode 100644 arch/arm/include/asm/arch-sunxi/rsb.h create mode 100644 arch/arm/include/asm/arch-sunxi/usbc.h create mode 100644 board/sunxi/dram_sun4i_408_1024_iow8.c create mode 100644 configs/Bananapro_defconfig create mode 100644 configs/CSQ_CS908_defconfig create mode 100644 configs/Hummingbird_A31_defconfig create mode 100644 configs/Ippo_q8h_v1_2_defconfig create mode 100644 configs/Linksprite_pcDuino_defconfig create mode 100644 configs/MSI_Primo73_defconfig create mode 100644 configs/MSI_Primo81_defconfig Regards, Hans