06 Mar, 2017

1 commit


13 Apr, 2016

1 commit


25 Mar, 2016

3 commits

  • Debug monitor will print out last failed AXI access info when
    system reboot is caused by AXI access failure, only works when
    debug monitor is enabled.

    Enable this module on i.MX6SX.

    Signed-off-by: Anson Huang
    Signed-off-by: Ye.Li
    (cherry picked from commit df6ac8531d498021ed379c74fc1847bd2cec7179)
    Signed-off-by: Peng Fan

    Ye.Li
     
  • Port LDO bypass support from v2015 to support the features:

    1. Add check for 1.2GHz core speed. If Speed grading fuse is for 1.2GHz,
    enable LDO bypass and setup PMIC voltages. LDO bypass is dependent
    on the flatten device tree file.

    2. We set WDOG_B in set_anatop_bypass() before, because it is the only case, but now
    on i.mx6sabreauto board, we didn't use ldo-bypass mode, but have to use WDOG_B to
    reboot whole board, so split these code to independent function so that board file
    can call it freely.

    Signed-off-by: Ye Li

    Ye Li
     
  • Add gis module, current gis is support vadc input.
    Add power down function to lcdif driver.

    Signed-off-by: Sandor Yu
    Signed-off-by: Ye.Li
    (cherry picked from commit a007b00dd8ef9f773dfdebef0b1deb0990281793)
    (cherry picked from commit a31dcdafb0963381e7213c59f79a340ef27ec2e2)

    Ye.Li
     

13 Nov, 2015

1 commit

  • Need to call lcdif_power_down to make lcdif in initial state
    before kernel boot. Similar issue for uboot reset with lcdif
    enabled, system will hang after serveral times resetting. Need
    to let lcdif initial state to make all go well.

    Signed-off-by: Peng Fan
    Cc: Stefano Babic
    Cc: Eric Nelson
    Cc: Nikita Kiryanov
    Cc: Tim Harvey
    Cc: Fabio Estevam

    Peng Fan
     

13 Sep, 2015

3 commits


02 Aug, 2015

2 commits

  • Add MXC_CPU_MX6UL for i.MX6UL CPU type which is got at runtime from
    DIGPROG register. But the value has been occupied by MXC_CPU_MX6D which
    is not real id from DIGPROG register, so change i.MX6D to value 0x67 which
    was not occupied.

    Signed-off-by: Peng Fan
    Signed-off-by: Ye.Li

    Peng Fan
     
  • Add cpu type for i.MX6QP/DP.

    This patch also fix is_mx6dqp(), since get_cpu_rev can return MXC_CPU_MX6QP
    and MXC_CPU_MX6DP, we should use:
    (is_cpu_type(MXC_CPU_MX6QP) || is_cpu_type(MXC_CPU_MX6DP)).

    Signed-off-by: Peng Fan
    Acked-by: Stefano Babic

    Peng Fan
     

08 Jun, 2015

1 commit


28 May, 2015

1 commit


27 May, 2015

1 commit


19 May, 2015

