10 Jan, 2014

4 commits

  • GPIO dummy routines are required for fdt build, may be removed
    these dependencies once the u-boot fdt is fully optimized.

    Signed-off-by: Jagannadha Sutradharudu Teki

    Jagannadha Sutradharudu Teki
     
  • This patch provides a basic fdt support for zynq u-boot.

    zynq-7000.dtsi-> initial arch dts file
    zynq-zed.dts -> initial zed board dts file
    more devices should be added in subsequent patches.

    u-boot build: once configuring of a board done
    for building dtb with zynq-zed.dts as an input
    zynq-uboot> make DEVICE_TREE=zynq-zed

    Enabled CONFIG_OF_SEPARATE for building dtb separately.
    There is a new binary called u-boot-dtb.bin which is a u-boot
    with devicetree supported.

    Signed-off-by: Jagannadha Sutradharudu Teki

    Jagannadha Sutradharudu Teki
     
  • Added support to find the bootmodes by reading
    slcr bootmode register. this can be helpful to
    autoboot the configurations w.r.t a specified bootmode.

    Added this functionality on board_late_init as it's not
    needed for normal initializtion part.

    Signed-off-by: Jagannadha Sutradharudu Teki

    Jagannadha Sutradharudu Teki
     
  • The toolchain sets __aarch64__ for both LE and BE. In the case of
    posix_types.h we cannot reliably use config.h as that will lead to
    problems. In the case of byteorder.h it's clearer to check the EB flag
    being set in either case instead.

    Cc: David Feng
    Signed-off-by: Tom Rini

    Amended by Albert ARIBAUD to
    actually remove the config.h include from the posix_types.h
    files, with permission from Tom Rini.

    Tom Rini
     

09 Jan, 2014

1 commit


06 Jan, 2014

2 commits


03 Jan, 2014

9 commits

  • Enable fuse supply before fuse programming and disable after.

    Signed-off-by: Sergey Alyoshin
    Reviewed-by: Benoît Thébaudeau

    Sergey Alyoshin
     
  • The enable_fec_anatop_clock method should be available for all MX6
    variant as it is not MX6 SoloLite specific. This moves the code out of
    the #ifdef/#endif and we make it conditional to CONFIG_FEC_MXC
    instead.

    Signed-off-by: Otavio Salvador
    Acked-by: Stefano Babic

    Otavio Salvador
     
  • The macro allows easy setting in per-pin, as for example:

    ,----
    | imx_iomux_v3_setup_pad(MX6_PAD_NANDF_D1__GPIO_2_1 | MUX_MODE_SION);
    `----

    The IOMUX_CONFIG_SION allows for reading PAD value from PSR register.

    The following quote from the datasheet:

    ,----
    | ...
    | 28.4.2.2 GPIO Write Mode
    | The programming sequence for driving output signals should be as follows:
    | 1. Configure IOMUX to select GPIO mode (Via IOMUXC), also enable SION if need
    | to read loopback pad value through PSR
    | 2. Configure GPIO direction register to output (GPIO_GDIR[GDIR] set to 1b).
    | 3. Write value to data register (GPIO_DR).
    | ...
    `----

    This fixes the gpio_get_value to properly work when a GPIO is set for
    output and has no conflicts.

    Thanks for Benoît Thébaudeau , Fabio
    Estevam and Eric Bénard
    for helping to properly trace this down.

    Signed-off-by: Otavio Salvador
    Acked-by: Stefano Babic

    Otavio Salvador
     
  • As U-boot does not use GPU/VPU peripherals, shutdown the VDDPU regulator
    in order to save power.

    Signed-off-by: Anson Huang
    Signed-off-by: Jason Liu
    Signed-off-by: Fabio Estevam

    Fabio Estevam
     
  • When changing LDO voltages we need to wait for the required amount of time
    for the voltage to settle.

    Also, as the timer is still not available when arch_cpu_init() is called, we
    need to call it later at board_postclk_init() phase.

    Signed-off-by: Fabio Estevam

    Fabio Estevam
     
  • Introduce set_ldo_voltage() so that all three LDO regulators can be configured.

    Signed-off-by: Fabio Estevam

    Fabio Estevam
     
  • mx6 datasheet specifies that the minimum VDDSOC at 792 MHz is 1.15 V.
    Add a 25 mV margin and set it to 1.175V.

    This also matches the VDDSOC voltages for 792MHz operation that the kernel configures:
    http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/mach-mx6/cpu_op-mx6.c?h=imx_3.0.35_4.1.0

    Signed-off-by: Fabio Estevam

    Fabio Estevam
     
  • Since ROM may modify the LDO ramp up time according to fuse setting,
    it is safer to reset the ramp up field to its default value of 00:

    00: 64 cycles of 24MHz clock;
    01: 128 cycles of 24MHz clock;
    02: 256 cycles of 24MHz clock;
    03: 512 cycles of 24MHz clock;

    Signed-off-by: Anson Huang
    Signed-off-by: Jason Liu
    Signed-off-by: Fabio Estevam

    Fabio Estevam
     
  • set_vddsoc() is not used anywhere else, so make it static.

    Signed-off-by: Fabio Estevam

    Fabio Estevam
     

30 Dec, 2013

8 commits


19 Dec, 2013

16 commits