History log of /rk3399_rockchip-uboot/arch/arm/include/ (Results 1801 – 1825 of 3788)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
ee74fec813-Jan-2015 Hans de Goede <hdegoede@redhat.com>

sun9i: Add cpu_sun9i.h with iomem defines

Add a headerfile with all the base addresses from the sun9i blocks.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.

sun9i: Add cpu_sun9i.h with iomem defines

Add a headerfile with all the base addresses from the sun9i blocks.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>

show more ...

9803e4e113-Jan-2015 Hans de Goede <hdegoede@redhat.com>

sunxi: Rename cpu.h to cpu_sun4i.h

sun4i - sun8i have (aprox.) the same iomem layout, but sun9i is quite
different, so add a wrapper cpu.h which includes the right mach specific
cpu_sun#i.h based on

sunxi: Rename cpu.h to cpu_sun4i.h

sun4i - sun8i have (aprox.) the same iomem layout, but sun9i is quite
different, so add a wrapper cpu.h which includes the right mach specific
cpu_sun#i.h based on mach, like we already do with clock.h and dram.h .

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>

show more ...

cc67a0b614-Jan-2015 Hans de Goede <hdegoede@redhat.com>

sunxi: Move clock_get_pllX / clock_set_pllX protos to mach specific headers

Which pll-s are available depends on the machine type, move the
clock_get_pllX / clock_set_pllX prototypes to the clock_su

sunxi: Move clock_get_pllX / clock_set_pllX protos to mach specific headers

Which pll-s are available depends on the machine type, move the
clock_get_pllX / clock_set_pllX prototypes to the clock_sun?i.h header files
so that we only declare what is actually available. e.g. clock_get_pll5p()
is not available on sun6i / sun8i, and with sun9i we get a completely
different set of plls.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>

show more ...

6515032e13-Jan-2015 Hans de Goede <hdegoede@redhat.com>

sunxi: display: Make lcd display clk phase configurable

While running some tests with an Olinuxino-A13-Micro + a 7" Olimex LCD module
I noticed that the screen flickered. This is caused by the lcd d

sunxi: display: Make lcd display clk phase configurable

While running some tests with an Olinuxino-A13-Micro + a 7" Olimex LCD module
I noticed that the screen flickered. This is caused by the lcd display clk
phase reg value being set to 0, where it should be 1 in this setup.

This commit adds a Kconfig option for the lcd display clk phase, so that we
can set it per board. This defaults to 1, because looking at all the fex
files in sunxi-boards, that is by far the most used value.

This commit updated the Ippo and MSI Primo73 tablet defconfigs to override the
default of 1 with 0, as that is the correct value for those tablets, this
keeps the register settings the same as before this commit.

The Olinuxino-A13 defconfigs are not updated, changing the register setting
for these boards from 0 to 1, this is intentional.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>

show more ...


