14 Sep, 2015

4 commits


02 Sep, 2015

1 commit

  • Pull ARM SoC platform updates from Olof Johansson:
    "New or improved SoC support:

    - add support for Atmel's SAMA5D2 SoC
    - add support for Freescale i.MX6UL
    - improved support for TI's DM814x platform
    - misc fixes and improvements for RockChip platforms
    - Marvell MVEBU suspend/resume support

    A few driver changes that ideally would belong in the drivers branch
    are also here (acked by appropriate maintainers):

    - power key input driver for Freescale platforms (svns)
    - RTC driver updates for Freescale platforms (svns/mxc)
    - clk fixes for TI DM814/816X

    + a bunch of other changes for various platforms"

    * tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (83 commits)
    ARM: rockchip: pm: Fix PTR_ERR() argument
    ARM: imx: mach-imx6ul: Fix allmodconfig build
    clk: ti: fix for definition movement
    ARM: uniphier: drop v7_invalidate_l1 call at secondary entry
    memory: kill off set_irq_flags usage
    rtc: snvs: select option REGMAP_MMIO
    ARM: brcmstb: select ARCH_DMA_ADDR_T_64BIT for LPAE
    ARM: BCM: Enable ARM erratum 798181 for BRCMSTB
    ARM: OMAP2+: Fix power domain operations regression caused by 81xx
    ARM: rockchip: enable PMU_GPIOINT_WAKEUP_EN when entering shallow suspend
    ARM: rockchip: set correct stabilization thresholds in suspend
    ARM: rockchip: rename osc_switch_to_32k variable
    ARM: imx6ul: add fec MAC refrence clock and phy fixup init
    ARM: imx6ul: add fec bits to GPR syscon definition
    rtc: mxc: add support of device tree
    dt-binding: document the binding for mxc rtc
    rtc: mxc: use a second rtc clock
    ARM: davinci: cp_intc: use IRQCHIP_SKIP_SET_WAKE instead of irq_set_wake callback
    soc: mediatek: Fix SCPSYS compilation
    ARM: at91/soc: add basic support for new sama5d2 SoC
    ...

    Linus Torvalds
     

11 Aug, 2015

1 commit


06 Aug, 2015

1 commit

  • …m/linux/kernel/git/horms/renesas into next/cleanup

    Renesas ARM Based SoC Marzen Board Removal for v4.3

    * Remove legacy r8a7779 SoC code
    * Remove legacy marzen board code

    * tag 'renesas-marzen-board-removal-for-v4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
    ARM: shmobile: r8a7779: Remove legacy SoC code
    ARM: shmobile: marzen: Remove legacy board code
    ARM: shmobile: r8a7779: Cleanup header file
    ARM: shmobile: marzen-reference: Remove C board code
    ARM: shmobile: r8a7779: Generic SMP ops
    ARM: shmobile: r8a7779: Generic CCF and timer support

    Signed-off-by: Olof Johansson <olof@lixom.net>

    Olof Johansson
     

28 Jul, 2015

3 commits


06 Jul, 2015

6 commits


23 Apr, 2015