3 commits

  • When CONFIG_IMX6_THERMAL is defined print the CPU temperature grade info
    along with the current temperature.

    Before:
    CPU: Temperature 42 C

    After:
    CPU: Automotive temperature grade (-40C to 125C) at 42C
    CPU: Industrial temperature grade (-40C to 105C) at 42C
    CPU: Extended Commercial temperature grade (-20C to 105C) at 42C

    Cc: Stefan Roese
    Cc: Eric Nelson
    Cc: Heiko Schocher
    Cc: Nikita Kiryanov
    Cc: Jon Nettleton
    Cc: Jason Liu
    Cc: Ye Li
    Cc: Fabio Estevam
    Cc: Christian Gmeiner
    Cc: Markus Niebel
    Cc: Peng Fan
    Tested-by: Nikolay Dimitrov
    Signed-off-by: Tim Harvey

    Tim Harvey
     
  • Display the max CPU frequency as well as the current running CPU frequency
    if the max CPU frequency is available and differs from the current CPU
    frequency.

    Before:
    CPU: Freescale i.MX6Q rev1.2 at 792 MHz

    After - using an 800MHz IMX6DL (running at its max)
    CPU: Freescale i.MX6DL rev1.1 at 792 MHz

    After - using a 1GHz IMX6Q (not running at its max):
    CPU: Freescale i.MX6Q rev1.2 996 MHz (running at 792 MHz)

    Cc: Stefan Roese
    Cc: Eric Nelson
    Cc: Heiko Schocher
    Cc: Nikita Kiryanov
    Cc: Jon Nettleton
    Cc: Jason Liu
    Cc: Ye Li
    Cc: Fabio Estevam
    Cc: Christian Gmeiner
    Cc: Markus Niebel
    Cc: Peng Fan
    Tested-by: Nikolay Dimitrov
    Signed-off-by: Tim Harvey

    Tim Harvey
     
  • Fix below warning
    arch/arm/imx-common/cpu.c:29:14: warning: ‘get_reset_cause’ defined but
    not used
    static char *get_reset_cause(void)

    Signed-off-by: Prabhakar Kushwaha
    Reviewed-by: Eric Nelson
    Acked-by: Stefano Babic

    Prabhakar Kushwaha
     

17 Feb, 2015

1 commit


01 Dec, 2014

1 commit

  • - fix crash when sata device is not initialized
    - remove disable_sata_clock() since it is not clear which clock for which
    device should be disabled here
    - call disable_sata_clock() for mx6 in preboot_os instead

    Signed-off-by: Soeren Moch
    Acked-by: Nikita Kiryanov
    Tested-by: Nikita Kiryanov

    Soeren Moch
     

24 Nov, 2014

1 commit

  • Ideally, the Linux kernel should get the hardware in its most
    untouched state. For the most part, U-Boot does not reset the various
    subsystems it touches before boot, and usually Linux deals with it, but
    on some boards (cm_fx6) the Linux kernel fails to detect the ssd
    correctly if sata is used by U-Boot.

    Power off sata on OS boot so that Linux will have a clean state to work
    with.

    Signed-off-by: Nikita Kiryanov
    Cc: Stefano Babic

    Nikita Kiryanov
     

21 Nov, 2014

1 commit


20 Nov, 2014

1 commit


26 Oct, 2014

1 commit


20 Aug, 2014

1 commit

  • The MX6 DRAM controller can be configured to handle 4GiB of DRAM, but
    only 3840 MiB of that can be really used. In case the controller is
    configured to operate a 4GiB module, the imx_ddr_size() function will
    correctly compute that there is 4GiB of DRAM in the system. Firstly,
    the return value is 32-bit, so the function will effectively return
    zero. Secondly, the MX6 cannot address the full 4GiB, but only 3840MiB
    of all that. Thus, clamp the returned size to 3840MiB in such case.

    Signed-off-by: Marek Vasut
    Acked-by: Tim Harvey

    Marek Vasut
     

10 Jul, 2014

1 commit


06 Jun, 2014

1 commit

  • Add comment block for the imx_ddr_size function and remove the extra unused
    fields from struct esd_mmdc_regs which are also not common between IMX53 and
    IMX6.

    Cc: Stefan Roese
    Cc: Otavio Salvador
    Cc: Andy Ng
    Cc: Eric Nelson
    Cc: Tapani Utriainen
    Cc: Tom Rini

    Signed-off-by: Tim Harvey
    Acked-by: Stefano Babic
    Acked-by: Nikita Kiryanov

    Tim Harvey
     

11 Feb, 2014

1 commit


27 Nov, 2013

1 commit


24 Jul, 2013

1 commit


13 Jan, 2013

1 commit


10 Nov, 2012

2 commits


24 Sep, 2012

1 commit


10 Sep, 2012

1 commit