/rk3399_rockchip-uboot/arch/arc/Kconfig
/rk3399_rockchip-uboot/arch/arc/Makefile
/rk3399_rockchip-uboot/arch/arc/config.mk
/rk3399_rockchip-uboot/arch/arc/cpu/arcv1/Makefile
/rk3399_rockchip-uboot/arch/arc/cpu/arcv1/config.mk
/rk3399_rockchip-uboot/arch/arc/cpu/arcv1/start.S
/rk3399_rockchip-uboot/arch/arc/cpu/u-boot.lds
/rk3399_rockchip-uboot/arch/arc/include/asm/arcregs.h
/rk3399_rockchip-uboot/arch/arc/include/asm/sections.h
/rk3399_rockchip-uboot/arch/arc/lib/Makefile
/rk3399_rockchip-uboot/arch/arc/lib/cache.c
/rk3399_rockchip-uboot/arch/arc/lib/cpu.c
/rk3399_rockchip-uboot/arch/arc/lib/interrupts.c
/rk3399_rockchip-uboot/arch/arc/lib/relocate.c
/rk3399_rockchip-uboot/arch/arc/lib/reset.c
/rk3399_rockchip-uboot/arch/arc/lib/sections.c
/rk3399_rockchip-uboot/arch/arc/lib/timer.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/am33xx/board.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap-common/boot-common.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap-common/hwinit-common.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap3/board.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/sunxi/board.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/zynq/spl.c
asm/arch-sunxi/display.h
/rk3399_rockchip-uboot/arch/arm/lib/spl.c
/rk3399_rockchip-uboot/board/compulab/cm_fx6/spl.c
/rk3399_rockchip-uboot/board/freescale/ls1021aqds/ls1021aqds.c
/rk3399_rockchip-uboot/board/freescale/ls1021atwr/ls1021atwr.c
/rk3399_rockchip-uboot/board/freescale/mpc837xerdb/MAINTAINERS
/rk3399_rockchip-uboot/board/sunxi/Kconfig
/rk3399_rockchip-uboot/board/synopsys/Kconfig
/rk3399_rockchip-uboot/board/synopsys/axs101/Kconfig
/rk3399_rockchip-uboot/board/woodburn/woodburn.c
/rk3399_rockchip-uboot/common/cmd_mmc.c
/rk3399_rockchip-uboot/common/cmd_usb.c
/rk3399_rockchip-uboot/common/usb.c
/rk3399_rockchip-uboot/common/usb_kbd.c
/rk3399_rockchip-uboot/configs/Ippo_q8h_v1_2_defconfig
/rk3399_rockchip-uboot/configs/Ippo_q8h_v5_defconfig
/rk3399_rockchip-uboot/configs/MSI_Primo73_defconfig
/rk3399_rockchip-uboot/drivers/mmc/mmc.c
/rk3399_rockchip-uboot/drivers/usb/eth/asix88179.c
/rk3399_rockchip-uboot/drivers/usb/gadget/composite.c
/rk3399_rockchip-uboot/drivers/usb/gadget/f_dfu.c
/rk3399_rockchip-uboot/drivers/usb/gadget/pxa25x_udc.c
/rk3399_rockchip-uboot/drivers/usb/host/ehci-hcd.c
/rk3399_rockchip-uboot/drivers/usb/musb-new/Makefile
/rk3399_rockchip-uboot/drivers/usb/musb-new/musb_host.c
/rk3399_rockchip-uboot/drivers/usb/musb-new/musb_host.h
/rk3399_rockchip-uboot/drivers/usb/musb-new/musb_regs.h
/rk3399_rockchip-uboot/drivers/usb/musb-new/musb_uboot.c
/rk3399_rockchip-uboot/drivers/usb/musb-new/sunxi.c
/rk3399_rockchip-uboot/drivers/usb/musb-new/usb-compat.h
/rk3399_rockchip-uboot/drivers/video/sunxi_display.c
/rk3399_rockchip-uboot/include/config_distro_bootcmd.h
/rk3399_rockchip-uboot/include/configs/MPC837XERDB.h
/rk3399_rockchip-uboot/include/mmc.h
/rk3399_rockchip-uboot/include/usb.h
d9efd47c30-Dec-2014 Peng Fan <Peng.Fan@freescale.com>

imx:mx6sx add dram io configure for mx6sx

Define two structure mx6sx_iomux_ddr_regs and mx6sx_iomux_grp_regs.
Add a new function mx6sx_dram_iocfg to configure dram io.

Since mx6sx only have one cha

imx:mx6sx add dram io configure for mx6sx

Define two structure mx6sx_iomux_ddr_regs and mx6sx_iomux_grp_regs.
Add a new function mx6sx_dram_iocfg to configure dram io.

Since mx6sx only have one channel mmdc0, define a new empty macro MMDC1
to replace mmdc1->entry=value for mx6sx. And to other mx6 soc, MMDC1
effects as "mmdc1->entry=value".

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>

show more ...

38cd2d9c14-Jan-2015 Michal Simek <michal.simek@xilinx.com>

mmc: zynq: Use phys_addr_t for addresses

phys_addr_t is designed for physical addresses that's why
use it.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>


