Merge branches 'spear/clock' and 'imx/clock' into next/clock
authorArnd Bergmann <arnd@arndb.de>
Mon, 14 May 2012 15:43:35 +0000 (17:43 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 14 May 2012 15:43:59 +0000 (17:43 +0200)
Updated to resolve dependencies.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1  2  3 
MAINTAINERS
arch/arm/Kconfig
arch/arm/mach-mxs/include/mach/common.h
arch/arm/mach-mxs/mach-mx28evk.c
drivers/i2c/busses/i2c-mxs.c

diff --combined MAINTAINERS
index b7adeed338d458969466ba081a0086a8d5c4c2d0,27085a75162f3ae6cb49a77397026a5e3134b946,bb76fc42fc42ee4d7b2d9f218d71422cfcfca357..09c8892a620673bdd9a8ea2a7e8995b540c71030
@@@@ -1882,16 -1882,16 -1882,6 +1882,16 @@@@ F: Documentation/filesystems/coda.tx
   F:   fs/coda/
   F:   include/linux/coda*.h
   
  +COMMON CLK FRAMEWORK
  +M:   Mike Turquette <mturquette@ti.com>
  +M:   Mike Turquette <mturquette@linaro.org>
  +L:   linux-arm-kernel@lists.infradead.org (same as CLK API & CLKDEV)
  +T:   git git://git.linaro.org/people/mturquette/linux.git
  +S:   Maintained
  +F:   drivers/clk/clk.c
  +F:   drivers/clk/clk-*
  +F:   include/linux/clk-pr*
  +
   COMMON INTERNET FILE SYSTEM (CIFS)
   M:   Steve French <sfrench@samba.org>
   L:   linux-cifs@vger.kernel.org
@@@@ -1978,7 -1978,10 -1968,10 +1978,7 @@@@ S:  Maintaine
   F:   drivers/net/ethernet/ti/cpmac.c
   
   CPU FREQUENCY DRIVERS
 --M:   Dave Jones <davej@redhat.com>
   L:   cpufreq@vger.kernel.org
 --W:   http://www.codemonkey.org.uk/projects/cpufreq/
 --T:   git git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq.git
   S:   Maintained
   F:   drivers/cpufreq/
   F:   include/linux/cpufreq.h
@@@@ -3599,7 -3602,6 -3592,7 +3599,7 @@@@ S:    Supporte
   F:   drivers/net/wireless/iwlegacy/
   
   INTEL WIRELESS WIFI LINK (iwlwifi)
 + M:   Johannes Berg <johannes.berg@intel.com>
   M:   Wey-Yi Guy <wey-yi.w.guy@intel.com>
   M:   Intel Linux Wireless <ilw@linux.intel.com>
   L:   linux-wireless@vger.kernel.org
@@@@ -5242,6 -5244,14 -5235,6 +5242,14 @@@@ M:  Linus Walleij <linus.walleij@linaro.
   S:   Maintained
   F:   drivers/pinctrl/
   
+ +PIN CONTROLLER - ST SPEAR
+ +M:   Viresh Kumar <viresh.kumar@st.com>
+ +L:   spear-devel@list.st.com
+ +L:   linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
+ +W:   http://www.st.com/spear
+ +S:   Maintained
+ +F:   driver/pinctrl/spear/
+ +
   PKTCDVD DRIVER
   M:   Peter Osterlund <petero2@telia.com>
   S:   Maintained
@@@@ -5899,11 -5909,11 -5892,11 +5907,11 @@@@ F:        Documentation/scsi/st.tx
   F:   drivers/scsi/st*
   
   SCTP PROTOCOL
 --M:   Vlad Yasevich <vladislav.yasevich@hp.com>
 ++M:   Vlad Yasevich <vyasevich@gmail.com>
   M:   Sridhar Samudrala <sri@us.ibm.com>
   L:   linux-sctp@vger.kernel.org
   W:   http://lksctp.sourceforge.net
 --S:   Supported
 ++S:   Maintained
   F:   Documentation/networking/sctp.txt
   F:   include/linux/sctp.h
   F:   include/net/sctp/
@@@@ -6334,23 -6344,8 -6327,25 +6342,8 @@@@ L:  spear-devel@list.st.co
   L:   linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
   W:   http://www.st.com/spear
   S:   Maintained
  -F:   arch/arm/mach-spear*/clock.c
  -F:   arch/arm/plat-spear/clock.c
  -F:   arch/arm/plat-spear/include/plat/clock.h
  -
  -SPEAR PAD MULTIPLEXING SUPPORT
  -M:   Viresh Kumar <viresh.kumar@st.com>
  -L:   spear-devel@list.st.com
  -L:   linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
  -W:   http://www.st.com/spear
  -S:   Maintained
  -F:   arch/arm/plat-spear/include/plat/padmux.h
  -F:   arch/arm/plat-spear/padmux.c
  -F:   arch/arm/mach-spear*/spear*xx.c
  -F:   arch/arm/mach-spear*/include/mach/generic.h
  -F:   arch/arm/mach-spear3xx/spear3*0.c
  -F:   arch/arm/mach-spear3xx/spear3*0_evb.c
  -F:   arch/arm/mach-spear6xx/spear600.c
  -F:   arch/arm/mach-spear6xx/spear600_evb.c
  +F:   drivers/clk/spear/
   
-  SPEAR PAD MULTIPLEXING SUPPORT
-  M:   Viresh Kumar <viresh.kumar@st.com>
-  L:   spear-devel@list.st.com
-  L:   linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
-  W:   http://www.st.com/spear
-  S:   Maintained
-  F:   arch/arm/plat-spear/include/plat/padmux.h
-  F:   arch/arm/plat-spear/padmux.c
-  F:   arch/arm/mach-spear*/spear*xx.c
-  F:   arch/arm/mach-spear*/include/mach/generic.h
-  F:   arch/arm/mach-spear3xx/spear3*0.c
-  F:   arch/arm/mach-spear3xx/spear3*0_evb.c
-  F:   arch/arm/mach-spear6xx/spear600.c
-  F:   arch/arm/mach-spear6xx/spear600_evb.c
-  
   SPI SUBSYSTEM
   M:   Grant Likely <grant.likely@secretlab.ca>
   L:   spi-devel-general@lists.sourceforge.net
@@@@ -7584,8 -7579,8 -7579,8 +7577,8 @@@@ F:    Documentation/filesystems/xfs.tx
   F:   fs/xfs/
   
   XILINX AXI ETHERNET DRIVER
 - M:   Ariane Keller <ariane.keller@tik.ee.ethz.ch>
 - M:   Daniel Borkmann <daniel.borkmann@tik.ee.ethz.ch>
 + M:   Anirudha Sarangi <anirudh@xilinx.com>
 + M:   John Linn <John.Linn@xilinx.com>
   S:   Maintained
   F:   drivers/net/ethernet/xilinx/xilinx_axienet*
   
diff --combined arch/arm/Kconfig
index 40ba2d1acde2e80ebc19014da563090db4ea74da,ce030c24264409e00a0fd59462322f8876074f15,c67494fc05a77404fc63f61bc2b128d821bb7d46..f0fc52784ebc6112cd5a48848fbfe8a536bee7ae
@@@@ -468,8 -468,7 -468,8 +468,9 @@@@ config ARCH_MX
        select ARCH_REQUIRE_GPIOLIB
        select CLKDEV_LOOKUP
        select CLKSRC_MMIO
 ++     select COMMON_CLK
        select HAVE_CLK_PREPARE
++      select PINCTRL
        help
          Support for Freescale MXS-based family of processors
   
@@@@ -981,7 -980,7 -981,6 +982,7 @@@@ config PLAT_SPEA
        select ARM_AMBA
        select ARCH_REQUIRE_GPIOLIB
        select CLKDEV_LOOKUP
  +     select COMMON_CLK
        select CLKSRC_MMIO
        select GENERIC_CLOCKEVENTS
        select HAVE_CLK
@@@@ -1188,15 -1187,6 -1187,6 +1189,15 @@@@ if !MM
   source "arch/arm/Kconfig-nommu"
   endif
   
 ++config ARM_ERRATA_326103
 ++     bool "ARM errata: FSR write bit incorrect on a SWP to read-only memory"
 ++     depends on CPU_V6
 ++     help
 ++       Executing a SWP instruction to read-only memory does not set bit 11
 ++       of the FSR on the ARM 1136 prior to r1p0. This causes the kernel to
 ++       treat the access as a read, preventing a COW from occurring and
 ++       causing the faulting task to livelock.
 ++
   config ARM_ERRATA_411920
        bool "ARM errata: Invalidation of the Instruction Cache operation can fail"
        depends on CPU_V6 || CPU_V6K
index 9bdc953888711916a00943478da77f057026b35e,c50c3ea28a9d843d3e84cab939a9371ed11c7221,8d88399b73eff893651d829917bc1ec0bc6e07ba..84af61cf6a629432cc5d0b548d181094adfadb16
   #ifndef __MACH_MXS_COMMON_H__
   #define __MACH_MXS_COMMON_H__
   
 --struct clk;
 --
   extern const u32 *mxs_get_ocotp(void);
   extern int mxs_reset_block(void __iomem *);
 --extern void mxs_timer_init(struct clk *, int);
 ++extern void mxs_timer_init(int);
   extern void mxs_restart(char, const char *);
   extern int mxs_saif_clkmux_select(unsigned int clkmux);
   
++ extern void mx23_soc_init(void);
   extern int mx23_register_gpios(void);
   extern int mx23_clocks_init(void);
   extern void mx23_map_io(void);
   extern void mx23_init_irq(void);
   
++ extern void mx28_soc_init(void);
   extern int mx28_register_gpios(void);
   extern int mx28_clocks_init(void);
   extern void mx28_map_io(void);
@@@@ -29,4 -31,6 -33,6 +31,4 @@@@ extern void mx28_init_irq(void)
   
   extern void icoll_init_irq(void);
   
 --extern int mxs_clkctrl_timeout(unsigned int reg_offset, unsigned int mask);
 --
   #endif /* __MACH_MXS_COMMON_H__ */
index 95969407413d86c529f631002a7b179e03dacdb6,e386c142f93c3f48286b5266e48fd56af788b63b,da4610ebe9e6deafa4dd6097404c6db14918f960..dafd48e86c8cdabd783f812ac5d0274a9a8cd1b0
@@@@ -226,7 -226,7 -226,7 +226,7 @@@@ static void __init mx28evk_fec_reset(vo
        struct clk *clk;
   
        /* Enable fec phy clock */
 --     clk = clk_get_sys("pll2", NULL);
 ++     clk = clk_get_sys("enet_out", NULL);
        if (!IS_ERR(clk))
                clk_prepare_enable(clk);
   
@@@@ -413,6 -413,6 -413,8 +413,8 @@@@ static void __init mx28evk_init(void
   {
        int ret;
   
++      mx28_soc_init();
++ 
        mxs_iomux_setup_multiple_pads(mx28evk_pads, ARRAY_SIZE(mx28evk_pads));
   
        mx28_add_duart();
index 76b8af44f63492884d1b2b9ebc70ec58da9b9eba,3d471d56bf15d1faf295f606c31f19d90f384e79,7c7711dc19d125a2d1bf08ba1164d4de4d280839..7fa73eed84a7b695ed4fd45fda8b2cb9ee303182
   #include <linux/platform_device.h>
   #include <linux/jiffies.h>
   #include <linux/io.h>
++ #include <linux/pinctrl/consumer.h>
   
   #include <mach/common.h>
   
@@@@ -227,7 -227,6 -228,6 +228,7 @@@@ static int mxs_i2c_xfer_msg(struct i2c_
                return -EINVAL;
   
        init_completion(&i2c->cmd_complete);
 ++     i2c->cmd_err = 0;
   
        flags = stop ? MXS_I2C_CTRL0_POST_SEND_STOP : 0;
   
   
        if (i2c->cmd_err == -ENXIO)
                mxs_i2c_reset(i2c);
 ++     else
 ++             writel(MXS_I2C_QUEUECTRL_QUEUE_RUN,
 ++                             i2c->regs + MXS_I2C_QUEUECTRL_CLR);
   
        dev_dbg(i2c->dev, "Done with err=%d\n", i2c->cmd_err);
   
@@@@ -303,6 -299,8 -300,8 +304,6 @@@@ static irqreturn_t mxs_i2c_isr(int this
                    MXS_I2C_CTRL1_SLAVE_STOP_IRQ | MXS_I2C_CTRL1_SLAVE_IRQ))
                /* MXS_I2C_CTRL1_OVERSIZE_XFER_TERM_IRQ is only for slaves */
                i2c->cmd_err = -EIO;
 --     else
 --             i2c->cmd_err = 0;
   
        is_last_cmd = (readl(i2c->regs + MXS_I2C_QUEUESTAT) &
                MXS_I2C_QUEUESTAT_WRITE_QUEUE_CNT_MASK) == 0;
@@@@ -325,10 -323,10 -324,15 +326,15 @@@@ static int __devinit mxs_i2c_probe(stru
        struct device *dev = &pdev->dev;
        struct mxs_i2c_dev *i2c;
        struct i2c_adapter *adap;
++      struct pinctrl *pinctrl;
        struct resource *res;
        resource_size_t res_size;
        int err, irq;
   
++      pinctrl = devm_pinctrl_get_select_default(dev);
++      if (IS_ERR(pinctrl))
++              return PTR_ERR(pinctrl);
++ 
        i2c = devm_kzalloc(dev, sizeof(struct mxs_i2c_dev), GFP_KERNEL);
        if (!i2c)
                return -ENOMEM;
@@@@ -386,6 -384,8 -390,8 +392,6 @@@@ static int __devexit mxs_i2c_remove(str
        if (ret)
                return -EBUSY;
   
 --     writel(MXS_I2C_QUEUECTRL_QUEUE_RUN,
 --                     i2c->regs + MXS_I2C_QUEUECTRL_CLR);
        writel(MXS_I2C_CTRL0_SFTRST, i2c->regs + MXS_I2C_CTRL0_SET);
   
        platform_set_drvdata(pdev, NULL);
This page took 0.040499 seconds and 5 git commands to generate.