24 May, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
    b43: fix comment typo reqest -> request
    Haavard Skinnemoen has left Atmel
    cris: typo in mach-fs Makefile
    Kconfig: fix copy/paste-ism for dell-wmi-aio driver
    doc: timers-howto: fix a typo ("unsgined")
    perf: Only include annotate.h once in tools/perf/util/ui/browsers/annotate.c
    md, raid5: Fix spelling error in comment ('Ofcourse' --> 'Of course').
    treewide: fix a few typos in comments
    regulator: change debug statement be consistent with the style of the rest
    Revert "arm: mach-u300/gpio: Fix mem_region resource size miscalculations"
    audit: acquire creds selectively to reduce atomic op overhead
    rtlwifi: don't touch with treewide double semicolon removal
    treewide: cleanup continuations and remove logging message whitespace
    ath9k_hw: don't touch with treewide double semicolon removal
    include/linux/leds-regulator.h: fix syntax in example code
    tty: fix typo in descripton of tty_termios_encode_baud_rate
    xtensa: remove obsolete BKL kernel option from defconfig
    m68k: fix comment typo 'occcured'
    arch:Kconfig.locks Remove unused config option.
    treewide: remove extra semicolons
    ...

    Linus Torvalds
     

19 May, 2011

2 commits

  • Haavard's e-mail address at Atmel is no longer valid.

    Signed-off-by: Jean Delvare
    Acked-by: Havard Skinnemoen
    Signed-off-by: Jiri Kosina

    Jean Delvare
     
  • Commit b826291c, "drivercore/dt: add a match table pointer to struct
    device" added an of_match pointer to struct device to cache the
    of_match_table entry discovered at driver match time. This was unsafe
    because matching is not an atomic operation with probing a driver. If
    two or more drivers are attempted to be matched to a driver at the
    same time, then the cached matching entry pointer could get
    overwritten.

    This patch reverts the of_match cache pointer and reworks all users to
    call of_match_device() directly instead.

    Signed-off-by: Grant Likely

    Grant Likely
     

13 May, 2011

1 commit


02 May, 2011

2 commits

  • Use a standard list with proper locking to handle the list of
    adapters. Thankfully it only matters on systems with more than one
    parallel port, which are very rare.

    Thanks to Lukasz Kapiec for reporting the problem to me.

    Signed-off-by: Jean Delvare
    Cc: stable@kernel.org

    Jean Delvare
     
  • Move the SMBus device ID definitions of recent devices from pci_ids.h
    to the i2c-i801.c driver file. They don't have to be shared, as they
    are clearly identified and only used in this driver. In the future,
    such IDs will go to i2c-i801 directly. This will make adding support
    for new devices much faster and easier, as it will avoid cross-
    subsystem patch sets and merge conflicts.

    Signed-off-by: Jean Delvare
    Cc: Seth Heasley
    Acked-by: Jesse Barnes

    Jean Delvare
     

17 Apr, 2011

2 commits

  • Apparently some distros set i2c-algo-bit.bit_test to 1 by
    default. In some cases this causes i2c_bit_add_bus
    to fail and prevents the i2c bus from being added. In the
    radeon case, we fail to add the ddc i2c buses which prevents
    the driver from being able to detect attached monitors.
    The i2c bus works fine even if bit_test fails. This is likely
    due to gpio switching that is required and handled in the
    pre/post_xfer hooks, so call the pre/post_xfer hooks in the
    bit test as well.

    Fixes:
    https://bugs.freedesktop.org/show_bug.cgi?id=36221

    Signed-off-by: Alex Deucher
    Signed-off-by: Jean Delvare
    Cc: stable@kernel.org [.38 down to .34]

    Alex Deucher
     
  • When warning on the use of deprecated i2c_driver methods
    attach_adapter and detach_adapter, mention the name of the driver
    which needs to be updated.

    Signed-off-by: Jean Delvare
    Cc: Benjamin Herrenschmidt

    Jean Delvare
     

31 Mar, 2011

1 commit


23 Mar, 2011