/rk3399_rockchip-uboot/arch/arc/Kconfig
/rk3399_rockchip-uboot/arch/arc/Makefile
/rk3399_rockchip-uboot/arch/arc/config.mk
/rk3399_rockchip-uboot/arch/arc/cpu/arcv1/Makefile
/rk3399_rockchip-uboot/arch/arc/cpu/arcv1/config.mk
/rk3399_rockchip-uboot/arch/arc/cpu/arcv1/start.S
/rk3399_rockchip-uboot/arch/arc/cpu/u-boot.lds
/rk3399_rockchip-uboot/arch/arc/include/asm/arcregs.h
/rk3399_rockchip-uboot/arch/arc/include/asm/sections.h
/rk3399_rockchip-uboot/arch/arc/lib/Makefile
/rk3399_rockchip-uboot/arch/arc/lib/cache.c
/rk3399_rockchip-uboot/arch/arc/lib/cpu.c
/rk3399_rockchip-uboot/arch/arc/lib/interrupts.c
/rk3399_rockchip-uboot/arch/arc/lib/relocate.c
/rk3399_rockchip-uboot/arch/arc/lib/reset.c
/rk3399_rockchip-uboot/arch/arc/lib/sections.c
/rk3399_rockchip-uboot/arch/arc/lib/timer.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/am33xx/board.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap-common/boot-common.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap-common/hwinit-common.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap3/board.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/sunxi/board.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/zynq/spl.c
asm/arch-zynq/sys_proto.h
/rk3399_rockchip-uboot/arch/arm/lib/spl.c
/rk3399_rockchip-uboot/board/compulab/cm_fx6/spl.c
/rk3399_rockchip-uboot/board/freescale/ls1021aqds/ls1021aqds.c
/rk3399_rockchip-uboot/board/freescale/ls1021atwr/ls1021atwr.c
/rk3399_rockchip-uboot/board/freescale/mpc837xerdb/MAINTAINERS
/rk3399_rockchip-uboot/board/synopsys/Kconfig
/rk3399_rockchip-uboot/board/synopsys/axs101/Kconfig
/rk3399_rockchip-uboot/board/woodburn/woodburn.c
/rk3399_rockchip-uboot/common/cmd_mmc.c
/rk3399_rockchip-uboot/common/cmd_usb.c
/rk3399_rockchip-uboot/common/usb.c
/rk3399_rockchip-uboot/common/usb_kbd.c
/rk3399_rockchip-uboot/drivers/mmc/mmc.c
/rk3399_rockchip-uboot/drivers/mmc/zynq_sdhci.c
/rk3399_rockchip-uboot/drivers/net/xilinx_ll_temac.c
/rk3399_rockchip-uboot/drivers/net/zynq_gem.c
/rk3399_rockchip-uboot/drivers/usb/eth/asix88179.c
/rk3399_rockchip-uboot/drivers/usb/gadget/composite.c
/rk3399_rockchip-uboot/drivers/usb/gadget/f_dfu.c
/rk3399_rockchip-uboot/drivers/usb/gadget/pxa25x_udc.c
/rk3399_rockchip-uboot/drivers/usb/host/ehci-hcd.c
/rk3399_rockchip-uboot/drivers/usb/musb-new/Makefile
/rk3399_rockchip-uboot/drivers/usb/musb-new/musb_host.c
/rk3399_rockchip-uboot/drivers/usb/musb-new/musb_host.h
/rk3399_rockchip-uboot/drivers/usb/musb-new/musb_regs.h
/rk3399_rockchip-uboot/drivers/usb/musb-new/musb_uboot.c
/rk3399_rockchip-uboot/drivers/usb/musb-new/sunxi.c
/rk3399_rockchip-uboot/drivers/usb/musb-new/usb-compat.h
/rk3399_rockchip-uboot/include/config_distro_bootcmd.h
/rk3399_rockchip-uboot/include/configs/MPC837XERDB.h
/rk3399_rockchip-uboot/include/configs/sunxi-common.h
/rk3399_rockchip-uboot/include/mmc.h
/rk3399_rockchip-uboot/include/netdev.h
/rk3399_rockchip-uboot/include/usb.h
72d42bad16-Dec-2014 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>

mmc: rmobile: Add SDHC support for Renesas rmobile ARM SoC

This adds Renesas rmobile ARM SoC's SD/MMC host support.
This drivers tested with Gose board and Koelsch board.

Signed-off-by: Nobuhiro Iw

mmc: rmobile: Add SDHC support for Renesas rmobile ARM SoC