2 commits

  • Pull ARM SoC multiplatform code changes from Olof Johansson:
    "The changes here belong to two main platforms:

    - Atmel At91 is flipping the bit and going multiplatform. This
    includes some cleanups and removal of code, and the final flip of
    config dependencies

    - Shmobile has several platforms that are going multiplatform, but
    this branch also contains a bunch of cleanups that they weren't
    able to keep separate in a good way. THere's also a removal of one
    of their SoCs and the corresponding boards (sh7372 and mackerel)"

    * tag 'armsoc-multiplatform' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (67 commits)
    ARM: at91/pm: move AT91_MEMCTRL_* to pm.h
    ARM: at91/pm: move the standby functions to pm.c
    ARM: at91: fix pm_suspend.S compilation when ARMv6 is selected
    ARM: at91: add a Kconfig dependency on multi-platform
    ARM: at91: drop AT91_TIMER_HZ
    ARM: at91: remove hardware.h
    ARM: at91: remove SoC headers
    ARM: at91: remove useless mach/cpu.h
    ARM: at91: remove unused headers
    ARM: at91: switch at91_dt_defconfig to multiplatform
    ARM: at91: switch to multiplatform
    ARM: shmobile: r8a7778: enable multiplatform target
    ARM: shmobile: bockw: add sound to DT
    ARM: shmobile: r8a7778: add sound to DT
    ARM: shmobile: bockw: add devices hooked up to i2c0 to DT
    DT: i2c: add trivial binding for OKI ML86V7667 video decoder
    ARM: shmobile: r8a7778: common clock framework CPG driver
    ARM: shmobile: bockw dts: set extal clock frequency
    ARM: shmobile: bockw dts: Move Ethernet node to BSC
    ARM: shmobile: r8a73a4: Remove legacy code
    ...

    Linus Torvalds
     
  • Pull ARM SoC platform updates from Olof Johansson:
    "Our SoC branch usually contains expanded support for new SoCs and
    other core platform code. In this case, that includes:

    - support for the new Annapurna Labs "Alpine" platform

    - a rework greatly simplifying adding new platform support to the
    MCPM subsystem (Multi-cluster power management)

    - cpuidle and PM improvements for Exynos3250

    - misc updates for Renesas, OMAP, Meson, i.MX. Some of these could
    have gone in other branches but ended up here for various reasons"

    * tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (53 commits)
    ARM: alpine: add support for generic pci
    ARM: Exynos: migrate DCSCB to the new MCPM backend abstraction
    ARM: vexpress: migrate DCSCB to the new MCPM backend abstraction
    ARM: vexpress: DCSCB: tighten CPU validity assertion
    ARM: vexpress: migrate TC2 to the new MCPM backend abstraction
    ARM: MCPM: move the algorithmic complexity to the core code
    ARM: EXYNOS: allow cpuidle driver usage on Exynos3250 SoC
    ARM: EXYNOS: add AFTR mode support for Exynos3250
    ARM: EXYNOS: add code for setting/clearing boot flag
    ARM: EXYNOS: fix CPU1 hotplug on Exynos3250
    ARM: S3C64XX: Use fixed IRQ bases to avoid conflicts on Cragganmore
    ARM: cygnus: fix const declaration bcm_cygnus_dt_compat
    ARM: DRA7: hwmod: Fix the hwmod class for GPTimer4
    ARM: DRA7: hwmod: Add data for GPTimers 13 through 16
    ARM: EXYNOS: Remove left over 'extra_save'
    ARM: EXYNOS: Constify exynos_pm_data array
    ARM: EXYNOS: use static in suspend.c
    ARM: EXYNOS: Use platform device name as power domain name
    ARM: EXYNOS: add support for async-bridge clocks for pm_domains
    ARM: omap-device: add missed callback for suspend-to-disk
    ...

    Linus Torvalds
     

04 Apr, 2015

1 commit


02 Apr, 2015

