11 Nov, 2011

4 commits

  • Paul Mundt
     
  • Now that all of the named string association with clocks has been
    migrated to clkdev lookups there's no meaningful named topology that can
    be constructed for a debugfs tree view. Get rid of the left over bits,
    and shrink struct clk a bit in the process.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • Signed-off-by: Paul Mundt

    Paul Mundt
     
  • The runtime PM platform support stub in use by ARM-based SH/R-Mobile
    platforms contains nothing that's specifically ARM-related and instead of
    wholly generic to anything using the clock framework.

    The recent runtime PM changes interact rather badly with the lazy
    disabling of clocks late in the boot process through the clock framework,
    leading to situations where the runtime suspend/resume paths are entered
    without a clock being actively driven due to having been lazily gated
    off.

    In order to correct this we can trivially tie in the aforementioned stub
    as a general fallback for all SH platforms that don't presently have
    their own runtime PM implementations (the corner case being SH-based
    SH-Mobile platforms, which have their own stub through the hwblk API --
    which in turn has bitrotted and will be subsequently adapted to use the
    same stub as everyone else), regardless of whether the platforms choose
    to define power domains of their own or not.

    This fixes up regressions for clock framework users who also build in
    runtime PM support without any specific power domains of their own, which
    was previously causing the serial console to be lost when warring with
    lazy clock disabling.

    Signed-off-by: Paul Mundt

    Paul Mundt
     

07 Nov, 2011

1 commit

  • * 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux: (230 commits)
    Revert "tracing: Include module.h in define_trace.h"
    irq: don't put module.h into irq.h for tracking irqgen modules.
    bluetooth: macroize two small inlines to avoid module.h
    ip_vs.h: fix implicit use of module_get/module_put from module.h
    nf_conntrack.h: fix up fallout from implicit moduleparam.h presence
    include: replace linux/module.h with "struct module" wherever possible
    include: convert various register fcns to macros to avoid include chaining
    crypto.h: remove unused crypto_tfm_alg_modname() inline
    uwb.h: fix implicit use of asm/page.h for PAGE_SIZE
    pm_runtime.h: explicitly requires notifier.h
    linux/dmaengine.h: fix implicit use of bitmap.h and asm/page.h
    miscdevice.h: fix up implicit use of lists and types
    stop_machine.h: fix implicit use of smp.h for smp_processor_id
    of: fix implicit use of errno.h in include/linux/of.h
    of_platform.h: delete needless include
    acpi: remove module.h include from platform/aclinux.h
    miscdevice.h: delete unnecessary inclusion of module.h
    device_cgroup.h: delete needless include
    net: sch_generic remove redundant use of
    net: inet_timewait_sock doesnt need
    ...

    Fix up trivial conflicts (other header files, and removal of the ab3550 mfd driver) in
    - drivers/media/dvb/frontends/dibx000_common.c
    - drivers/media/video/{mt9m111.c,ov6650.c}
    - drivers/mfd/ab3550-core.c
    - include/linux/dmaengine.h

    Linus Torvalds
     

04 Nov, 2011

2 commits


01 Nov, 2011

4 commits


28 Oct, 2011

4 commits

  • This fix the problem that S_IRUSR and S_IWUSR are not solved in userimask.c.

    -----
    CC drivers/usb/host/r8a66597-hcd.o
    drivers/sh/intc/userimask.c:57: error: ‘S_IRUSR’ undeclared here (not in a function)
    drivers/sh/intc/userimask.c:57: error: ‘S_IWUSR’ undeclared here (not in a function)
    CC drivers/watchdog/shwdt.o
    -----

    Signed-off-by: Nobuhiro Iwamatsu
    Signed-off-by: Paul Mundt

    Nobuhiro Iwamatsu
     
  • Add GPIO IRQ support to the shared PFC code in drivers/sh/pfc.c

    The enums pointed out by a certain GPIO will be matched against
    a table for IRQ to enum mappings.

    Only the shared PFC code is updated by this patch. SoC specific
    changes are also needed to allow platforms to make use of this
    feature.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • Clean up the f_width shift code in get_config_reg().

    Reported-by: Ryusuke Sakato
    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • R-Mobile SoCs such as sh73a0 include PINT blocks in INTC
    that come with 2-bit IRQ trigger support. Add code to make
    sure the bit width is checked so 4-bit only modes like for
    instance EDGE_BOTH will fail for PINT.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     

08 Aug, 2011

1 commit


02 Aug, 2011