This adds Renesas rmobile ARM SoC's SD/MMC host support.
This drivers tested with Gose board and Koelsch board.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>

show more ...

e05e46ed03-Dec-2014 Bo Shen <voice.shen@atmel.com>

ARM: atmel: sama5d4: add usb platform data

The SAMA5D4 has the same usb platform data with SAMA5D3 SoC.

Signed-off-by: Bo Shen <voice.shen@atmel.com>

ab77f24115-Jan-2015 Tom Rini <trini@ti.com>

Merge branch 'master' of git://git.denx.de/u-boot-ti


/rk3399_rockchip-uboot/.travis.yml
/rk3399_rockchip-uboot/Kconfig
/rk3399_rockchip-uboot/MAINTAINERS
/rk3399_rockchip-uboot/MAKEALL
/rk3399_rockchip-uboot/README
/rk3399_rockchip-uboot/arch/arm/cpu/arm926ejs/kirkwood/Kconfig
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/am33xx/ddr.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/am33xx/emif4.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/sunxi/usbc.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv8/cache.S
asm/arch-am33xx/cpu.h
asm/arch-am33xx/hardware_am33xx.h
asm/arch-am33xx/hardware_am43xx.h
asm/emif.h
/rk3399_rockchip-uboot/arch/powerpc/Kconfig
/rk3399_rockchip-uboot/arch/powerpc/cpu/ppc4xx/4xx_pci.c
/rk3399_rockchip-uboot/arch/powerpc/include/asm/global_data.h
/rk3399_rockchip-uboot/board/Seagate/nas220/Kconfig
/rk3399_rockchip-uboot/board/Seagate/nas220/MAINTAINERS
/rk3399_rockchip-uboot/board/Seagate/nas220/Makefile
/rk3399_rockchip-uboot/board/Seagate/nas220/kwbimage.cfg
/rk3399_rockchip-uboot/board/Seagate/nas220/nas220.c
/rk3399_rockchip-uboot/board/ti/am43xx/board.c
/rk3399_rockchip-uboot/board/ti/am43xx/board.h
/rk3399_rockchip-uboot/board/ti/am43xx/mux.c
/rk3399_rockchip-uboot/board/timll/devkit8000/devkit8000.c
/rk3399_rockchip-uboot/common/Makefile
/rk3399_rockchip-uboot/common/bootm.c
/rk3399_rockchip-uboot/common/bootm_os.c
/rk3399_rockchip-uboot/common/cmd_sandbox.c
/rk3399_rockchip-uboot/common/image-fit.c
/rk3399_rockchip-uboot/common/image.c
/rk3399_rockchip-uboot/common/lcd.c
/rk3399_rockchip-uboot/common/lcd_console.c
/rk3399_rockchip-uboot/common/memsize.c
/rk3399_rockchip-uboot/common/spl/spl_nor.c
/rk3399_rockchip-uboot/configs/arcangel4-be_defconfig
/rk3399_rockchip-uboot/configs/arcangel4_defconfig
/rk3399_rockchip-uboot/configs/axs101_defconfig
/rk3399_rockchip-uboot/configs/nas220_defconfig
/rk3399_rockchip-uboot/configs/tb100_defconfig
/rk3399_rockchip-uboot/doc/README.arm-caches
/rk3399_rockchip-uboot/doc/README.nand
/rk3399_rockchip-uboot/doc/README.scrapyard
/rk3399_rockchip-uboot/doc/git-mailrc
/rk3399_rockchip-uboot/drivers/mtd/nand/omap_gpmc.c
/rk3399_rockchip-uboot/drivers/pci/pci.c
/rk3399_rockchip-uboot/drivers/power/pmic/Makefile
/rk3399_rockchip-uboot/drivers/power/pmic/pmic_tps62362.c
/rk3399_rockchip-uboot/drivers/video/cfb_console.c
/rk3399_rockchip-uboot/drivers/video/mpc8xx_lcd.c
/rk3399_rockchip-uboot/drivers/video/pxa_lcd.c
/rk3399_rockchip-uboot/include/bootm.h
/rk3399_rockchip-uboot/include/common.h
/rk3399_rockchip-uboot/include/configs/am43xx_evm.h
/rk3399_rockchip-uboot/include/configs/arcangel4-be.h
/rk3399_rockchip-uboot/include/configs/arcangel4.h
/rk3399_rockchip-uboot/include/configs/axs101.h
/rk3399_rockchip-uboot/include/configs/devkit8000.h
/rk3399_rockchip-uboot/include/configs/nas220.h
/rk3399_rockchip-uboot/include/configs/pcm051.h
/rk3399_rockchip-uboot/include/configs/tb100.h
/rk3399_rockchip-uboot/include/configs/ti_omap5_common.h
/rk3399_rockchip-uboot/include/configs/vf610twr.h
/rk3399_rockchip-uboot/include/image.h
/rk3399_rockchip-uboot/include/lcd.h
/rk3399_rockchip-uboot/include/lcd_console.h
/rk3399_rockchip-uboot/include/linux/mtd/omap_gpmc.h
/rk3399_rockchip-uboot/include/net.h
/rk3399_rockchip-uboot/include/power/tps62362.h
/rk3399_rockchip-uboot/include/power/tps65218.h
/rk3399_rockchip-uboot/lib/bzip2/bzlib.c
/rk3399_rockchip-uboot/lib/gunzip.c
/rk3399_rockchip-uboot/lib/lzma/LzmaTools.c
/rk3399_rockchip-uboot/lib/lzo/lzo1x_decompress.c
/rk3399_rockchip-uboot/scripts/fill_scrapyard.py
/rk3399_rockchip-uboot/test/compression.c
/rk3399_rockchip-uboot/test/dm/sf.c
/rk3399_rockchip-uboot/test/image/test-fit.py
/rk3399_rockchip-uboot/tools/buildman/README
/rk3399_rockchip-uboot/tools/buildman/bsettings.py
/rk3399_rockchip-uboot/tools/buildman/builder.py
/rk3399_rockchip-uboot/tools/buildman/builderthread.py
/rk3399_rockchip-uboot/tools/buildman/cmdline.py
/rk3399_rockchip-uboot/tools/buildman/control.py
/rk3399_rockchip-uboot/tools/buildman/test.py
/rk3399_rockchip-uboot/tools/buildman/toolchain.py
/rk3399_rockchip-uboot/tools/patman/gitutil.py
4458b7a607-Jan-2015 Hans de Goede <hdegoede@redhat.com>