2 commits

  • …m/linux/kernel/git/horms/renesas into next/multiplatform

    Merge "Renesas ARM Based SoC sh73a0 Multiplatform Updates for v4.1" from Simon
    Horman:

    * Add multiplatform support to sh73a0 and its kzm9g board
    * Use Bus State Controller to enable ethernet for multiplatform sh73a0/kzm9g
    * Add PM domain support to multiplatform sh73a0

    * tag 'renesas-sh73a0-multiplatform-for-v4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (43 commits)
    ARM: shmobile: sh73a0: Remove restart callback
    ARM: shmobile: sh73a0 dtsi: Add PM domain support
    ARM: shmobile: sh73a0: Remove unused sh73a0_add_standard_devices_dt()
    ARM: shmobile: sh73a0 dtsi: Add Cortex-A9 TWD node
    ARM: shmobile: kzm9g-reference: Remove board C code and DT file
    ARM: shmobile: kzm9g dts: Move Ethernet node to BSC
    ARM: shmobile: sh73a0 dtsi: Add Bus State Controller node
    ARM: shmobile: kzm9g: Build DTS for Multiplatform
    ARM: shmobile: kzm9g dts: Sync with kzm9g-reference dts
    ARM: shmobile: sh73a0: Add Multiplatform support
    ARM: shmobile: sh73a0: Introduce generic setup callback
    ARM: shmobile: r8a7794: add SDHI DT support
    ARM: shmobile: r8a7790: add ADSP clocks
    ARM: shmobile: r8a7791: add ADSP clocks
    ARM: shmobile: henninger: add CAN0 DT support
    ARM: shmobile: r8a7791: add CAN DT support
    ARM: shmobile: r8a7791: add CAN clocks
    ARM: shmobile: r8a7790: add CAN DT support
    ARM: shmobile: r8a7790: add CAN clocks
    ARM: shmobile: emev2-kzm9d dts: Add PFC information for uart1
    ...

    Signed-off-by: Olof Johansson <olof@lixom.net>

    Olof Johansson
     
  • …rg/pub/scm/linux/kernel/git/horms/renesas into next/multiplatform

    Merge "Renesas ARM Based SoC r8a73a4 CCF and Multiplatform Updates for
    v4.1" from Simon Horman:

    * Add CCF and them multiplatform support to r8a73a4 SoC and its
    ape6evm board.
    * Then remove legacy r8a73a4 SoC and ape6evm board code.

    ----------------------------------------------------------------
    Geert Uytterhoeven (6):
    ARM: shmobile: r8a73a4 dtsi: Add Bus State Controller node
    ARM: shmobile: ape6evm dts: Move Ethernet node to BSC
    ARM: shmobile: r8a73a4: Move pfc node to work around probe ordering bug
    ARM: shmobile: ape6evm dts: Drop console= bootargs parameter
    PM / Domains: R-Mobile SYSC: Document R-Mobile APE6 (r8a73a4) binding
    ARM: shmobile: r8a73a4 dtsi: Add PM domain support

    Laurent Pinchart (1):
    ARM: shmobile: r8a73a4: Remove legacy code

    Simon Horman (1):
    ARM: shmobile: r8a73a4: ape6evm: Remove legacy platform

    Ulrich Hecht (5):
    ARM: shmobile: r8a73a4: Add CPG register bits header
    ARM: shmobile: r8a73a4: Common clock framework DT description
    ARM: shmobile: ape6evm: Disable legacy clock initialization
    ARM: shmobile: r8a73a4: Add MSTP clock assignments to DT
    ARM: shmobile: ape6evm-reference: Remove board C code and DT file

    Documentation/devicetree/bindings/arm/shmobile.txt | 2 -
    .../bindings/power/renesas,sysc-rmobile.txt | 1 +
    MAINTAINERS | 1 -
    arch/arm/boot/dts/Makefile | 2 -
    arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts | 156 -----
    arch/arm/boot/dts/r8a73a4-ape6evm.dts | 37 +-
    arch/arm/boot/dts/r8a73a4.dtsi | 557 ++++++++++++++++-
    arch/arm/configs/ape6evm_defconfig | 109 ----
    arch/arm/mach-shmobile/Kconfig | 25 -
    arch/arm/mach-shmobile/Makefile | 3 -
    arch/arm/mach-shmobile/Makefile.boot | 2 -
    arch/arm/mach-shmobile/board-ape6evm-reference.c | 60 --
    arch/arm/mach-shmobile/board-ape6evm.c | 306 ----------
    arch/arm/mach-shmobile/clock-r8a73a4.c | 659 ---------------------
    arch/arm/mach-shmobile/r8a73a4.h | 17 -
    arch/arm/mach-shmobile/setup-r8a73a4.c | 273 +--------
    include/dt-bindings/clock/r8a73a4-clock.h | 62 ++
    17 files changed, 615 insertions(+), 1657 deletions(-)
    delete mode 100644 arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts
    delete mode 100644 arch/arm/configs/ape6evm_defconfig
    delete mode 100644 arch/arm/mach-shmobile/board-ape6evm-reference.c
    delete mode 100644 arch/arm/mach-shmobile/board-ape6evm.c
    delete mode 100644 arch/arm/mach-shmobile/clock-r8a73a4.c
    delete mode 100644 arch/arm/mach-shmobile/r8a73a4.h
    create mode 100644 include/dt-bindings/clock/r8a73a4-clock.h

    * tag 'renesas-r8a73a4-ccf-and-multiplatform-for-v4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
    ARM: shmobile: r8a73a4: Remove legacy code
    ARM: shmobile: r8a73a4 dtsi: Add PM domain support
    PM / Domains: R-Mobile SYSC: Document R-Mobile APE6 (r8a73a4) binding
    ARM: shmobile: ape6evm dts: Drop console= bootargs parameter
    ARM: shmobile: r8a73a4: ape6evm: Remove legacy platform
    ARM: shmobile: ape6evm-reference: Remove board C code and DT file
    ARM: shmobile: r8a73a4: Move pfc node to work around probe ordering bug
    ARM: shmobile: ape6evm dts: Move Ethernet node to BSC
    ARM: shmobile: r8a73a4 dtsi: Add Bus State Controller node
    ARM: shmobile: r8a73a4: Add MSTP clock assignments to DT
    ARM: shmobile: ape6evm: Disable legacy clock initialization
    ARM: shmobile: r8a73a4: Common clock framework DT description
    ARM: shmobile: r8a73a4: Add CPG register bits header

    Signed-off-by: Olof Johansson <olof@lixom.net>

    Olof Johansson
     

19 Mar, 2015

