13 May, 2015

2 commits

  • Transition the PXA25x, PXA27x and PXA3xx CPUs to the clock framework.
    This transition still enables legacy platforms to run without device
    tree as before, ie relying on platform data encoded in board specific
    files.

    This is the last step of clock framework transition for pxa
    platforms. It was tested on lubbock (pxa25x), mioa701 (pxa27x) and
    zylonite (pxa3xx).

    Signed-off-by: Robert Jarzmik

    Robert Jarzmik
     
  • Since pxa clocks were ported to the clock framework, an ordering issue
    appears between clocks and clocksource initialization. As a consequence,
    the pxa timer clock cannot be acquired in pxa_timer, and is disabled by
    clock framework because it is "unused".

    The ordering issue is that in the kernel boot sequence :
    start_kernel()
    ...
    time_init()
    -> pxa_timer()
    -> here the clocksource is initialized
    ...
    rest_init()
    kernel_init()
    initcalls
    -> here the clocks are initialized

    In the current sequence, the clocks are initialized way after pxa_timer,
    which cannot acquire the OSTIMER0 clock.

    To solve this issue, the clocks initialization is moved to pxa_timer(),
    so that clocks are initialized before clocksource for non device-tree.
    For device-tree, the standard arm time_init() will take care of the
    ordering.

    Reviewed-by: Michael Turquette
    Signed-off-by: Robert Jarzmik

    Robert Jarzmik
     

20 Nov, 2014

1 commit

  • In order to have a unique .c file for all pxa variants device-tree
    definitions, all the initialization functions for MACHINE_START and
    DT_MACHINE_START have been put together into generic.h.

    The alternative would have been one pxaXXX-dt.c file per variant.

    The move is necessary because each include/mach/pxaXXX.h includes the
    variant register descriptions which intersects and conflicts one with
    each other.

    The change is a preparation for pxa-dt.c to support multiple pxa,
    ie. pxa3xx and pxa27x.

    The machine files including mach/pxaXXX.h all include generic.h, which
    guarantees no regression should be introduced.

    Signed-off-by: Robert Jarzmik
    Acked-by: Arnd Bergmann

    Robert Jarzmik
     

10 Jul, 2013

1 commit

  • Preparing to move the parsing of reboot= to generic kernel code forces
    the change in reboot_mode handling to use the enum.

    [akpm@linux-foundation.org: fix arch/arm/mach-socfpga/socfpga.c]
    Signed-off-by: Robin Holt
    Cc: Russell King
    Cc: Russ Anderson
    Cc: Robin Holt
    Cc: H. Peter Anvin
    Cc: Guan Xuetao
    Acked-by: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Robin Holt
     

25 Dec, 2012

1 commit

  • Now that the only field in struct sys_timer is .init, delete the struct,
    and replace the machine descriptor .timer field with the initialization
    function itself.

    This will enable moving timer drivers into drivers/clocksource without
    having to place a public prototype of each struct sys_timer object into
    include/linux; the intent is to create a single of_clocksource_init()
    function that determines which timer driver to initialize by scanning
    the device dtree, much like the proposed irqchip_init() at:
    http://www.spinics.net/lists/arm-kernel/msg203686.html

    Includes mach-omap2 fixes from Igor Grinberg.

    Tested-by: Robert Jarzmik
    Signed-off-by: Stephen Warren

    Stephen Warren
     

06 Mar, 2012

1 commit

  • Both reboot (via reboot(RB_AUTOBOOT)) and suspend freeze on hx4700.

    Registration of pxa_gpio_syscore_ops is moved into pxa-gpio driver,
    but it still exists in arch-pxa directory. It resulsts failure on
    reboot and suspend.

    Now remove the registration code in arch-pxa.

    Reported-by: Paul Parsons
    Signed-off-by: Haojian Zhuang

    Haojian Zhuang
     

05 Jan, 2012

1 commit


12 Jul, 2011

1 commit


25 Apr, 2011

1 commit

  • Replace sysdev classes and struct sys_device objects used for "core"
    power management by the PXA platform code with struct syscore_ops
    objects that are simpler.

    This reduces the code size and the kernel memory footprint. It also
    is necessary for removing sysdevs entirely from the kernel in the
    future.

    Signed-off-by: Rafael J. Wysocki
    Acked-by: Greg Kroah-Hartman

    Rafael J. Wysocki
     

14 Jan, 2011

1 commit


18 Dec, 2010

1 commit


16 Dec, 2010

2 commits


09 Oct, 2010

1 commit

  • Up to now, only pxa2xx pcmcia driver is using the API. No other device driver
    is using this API in PXA3xx or any other PXA silicons.

    Restrict the scope only on pxa2xx and remove the implementation of pxa3xx. So
    we can avoid oo much checking on cpuid after more pxa chips supported.

    Signed-off-by: Haojian Zhuang
    Cc: Eric Miao
    Signed-off-by: Eric Miao

    Haojian Zhuang
     

16 Jul, 2010

1 commit


01 Dec, 2009

1 commit

  • For some platforms, it is inappropriate to register all PXA UARTs.
    In some cases, the UARTs may not be used, and in others we may want
    to avoid registering the UARTs to allow other drivers (eg, FICP) to
    make use of the UART.

    In addition, a while back there was a request to be able to pass
    platform data to the UART driver.

    This patch enables all of this by providing functions platforms can
    call to register each individual UART.

    Signed-off-by: Russell King
    Acked-by: Mike Rapoport
    Acked-by: Robert Jarzmik
    Signed-off-by: Eric Miao

    Russell King
     

13 Apr, 2009

1 commit


09 Mar, 2009

2 commits


27 Sep, 2008

1 commit

  • When configured as a specific low power state: MFP_LPM_DRIVE_LOW,
    MFP_LPM_DRIVE_HIGH, the corresponding GPDR register bit during
    low power mode shall be re-configured as output (if they are not
    configured so), thus the PGSRx bits can output.

    Create an additional low power values GPDR registers, and properly
    save/restore the GAFR + GPDR registers when doing suspend/resume.

    Signed-off-by: Eric Miao
    Signed-off-by: Russell King

    Eric Miao
     

05 Aug, 2008

1 commit

  • Due to the problem of reset status bits being handled by different
    registers between pxa2xx and pxa3xx, introduce a global reset_status
    variable, initialized by SoC-specific code and later being used by
    other drivers.

    And also introduce clear_reset_status(), which is used to clear the
    corresponding status bits. Pass RESET_STATUS_ALL to clear all bits.

    Signed-off-by: Eric Miao

    Eric Miao
     

19 Apr, 2008

5 commits


06 Feb, 2008

1 commit

  • This adds gpiolib support for the PXA architecture:
    - move all GPIO API functions from generic.c into gpio.c
    - convert the gpio_get/set_value macros into inline functions

    This makes it easier to hook up GPIOs provided by external chips like
    ASICs and CPLDs.

    Signed-off-by: Philipp Zabel
    Signed-off-by: David Brownell
    Acked-by: Russell King
    Cc: Jean Delvare
    Cc: Eric Miao
    Cc: Sam Ravnborg
    Cc: Haavard Skinnemoen
    Cc: Ben Gardner
    Signed-off-by: Andrew Morton
    [ Minor ARM fixup from David Brownell folded into this ]
    Signed-off-by: Linus Torvalds

    Philipp Zabel
     

04 Feb, 2008

2 commits


16 Oct, 2007

1 commit


13 Oct, 2007

4 commits


12 Jul, 2007

3 commits


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds