29 Sep, 2014

3 commits

  • Export symbols from the PPMU driver needed to build the exynos bus
    driver as a module.

    Cc: MyungJoo Ham
    Cc: Kyungmin Park
    Cc: Kukjin Kim
    Cc: Bartlomiej Zolnierkiewicz
    Signed-off-by: Punit Agrawal
    Signed-off-by: MyungJoo Ham

    Punit Agrawal
     
  • These functions are indended for use by drivers and should be available
    also when the driver is built as a module.

    Cc: MyungJoo Ham
    Cc: Kyungmin Park
    Signed-off-by: Ãrjan Eide
    Signed-off-by: MyungJoo Ham

    Ãrjan Eide
     
  • The Kconfig symbol ARCH_HAS_OPP became redundant in v3.16: commit
    049d595a4db3 ("PM / OPP: Make OPP invisible to users in Kconfig")
    removed the only dependency that used it. Setting it had no effect
    anymore.

    So commit 78c5e0bb145d ("PM / OPP: Remove ARCH_HAS_OPP") removed it. For
    some reason that commit did not remove all select statements for that
    symbol. These statements are now useless. Remove one from devfreq too.

    Signed-off-by: Paul Bolle
    Signed-off-by: MyungJoo Ham

    Paul Bolle
     

23 Jul, 2014

1 commit

  • Since the OPP layer is a kernel library which has been converted to be
    directly selectable by its callers rather than user selectable and
    requiring architectures to enable it explicitly the ARCH_HAS_OPP symbol
    has become redundant and can be removed. Do so.

    Signed-off-by: Mark Brown
    Reviewed-by: Viresh Kumar
    Acked-by: Nishanth Menon
    Acked-by: Rob Herring
    Acked-by: Shawn Guo
    Acked-by: Simon Horman
    Signed-off-by: Rafael J. Wysocki

    Mark Brown
     

24 May, 2014

15 commits


21 Mar, 2014

1 commit

  • The current devfreq_update_status() has the following bugs:
    - If previous frequency doesn't have a valid level, it does an out of bounds
    access into the trans_table and causes memory corruption.
    - When the new frequency doesn't have a valid level, the time spent in the
    new frequency is counted towards the next valid frequency switch instead of
    being ignored.
    - The time spent on the previous frequency is added to the new frequency's
    stats instead of the previous frequency's stats.

    This patch fixes all of this.

    Signed-off-by: Saravana Kannan
    Signed-off-by: MyungJoo Ham

    Saravana Kannan
     

29 Jan, 2014

1 commit


28 Jan, 2014

1 commit

  • Exynos4 devfreq driver uses mach/map.h which is not available on
    multiplatform. Hence disable build on multiplatform for now.
    Without this patch we get the following build errors:
    drivers/devfreq/exynos/exynos4_bus.h:15:22: fatal error: mach/map.h: No such file or directory

    Signed-off-by: Sachin Kamat
    Signed-off-by: Rafael J. Wysocki

    Sachin Kamat
     

24 Jan, 2014

1 commit

  • Pull ARM SoC cleanups from Olof Johansson:
    "This is the branch where we usually queue up cleanup efforts, moving
    drivers out of the architecture directory, header file restructuring,
    etc. Sometimes they tangle with new development so it's hard to keep
    it strictly to cleanups.

    Some of the things included in this branch are:

    * Atmel SAMA5 conversion to common clock
    * Reset framework conversion for tegra platforms
    - Some of this depends on tegra clock driver reworks that are shared
    with Mike Turquette's clk tree.
    * Tegra DMA refactoring, which are shared branches with the DMA tree.
    * Removal of some header files on exynos to prepare for
    multiplatform"

    * tag 'cleanup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (169 commits)
    ARM: mvebu: move Armada 370/XP specific definitions to armada-370-xp.h
    ARM: mvebu: remove prototypes of non-existing functions from common.h
    ARM: mvebu: move ARMADA_XP_MAX_CPUS to armada-370-xp.h
    serial: sh-sci: Rework baud rate calculation
    serial: sh-sci: Compute overrun_bit without using baud rate algo
    serial: sh-sci: Remove unused GPIO request code
    serial: sh-sci: Move overrun_bit and error_mask fields out of pdata
    serial: sh-sci: Support resources passed through platform resources
    serial: sh-sci: Don't check IRQ in verify port operation
    serial: sh-sci: Set the UPF_FIXED_PORT flag
    serial: sh-sci: Remove duplicate interrupt check in verify port op
    serial: sh-sci: Simplify baud rate calculation algorithms
    serial: sh-sci: Remove baud rate calculation algorithm 5
    serial: sh-sci: Sort headers alphabetically
    ARM: EXYNOS: Kill exynos_pm_late_initcall()
    ARM: EXYNOS: Consolidate selection of PM_GENERIC_DOMAINS for Exynos4
    ARM: at91: switch Calao QIL-A9260 board to DT
    clk: at91: fix pmc_clk_ids data type attriubte
    PM / devfreq: use inclusion instead of
    ARM: EXYNOS: remove for exynos
    ...

    Linus Torvalds
     

