1. 17 Sep, 2012 1 commit
    • Olof Johansson's avatar
      Merge branches 'msm/fixes-non-critical' and 'msm/cleanup' into next/dt · bada1c5b
      Olof Johansson authored
      Merging in fixes and cleanup as prereqs to simplify merge conflicts.
      
      * msm/fixes-non-critical:
        ARM: msm: Fix early debug uart mapping on some memory configs
        ARM: msm: io: Change the default static iomappings to be shared
        ARM: msm: io: Remove 7x30 iomap region from 7x00
        ARM: msm: Remove call to missing FPGA init on 8660
      
      * msm/cleanup:
        ARM: msm: Remove uncompiled board-msm7x27
        ARM: msm: Remove unused acpuclock-arm11
        ARM: msm: dma: use list_move_tail instead of list_del/list_add_tail
        ARM: msm: Fix sparse warnings due to incorrect type
        ARM: msm: Remove unused idle.c
        ARM: msm: clock-pcom: Mark functions static
        ARM: msm: Remove msm_hw_reset_hook
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      bada1c5b
  2. 13 Sep, 2012 16 commits
    • Stephen Boyd's avatar
      ARM: msm: Remove uncompiled board-msm7x27 · e63770ac
      Stephen Boyd authored
      This board file has never been compiled. Let's just remove it
      along with the one Kconfig reference to it in io.c.
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>
      e63770ac
    • Stephen Boyd's avatar
      ARM: msm: Remove unused acpuclock-arm11 · 07901bb0
      Stephen Boyd authored
      This is dead code that isn't initialized or setup (although it is
      compiled). Remove it and the data structures it references.
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>
      07901bb0
    • Wei Yongjun's avatar
      ARM: msm: dma: use list_move_tail instead of list_del/list_add_tail · 6eebf2de
      Wei Yongjun authored
      Using list_move_tail() instead of list_del() + list_add_tail().
      
      spatch with a semantic match is used to found this problem.
      (http://coccinelle.lip6.fr/)
      Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
      Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>
      6eebf2de
    • Stephen Boyd's avatar
      ARM: msm: Fix sparse warnings due to incorrect type · 3b5909de
      Stephen Boyd authored
      arch/arm/mach-msm/timer.c:153:3: warning: incorrect type in initializer (different address spaces)
      arch/arm/mach-msm/timer.c:153:3:    expected void const [noderef] <asn:3>*__vpp_verify
      arch/arm/mach-msm/timer.c:153:3:    got struct clock_event_device [noderef] <asn:3>**<noident>
      arch/arm/mach-msm/timer.c:153:38: warning: incorrect type in assignment (different address spaces)
      arch/arm/mach-msm/timer.c:153:38:    expected struct clock_event_device [noderef] <asn:3>*<noident>
      arch/arm/mach-msm/timer.c:153:38:    got struct clock_event_device *evt
      arch/arm/mach-msm/timer.c:191:22: warning: incorrect type in assignment (different address spaces)
      arch/arm/mach-msm/timer.c:191:22:    expected struct clock_event_device [noderef] <asn:3>**static [toplevel] percpu_evt
      arch/arm/mach-msm/timer.c:191:22:    got struct clock_event_device *[noderef] <asn:3>*<noident>
      arch/arm/mach-msm/timer.c:196:4: warning: incorrect type in initializer (different address spaces)
      arch/arm/mach-msm/timer.c:196:4:    expected void const [noderef] <asn:3>*__vpp_verify
      arch/arm/mach-msm/timer.c:196:4:    got struct clock_event_device [noderef] <asn:3>**<noident>
      arch/arm/mach-msm/timer.c:196:39: warning: incorrect type in assignment (different address spaces)
      arch/arm/mach-msm/timer.c:196:39:    expected struct clock_event_device [noderef] <asn:3>*<noident>
      arch/arm/mach-msm/timer.c:196:39:    got struct clock_event_device *ce
      arch/arm/mach-msm/timer.c:198:24: warning: incorrect type in argument 4 (different address spaces)
      arch/arm/mach-msm/timer.c:198:24:    expected void [noderef] <asn:3>*percpu_dev_id
      arch/arm/mach-msm/timer.c:198:24:    got struct clock_event_device [noderef] <asn:3>**static [toplevel] percpu_evt
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>
      3b5909de
    • Stephen Boyd's avatar
      ARM: msm: Fix early debug uart mapping on some memory configs · 10717e04
      Stephen Boyd authored
      The uart mapping runs into the space allocated for lowmem on some
      8960 boards when we have more than 512Mb of memory. We were
      getting lucky before and our mapping wasn't part of DDR. Move the
      mapping up into the vmalloc area which will always be outside of
      the lowmem mapping regardless of how much lowmem actually exists.
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>
      10717e04
    • Stephen Boyd's avatar
      ARM: msm: Remove unused idle.c · b07609cf
      Stephen Boyd authored
      Forcing arm_pm_idle to be msm_idle() doesn't make sense in
      configurations that don't have CONFIG_MSM7X00A_IDLE=y (i.e. any
      targets that aren't 7x00a). Furthermore, that config doesn't even
      exist, so this entire file is dead code. Just remove it so we can
      use the default idle support on MSM.
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>
      b07609cf
    • Stephen Boyd's avatar
      ARM: msm: clock-pcom: Mark functions static · 56417056
      Stephen Boyd authored
      These functions are only used within clock-pcom.c, therefore mark
      them as static.
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>
      56417056
    • Stephen Boyd's avatar
      ARM: msm: Remove msm_hw_reset_hook · 085eea14
      Stephen Boyd authored
      This reset hook is never assigned and is dead code. Remove it so
      we have one less header file in the mach directory.
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>
      085eea14
    • Rohit Vaswani's avatar
      ARM: msm: io: Change the default static iomappings to be shared · 90eb385f
      Rohit Vaswani authored
      With 3.4 kernel the static iomappings can be shared with the ioremap
      mappings. If ioremap is called with an address for which a static
      mapping already exists, then that mapping should be used instead
      of creating a new one.
      
      However, the MT_DEVICE_NONSHARED flag prevents this. Hence, get rid
      of this flag. Some targets (7X00) that require the static iomappings
      to be NONSHARED use the MSM_DEVICE_TYPE and MSM_CHIP_DEVICE_TYPE macros.
      Signed-off-by: default avatarRohit Vaswani <rvaswani@codeaurora.org>
      Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>
      90eb385f
    • Rohit Vaswani's avatar
      ARM: msm: io: Remove 7x30 iomap region from 7x00 · 460709a6
      Rohit Vaswani authored
      This is redundant code.
      Signed-off-by: default avatarRohit Vaswani <rvaswani@codeaurora.org>
      Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>
      460709a6
    • David Brown's avatar
      ARM: msm: Remove call to missing FPGA init on 8660 · 49b26e0d
      David Brown authored
      A previous patch[1] added code to initialize an FPGA register on the
      8660 "SURF" development platform.  Since this development platform is
      not widely available, and there is now a more available device "the
      Dragonboard" based on the same core SOC, this change was dropped.
      
      However, the DT code kept a lingering call to this FPGA init function.
      Remove it.
      
      [1] https://lkml.org/lkml/2011/8/12/357Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>
      49b26e0d
    • Olof Johansson's avatar
      Merge tag 'imx-clk-dt-lookup' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt · 73f5ae31
      Olof Johansson authored
      It replaces the clk_register_clkdev in imx6q clock driver with DT
      lookup.  It depends on Mike's clk-3.7 branch.
      
      * tag 'imx-clk-dt-lookup' of git://git.linaro.org/people/shawnguo/linux-2.6:
        ARM: imx6q: replace clk_register_clkdev with clock DT lookup
      
      Resolved context add/remove conflict in arch/arm/boot/dts/imx6q.dtsi
      73f5ae31
    • Olof Johansson's avatar
      Merge tag 'imx-dt-3.7' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt · cecb9a1e
      Olof Johansson authored
      - All imx53 board files are removed by the equal device tree support
      - The efikamx board files are removed to ease device tree migration
      - Remove dummy pinctrl state by setting up pinctrl in device tree
      
      * tag 'imx-dt-3.7' of git://git.linaro.org/people/shawnguo/linux-2.6: (28 commits)
        ARM: imx6q-sabrelite: Rename 'pinctrl_gpio_hog'
        ARM: imx51: decouple device tree boot from board files
        ARM: imx51: build in pinctrl support
        ARM: dts: imx51-babbage: add pinctrl settings
        ARM: imx53: remove unneeded files and functions
        ARM: imx53: support device tree boot only
        ARM: imx53: decouple device tree boot from board files
        ARM: imx53: build in pinctrl support
        ARM: dts: imx53-smd: add pinctrl settings
        ARM: dts: imx53-evk: add pinctrl settings
        ARM: dts: imx53-ard: add pinctrl settings
        ARM: dts: imx53-qsb: add pinctrl settings
        ARM: imx6q: remove dummy pinctrl state
        ARM: dts: imx6q-sabresd: add pinctrl settings
        ARM: dts: imx6q-arm2: add pinctrl for uart and enet
        ARM: dts: imx6q-sabrelite: add pinctrl for usdhc and enet
        ARM: dts: imx6q: sort iomuxc sub-nodes in name
        ARM: dts: imx6q: name iomuxc sub-nodes following pin function
        ARM: dts: imx6q: improve indentation for fsl,pins
        ARM: efikamx: remove Genesi Efika MX platform files from the tree
        ...
      
      Resolved trivial context conflict in arch/arm/boot/dts/imx51-babbage.dts
      cecb9a1e
    • Olof Johansson's avatar
      Merge tag 'mxs-clk-dt-lookup' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt · 83ae0ffa
      Olof Johansson authored
      It replaces clk_register_clkdev in mxs clock driver with DT lookup.
      
      * tag 'mxs-clk-dt-lookup' of git://git.linaro.org/people/shawnguo/linux-2.6:
        clk: mxs: replace imx23 clk_register_clkdev with clock DT lookup
        clk: mxs: replace imx28 clk_register_clkdev with clock DT lookup
      83ae0ffa
    • Olof Johansson's avatar
      Merge branch 'clk-3.7' of git://git.linaro.org/people/mturquette/linux into next/dt · 77ea4a30
      Olof Johansson authored
      * 'clk-3.7' of git://git.linaro.org/people/mturquette/linux:
        clk: add of_clk_src_onecell_get() support
        clk: ux500: Define smp_twd clock for u8500
        mfd: dbx500: Provide a more accurate smp_twd clock
        clk: ux500: Support for prmcu_rate clock
        clk: Provide option for clk_get_rate to issue hw for new rate
        clock: max77686: Add driver for Maxim 77686 32Khz crystal oscillator.
        ARM: ux500: Switch to use common clock framework
        clk: ux500: Clock definitions for u8500
        clk: ux500: First version of clock definitions for ux500
        clk: ux500: Adapt PRCMU and PRCC clocks for common clk
        clk: versatile: make config option boolean
        clk: add Loongson1B clock support
        arm: mmp: make all SOCs use common clock by default
        clk: mmp: add clock definition for mmp2
        clk: mmp: add clock definition for pxa910
        clk: mmp: add clock definition for pxa168
        clk: mmp: add mmp specific clocks
        clk: convert ARM RealView to common clk
        clk: prima2: move from arch/arm/mach to drivers/clk
        ARM: PRIMA2: convert to common clk and finish full clk tree
      77ea4a30
    • Olof Johansson's avatar
      Merge tag 'mxs-dt-3.7' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt · 839a8d77
      Olof Johansson authored
      - Remove all board files and make mach-mxs a DT-only platform
      - Some dts file formatting and style fixing
      - DTS update for additional boards and devices
      
      * tag 'mxs-dt-3.7' of git://git.linaro.org/people/shawnguo/linux-2.6: (28 commits)
        ARM: dts: cfa10049: Add the 74HC595 gpio expanders
        ARM: dts: m28evk: Fix MMC WP pin being inverted
        ARM: dts: cfa10049: Add SSP3 to the 10049 board
        ARM: dts: mxs: Add missing address and size cells in SSP nodes
        ARM: mx28evk: Add I2C EEPROM support
        ARM: dts: mxs: Enable USB1 Host on the CFA-10049 expansion board
        ARM: dts: mxs: Add the second I2C adapter to the CFA10049 expansion board
        ARM: dts: mxs: Add I2C1 muxing options for imx28
        ARM: mx28evk: Add LRADC support
        ARM: mx28evk: Add SPI flash support
        ARM: mxs: Update DENX M28 machine and dts file
        ARM: mx28: Add USB PHY overcurrent pinmux
        ARM: mx28: Add SPI 2 pinmux into imx28.dtsi
        ARM: dts: mxs: Add pwm4 muxing options for imx28
        ARM: dts: mxs: Add alternative I2C muxing options for imx28
        ARM: olinuxino: Add gpio-led support
        ARM: mxs: Let mmc0 pin detect be generic
        ARM: mxs: Rename 'hog-gpios'
        ARM: mxs: remove iomux driver
        ARM: mxs: remove platform device codes
        ...
      839a8d77
  3. 11 Sep, 2012 23 commits