sunxi: usbc: Add support for usb0 to the common usbc code

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>

0eccec4e07-Jan-2015 Hans de Goede <hdegoede@redhat.com>

sunxi: Move usb-controller init code out of ehci-sunxi.c for reuse for otg

Most of the usb-controller init code found in ehci-sunxi.c also is necessary
to init the otg usb controller, so move it to

sunxi: Move usb-controller init code out of ehci-sunxi.c for reuse for otg

Most of the usb-controller init code found in ehci-sunxi.c also is necessary
to init the otg usb controller, so move it to a common place.

While at it also update various #ifdefs / defines for sun8i support.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>

show more ...

213480e101-Jan-2015 Hans de Goede <hdegoede@redhat.com>

sunxi: video: Add lvds support

Add support for lvds lcd panels

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Anatolij Gustschin <agust@denx.de>

d9786d2325-Dec-2014 Hans de Goede <hdegoede@redhat.com>

sunxi: video: Add VGA output support

Add support for VGA directly from the sunxi SoC / display engine.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>

2dae800f21-Dec-2014 Hans de Goede <hdegoede@redhat.com>

sunxi: video: Add lcd output support

Add lcd output support, see the new Kconfig entries and doc/README.video for
how to enable / configure this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>

sunxi: video: Add lcd output support

Add lcd output support, see the new Kconfig entries and doc/README.video for
how to enable / configure this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>

show more ...

5489ebc721-Dec-2014 Hans de Goede <hdegoede@redhat.com>

sunxi: video: Modify sunxi_lcdc_pll_set to work with both tcon0 and tcon1

Modify sunxi_lcdc_pll_set to work with both tcon0 and tcon1, this is a
preparation patch for adding lcd support.

While at i

sunxi: video: Modify sunxi_lcdc_pll_set to work with both tcon0 and tcon1