19 Dec, 2013

4 commits


02 Dec, 2013

1 commit


08 Nov, 2013

1 commit

  • * pm-devfreq:
    PM / devfreq: create_freezable_workqueue() doesn't return an ERR_PTR
    PM / devfreq: Remove duplicate header file inclusion in exynos5_bus.c
    PM / devfreq: Use devm_* APIs in exynos5_bus.c
    PM / devfreq: Remove redundant platform_set_drvdata() in exynos5_bus.c
    PM / devfreq: Fix incorrect usage of IS_ERR_OR_NULL in exynos5_bus.c

    Rafael J. Wysocki
     

28 Oct, 2013

6 commits

  • The create_freezable_workqueue() function returns a NULL on error and
    not an ERR_PTR.

    Signed-off-by: Dan Carpenter
    Signed-off-by: MyungJoo Ham

    Dan Carpenter
     
  • linux/opp.h was included twice.

    Signed-off-by: Sachin Kamat
    Signed-off-by: MyungJoo Ham

    Sachin Kamat
     
  • devm_* APIs are device managed and make clean up and exit codes
    simpler.

    Signed-off-by: Sachin Kamat
    Signed-off-by: MyungJoo Ham

    Sachin Kamat
     
  • Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
    driver is bound) removes the need to set driver data field to
    NULL.

    Signed-off-by: Sachin Kamat
    Acked-by: MyungJoo Ham
    Signed-off-by: MyungJoo Ham

    Sachin Kamat
     
  • platform_device_register_simple does not return NULL.
    Hence NULL check is not required.

    Signed-off-by: Sachin Kamat
    Acked-by: MyungJoo Ham
    Signed-off-by: MyungJoo Ham

    Sachin Kamat
     
  • * pm-cpufreq: (167 commits)
    cpufreq: create per policy rwsem instead of per CPU cpu_policy_rwsem
    intel_pstate: Add Baytrail support
    intel_pstate: Refactor driver to support CPUs with different MSR layouts
    cpufreq: Implement light weight ->target_index() routine
    PM / OPP: rename header to linux/pm_opp.h
    PM / OPP: rename data structures to dev_pm equivalents
    PM / OPP: rename functions to dev_pm_opp*
    cpufreq / governor: Remove fossil comment
    cpufreq: exynos4210: Use the common clock framework to set APLL clock rate
    cpufreq: exynos4x12: Use the common clock framework to set APLL clock rate
    cpufreq: Detect spurious invocations of update_policy_cpu()
    cpufreq: pmac64: enable cpufreq on iMac G5 (iSight) model
    cpufreq: pmac64: provide cpufreq transition latency for older G5 models
    cpufreq: pmac64: speed up frequency switch
    cpufreq: highbank-cpufreq: Enable Midway/ECX-2000
    exynos-cpufreq: fix false return check from "regulator_set_voltage"
    speedstep-centrino: Remove unnecessary braces
    acpi-cpufreq: Add comment under ACPI_ADR_SPACE_SYSTEM_IO case
    cpufreq: arm-big-little: use clk_get instead of clk_get_sys
    cpufreq: exynos: Show a list of available frequencies
    ...

    Conflicts:
    drivers/devfreq/exynos/exynos5_bus.c

    Rafael J. Wysocki
     

26 Oct, 2013

3 commits

  • Since Operating Performance Points (OPP) functions are specific
    to device specific power management, be specific and rename opp.h
    to pm_opp.h

    Reported-by: Randy Dunlap
    Signed-off-by: Nishanth Menon
    Signed-off-by: Rafael J. Wysocki

    Nishanth Menon
     
  • Since Operating Performance Points (OPP) data structures are specific
    to device specific power management, be specific and rename opp_* data
    structures in OPP library with dev_pm_opp_* equivalent.

    Affected structures are:
    struct opp
    enum opp_event

    Minor checkpatch warning resulting of this change was fixed as well.

    Reported-by: Randy Dunlap
    Signed-off-by: Nishanth Menon
    Signed-off-by: Rafael J. Wysocki

    Nishanth Menon
     
  • Since Operating Performance Points (OPP) functions are specific to
    device specific power management, be specific and rename opp_*
    accessors in OPP library with dev_pm_opp_* equivalent.

    Affected functions are:
    opp_get_voltage
    opp_get_freq
    opp_get_opp_count
    opp_find_freq_exact
    opp_find_freq_floor
    opp_find_freq_ceil
    opp_add
    opp_enable
    opp_disable
    opp_get_notifier
    opp_init_cpufreq_table
    opp_free_cpufreq_table

    Reported-by: Randy Dunlap
    Signed-off-by: Nishanth Menon
    Acked-by: Viresh Kumar
    Signed-off-by: Rafael J. Wysocki

    Nishanth Menon
     

17 Oct, 2013

1 commit


20 Aug, 2013

1 commit