1. 24 7月, 2012 40 次提交
    • L
      i2c: Add SCCB support · d47726c5
      Laurent Pinchart 提交于
      SCCB is a serial communication bus developed by Omnivision. Its 2-wire
      mode is very similar to SMBus byte data transactions, but requires the
      controller to ignore the ACK bit and to insert a stop condition after
      each message.
      
      Add a device SCCB flag and a message stop flag to be passed to
      controller drivers.
      
      [JD: Kill rogue definition in go7007 driver.]
      Signed-off-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      d47726c5
    • E
      i2c-tiny-usb: Add support for the Robofuzz OSIF USB/I2C converter · 68a7602f
      Emmanuel Deloget 提交于
      Robofuzz OSIF is a generic USB/iIC interface that embeds an ATMega8A
      AVR-RISC microcontroler.
      
      The device is based upon Till Harbaum's i2c-tiny-usb and although it
      enhances the original design with further functionnalities it still
      maintain compatibility with it with respect to the USB/I2C interface.
      Signed-off-by: NEmmanuel Deloget <logout@free.fr>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      68a7602f
    • D
      i2c-i801: Enable IRQ for byte_by_byte transactions · d3ff6ce4
      Daniel Kurtz 提交于
      Byte-by-byte transactions are used primarily for accessing I2C devices
      with an SMBus controller.  For these transactions, for each byte that is
      read or written, the SMBus controller generates a BYTE_DONE IRQ.  The isr
      reads/writes the next byte, and clears the IRQ flag to start the next byte.
      On the penultimate IRQ, the isr also sets the LAST_BYTE flag.
      
      There is no locking around the cmd/len/count/data variables, since the
      I2C adapter lock ensures there is never multiple simultaneous transactions
      for the same device, and the driver thread never accesses these variables
      while interrupts might be occurring.
      
      The end result is faster I2C block read and write transactions.
      
      Note: This patch has only been tested and verified by doing I2C read and
      write block transfers on Cougar Point 6 Series PCH, as well as I2C read
      block transfers on ICH5.
      Signed-off-by: NDaniel Kurtz <djkurtz@chromium.org>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      d3ff6ce4
    • J
      i2c-i801: Enable interrupts on ICH5/7/8/9/10 · 29b60854
      Jean Delvare 提交于
      Enable interrupts on more devices. ICH5, ICH7(-M) and ICH10 have been
      tested to work OK. ICH8 and ICH9 are expected to work just fine as
      they are very close to ICH7 and ICH10.
      
      Ultimately we want to enable this feature on at least every device
      since the ICH5, but for now we limit the exposure. We'll enable it for
      other devices if we don't get negative feedback.
      
      As a bonus, let the user know when interrupts are used.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Daniel Kurtz <djkurtz@chromium.org>
      29b60854
    • D
      i2c-i801: Enable IRQ for SMBus transactions · 636752bc
      Daniel Kurtz 提交于
      Add a new 'feature' to i2c-i801 to enable using PCI interrupts.
      When the feature is enabled, then an isr is installed for the device's
      PCI IRQ.
      
      An I2C/SMBus transaction is always terminated by one of the following
      interrupt sources: FAILED, BUS_ERR, DEV_ERR, or on success: INTR.
      
      When the isr fires for one of these cases, it sets the ->status variable
      and wakes up the waitq.  The waitq then saves off the status code, and
      clears ->status (in preparation for some future transaction).
      The SMBus controller generates an INTR irq at the end of each
      transaction where INTREN was set in the HST_CNT register.
      
      No locking is needed around accesses to priv->status since all writes to
      it are serialized: it is only ever set once in the isr at the end of a
      transaction, and cleared while no interrupts can occur.  In addition, the
      I2C adapter lock guarantees that entire I2C transactions for a single
      adapter are always serialized.
      
      For this patch, the INTREN bit is set only for SMBus block, byte and word
      transactions, but not for I2C reads or writes.  The use of the DS
      (BYTE_DONE) interrupt with byte-by-byte I2C transactions is implemented in
      a subsequent patch.
      
      The interrupt feature has only been enabled for COUGARPOINT hardware.
      In addition, it is disabled if SMBus is using the SMI# interrupt.
      Signed-off-by: NDaniel Kurtz <djkurtz@chromium.org>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      636752bc
    • J
      i2c-i801: Consolidate polling · 6cad93c4
      Jean Delvare 提交于
      (Based on earlier work by Daniel Kurtz.)
      
      Come up with a consistent, driver-wide strategy for event polling. For
      intermediate steps of byte-by-byte block transactions, check for
      BYTE_DONE or any error flag being set. At the end of every transaction
      (regardless of PEC being used), check for both BUSY being cleared and
      INTR or any error flag being set. This ensures proper action for all
      transaction types.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Daniel Kurtz <djkurtz@chromium.org>
      6cad93c4
    • D
      i2c-i801: Drop ENABLE_INT9 · 37af8711
      Daniel Kurtz 提交于
      Later patches enable interrupts.  This preliminary patch removes the older
      unsupported ENABLE_INT9 flag.
      Signed-off-by: NDaniel Kurtz <djkurtz@chromium.org>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      37af8711
    • D
      i2c-i801: Rename some SMBHSTCNT bit constants · edbeea63
      Daniel Kurtz 提交于
      Rename the SMBHSTCNT register bit access constants to match the style of
      other register bits.
      Signed-off-by: NDaniel Kurtz <djkurtz@chromium.org>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      edbeea63
    • D
      i2c-i801: Check and return errors during byte-by-byte transfers · 70a1cc19
      Daniel Kurtz 提交于
      If an error is detected in the polling loop, abort the transaction and
      return an error code.
      
       * DEV_ERR is set if the device does not respond with an acknowledge, and
      the SMBus controller times out (minimum 25ms).
       * BUS_ERR is set if a bus arbitration collision is detected.  In other
      words, when the SMBus controller tries to generate a START condition, but
      detects that the SMBDATA is being held low, usually by another SMBus/I2C
      master.
       * FAILED is only set if a transaction is stopped by software (using
      the SMBHSTCNT KILL bit).
      Signed-off-by: NDaniel Kurtz <djkurtz@chromium.org>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      70a1cc19
    • D
      i2c-i801: Clear only status bits in HST_STS · 0ba8b8bf
      Daniel Kurtz 提交于
      Writing back the whole status register could clear unwanted bits.
      In particular, it could clear the "INUSE_STS" bit, which is a
      'hardware semaphore', that might be useful to use some day.
      To prepare for this, let's ban writing back the whole status to register
      HST_STS, of which this is the only instance.
      Signed-off-by: NDaniel Kurtz <djkurtz@chromium.org>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      0ba8b8bf
    • D
      i2c-i801: Refactor use of LAST_BYTE in i801_block_transaction_byte_by_byte · efa3cb15
      Daniel Kurtz 提交于
      As a slight optimization, pull some logic out of the polling loop during
      byte-by-byte transactions by just setting the I801_LAST_BYTE bit, as
      defined in the i801 (PCH) datasheet, when reading the last byte of a
      byte-by-byte I2C_SMBUS_READ.
      Signed-off-by: NDaniel Kurtz <djkurtz@chromium.org>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      efa3cb15
    • F
      i2c-smbus: Use module_i2c_driver() · fda2f4af
      Fabio Estevam 提交于
      Using module_i2c_driver() makes the code smaller and cleaner.
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      fda2f4af
    • J
      i2c/writing-clients: Mention module_i2c_driver() · 9cd3f2e8
      Jean Delvare 提交于
      Based on a previous patch from Peter Meerwald.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Acked-by: NPeter Meerwald <p.meerwald@bct-electronic.com>
      9cd3f2e8
    • A
      i2c-piix4: Support AMD auxiliary SMBus controller · 2a2f7404
      Andrew Armenia 提交于
      Some AMD chipsets, such as the SP5100, have an auxiliary SMBus
      controller with a second set of registers. This patch adds
      support for this auxiliary controller.
      
      Tested on ASUS KCMA-D8 motherboard.
      Signed-off-by: NAndrew Armenia <andrew@asquaredlabs.com>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      2a2f7404
    • A
      i2c-piix4: Separate registration and probing code · e154bf6f
      Andrew Armenia 提交于
      Some chipsets have multiple sets of SMBus registers each controlling a
      separate SMBus. Supporting these chipsets properly will require registering
      multiple I2C adapters for one piix4.
      
      The code to initialize and register the i2c_adapter structure has been
      separated from piix4_probe and allows registration of a piix4 adapter
      given its base address. Note that the i2c_adapter and i2c_piix4_adapdata
      structures are now dynamically allocated.
      Signed-off-by: NAndrew Armenia <andrew@asquaredlabs.com>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      e154bf6f
    • A
      i2c-piix4: Eliminate piix4_smba global variable · 14a8086d
      Andrew Armenia 提交于
      Some chipsets have multiple sets of piix4-compatible SMBus registers.
      Eliminating the global variable will allow these chipsets to be fully
      supported.
      
      Return value from piix4_setup and piix4_sb800_setup now returns the smba
      value detected. This is stored in a struct i2c_piix4_adapdata. Thus
      the global variable is eliminated.
      Signed-off-by: NAndrew Armenia <andrew@asquaredlabs.com>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      14a8086d
    • A
      i2c/busses: Use module_pci_driver · 56f21788
      Axel Lin 提交于
      Convert the drivers in drivers/i2c/busses/* to usemodule_pci_driver()
      macro which makes the code smaller and a bit simpler.
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Acked-by: NWolfram Sang <w.sang@pengutronix.de>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Rudolf Marek <r.marek@assembler.cz>
      Cc: Olof Johansson <olof@lixom.net>
      Cc: "Mark M. Hoffman" <mhoffman@lightlink.com>
      Cc: Tomoya MORINAGA <tomoya.rohm@gmail.com>
      56f21788
    • G
      i2c: Update Guenter Roeck's e-mail address · 83a638df
      Guenter Roeck 提交于
      My old e-mail address won't be valid for much longer. Time to update it.
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      83a638df
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile · f0a08fcb
      Linus Torvalds 提交于
      Pull arch/tile updates from Chris Metcalf:
       "These changes provide support for PCIe root complex and USB host mode
        for tilegx's on-chip I/Os.
      
        In addition, this pull provides the required underpinning for the
        on-chip networking support that was pulled into 3.5.  The changes have
        all been through LKML (with several rounds for PCIe RC) and on
        linux-next."
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile:
        tile: updates to pci root complex from community feedback
        bounce: allow use of bounce pool via config option
        usb: add host support for the tilegx architecture
        arch/tile: provide kernel support for the tilegx USB shim
        tile pci: enable IOMMU to support DMA for legacy devices
        arch/tile: enable ZONE_DMA for tilegx
        tilegx pci: support I/O to arbitrarily-cached pages
        tile: remove unused header
        arch/tile: tilegx PCI root complex support
        arch/tile: provide kernel support for the tilegx TRIO shim
        arch/tile: break out the "csum a long" function to <asm/checksum.h>
        arch/tile: provide kernel support for the tilegx mPIPE shim
        arch/tile: common DMA code for the GXIO IORPC subsystem
        arch/tile: support MMIO-based readb/writeb etc.
        arch/tile: introduce GXIO IORPC framework for tilegx
      f0a08fcb
    • L
      Merge tag 'please-pull-misc-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux · 474183b1
      Linus Torvalds 提交于
      Pull misc Itanium fixes from Tony Luck.
      
      * tag 'please-pull-misc-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux:
        debug: Do not permit CONFIG_DEBUG_STACK_USAGE=y on IA64 or PARISC
        [IA64] Port OOM changes to ia64_do_page_fault
      474183b1
    • L
      Merge tag 'sh-for-linus' of git://github.com/pmundt/linux-sh · 47b170af
      Linus Torvalds 提交于
      Pull SuperH updates from Paul Mundt:
      
       - Migration off of old-style dynamic IRQ API.
      
       - irqdomain and generic irq chip propagation.
      
       - div4/6 clock consolidation, another step towards co-existing with the
         common struct clk infrastructure.
      
       - Extensive PFC rework
         - Decoupling GPIO from pin state.
         - Initial pinctrl support to facilitate incremental migration off of
           legacy pinmux.
         - gpiolib support made optional, and made pinctrl-backed.
      
      * tag 'sh-for-linus' of git://github.com/pmundt/linux-sh: (38 commits)
        sh: pfc: pin config get/set support.
        sh: pfc: Prefer DRV_NAME over KBUILD_MODNAME.
        sh: pfc: pinctrl legacy group support.
        sh: pfc: Ignore pinmux GPIOs with invalid enum IDs.
        sh: pfc: Export pinctrl binding init symbol.
        sh: pfc: Error out on pinctrl init resolution failure.
        sh: pfc: Make pr_fmt consistent across pfc drivers.
        sh: pfc: pinctrl legacy function support.
        sh: pfc: Rudimentary pinctrl-backed GPIO support.
        sh: pfc: Dumb GPIO stringification.
        sh: pfc: Shuffle PFC support core.
        sh: pfc: Verify pin type encoding size at build time.
        sh: pfc: Kill off unused pinmux bias flags.
        sh: pfc: Make gpio chip support optional where possible.
        sh: pfc: Split out gpio chip support.
        sh64: Fix up section mismatch warnings.
        sh64: Attempt to make reserved insn trap handler resemble C.
        sh: Consolidate die definitions for trap handlers.
        sh64: Kill off old exception debugging helpers.
        sh64: Use generic unaligned access control/counters.
        ...
      47b170af
    • L
      Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc · 83c7f722
      Linus Torvalds 提交于
      Pull powerpc updates from Benjamin Herrenschmidt:
       "Notable highlights:
      
         - iommu improvements from Anton removing the per-iommu global lock in
           favor of dividing the DMA space into pools, each with its own lock,
           and hashed on the CPU number.  Along with making the locking more
           fine grained, this gives significant improvements in multiqueue
           networking scalability.
      
         - Still from Anton, we know provide a vdso based variant of getcpu
           which makes sched_getcpu with the appropriate glibc patch something
           like 18 times faster.
      
         - More anton goodness (he's been busy !) in other areas such as a
           faster __clear_user and copy_page on P7, various perf fixes to
           improve sampling quality, etc...
      
         - One more step toward removing legacy i2c interfaces by using new
           device-tree based probing of platform devices for the AOA audio
           drivers
      
         - A nice series of patches from Michael Neuling that helps avoiding
           confusion between register numbers and litterals in assembly code,
           trying to enforce the use of "%rN" register names in gas rather
           than plain numbers.
      
         - A pile of FSL updates
      
         - The usual bunch of small fixes, cleanups etc...
      
        You may spot a change to drivers/char/mem.  The patch got no comment
        or ack from outside, it's a trivial patch to allow the architecture to
        skip creating /dev/port, which we use to disable it on ppc64 that
        don't have a legacy brige.  On those, IO ports 0...64K are not mapped
        in kernel space at all, so accesses to /dev/port cause oopses (and
        yes, distros -still- ship userspace that bangs hard coded ports such
        as kbdrate)."
      
      * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (106 commits)
        powerpc/mpic: Create a revmap with enough entries for IPIs and timers
        Remove stale .rej file
        powerpc/iommu: Fix iommu pool initialization
        powerpc/eeh: Check handle_eeh_events() return value
        powerpc/85xx: Add phy nodes in SGMII mode for MPC8536/44/72DS & P2020DS
        powerpc/e500: add paravirt QEMU platform
        powerpc/mpc85xx_ds: convert to unified PCI init
        powerpc/fsl-pci: get PCI init out of board files
        powerpc/85xx: Update corenet64_smp_defconfig
        powerpc/85xx: Update corenet32_smp_defconfig
        powerpc/85xx: Rename P1021RDB-PC device trees to be consistent
        powerpc/watchdog: move booke watchdog param related code to setup-common.c
        sound/aoa: Adapt to new i2c probing scheme
        i2c/powermac: Improve detection of devices from device-tree
        powerpc: Disable /dev/port interface on systems without an ISA bridge
        of: Improve prom_update_property() function
        powerpc: Add "memory" attribute for mfmsr()
        powerpc/ftrace: Fix assembly trampoline register usage
        powerpc/hw_breakpoints: Fix incorrect pointer access
        powerpc: Put the gpr save/restore functions in their own section
        ...
      83c7f722
    • L
      Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security · e05644e1
      Linus Torvalds 提交于
      Pull security subsystem updates from James Morris:
       "Nothing groundbreaking for this kernel, just cleanups and fixes, and a
        couple of Smack enhancements."
      
      * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: (21 commits)
        Smack: Maintainer Record
        Smack: don't show empty rules when /smack/load or /smack/load2 is read
        Smack: user access check bounds
        Smack: onlycap limits on CAP_MAC_ADMIN
        Smack: fix smack_new_inode bogosities
        ima: audit is compiled only when enabled
        ima: ima_initialized is set only if successful
        ima: add policy for pseudo fs
        ima: remove unused cleanup functions
        ima: free securityfs violations file
        ima: use full pathnames in measurement list
        security: Fix nommu build.
        samples: seccomp: add .gitignore for untracked executables
        tpm: check the chip reference before using it
        TPM: fix memleak when register hardware fails
        TPM: chip disabled state erronously being reported as error
        MAINTAINERS: TPM maintainers' contacts update
        Merge branches 'next-queue' and 'next' into next
        Remove unused code from MPI library
        Revert "crypto: GnuPG based MPI lib - additional sources (part 4)"
        ...
      e05644e1
    • L
      Merge tag 'clk' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 97e7292a
      Linus Torvalds 提交于
      Pull arm-soc clk changes from Arnd Bergmann:
       "Clock support is moving to the clk subsystem.  These tegra, omap and
        imx changes are for code that is still platform specific and not (yet)
        part of that subsystem."
      
      Fix up conflicts in arch/arm/mach-{imx/clk-imx51-imx53.c,omap2/Makefile}
      
      * tag 'clk' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (23 commits)
        ARM: imx: clk-imx31: Fix clock id for rnga driver
        ARM: imx: add missing item to the list of clock event modes
        ARM: i.MX5x CSPI: Fixed clock name for CSPI
        ARM: i.MX5x clocks: Fix GPT clocks
        ARM: i.MX5x clocks: Fix parent for PWM clocks
        ARM: i.MX5x clocks: Add EPIT support
        ARM: mx27: Reenable silicon version print
        ARM: clk-imx27: Fix rtc clock id
        ARM: tegra: Provide clock for only one PWM controller
        ARM: tegra: Fix PWM clock programming
        ARM: OMAP3+: clock33xx: Add AM33XX clock tree data
        ARM: OMAP3+: clock: Move common clksel_rate & clock data to common file
        ARM: tegra: dma: rename driver name for clock to "tegra-apbdma"
        ARM: tegra: Remove second instance of uart clk
        crypto: add clk_prepare/clk_unprepare
        ASoC: tegra: add clk_prepare/clk_unprepare
        staging: nvec: add clk_prepare/clk_unprepare
        spi/tegra: add clk_prepare/clk_unprepare
        Input: tegra-kbc - add clk_prepare/clk_unprepare
        USB: ehci-tegra: add clk_prepare/clk_unprepare
        ...
      97e7292a
    • L
      Merge tag 'pm' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · a5ebba6b
      Linus Torvalds 提交于
      Pull arm-soc power management changes from Arnd Bergmann:
       "These are various power management related changes, mainly concerning
        cpuidle on i.MX and OMAP, as well as a the move of the omap
        smartreflex driver to live in the power subsystem."
      
      Fix up conflicts in arch/arm/mach-{imx/mach-imx6q.c,omap2/prm2xxx_3xxx.h}
      
      * tag 'pm' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (37 commits)
        ARM: OMAP2+: PM: fix IRQ_NOAUTOEN removal by mis-merge
        ARM: OMAP2+: do not allow SmartReflex to be built as a module
        ARM: OMAP2: Use hwmod to initialize mmc for 2420
        ARM: OMAP3: PM: cpuidle: optimize the clkdm idle latency in C1 state
        ARM: OMAP3: PM: cpuidle: optimize the PER latency in C1 state
        ARM: OMAP3: PM: cpuidle: default to C1 in next_valid_state
        ARM: OMAP3: PM: cleanup cam_pwrdm leftovers
        ARM: OMAP3: PM: call pre/post transition per powerdomain
        ARM: OMAP2+: powerdomain: allow pre/post transtion to be per pwrdm
        ARM: OMAP3: PM: Remove IO Daisychain control from cpuidle
        ARM: OMAP3PLUS: hwmod: reconfigure IO Daisychain during hwmod mux
        ARM: OMAP3+: PRM: Enable IO wake up
        ARM: OMAP4: PRM: Add IO Daisychain support
        ARM: OMAP3: PM: Move IO Daisychain function to omap3 prm file
        ARM: OMAP3: PM: correct enable/disable of daisy io chain
        ARM: OMAP2+: PRM: fix compile for OMAP4-only build
        W1: OMAP HDQ1W: use runtime PM
        ARM: OMAP2+: HDQ1W: use omap_device
        W1: OMAP HDQ1W: use 32-bit register accesses
        W1: OMAP HDQ1W: allow driver to be built on all OMAP2+
        ...
      a5ebba6b
    • L
      Merge tag 'pinctrl' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · e81218f5
      Linus Torvalds 提交于
      Pull arm-soc pincontrol drivers update from Arnd Bergmann:
       "We are converting platforms to use the pinctrl framework over time,
        rather than using platform specific code for the same effect.  This
        adds the respective driver for the prima2 platform."
      
      * tag 'pinctrl' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: prima2: enable gpiolib unconditionally
        PINCTRL: SiRF: add GPIO and GPIO irq support in CSR SiRFprimaII
      e81218f5
    • L
      Merge tag 'irq' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 3645f0cd
      Linus Torvalds 提交于
      Pull arm-soc sparse IRQ conversion from Arnd Bergmann:
       "The I.MX platform is getting converted to use sparse IRQs.  We are
        doing this for all platforms over time, because this is one of the
        requirements for building a multiplatform kernel, and generally a good
        idea."
      
      * tag 'irq' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: imx: select USE_OF
        ARM: imx: Fix build error due to missing irqs.h include
        ARM: imx: enable SPARSE_IRQ for imx platform
        ARM: fiq: change FIQ_START to a variable
        tty: serial: imx: remove the use of MXC_INTERNAL_IRQS
        ARM: imx: remove unneeded mach/irq.h inclusion
        i2c: imx: remove unneeded mach/irqs.h inclusion
        ARM: imx: add a legacy irqdomain for mx31ads
        ARM: imx: add a legacy irqdomain for 3ds_debugboard
        ARM: imx: pass gpio than irq number into mxc_expio_init
        ARM: imx: leave irq_base of wm8350_platform_data uninitialized
        dma: ipu: remove the use of ipu_platform_data
        ARM: imx: move irq_domain_add_legacy call into avic driver
        ARM: imx: move irq_domain_add_legacy call into tzic driver
        gpio/mxc: move irq_domain_add_legacy call into gpio driver
        ARM: imx: eliminate macro IRQ_GPIOx()
        ARM: imx: eliminate macro IOMUX_TO_IRQ()
        ARM: imx: eliminate macro IMX_GPIO_TO_IRQ()
      3645f0cd
    • L
      Merge tag 'boards' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · f1d2c07d
      Linus Torvalds 提交于
      Pull arm-soc board specific updates from Arnd Bergmann:
       "These changes are all for individual board files.  In the long run,
        those files will largely go away, and the amount of changes appears to
        be continuously decreasing, which is a good sign.  This time around,
        changes are focused on tegra, omap and samsung."
      
      Fix conflicts in arch/arm/mach-{omap2/common-board-devices.c,tegra/Makefile.boot}
      as per the 'for-linus' branch.
      
      * tag 'boards' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (39 commits)
        ARM: EXYNOS: Add leds status1 and status2 on Origen board
        ARM: S3C64XX: Mark most Cragganmore initdata devinitdata
        ARM: EXYNOS: Add missing .reserve field to SMDKC210
        ARM: EXYNOS: Add DRM device to SMDK4X12 board
        ARM: S3C64XX: Clean up after SPI driver platform data updates
        ARM: SAMSUNG: no need to set the value for clk_xusbxti when it is 24Mhz
        ARM: EXYNOS: Add framebuffer support for SMDK4X12
        ARM: EXYNOS: Add HSOTG support to SMDK4X12
        ARM: S5PV210: Add audio platform device in Goni board
        ARM: S5PV210: Add audio platform device in Aquila board
        ARM: EXYNOS: Add audio platform device in SMDKV310 board
        ARM: S3C64XX: Don't specify an irq_base for WM1192-EV1 board
        ARM: OMAP3: Fix omap3evm randconfig error introduced by VBUS support
        ARM: OMAP: board-omap4panda: MUX configuration for sys_nirq2
        ARM: OMAP: board-4430sdp: MUX configuration for sys_nirq2
        ARM: OMAP3530evm: set pendown_state and debounce time for ads7846
        ARM: omap3evm: enable VBUS switch for EHCI tranceiver
        ARM: OMAP3EVM: Adding USB internal LDOs board file
        ARM: OMAP3EVM: Add NAND flash definition
        ARM: OMAP3: cm-t35: add tvp5150 decoder support
        ...
      f1d2c07d
    • L
      Merge tag 'defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · a17f29a5
      Linus Torvalds 提交于
      Pull arm-soc defconfig updates from Arnd Bergmann:
       "These are changes to the default configuration files, to account for
        kernel changes and new hardware."
      
      * tag 'defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: exynos_defconfig: enable more platforms in defconfig
        ARM: imx_v4_v5_defconfig: update features
        ARM: imx_v6_v7_defconfig: update features
        ARM: mxs: defconfig: Enable CONFIG_COMMON_CLK_DEBUG
        ARM: mxs_defconfig: Enable RTC driver
        ARM: LPC32xx: Defconfig update
        ARM: mxs_defconfig: Let AUART driver be built by default
        ARM: mxs: Enable MACH_APX4DEVKIT
        ARM: mxs: Let GPMI driver be built by default
        ARM: tegra: defconfig updates
      a17f29a5
    • L
      Merge tag 'newsoc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · f01b9b73
      Linus Torvalds 提交于
      Pull support for three new arm SoC types from Arnd Bergmann:
      
       - The mvebu platform includes Marvell's Armada XP and Armada 370 chips,
         made by the mvebu business unit inside of Marvell.  Since the same
         group also made the older but similar platforms we call "orion5x",
         "kirkwood", "mv78xx0" and "dove", we plan to move all of them into
         the mach-mvebu directory in the future.
      
       - socfpga is Altera's platform based on Cortex-A9 cores and a lot of
         FPGA space.  This is similar to the Xilinx zynq platform we already
         support.  The code is particularly clean, which is helped by the fact
         that the hardware doesn't do much besides the parts that are expected
         to get added in the FPGA.
      
       - The OMAP subarchitecture gains support for the latest generation, the
         OMAP5 based on the new Cortex-A15 core.  Support is rather
         rudimentary for now, but will be extended in the future.
      
      * tag 'newsoc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (25 commits)
        ARM: socfpga: initial support for Altera's SOCFPGA platform
        arm: mvebu: generate DTBs for supported SoCs
        ARM: mvebu: MPIC: read number of interrupts from control register
        arm: mach-mvebu: add entry to MAINTAINERS
        arm: mach-mvebu: add compilation/configuration change
        arm: mach-mvebu: add defconfig
        arm: mach-mvebu: add documentation for new device tree bindings
        arm: mach-mvebu: add support for Armada 370 and Armada XP with DT
        arm: mach-mvebu: add source files
        arm: mach-mvebu: add header
        clocksource: time-armada-370-xp: Marvell Armada 370/XP SoC timer driver
        ARM: Kconfig update to support additional GPIOs in OMAP5
        ARM: OMAP5: Add the build support
        arm/dts: OMAP5: Add omap5 dts files
        ARM: OMAP5: board-generic: Add device tree support
        ARM: omap2+: board-generic: clean up the irq data from board file
        ARM: OMAP5: Add SMP support
        ARM: OMAP5: Add the WakeupGen IP updates
        ARM: OMAP5: l3: Add l3 error handler support for omap5
        ARM: OMAP5: gpmc: Update gpmc_init()
        ...
      
      Conflicts:
      	Documentation/devicetree/bindings/arm/omap/omap.txt
      	arch/arm/mach-omap2/Makefile
      	drivers/clocksource/Kconfig
      	drivers/clocksource/Makefile
      f01b9b73
    • L
      Merge tag 'cleanup2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · fde75430
      Linus Torvalds 提交于
      Pull arm-soc cleanups, part 2, from Arnd Bergmann:
       "These omap cleanups have dependencies on earlier omap branches that in
        turn depend on other cleanups, so they could not go into the same
        branch."
      
      * tag 'cleanup2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: OMAP: sdrc: Fix the build break for OMAP4 only builds
        ARM: OMAP2+: dmtimer: cleanup fclk usage
        ARM: OMAP2+: Fix mismerge for omap_hwmod_get_main_clk() API
        ARM: OMAP2+: Remove unnecessary ifdef around __omap2_set_globals
        ARM: OMAP2+: am33xx: Change cpu_is_am33xx to soc_is_am33xx
        ARM: OMAP2+: am33xx: Make am33xx as a separate class
        ARM: OMAP2+: Move omap3 dpll ops to dpll3xxx.c
        ARM: OMAP2+: All OMAP2PLUS uses omap-device.o target so add one entry
        ARM: OMAP: dmtimer: use devm_ API and do some cleanup in probe()
        ARM: OMAP2+: hwmod code: add support to set dmadisable in hwmod framework
        ARM: OMAP2+: PRM/CM: Move the stubbed prm and cm functions to prcm.c file and make them __weak
        ARM: OMAP2+: hwmod: add omap_hwmod_get_main_clk() API
        ARM: OMAP3+: dpll: optimize noncore dpll locking logic
        ARM: OMAP3: control: add definition for CONTROL_CAMERA_PHY_CTRL
        ARM: OMAP2+: powerdomain code: Fix Wake-up power domain power status
        ARM: OMAP4: clockdomain/CM code: Update supported transition modes
        ARM: OMAP3/4: omap_hwmod: Add rstst_offs field to struct omap_hwmod_omap4_prcm
        ARM: OMAP2+: hwmod: Add new sysc_type3 into omap_hwmod required for am33xx
      fde75430
    • L
      Merge tag 'timer' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 1a4120bc
      Linus Torvalds 提交于
      Pull arm-soc timer updates from Arnd Bergmann:
       "This contains two branches dealing with timers, one for the picoxcell
        platform that is now using DT with the platform-independent
        dw_apb_timer driver.  The other change is for the omap-specific
        dmtimer driver."
      
      * tag 'timer' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        clocksource: dw_apb_timer: Add common DTS glue for dw_apb_timer
        ARM: OMAP2+: Simplify dmtimer clock aliases
        ARM: OMAP2+: Move dmtimer clock set function to dmtimer driver
        ARM: OMAP1: Fix dmtimer support
        ARM: OMAP: Add flag to indicate if a timer needs a manual reset
        ARM: OMAP: Remove timer function pointer for context loss counter
        ARM: OMAP: Remove loses_context variable from timer platform data
        ARM: OMAP2+: Fix external clock support for dmtimers
        ARM: OMAP2+: HWMOD: Correct timer device attributes
        ARM: OMAP: Add DMTIMER capability variable to represent timer features
        ARM: OMAP2+: Add dmtimer platform function to reserve systimers
        ARM: OMAP2+: Remove unused max number of timers definition
        ARM: OMAP: Remove unnecessary clk structure
      1a4120bc
    • L
      Merge tag 'spi' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 2fa37947
      Linus Torvalds 提交于
      Pull arm-soc spi updates from Arnd Bergmann:
       "These changes conceptually belong into the spi tree, but we decided to
        put them into arm-soc to better deal with interdependencies with other
        platform specific patches that are already there."
      
      * tag 'spi' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        spi/s3c64xx: Expand S3C64XX_SPI_{DE,}ACT macros at call sites
        spi/s3c64xx: Convert to devm_request_and_ioremap()
        spi/s3c64xx: Put the /CS GPIO into output mode
        spi/s3c64xx: Fix handling of errors in gpio_request()
      2fa37947
    • L
      Merge tag 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 4f2d658b
      Linus Torvalds 提交于
      Pull arm-soc device tree description updates from Arnd Bergmann:
       "This branch contains two kinds of updates: Some platforms in the
        process of getting converted to device tree based booting, and the
        platform specific patches necessary for that are included here.
      
        Other platforms are already converted, so we just need to update the
        actual device tree source files and the binding documents to add
        support for new board and new drivers.
      
        In the future we will probably separate those into two branches, and
        in the long run, the plan is to move the device tree source files out
        of the kernel repository, but that has to wait until we have completed
        a much larger portion of the binding documents."
      
      Fix up trivial conflicts in arch/arm/mach-imx/clk-imx6q.c due to newly
      added clkdev registers next to a few removed unnecessary ones.
      
      * tag 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (119 commits)
        ARM: LPC32xx: Add PWM to base dts file
        ARM: EXYNOS: mark the DMA channel binding for SPI as preliminary
        ARM: dts: Add nodes for spi controllers for SAMSUNG EXYNOS5 platforms
        ARM: EXYNOS: Enable platform support for SPI controllers for EXYNOS5
        ARM: EXYNOS: Add spi clock support for EXYNOS5
        ARM: dts: Add nodes for spi controllers for SAMSUNG EXYNOS4 platforms
        ARM: EXYNOS: Enable platform support for SPI controllers for EXYNOX4
        ARM: EXYNOS: Fix the incorrect hierarchy of spi controller bus clock
        ARM: ux500: Remove PMU platform registration when booting with DT
        ARM: ux500: Remove temporary snowball_of_platform_devs enablement structure
        ARM: ux500: Ensure vendor specific properties have the vendor's identifier
        pinctrl: pinctrl-nomadik: Append sleepmode property with vendor specific prefixes
        ARM: ux500: Move rtc-pl031 registration to Device Tree when enabled
        ARM: ux500: Enable the AB8500 RTC for all DT:ed DB8500 based devices
        ARM: ux500: Correctly reference IRQs supplied by the AB8500 from Device Tree
        ARM: ux500: Apply ab8500-debug node do the db8500 DT structure
        ARM: ux500: Add a ab8500-usb Device Tree node for db8500 based devices
        ARM: ux500: Add db8500 Device Tree node for misc/ab8500-pwm
        ARM: ux500: Add db8500 Device Tree node for ab8500-sysctrl
        ARM: ux500: Enable LED heartbeat functionality on Snowbal via DT
        ...
      4f2d658b
    • L
      Merge tag 'dma' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · e66d6371
      Linus Torvalds 提交于
      Pull samsung arm-soc dma changes from Arnd Bergmann:
       "Some platforms are not yet converted to use the dmaengine framework,
        including some of the samsung SoCs.  In the meantime, we treat this as
        platform code and merge the patches through the arm-soc tree."
      
      * tag 'dma' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: SAMSUNG: Fix compiler warning in dma-ops.c file
        ASoC: follow the updated samsung DMA common operations
        spi/s3c64xx: Add the use of DMA config operation
        ARM: SAMSUNG: Add config() function in DMA common operations
      e66d6371
    • L
      Merge tag 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 5e512d07
      Linus Torvalds 提交于
      Pull arm soc-specific updates from Arnd Bergmann:
       "This is stuff that does not fit well into another category and in
        particular is not related to a particular board.  The largest part in
        here is extending the am33xx support in the omap platform."
      
      Fix up trivial conflicts in arch/arm/mach-{imx/mach-mx35_3ds.c, tegra/Makefile}
      
      * tag 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (74 commits)
        ARM: LPC32xx: Add PWM support
        ARM: LPC32xx: Add PWM clock
        ARM: LPC32xx: Set system serial based on cpu unique id
        ARM: vexpress: Config option for early printk console
        ARM: vexpress: Add Device Tree for V2P-CA15_CA7 core tile
        ARM: vexpress: Convert V2P-CA15 Device Tree to 64 bit addresses
        ARM: vexpress: Add fixed regulator for SMSC
        ARM: vexpress: Add missing SP804 interrupt in motherboard's DTS files
        ARM: vexpress: Initial common clock support
        ARM: SAMSUNG: Introduce Kconfig variable for Samsung custom clk API
        ARM: EXYNOS: Add missing static storage class specifier in pmu.c file
        ARM: EXYNOS: Make combiner_init function static
        ARM: EXYNOS: Update HSOTG PHY clock setting for EXYNOS4X12
        ARM: versatile: Make plat-versatile clock optional
        ARM: vexpress: Check master site in daughterboard's sysctl operations
        ARM: vexpress: remove automatic errata workaround selection
        ARM: LPC32xx: Adjust to pl08x DMA interface changes
        ARM: EXYNOS: Clear SYS_WDTRESET bit to use watchdog reset
        ARM: imx: fix mx51 ehci setup errors
        ARM: imx: make ehci power/oc polarities configurable
        ...
      5e512d07
    • L
      Merge tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 451ce7f9
      Linus Torvalds 提交于
      Pull general arm-soc cleanups from Arnd Bergmann:
       "These are all boring changes, moving stuff around or renaming things
        mostly, and also getting rid of stuff that is duplicate or should not
        be there to start with.  Platform-wise this is all over the place,
        mainly omap, samsung, at91, imx and tegra."
      
      Resolve trivial conflict in arch/arm/mach-omap2/clockdomains3xxx_data.c
      
      * tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (67 commits)
        ARM: clps711x: Remove the setting of the time
        ARM: clps711x: Removed superfluous transform virt_to_bus and related functions
        ARM: clps711x/p720t: Replace __initcall by .init_early call
        ARM: S3C24XX: Remove unused GPIO definitions for Openmoko GTA02 board
        ARM: S3C24XX: Remove unused GPIO definitions for port J
        ARM: S3C24XX: Remove unused GPA, GPE, GPH bank GPIO aliases
        ARM: S3C24XX: Convert the touchscreen setup code to common GPIO API
        ARM: S3C24XX: Convert the PM code to gpiolib API
        ARM: S3C24XX: Convert QT2410 board file to the gpiolib API
        ARM: S3C24XX: Convert SMDK board file to the gpiolib API
        ARM: S3C24XX: Free the backlight gpio requested in Mini2440 board code
        ARM: imx: remove unused pdata from device macros
        ARM: imx: Kconfig: Remove IMX_HAVE_PLATFORM_IMX_SSI from MACH_MX25_3DS
        ARM: at91: fix new build errors
        ARM: at91: add AIC5 support
        ARM: at91: remove mach/irqs.h
        ARM: at91: sparse irq support
        ARM: at91: at91 based machines specify their own irq handler at run time
        ARM: at91: remove static irq priorities for sam9x5
        ARM: at91: add of irq priorities support
        ...
      451ce7f9
    • L
      Merge tag 'fixes-non-critical' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · b85c14fb
      Linus Torvalds 提交于
      Pull non-critical arm-soc bug fixes from Arnd Bergmann:
       "These were submitted as bug fixes before v3.5 but not considered
        important enough to be included in it."
      
      * tag 'fixes-non-critical' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (29 commits)
        ARM:vt8500: Convert to use .restart and remove arch_reset()
        ARM: davinci: da8xx: fix interrupt handling
        ARM: OMAP2+: fix CONFIG_CPU_IDLE dependency on CONFIG_PM
        ARM: mxs/tx28: fix odd include
        ARM: OMAP: remove unused cpu detection macros
        ARM: OMAP: fix typos related to OMAP330
        ARM: OMAP7XX:  Remove omap730.h and omap850.h
        ARM: OMAP2+: fix naming collision of variable nr_irqs
        ARM: OMAP: omap2plus_defconfig: Enable EXT4 support
        ARM: OMAP depends on MMU
        arm: omap3: am35x: Set proper powerdomain states
        ARM: OMAP AM35x: clockdomain data: Fix clockdomain dependencies
        ARM: OMAP AM35x: EMAC/MDIO integration: Add Davinci EMAC/MDIO hwmod support
        ARM: OMAP: AM35xx: fix UART4 softreset
        ARM: OMAP AM35xx: clock and hwmod data: fix UART4 data
        ARM: OMAP AM35xx: clock and hwmod data: fix AM35xx HSOTGUSB hwmod
        ARM: OMAP: Fix dts files w/ status property: "disable" -> "disabled"
        ARM: OMAP: beagle: Set USB Host Port 1 to OMAP_USBHS_PORT_MODE_UNUSED
        ARM: OMAP2: twl-common: Fix compiler warning
        ARM: OMAP: fix the ads7846 init code
        ...
      b85c14fb
    • L
      Merge tag 'upstream-3.6-rc1' of git://git.infradead.org/linux-ubi · ce447f34
      Linus Torvalds 提交于
      Pull UBI changes from Artem Bityutskiy:
       "Change the default amount of eraseblocks which UBI reserves for bad
        block handling from 1% to 2%, because 1% does not meet most modern
        flash requirements.  1% was good enough in the past for old
        high-quality SLCs, but nowadays 2% is much more appropriate.:
      
      Other changes are clean-ups.
      
      * tag 'upstream-3.6-rc1' of git://git.infradead.org/linux-ubi:
        UBI: harmonize the update of ubi->beb_rsvd_pebs
        UBI: trivial: fix comment of ubi_calculate_reserved function
        UBI: fix spelling of detach in debug output
        UBI: Change the default percentage of reserved PEB
      ce447f34
    • L
      Merge tag 'upstream-3.6-rc1' of git://git.infradead.org/linux-ubifs · 93912fe6
      Linus Torvalds 提交于
      Pull UBIFS updates from Artem Bityutskiy:
      
       - Added another debugfs knob for forcing UBIFS R/O mode without
         flushing caches or finishing commit or any other I/O operation.  I've
         originally added this knob in order to reproduce the free space fixup
         bug (see commit c6727932: "UBIFS: fix a bug in empty space
         fix-up") on nandsim.
      
         Without this knob I would have to do real power-cuts, which would
         make debugging much harder.  Then I've decided to keep this knob
         because it is also useful for UBIFS power-cut recovery end
         error-paths testing.
      
       - Well-spotted fix from Julia.  This bug did not cause real troubles
         for UBIFS, but nevertheless it could cause issues for someone trying
         to modify the orphans handling code.  Kudos to coccinelle!
      
       - Minor cleanups.
      
      * tag 'upstream-3.6-rc1' of git://git.infradead.org/linux-ubifs:
        UBIFS: remove invalid reference to list iterator variable
        UBIFS: simplify reply code a bit
        UBIFS: add debugfs knob to switch to R/O mode
        UBIFS: fix compilation warning
      93912fe6