Modify sunxi_lcdc_pll_set to work with both tcon0 and tcon1, this is a
preparation patch for adding lcd support.

While at it also swap the divider search order, searching from low to
high, as the comment above the code says we should do. In cases where there
are multiple solutions this will result in picking a lower pll clock and
divider, which is more stable and saves power.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>

show more ...

6c727e0924-Dec-2014 Hans de Goede <hdegoede@redhat.com>

sunxi: gpio: Add support for gpio pins on the AXP209 pmic

Some boards use GPIO-s on the pmic, one example of this is the A13-OLinuXino
board, which uses gpio0 of the axp209 for the lcd-power signal.

sunxi: gpio: Add support for gpio pins on the AXP209 pmic

Some boards use GPIO-s on the pmic, one example of this is the A13-OLinuXino
board, which uses gpio0 of the axp209 for the lcd-power signal.

This commit adds support for gpio pins on the AXP209 pmic, the sunxi_gpio.c
changes are universal, adding gpio support for the other AXP pmics (when
necessary) should be a matter of adding the necessary axp_gpio_foo functions
to their resp. drivers, and add "#define AXP_GPIO" to their header file.

Note this commit only adds support for the non device-model version of the
gpio code, patches for adding support to the device-model version are very
welcome.

The string representation for these gpio-s is AXP0-#, the 0 in the AXP0 prefix
is there in case we need to support gpio-s on more then 1 pmic in the future.
At least A80 boards have 2 pmics, and we may end up needing to support gpio-s
on both.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>

show more ...

d27f7d1422-Dec-2014 Hans de Goede <hdegoede@redhat.com>

sunxi: gpio: Properly sort mux defines by port number

Move a few mux defines around so that all the mux defines are properly sorted
by port number.

Signed-off-by: Hans de Goede <hdegoede@redhat.com

sunxi: gpio: Properly sort mux defines by port number

Move a few mux defines around so that all the mux defines are properly sorted
by port number.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>

show more ...

876aaafd20-Dec-2014 Hans de Goede <hdegoede@redhat.com>

sunxi: video: Set input sync enable

Add a write to the "unknown" (*) register to enable auto input sync, when
initially adding sunxi hdmi output support this magic write from the android
kernel code

sunxi: video: Set input sync enable

Add a write to the "unknown" (*) register to enable auto input sync, when
initially adding sunxi hdmi output support this magic write from the android
kernel code was missed, causing lcdc -> hdmi encoder sync problems.

With this write added, we can drop the modesetting retries and the extra
delays added to work around these sync problems.

With the retries dropped there also is no need to 0 all the enable flags at
the beginning of the modeset, as they are initialized to 0 already by
engines_init.

*) "unknown" is the actual name of this register in the android kernel sources

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Acked-by: Anatolij Gustschin <agust@denx.de>

show more ...

5ee0bea420-Dec-2014 Hans de Goede <hdegoede@redhat.com>

sunxi: video: Add hdmi support

So far we've been programming the hdmi-encoder to send out dvi data over the
hdmi connector. This works well for most devices, including hdmi devices, but
not all devi

sunxi: video: Add hdmi support

So far we've been programming the hdmi-encoder to send out dvi data over the
hdmi connector. This works well for most devices, including hdmi devices, but
not all devices accept dvi data on a hdmi input.

Add support for sending proper hdmi data over the hdmi output found on most
sunxi boards. This can be turned on by adding monitor=hdmi as option to the
video-mode env. variable.

A follow up patch will determine whether to send dvi or hdmi automatically when
EDID is used.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Acked-by: Anatolij Gustschin <agust@denx.de>

show more ...

7548160719-Dec-2014 Hans de Goede <hdegoede@redhat.com>

sunxi: video: Add DDC & EDID support

Add DDC & EDID support and use it to automatically select the native mode of
the attached monitor. This can be disabled by adding edid=0 as option
to the video-m

sunxi: video: Add DDC & EDID support

Add DDC & EDID support and use it to automatically select the native mode of
the attached monitor. This can be disabled by adding edid=0 as option
to the video-mode env. variable.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Acked-by: Anatolij Gustschin <agust@denx.de>

show more ...