1 commit

  • The default idle driver uses one state with the WFI instruction.
    The default idle routine invokes WFI when no cpuidle driver is present.

    The default cpuidle driver is pointless and does not give more than the
    default idle routine and moreover it pulls all the mathematics tied with
    the cpuidle governor for nothing, hence consuming more energy.

    Remove the default driver, the related code and register the driver directly.

    [compiled only - no board - no test]

    Signed-off-by: Daniel Lezcano
    Signed-off-by: Simon Horman

    Daniel Lezcano
     

17 Mar, 2015

1 commit


11 Mar, 2015

1 commit

  • The r8a7790/lager and r8a7791/koelsch development boards have da9063 and
    da9210 regulators. Both regulators have their interrupt request lines
    tied to the same interrupt pin (IRQ2) on the SoC.

    After cold boot or da9063-induced restart, both the da9063 and da9210
    seem to assert their interrupt request lines. Hence as soon as one
    driver requests this irq, it gets stuck in an interrupt storm, as it
    only manages to deassert its own interrupt request line, and the other
    driver hasn't installed an interrupt handler yet.

    To handle this, install a quirk that masks the interrupts in both the
    da9063 and da9210. This quirk has to run after the i2c master driver
    has been initialized, but before the i2c slave drivers are initialized.
    As it depends on i2c, select I2C if one of the affected platforms is
    enabled in the kernel config.

    On koelsch, the following happens:

    - Cold boot or reboot using the da9063 restart handler:

    IRQ2 is asserted, installing da9063/da9210 regulator quirk
    ...
    i2c i2c-6: regulator_quirk_notify: 1, IRQC_MONITOR = 0x3fb
    i2c 6-0058: regulator_quirk_notify: 1, IRQC_MONITOR = 0x3fb
    i2c 6-0058: Detected da9063
    i2c 6-0058: Masking da9063 interrupt sources
    i2c 6-0068: regulator_quirk_notify: 1, IRQC_MONITOR = 0x3fb
    i2c 6-0068: Detected da9210
    i2c 6-0068: Masking da9210 interrupt sources
    i2c 6-0068: IRQ2 is not asserted, removing quirk

    - Warm boot (reset button):

    rcar_gen2_regulator_quirk: IRQ2 is not asserted, not installing quirk

    Signed-off-by: Geert Uytterhoeven
    Tested-by: Wolfram Sang
    Reviewed-by: Mark Brown
    Signed-off-by: Simon Horman

    Geert Uytterhoeven
     

25 Feb, 2015

1 commit


24 Feb, 2015

6 commits

  • Now that the sh73a0 generic multiplatform case has the same feature set
    as the kzm9g DT reference board code, we get rid of the latter.
    DT reference code in the future shall make use of the sh73a0
    multiplatform support code with the generic SoC machine vector.

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Simon Horman

    Simon Horman
     
  • Enable sh73a0 Multiplatform support for the generic sh73a0
    machine vector. No board support is enabled, and the board
    code for KZM9G DT Reference is left by itself.

    Signed-off-by: Magnus Damm
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Simon Horman

    Magnus Damm
     
  • Remove support for the legacy Cortex-A8 based sh7372 SoC.

    The Linux kernel still lacks DT bindings for the sh7372 INTC
    interrupt controller so DT multiplatform support is not possibile.

    Also, the sh7372 SoC never went into mass production anyway so to
    aid migration to DT multiplatform simply get rid of sh7372 support.

    Signed-off-by: Magnus Damm
    Acked-by: Laurent Pinchart
    Acked-by: Geert Uytterhoeven
    Signed-off-by: Simon Horman

    Magnus Damm
     
  • Remove legacy C code for the sh7372 Mackerel board. There is no
    DT multiplatform implementation available for the sh7372 SoC so
    simply phase out the board and SoC code support.

    Signed-off-by: Magnus Damm
    Acked-by: Laurent Pinchart
    Acked-by: Geert Uytterhoeven
    Signed-off-by: Simon Horman

    Magnus Damm
     
  • This removes the remains of the legacy ape6evm platform.

    Signed-off-by: Ulrich Hecht
    Acked-by: Laurent Pinchart
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Simon Horman

    Simon Horman
     
  • Now that the r8a73a4 generic multiplatform case has the same features as the
    APE6EVM DT reference board code, we get rid of the latter. DT reference
    code in the future shall make use of the r8a73a4 multiplatform support code
    with the generic SoC machine vector.

    Signed-off-by: Ulrich Hecht
    Acked-by: Laurent Pinchart
    [geert: Update Documentation/devicetree/bindings/arm/shmobile.txt]
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Simon Horman

    Ulrich Hecht
     