2 commits

  • The cell's platform_data is now accessed with a helper function;
    change clients to use that, and remove the now-unused data_size.

    Note that the mfd's platform_data is marked __devinitdata. This
    is still correct in all cases except for the timbgpio driver, whose
    remove hook has been changed to no longer reference the pdata.

    Signed-off-by: Andres Salomon
    Signed-off-by: Samuel Ortiz

    Andres Salomon
     
  • * 'for-linus/2639/i2c-2' of git://git.fluff.org/bjdooks/linux:
    i2c-pxa2xx: Don't clear isr bits too early
    i2c-pxa2xx: Fix register offsets
    i2c-pxa2xx: pass of_node from platform driver to adapter and publish
    i2c-pxa2xx: check timeout correctly
    i2c-pxa2xx: add support for shared IRQ handler
    i2c-pxa2xx: Add PCI support for PXA I2C controller
    ARM: pxa2xx: reorganize I2C files
    i2c-pxa2xx: use dynamic register layout
    i2c-mxs: set controller to pio queue mode after reset
    i2c-eg20t: support new device OKI SEMICONDUCTOR ML7213 IOH
    i2c/busses: Add support for Diolan U2C-12 USB-I2C adapter

    Linus Torvalds
     

22 Mar, 2011

2 commits


21 Mar, 2011

9 commits


20 Mar, 2011

6 commits


18 Mar, 2011

2 commits

  • * 'for-linus/2639/i2c-1' of git://git.fluff.org/bjdooks/linux:
    i2c-mpc: Add support for 64bit system
    i2c: add driver for Freescale i.MX28
    i2c: tegra: Add i2c support

    Linus Torvalds
     
  • * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/epip/linux-2.6-unicore32: (40 commits)
    unicore32: rewrite arch-specific tlb.h to use asm-generic version
    unicore32: modify io_p2v and io_v2p macros, and adjust PKUNITY_mmio_BASEs
    unicore32: replace unicore32-specific iomap functions with generic lib implementation
    unicore32 machine related: add frame buffer driver for pkunity-v3 soc
    unicore32 machine related files: add i2c bus drivers for pkunity-v3 soc
    unicore32 io: redefine __REG(x) and re-use readl/writel funcs
    unicore32 i8042 upgrade and bugfix: adjust resource request region type
    unicore32 upgrade to v2.6.38-rc5: add one more paramter for pte_alloc_map call
    unicore32 i8042: adjust io funcs of i8042-unicore32io.h
    unicore32: rename PKUNITY_IOSPACE_BASE to PKUNITY_MMIO_BASE
    unicore32: modify function names and parameters for irq_chips
    unicore32: remove unused lines in arch/unicore32/include/asm/irq.h
    unicore32 time.c: change calculate method for clock_event_device
    unicore32: ADD MAINTAINER for unicore32 architecture
    unicore32 machine related files: ps2 driver
    unicore32 machine related files: pci bus handling
    unicore32 machine related files: hardware registers
    unicore32 machine related files: core files
    unicore32 additional architecture files: boot process
    unicore32 additional architecture files: low-level lib: misc
    ...

    Acked-by: Arnd Bergmann

    Linus Torvalds
     

17 Mar, 2011

3 commits

  • change from original version -- by advice of Jean Delvare
    1. remove global variable i2c_reg, replaced by local variables
    2. replace ENXIO with ENODEV when no platform resources
    3. add adapter->nr assignment before i2c_add_numbered_adapter() call
    4. add judgement for i2c_del_adapter() return value
    5. release adapter when driver removed
    6. add __devexit for puv3_i2c_remove() function
    7. modify several names to more appropriated ones

    Signed-off-by: Guan Xuetao
    Acked-by: Arnd Bergmann

    GuanXuetao
     
  • * 'devicetree/next' of git://git.secretlab.ca/git/linux-2.6: (21 commits)
    tty: serial: altera_jtaguart: Add device tree support
    tty: serial: altera_uart: Add devicetree support
    dt: eliminate of_platform_driver shim code
    dt: Eliminate of_platform_{,un}register_driver
    dt/serial: Eliminate users of of_platform_{,un}register_driver
    dt/usb: Eliminate users of of_platform_{,un}register_driver
    dt/video: Eliminate users of of_platform_{,un}register_driver
    dt/net: Eliminate users of of_platform_{,un}register_driver
    dt/sound: Eliminate users of of_platform_{,un}register_driver
    dt/spi: Eliminate users of of_platform_{,un}register_driver
    dt: uartlite: merge platform and of_platform driver bindings
    dt: xilinx_hwicap: merge platform and of_platform driver bindings
    ipmi: convert OF driver to platform driver
    leds/leds-gpio: merge platform_driver with of_platform_driver
    dt/sparc: Eliminate users of of_platform_{,un}register_driver
    dt/powerpc: Eliminate users of of_platform_{,un}register_driver
    dt/powerpc: move of_bus_type infrastructure to ibmebus
    drivercore/dt: add a match table pointer to struct device
    dt: Typo fix.
    altera_ps2: Add devicetree support
    ...

    Linus Torvalds
     
  • …c/i2c-imx' into for-linus/2639/i2c-1

    Ben Dooks
     

