1. 01 Oct, 2012 2 commits
    • Simon Arlott's avatar
      pinctrl: add bcm2835 driver · e1b2dc70
      Simon Arlott authored
      The BCM2835 GPIO module is a combined GPIO controller, (GPIO) interrupt
      controller, and pinmux/control device.
      
      Original driver by Simon Arlott.
      Rewrite including GPIO chip device by Chris Boot.
      
      Upstreaming changes by Stephen Warren:
      * Wrote DT binding documentation.
      * Changed brcm,function to an integer to more directly match the
        datasheet, and to match brcm,pins being an integer.
      * Implemented pull-up/down pin config.
      * Removed read-only DT property and related code. The restriction this
        implemented are driven by the board, not the GPIO HW block, so don't
        really make sense of a HW block binding, were in general incomplete
        (since they could only know about the few pins hard-coded into the
        Raspberry Pi B board design and not the uncommitted GPIOS), and are
        better represented simply by not writing incorrect data into pin
        configuration nodes.
      * Don't set GPIO_IN function select in gpio_request_enable() to avoid
        glitches; defer this to gpio_set_direction(). Consequently, removed
        empty bcm2835_pmx_gpio_request_enable().
      * Simplified enabled_irq_map[]; make it explicitly 1 entry per bank.
      * Lifted use of enabled_irq_map[] outside the per-interrupt loop in
        IRQ handler, thus fixing an issue where the code was indexing into
        enabled_irq_map[] by intra-bank GPIO ID, not global GPIO ID.
      * Removed locking in IRQ handler, since all other code uses
        spin_lock_irqsave() and so guarantees it doesn't run concurrently
        with the handler.
      * Moved duplicated BUILD_BUG_ON()s into probe(). Also check size of
        bcm2835_gpio_pins[].
      * Remove range-checking from bcm2835_pctl_get_groups_count() since we've
        decided to trust the pinctrl core.
      * Made bcm2835_pmx_gpio_disable_free() call bcm2835_pinctrl_fsel_set()
        directly for simplicity.
      * Fixed body of dt_free_map() to match latest dt_node_to_map().
      * Removed GPIO ownership check from bcm2835_pmx_enable() since the pinctrl
        core owns doing this.
      * Made irq_chip and pinctrl_gpio_range .name == MODULE_NAME so it's more
        descriptive.
      * Simplified remove(); removed call to non-existent
        pinctrl_remove_gpio_range(), remove early return on error.
      * Don't force gpiochip's base to 0. Set gpio_range.base to gpiochip's
        base GPIO number.
      * Error-handling cleanups in probe().
      * Switched to module_platform_driver() rather than open-coding.
      * Made pin, group, and function names lower-case.
      * s/broadcom/brcm/ in DT property names.
      * s/2708/2835/.
      * Fixed a couple minor checkpatch warnings, and other minor cleanup.
      Signed-off-by: default avatarSimon Arlott <simon@fire.lp0.eu>
      Signed-off-by: default avatarChris Boot <bootc@bootc.net>
      Signed-off-by: default avatarStephen Warren <swarren@wwwdotorg.org>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      e1b2dc70
    • Linus Walleij's avatar
      pinctrl: clarify idle vs sleep states · b0e181d0
      Linus Walleij authored
      This pure documentation fix tries to align the "idle" and
      "sleep" pin states to the idle and suspend states from
      runtime PM.
      
      Cc: Patrice Chotard <patrice.chotard@st.com>
      Acked-by: default avatarStephen Warren <swarren@nvidia.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      b0e181d0
  2. 28 Sep, 2012 8 commits
  3. 27 Sep, 2012 2 commits
  4. 18 Sep, 2012 2 commits
  5. 17 Sep, 2012 2 commits
  6. 14 Sep, 2012 1 commit
  7. 13 Sep, 2012 1 commit
  8. 10 Sep, 2012 2 commits
  9. 03 Sep, 2012 7 commits
  10. 01 Sep, 2012 5 commits
  11. 30 Aug, 2012 5 commits
  12. 29 Aug, 2012 3 commits
    • Alex Deucher's avatar
      drm/radeon: fix dig encoder selection on DCE61 · 41fa5437
      Alex Deucher authored
      Was using the DCE41 code which was wrong. Fixes
      blank displays on a number of Trinity systems.
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Cc: stable@vger.kernel.org
      41fa5437
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs · 318e1510
      Linus Torvalds authored
      Pull btrfs fixes from Chris Mason:
       "I've split out the big send/receive update from my last pull request
        and now have just the fixes in my for-linus branch.  The send/recv
        branch will wander over to linux-next shortly though.
      
        The largest patches in this pull are Josef's patches to fix DIO
        locking problems and his patch to fix a crash during balance.  They
        are both well tested.
      
        The rest are smaller fixes that we've had queued.  The last rc came
        out while I was hacking new and exciting ways to recover from a
        misplaced rm -rf on my dev box, so these missed rc3."
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs: (25 commits)
        Btrfs: fix that repair code is spuriously executed for transid failures
        Btrfs: fix ordered extent leak when failing to start a transaction
        Btrfs: fix a dio write regression
        Btrfs: fix deadlock with freeze and sync V2
        Btrfs: revert checksum error statistic which can cause a BUG()
        Btrfs: remove superblock writing after fatal error
        Btrfs: allow delayed refs to be merged
        Btrfs: fix enospc problems when deleting a subvol
        Btrfs: fix wrong mtime and ctime when creating snapshots
        Btrfs: fix race in run_clustered_refs
        Btrfs: don't run __tree_mod_log_free_eb on leaves
        Btrfs: increase the size of the free space cache
        Btrfs: barrier before waitqueue_active
        Btrfs: fix deadlock in wait_for_more_refs
        btrfs: fix second lock in btrfs_delete_delayed_items()
        Btrfs: don't allocate a seperate csums array for direct reads
        Btrfs: do not strdup non existent strings
        Btrfs: do not use missing devices when showing devname
        Btrfs: fix that error value is changed by mistake
        Btrfs: lock extents as we map them in DIO
        ...
      318e1510
    • Linus Torvalds's avatar
      Merge git://www.linux-watchdog.org/linux-watchdog · a7ccbcf3
      Linus Torvalds authored
      Pull watchdog fixes from Wim Van Sebroeck:
       "This will fix a warning for watchdog-test.c and it will remove a
        duplicate include of delay.h"
      
      * git://www.linux-watchdog.org/linux-watchdog:
        watchdog: da9052: Remove duplicate inclusion of delay.h
        watchdog: fix watchdog-test.c build warning
      a7ccbcf3