21 Dec, 2014

3 commits

  • All r8a7790 boards are now used with multiplatform kernels only. We can
    remove all the unused r8a7790 legacy device and clock registration code.

    Signed-off-by: Laurent Pinchart
    Acked-by: Geert Uytterhoeven
    Signed-off-by: Simon Horman

    Laurent Pinchart
     
  • Lager legacy support level is same as the DT case
    so remove the legacy code and force people to move
    over to using Multiplatform and DT.

    Signed-off-by: Magnus Damm
    [Remove lager_defconfig and don't build the dtb for legacy kernels]
    Signed-off-by: Laurent Pinchart
    Acked-by: Geert Uytterhoeven
    Signed-off-by: Simon Horman

    Magnus Damm
     
  • Remove redundant C board code for Lager Multiplatform,
    everything is supported via DT these days anyway so it
    is fine to rely on the MACHINE_START in setup-r8a7790.c.

    Signed-off-by: Magnus Damm
    [Remove CONFIG_MACH_LAGER from shmobile_defconfig]
    Signed-off-by: Laurent Pinchart
    Acked-by: Geert Uytterhoeven
    Signed-off-by: Simon Horman

    Magnus Damm
     

10 Dec, 2014

1 commit

  • Pull ARM SoC platform changes from Arnd Bergmann:
    "New and updated SoC support, notable changes include:

    - bcm:
    brcmstb SMP support
    initial iproc/cygnus support
    - exynos:
    Exynos4415 SoC support
    PMU and suspend support for Exynos5420
    PMU support for Exynos3250
    pm related maintenance
    - imx:
    new LS1021A SoC support
    vybrid 610 global timer support
    - integrator:
    convert to using multiplatform configuration
    - mediatek:
    earlyprintk support for mt8127/mt8135
    - meson:
    meson8 soc and l2 cache controller support
    - mvebu:
    Armada 38x CPU hotplug support
    drop support for prerelease Armada 375 Z1 stepping
    extended suspend support, now works on Armada 370/XP
    - omap:
    hwmod related maintenance
    prcm cleanup
    - pxa:
    initial pxa27x DT handling
    - rockchip:
    SMP support for rk3288
    add cpu frequency scaling support
    - shmobile:
    r8a7740 power domain support
    various small restart, timer, pci apmu changes
    - sunxi:
    Allwinner A80 (sun9i) earlyprintk support
    - ux500:
    power domain support

    Overall, a significant chunk of changes, coming mostly from the usual
    suspects: omap, shmobile, samsung and mvebu, all of which already
    contain a lot of platform specific code in arch/arm"

    * tag 'soc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (187 commits)
    ARM: mvebu: use the cpufreq-dt platform_data for independent clocks
    soc: integrator: Add terminating entry for integrator_cm_match
    ARM: mvebu: add SDRAM controller description for Armada XP
    ARM: mvebu: adjust mbus controller description on Armada 370/XP
    ARM: mvebu: add suspend/resume DT information for Armada XP GP
    ARM: mvebu: synchronize secondary CPU clocks on resume
    ARM: mvebu: make sure MMU is disabled in armada_370_xp_cpu_resume
    ARM: mvebu: Armada XP GP specific suspend/resume code
    ARM: mvebu: reserve the first 10 KB of each memory bank for suspend/resume
    ARM: mvebu: implement suspend/resume support for Armada XP
    clk: mvebu: add suspend/resume for gatable clocks
    bus: mvebu-mbus: provide a mechanism to save SDRAM window configuration
    bus: mvebu-mbus: suspend/resume support
    clocksource: time-armada-370-xp: add suspend/resume support
    irqchip: armada-370-xp: Add suspend/resume support
    ARM: add lolevel debug support for asm9260
    ARM: add mach-asm9260
    ARM: EXYNOS: use u8 for val[] in struct exynos_pmu_conf
    power: reset: imx-snvs-poweroff: add power off driver for i.mx6
    ARM: imx: temporarily remove CONFIG_SOC_FSL from LS1021A
    ...

    Linus Torvalds
     

12 Nov, 2014

1 commit

  • In a combined ARMv6/v7 kernel, the setup-rcar-gen2.c cannot
    currently be compiled correctly because it uses the isb
    instruction that is not available on ARMv6. Adding the
    -march=armv7-a flag lets the compiler know that it is safe
    to build this file for ARMv7.

    Signed-off-by: Arnd Bergmann
    Acked-by: Geert Uytterhoeven
    Signed-off-by: Simon Horman

    Arnd Bergmann
     

30 Oct, 2014

4 commits