16 Mar, 2011

2 commits

  • …el/git/tip/linux-2.6-tip

    * 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (27 commits)
    x86: Clean up apic.c and apic.h
    x86: Remove superflous goal definition of tsc_sync
    x86: dt: Correct local apic documentation in device tree bindings
    x86: dt: Cleanup local apic setup
    x86: dt: Fix OLPC=y/INTEL_CE=n build
    rtc: cmos: Add OF bindings
    x86: ce4100: Use OF to setup devices
    x86: ioapic: Add OF bindings for IO_APIC
    x86: dtb: Add generic bus probe
    x86: dtb: Add support for PCI devices backed by dtb nodes
    x86: dtb: Add device tree support for HPET
    x86: dtb: Add early parsing of IO_APIC
    x86: dtb: Add irq domain abstraction
    x86: dtb: Add a device tree for CE4100
    x86: Add device tree support
    x86: e820: Remove conditional early mapping in parse_e820_ext
    x86: OLPC: Make OLPC=n build again
    x86: OLPC: Remove extra OLPC_OPENFIRMWARE_DT indirection
    x86: OLPC: Cleanup config maze completely
    x86: OLPC: Hide OLPC_OPENFIRMWARE config switch
    ...

    Fix up conflicts in arch/x86/platform/ce4100/ce4100.c

    Linus Torvalds
     
  • Currently i2c-mpc supports 32bit system only, this modification makes it
    supported on both 32-bit and 64-bit systems. The P5020 is the first
    64-bit PPC system with the i2c-mpc controller.

    Based in patch from Xulei

    Signed-off-by: Kumar Gala
    Signed-off-by: Ben Dooks

    Kumar Gala
     

09 Mar, 2011

2 commits

  • Fixes (with v2.6.38-rc3/parisc/parisc-allmodconfig):
    src/drivers/i2c/busses/i2c-eg20t.c:720: error: implicit declaration of function 'kzalloc'
    src/drivers/i2c/busses/i2c-eg20t.c:790: error: implicit declaration of function 'kfree'

    Reported-by: Geert Uytterhoeven
    Signed-off-by: Wolfram Sang
    Cc: Tomoya MORINAGA
    Cc: Ben Dooks
    Signed-off-by: Ben Dooks

    Wolfram Sang
     
  • ocores_i2c_of_probe needs to use a const __be32 type for handing
    device tree property values. This patch fixed the following build
    warning:

    CC drivers/i2c/busses/i2c-ocores.o
    drivers/i2c/busses/i2c-ocores.c: In function 'ocores_i2c_of_probe':
    drivers/i2c/busses/i2c-ocores.c:254: warning: assignment discards qualifiers from pointer target type
    drivers/i2c/busses/i2c-ocores.c:261: warning: assignment discards qualifiers from pointer target type

    Signed-off-by: Grant Likely
    Cc: Peter Korsgaard
    Cc: Ben Dooks
    Cc: linux-i2c@vger.kernel.org
    Signed-off-by: Ben Dooks

    Grant Likely
     

07 Mar, 2011

1 commit

  • For the I2C module to be wakeup capable, programming I2C_WE register (which
    was skipped for OMAP4430) is needed even on OMAP4.

    This fixes i2c controller timeouts which were seen recently with the static
    dependency being cleared between MPU and L4PER clockdomains.

    Signed-off-by: Rajendra Nayak
    [ben-linux@fluff.org: re-flowed description]
    Signed-off-by: Ben Dooks

    Rajendra Nayak
     

02 Mar, 2011

1 commit


01 Mar, 2011

1 commit