1. 26 Apr, 2013 2 commits
  2. 24 Apr, 2013 1 commit
    • Tushar Behera's avatar
      clk: exynos5250: Fix parent clock for sclk_mmc{0,1,2,3} · 37746c9a
      Tushar Behera authored
      commit 688f7d8c ("clk: exynos5250: Fix divider values for
      sclk_mmc{0,1,2,3}") incorrectly sets the divider for sclk_mmc{0,1,2,3}
      to fix the wrong clock value. Though this fixed issue with Arndale,
      it created regressions for other boards like Snow.
      
      On Exynos5250, sclk_mmc<n> is generated like below (as per the clock
      names in drivers/clk/samsung/clk-exynos5250.c)
      
      mout_group1_p ==> mout_mmc<n> ==>
      		div_mmc<n> ==> div_mmc_pre<n> => sclk_mmc<n>
      
      Earlier div_mmc<n> was set as the parent for sclk_mmc<n>, hence
      div_mmc_pre<n> was not getting referred in kernel code and depending
      on its value set during preboot, sclk_mmc<n> value was different for
      various boards.
      
      Setting the correct clock generation path should fix the issues
      reported in above referenced commit. The changes committed during the
      earlier patch has also been reverted here.
      Reported-by: default avatarDoug Anderson <dianders@chromium.org>
      Signed-off-by: default avatarTushar Behera <tushar.behera@linaro.org>
      Tested-by: default avatarDoug Anderson <dianders@chromium.org>
      Acked-by: default avatarKukjin Kim <kgene.kim@samsung.com>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      37746c9a
  3. 19 Apr, 2013 13 commits
  4. 13 Apr, 2013 2 commits
  5. 12 Apr, 2013 3 commits
  6. 09 Apr, 2013 9 commits
  7. 08 Apr, 2013 10 commits
    • Arnd Bergmann's avatar
      Merge tag 'omap-for-v3.10/gpmc-signed' of... · 86feb64f
      Arnd Bergmann authored
      Merge tag 'omap-for-v3.10/gpmc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/drivers
      
      From Tony Lindgren <tony@atomide.com>:
      
      GPMC updates from Jon Hunter <jon-hunter@ti.com>:
      
      Adds GPMC (General Purpose Memory Controller) DT support for
      NOR flash and Ethernet and includes various GPMC cleans-up
      and fixes.
      
      This series is dependent on commit 71856843 (ARM: OMAP: use
      consistent error checking) from RMK's clean-up branch and commit
      31d9adca (ARM: OMAP2+: Fix broken gpmc support).
      
      * tag 'omap-for-v3.10/gpmc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (29 commits)
        ARM: OMAP2+: Add GPMC DT support for Ethernet child nodes
        ARM: OMAP2+: rename gpmc_probe_nor_child() to gpmc_probe_generic_child()
        ARM: OMAP2+: return -ENODEV if GPMC child device creation fails
        ARM: OMAP2+: Allow GPMC probe to complete even if CS mapping fails
        ARM: OMAP2+: Remove unnecesssary GPMC definitions and variable
        ARM: OMAP2+: Detect incorrectly aligned GPMC base address
        ARM: OMAP2+: Convert ONENAND to retrieve GPMC settings from DT
        ARM: OMAP2+: Convert NAND to retrieve GPMC settings from DT
        ARM: OMAP2+: Add device-tree support for NOR flash
        ARM: OMAP2+: Add additional GPMC timing parameters
        ARM: OMAP2+: Add function to read GPMC settings from device-tree
        ARM: OMAP2+: Don't configure of chip-select options in gpmc_cs_configure()
        ARM: OMAP2+: Convert TUSB to use gpmc_cs_program_settings()
        ARM: OMAP2+: Convert SMC91x to use gpmc_cs_program_settings()
        ARM: OMAP2+: Convert NAND to use gpmc_cs_program_settings()
        ARM: OMAP2+: Convert ONENAND to use gpmc_cs_program_settings()
        ARM: OMAP2+: Add function for configuring GPMC settings
        ARM: OMAP2+: Add structure for storing GPMC settings
        ARM: OMAP2+: Add variable to store number of GPMC waitpins
        ARM: OMAP2+: Simplify code configuring ONENAND devices
        ...
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      86feb64f
    • Arnd Bergmann's avatar
      Merge tag 'omap-for-v3.10/timer-signed' of... · dc2d3db8
      Arnd Bergmann authored
      Merge tag 'omap-for-v3.10/timer-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/drivers
      
      From Tony Lindgren <tony@atomide.com>:
      
      Clean-up for omap2+ timers from Jon Hunter <jon-hunter@ti.com>:
      
      This series consists mainly of clean-ups for clockevents and
      clocksource timers on OMAP2+ devices. The most significant change
      in functionality comes from the 5th patch which is changing the
      selection of the clocksource timer for OMAP3 and AM335x devices
      when gptimers are used for clocksource.
      
      Note that this series depends on 71856843 (ARM: OMAP: use
      consistent error checking) in RMK's tree and 960cba67 (ARM:
      OMAP5: timer: Update the clocksource name as per clock data)
      in omap-for-v3.10/fixes-non-critical. So this branch is based
      on a merge of 71856843 and omap-for-v3.10/fixes-non-critical
      to avoid non-trivial merge conflicts.
      
      * tag 'omap-for-v3.10/timer-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        ARM: OMAP4+: Fix sparse warning in system timers
        ARM: OMAP2+: Store ID of system timers in timer structure
        ARM: OMAP3: Update clocksource timer selection
        ARM: OMAP2+: Simplify system timers definitions
        ARM: OMAP2+: Simplify system timer clock definitions
        ARM: OMAP2+: Remove hard-coded test on timer ID
        ARM: OMAP2+: Display correct system timer name
        ARM: OMAP2+: fix typo "CONFIG_BRIDGE_DVFS"
        ARM: OMAP1: remove "config MACH_OMAP_HTCWIZARD"
        ARM: OMAP: dpll: enable bypass clock only when attempting dpll bypass
        ARM: OMAP2+: powerdomain: avoid testing whether an unsigned char is less than 0
        ARM: OMAP2+: hwmod: Remove unused _HWMOD_WAKEUP_ENABLED flag
        ARM: OMAP2+: am335x: Change the wdt1 func clk src to per_32k clk
        ARM: OMAP2+: AM33xx: hwmod: Add missing sysc definition to wdt1 entry
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      dc2d3db8
    • Arnd Bergmann's avatar
      Merge tag 'omap-for-v3.10/usb-signed' of... · 8355ae69
      Arnd Bergmann authored
      Merge tag 'omap-for-v3.10/usb-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/drivers
      
      From Tony Lindgren <tony@atomide.com>:
      
      EHCI platform data related changes for v3.10 merge window.
      These are needed for the USB PHY support, and are based on
      commit 1f0972f5 from Felipe Balbi's tree as agreed on the
      mailing lists.
      
      * tag 'omap-for-v3.10/usb-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (21 commits)
        ARM: dts: omap3-beagle: Add USB Host support
        ARM: dts: OMAP3: Add HS USB Host IP nodes
        ARM: dts: OMAP4: Add HS USB Host IP nodes
        ARM: OMAP: zoom: Adapt to ehci-omap changes
        ARM: OMAP3: overo: Adapt to ehci-omap changes
        ARM: OMAP3: omap3touchbook: Adapt to ehci-omap changes
        ARM: OMAP3: omap3stalker: Adapt to ehci-omap changes
        ARM: OMAP3: omap3pandora: Adapt to ehci-omap changes
        ARM: OMAP3: omap3evm: Adapt to ehci-omap changes
        ARM: OMAP3: igep0020: Adapt to ehci-omap changes
        ARM: OMAP: devkit8000: Adapt to ehci-omap changes
        ARM: OMAP3: cm-t3517: Adapt to ehci-omap changes
        ARM: OMAP3: cm-t35: Adapt to ehci-omap changes
        ARM: OMAP: AM3517evm: Adapt to ehci-omap changes
        ARM: OMAP: AM3517crane: Adapt to ehci-omap changes
        ARM: OMAP3: 3630SDP: Adapt to ehci-omap changes
        ARM: OMAP3: 3430SDP: Adapt to ehci-omap changes
        ARM: OMAP3: Beagle: Adapt to ehci-omap changes
        ARM: OMAP2+: omap4panda: Adapt to ehci-omap changes
        ARM: OMAP2+: omap-usb-host: Add usbhs_init_phys()
        ...
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      8355ae69
    • Chanho Park's avatar
      ARM: EXYNOS: Add arm-pmu DT binding for exynos421x · db35234e
      Chanho Park authored
      This patch adds a arm-pmu node to bind device tree for exynos4210.
      The exynos4210 and 4212 have two cpus which includes a pmu. In contrast, the
      exynos4412 has 4 cpus and pmus. We need to define two more pmus for this type
      board. However, supporting arm-pmu for the exynos4412 will handle it later
      because there is no dts support for 4412 based board.
      Signed-off-by: default avatarChanho Park <chanho61.park@samsung.com>
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
      db35234e
    • Chanho Park's avatar
      ARM: EXYNOS: Add arm-pmu DT binding for exynos5250 · 4f801e59
      Chanho Park authored
      This patch enables arm-pmu to bind device tree for exynos5250. The exynos5250
      has two pmus which have combiner irq type.
      Reviewed-by: default avatarThomas Abraham <thomas.abraham@linaro.org>
      Signed-off-by: default avatarChanho Park <chanho61.park@samsung.com>
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
      4f801e59
    • Chanho Park's avatar
      ARM: EXYNOS: Enable PMUs for exynos4 · b7bbdbee
      Chanho Park authored
      This patch defines irq numbers of ARM performance monitoring unit for exynos4.
      Firs of all, we need to fix IRQ_PMU correctly and to split pmu initialization
      of exynos from plat-samsung for easily defining it.
      
      The number of CPU cores and PMU irq numbers are vary according to soc types.
      So, we need to identify each soc type using soc_is_xxx function and to define
      the pmu irqs dynamically. For example, the exynos4412 has 4 cpu cores and pmus.
      Signed-off-by: default avatarChanho Park <chanho61.park@samsung.com>
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
      b7bbdbee
    • Chanho Park's avatar
      irqchip: exynos-combiner: Correct combined IRQs for exynos4 · 4e164dc5
      Chanho Park authored
      This patch corrects combined IRQs for exynos4 series platform. The exynos4412
      has four extra combined irq group and the exynos4212 has two more combined
      irqs
      than exynos4210. Each irq is mapped to IRQ_SPI(xx). Unfortunately, extra 4
      combined IRQs isn't sequential. So, we need to map the irqs manually.
      Signed-off-by: default avatarChanho Park <chanho61.park@samsung.com>
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      [kgene.kim@samsung.com: changes moved into drivers/irqchip/]
      Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
      4e164dc5
    • Chanho Park's avatar
      irqchip: exynos-combiner: Add set_irq_affinity function for combiner_irq · df7ef462
      Chanho Park authored
      This patch adds set_irq_affinity function for combiner_irq. We need this
      function to enable a arm-pmu because the pmu of exynos has combined type
      irqs.
      Reviewed-by: default avatarThomas Abraham <thomas.abraham@linaro.org>
      Signed-off-by: default avatarChanho Park <chanho61.park@samsung.com>
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      [kgene.kim@samsung.com: changes moved into drivers/irqchip/]
      Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
      df7ef462
    • Arnd Bergmann's avatar
      Merge branch 'zynq/clksrc/cleanup' of git://git.xilinx.com/linux-xlnx into next/drivers · 6b5606e0
      Arnd Bergmann authored
      From Michal Simek <michal.simek@xilinx.com>:
      
      * 'zynq/clksrc/cleanup' of git://git.xilinx.com/linux-xlnx:
        arm: zynq: Move timer to generic location
        arm: zynq: Do not use xilinx specific function names
        arm: zynq: Move timer to clocksource interface
        arm: zynq: Use standard timer binding
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      6b5606e0
    • Arnd Bergmann's avatar
      Merge tag 'vt8500/pinctrl' of git://server.prisktech.co.nz/git/linuxwmt into next/drivers · e9069cf8
      Arnd Bergmann authored
      From Tony Prisk <linux@prisktech.co.nz>:
      
      arm: vt8500: Add pinctrl driver for arch-vt8500
      
      This series adds support for the pinctrl/gpio module on all arch-vt8500
      supported SoCs.
      
      As part of the review process, some tidy up is also done to
      drivers/of/base.c to remove some code that is being constantly duplicated.
      
      Also, a patch for the bcm2835 pinctrl driver is included to take advantage
      of the new of/base.c code.
      
      * tag 'vt8500/pinctrl' of git://server.prisktech.co.nz/git/linuxwmt: (606 commits)
        pinctrl: bcm2835: make use of of_property_read_u32_index()
        gpio: vt8500: Remove arch-vt8500 gpio driver
        arm: vt8500: Remove gpio devicetree nodes
        arm: dts: vt8500: Update Wondermedia SoC dtsi files for pinctrl driver
        pinctrl: gpio: vt8500: Add pincontrol driver for arch-vt8500
        arm: vt8500: Increase available GPIOs on arch-vt8500
        of: Remove duplicated code for validating property and value
        of: Add support for reading a u32 from a multi-value property.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      e9069cf8