25508ab227-Dec-2014 Hans de Goede <hdegoede@redhat.com>

sunxi: Fix PLL1 running at half speed on sun8i

PLL1 on sun6i / sun8i also has a p factor which divides the clock by
2^p (to the power p). On sun6i the p factor is ignored, but on sun8i it is
used an

sunxi: Fix PLL1 running at half speed on sun8i

PLL1 on sun6i / sun8i also has a p factor which divides the clock by
2^p (to the power p). On sun6i the p factor is ignored, but on sun8i it is
used and we were setting it to 1, resulting in the CPU running at 504 MHz
instead of 1008 MHz, this commit fixes this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>

show more ...

c3d2b96324-Dec-2014 Siarhei Siamashka <siarhei.siamashka@gmail.com>

sunxi: Fix buggy sun6i/sun8i DRAM size detection logic

After reboot, reset or even short power off, DRAM typically retains
the old stale data for some period of time (for this type of memory,
the bi

sunxi: Fix buggy sun6i/sun8i DRAM size detection logic

After reboot, reset or even short power off, DRAM typically retains
the old stale data for some period of time (for this type of memory,
the bits of data are stored in slowly discharging capacitors).

The current sun6i/sun8i DRAM size detection logic, which is
inherited from the Allwinner code, relies on using a large magic
signature with the hope that it is unique enough and unlikely to
ever accidentally match this leftover garbage data in RAM. But
this approach is inherently unsafe, as can be demonstrated using
the following test program:

/***** A testcase for reproducing the problem ******/

void main(int argc, char *argv[])
{
size_t size, i;
uint32_t *buf;
/* Allocate the buffer */
if (argc < 2 || !(size = (size_t)atoi(argv[1]) * 1048576) ||
!(buf = malloc(size))) {
printf("Need buffer size in MiB as a cmdline argument\n");
exit(1);
}
/* Fill it with the Allwinner DRAM "magic" values */
for (i = 0; i < size / 4; i++)
buf[i] = 0xaa55aa55 + ((uintptr_t)&buf[i] / 4) % 64;
/* Try to reboot */
system("reboot");
/* And wait */
for (;;) {}
}
/***************************************************/

If this test program is run on the device (giving it a large
chunk of memory), then the DRAM size detection logic in u-boot
gets confused after reboot and fails to initialize DRAM properly.

A better approach is not to rely on luck and abstain from making
any assumptions about the properties of the leftover garbage
data in RAM. Instead just use a more reliable code for testing
whether two different addresses refer to the same memory location.

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

show more ...

08fd147907-Dec-2014 Hans de Goede <hdegoede@redhat.com>

sun8i: Add dram initialization support

Based on the register / dram_para headers from the Allwinner u-boot / linux
sources + the init sequences from boot0.

Signed-off-by: Hans de Goede <hdegoede@re

sun8i: Add dram initialization support

Based on the register / dram_para headers from the Allwinner u-boot / linux
sources + the init sequences from boot0.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>

show more ...

2367b44d08-Dec-2014 Hans de Goede <hdegoede@redhat.com>

sunxi: Use memcmp for mctl_mem_matches

Use memcmp for mctl_mem_matches instead of DIY.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>

5665f50e08-Dec-2014 Hans de Goede <hdegoede@redhat.com>

sunxi: Fill memory before comparing it when doing dram init on sun6i

The sun8i boot0 code fills the DRAM with a "random" pattern before comparing
it at different offsets to do columns, etc. detectio

sunxi: Fill memory before comparing it when doing dram init on sun6i

The sun8i boot0 code fills the DRAM with a "random" pattern before comparing
it at different offsets to do columns, etc. detection. The sun6i boot0 code
does not do it, instead relying on the memory contents being random enough
to begin with for the memcmp to properly detect the wrap-around address, iow
it is working purely by chance. Since our sun6i dram code was modelled after
the boot0 code it contained the same issue.

This commit fixes this by filling the memory with a unique, distinct pattern.

The new mctl_mem_fill function this introduces is added as an inline helper
in dram.h, so that it can be shared with the sun8i dram code.

While at it move mctl_mem_matches to dram.h for re-use in sun8i too.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>

show more ...

1...<<71727374757677787980>>...152