1 commit

  • * 'sh-latest' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-3.x: (39 commits)
    SH: static should be at beginning of declaration
    sh: move CLKDEV_xxx_ID macro to sh_clk.h
    sh: clock-shx3: add CLKDEV_ICK_ID for cleanup
    sh: clock-sh7786: add CLKDEV_ICK_ID for cleanup
    sh: clock-sh7785: add CLKDEV_ICK_ID for cleanup
    sh: clock-sh7757: add CLKDEV_ICK_ID for cleanup
    sh: clock-sh7366: add CLKDEV_ICK_ID for cleanup
    sh: clock-sh7343: add CLKDEV_ICK_ID for cleanup
    sh: clock-sh7722: add CLKDEV_ICK_ID for cleanup
    sh: clock-sh7724: add CLKDEV_ICK_ID for cleanup
    sh: clock-sh7366: modify I2C clock settings
    sh: clock-sh7343: modify I2C clock settings
    sh: clock-sh7723: modify I2C clock settings
    sh: clock-sh7722: modify I2C clock settings
    sh: clock-sh7724: modify I2C clock settings
    serial: sh-sci: Fix up pretty name printing for port IRQs.
    serial: sh-sci: Kill off per-port enable/disable callbacks.
    serial: sh-sci: Add missing module description/author bits.
    serial: sh-sci: Regtype probing doesn't need to be fatal.
    sh: Tidy up pre-clkdev clk_get() error handling.
    ...

    Linus Torvalds
     

21 Jul, 2011

2 commits


24 Jun, 2011

2 commits

  • Trivial cleanup.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • This V2 patch changes the clock disabling behavior during boot.
    Two different changes are made:

    1) Delay disabling of clocks until late in the boot process.
    This fixes an existing issue where in-use clocks without
    software reference are disabled by mistake during boot.
    One example of this is the handling of the Mackerel serial
    console output that shares clock with the I2C controller.

    2) Write out the "disabled" state to the hardware for clocks
    that not have been used by the kernel. In other words,
    make sure so far unused clocks actually get turned off.

    Signed-off-by: Magnus Damm
    Acked-by: Simon Horman
    Signed-off-by: Paul Mundt

    Magnus Damm
     

14 Jun, 2011

1 commit

  • Extend the SH / SH-Mobile ARM clock framework to only
    resume clocks that have been enabled.

    Without this fix divide-by-zero is triggering on sh7372
    FSIDIV during system wide resume of Suspend-to-RAM.

    Signed-off-by: Magnus Damm
    Reviewed-by: Simon Horman
    Signed-off-by: Paul Mundt

    Magnus Damm
     

23 May, 2011

1 commit


27 Apr, 2011

1 commit


18 Apr, 2011

1 commit


30 Mar, 2011

1 commit


29 Mar, 2011

2 commits


23 Mar, 2011

1 commit

  • Convert the SuperH clocks framework and shared interrupt handling
    code to using struct syscore_ops instead of a sysdev classes and
    sysdevs for power managment.

    This reduces the code size significantly and simplifies it. The
    optimizations causing things not to be restored after creating a
    hibernation image are removed, but they might lead to undesirable
    effects during resume from hibernation (e.g. the clocks would be left
    as the boot kernel set them, which might be not the same way as the
    hibernated kernel had seen them before the hibernation).

    This also is necessary for removing sysdevs from the kernel entirely
    in the future.

    Signed-off-by: Rafael J. Wysocki
    Signed-off-by: Paul Mundt

    Rafael J. Wysocki
     

19 Jan, 2011

1 commit


11 Jan, 2011

1 commit


24 Dec, 2010

1 commit

  • Presently the root node is initialized by way of kzalloc on the parent
    data structure, which by chance happens to do the bulk of what an
    explicit initialization does with GFP_NOWAIT semantics. This however is
    more by luck than by design, and as we ideally want to permit radix node
    allocations access to the emergency pools anyways, add in the proper
    initializer with the desired mask.

    Signed-off-by: Paul Mundt

    Paul Mundt
     

19 Nov, 2010

2 commits


16 Nov, 2010

1 commit


15 Nov, 2010

3 commits


10 Nov, 2010

1 commit

  • CC drivers/sh/clk/core.o
    drivers/sh/clk/core.c: In function 'clk_round_parent':
    drivers/sh/clk/core.c:574: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'unsigned int'
    drivers/sh/clk/core.c:594: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'unsigned int'

    Signed-off-by: Paul Mundt

    Paul Mundt
     

08 Nov, 2010

1 commit