1. 27 1月, 2015 1 次提交
  2. 26 1月, 2015 1 次提交
  3. 21 1月, 2015 1 次提交
  4. 19 1月, 2015 1 次提交
  5. 16 1月, 2015 3 次提交
  6. 14 1月, 2015 8 次提交
  7. 12 1月, 2015 3 次提交
    • S
      pinctrl: Add driver for Zynq · add958ce
      Soren Brinkmann 提交于
      This adds a pin-control driver for Zynq.
      
      Changes since v2:
      - driver-specific DT properties are passed to the core in two arrays,
        one for the actual DT parsing one for the debugfs representation.
        Issue a compiler warning when the number of entries is not the same
        for both arrays.
      
      Changes since v1:
       - fix EMIO_SD1_CD pin name
       - add USB to pinmux options
      
      changes since RFCv2:
       - let Zynq select PINCTRL_ZYNQ. Boot hangs when pinctrl information is
         present in DT but no driver available.
       - add #defines to get rid of magical constants
       - add commas at end of initializers
       - separate changes in mach-zynq in separate patch
       - add driver specific io-standard DT property
       - refactored pinconf set function to not require arguments for
         argument-less properties
       - squash other patches in
         - support for IO-standard property
         - support for low-power mode property
         - migration to pinconf_generic_dt_node_to_map_all()
       - use newly created infrastructure to add pass driver-specific DT
         params to pinconf-generic
      
      changes since RFC:
       - use syscon/regmap to access registers in SLCR space
       - rebase to 3.18: rename enable -> set_mux
       - add kernel-doc
       - support pinconf
         - supported attributes
           - pin-bias: pull up, tristate, disable
           - slew-rate: 0 == slow, 1 == fast; generic pinconf does not display
             argument
      Signed-off-by: NSoren Brinkmann <soren.brinkmann@xilinx.com>
      Tested-by: NAndreas Färber <afaerber@suse.de>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      add958ce
    • S
      pinctrl: pinconf-generic: Allow driver to specify DT params · dd4d01f7
      Soren Brinkmann 提交于
      Additionally to the generic DT parameters, allow drivers to provide
      driver-specific DT parameters to be used with the generic parser
      infrastructure.
      
      To achieve this 'struct pinctrl_desc' is extended to pass custom pinconf
      option to the core. In order to pass this kind of information, the
      related data structures - 'struct pinconf_generic_dt_params',
      'pin_config_item' - are moved from pinconf internals to the
      pinconf-generic header.
      
      Additionally pinconfg-generic is refactored to not only iterate over the
      generic pinconf parameters but also take the parameters into account
      that are provided through the driver's 'struct pinctrl_desc'.
      In particular 'pinconf_generic_parse_dt_config()' and
      'pinconf_generic_dump' helpers are split into two parts each. In order
      to have a more generic helper that can be used to process the generic
      parameters as well as the driver-specific ones.
      
      v2:
       - fix typo
       - add missing documentation for @conf_items member in struct
       - rebase to pinctrl/devel: conflict in abx500
       - rename _pinconf_generic_dump() to pinconf_generic_dump_one()
       - removed '_' from _parse_dt_cfg()
       - removed BUG_ONs, error condition is handled in if statements
       - removed pinconf_generic_dump_group() & pinconf_generic_dump_pin
         helpers
         - fixed up corresponding call sites
         - renamed pinconf_generic_dump() to pinconf_generic_dump_pins()
         - added kernel-doc to pinconf_generic_dump_pins()
       - add kernel-doc
       - more verbose commit message
      Signed-off-by: NSoren Brinkmann <soren.brinkmann@xilinx.com>
      Tested-by: NAndreas Färber <afaerber@suse.de>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      dd4d01f7
    • S
      pinctrl: pinconf-generic: Infer map type from DT property · 31c89c95
      Soren Brinkmann 提交于
      With the new 'groups' property, the DT parser can infer the map type
      from the fact whether 'pins' or 'groups' is used to specify the pin
      group to work on.
      
      To maintain backwards compatibitliy with current usage of the DT
      binding, this is only done when PIN_MAP_TYPE_INVALID is passed to the
      parsing function as type.
      
      Also, a new helper 'pinconf_generic_dt_node_to_map_all()' is introduced,
      which can be used by drivers as generic callback for dt_node_to_map() to
      leverage the new feature.
      
      Changes since v2:
       - rename dt_pin_specifier to subnode_target_type
       - add additional comment in header file explaining passing an invalid
         map type
       - mention map_all() helper in commit message
      Changes since RFC v2:
       - none
      Signed-off-by: NSoren Brinkmann <soren.brinkmann@xilinx.com>
      Tested-by: NAndreas Färber <afaerber@suse.de>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      31c89c95
  8. 11 1月, 2015 4 次提交
  9. 27 12月, 2014 1 次提交
  10. 24 12月, 2014 1 次提交
  11. 23 12月, 2014 2 次提交
  12. 22 12月, 2014 2 次提交
  13. 20 12月, 2014 4 次提交
  14. 19 12月, 2014 8 次提交
    • R
      tty: 8250_omap: Replace CONFIG_PM_RUNTIME with CONFIG_PM · 71504e51
      Rafael J. Wysocki 提交于
      The 8250_omap serial driver is a new user of CONFIG_PM_RUNTIME.
      
      However, after commit b2b49ccb (PM: Kconfig: Set PM_RUNTIME if
      PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so
      #ifdef blocks depending on CONFIG_PM_RUNTIME may now be changed to
      depend on CONFIG_PM.
      
      Replace CONFIG_PM_RUNTIME with CONFIG_PM in 8250_omap.c.
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Acked-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      71504e51
    • R
      spi: Replace CONFIG_PM_RUNTIME with CONFIG_PM · 47164fdb
      Rafael J. Wysocki 提交于
      A couple of new CONFIG_PM_RUNTIME users have been added recently
      in the SPI subsystem.
      
      However, after commit b2b49ccb (PM: Kconfig: Set PM_RUNTIME if
      PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so
      #ifdef blocks depending on CONFIG_PM_RUNTIME may now be changed to
      depend on CONFIG_PM.
      
      Replace CONFIG_PM_RUNTIME with CONFIG_PM everywhere under
      drivers/spi/ (again).
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Acked-by: NMark Brown <broonie@kernel.org>
      47164fdb
    • T
      tick/powerclamp: Remove tick_nohz_idle abuse · a5fd9733
      Thomas Gleixner 提交于
      commit 4dbd2771 "tick: export nohz tick idle symbols for module
      use" was merged via the thermal tree without an explicit ack from the
      relevant maintainers.
      
      The exports are abused by the intel powerclamp driver which implements
      a fake idle state from a sched FIFO task. This causes all kinds of
      wreckage in the NOHZ core code which rightfully assumes that
      tick_nohz_idle_enter/exit() are only called from the idle task itself.
      
      Recent changes in the NOHZ core lead to a failure of the powerclamp
      driver and now people try to hack completely broken and backwards
      workarounds into the NOHZ core code. This is completely unacceptable
      and just papers over the real problem. There are way more subtle
      issues lurking around the corner.
      
      The real solution is to fix the powerclamp driver by rewriting it with
      a sane concept, but that's beyond the scope of this.
      
      So the only solution for now is to remove the calls into the core NOHZ
      code from the powerclamp trainwreck along with the exports. 
      
      Fixes: d6d71ee4 "PM: Introduce Intel PowerClamp Driver"
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Cc: Preeti U Murthy <preeti@linux.vnet.ibm.com>
      Cc: Viresh Kumar <viresh.kumar@linaro.org>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Fengguang Wu <fengguang.wu@intel.com>
      Cc: Frederic Weisbecker <frederic@kernel.org>
      Cc: Pan Jacob jun <jacob.jun.pan@intel.com>
      Cc: LKP <lkp@01.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Zhang Rui <rui.zhang@intel.com>
      Cc: stable@vger.kernel.org
      Link: http://lkml.kernel.org/r/alpine.DEB.2.11.1412181110110.17382@nanosSigned-off-by: NThomas Gleixner <tglx@linutronix.de>
      a5fd9733
    • N
      target: Allow AllRegistrants to re-RESERVE existing reservation · ae450e24
      Nicholas Bellinger 提交于
      This patch changes core_scsi3_pro_release() logic to allow an
      existing AllRegistrants type reservation to be re-reserved by
      any registered I_T nexus.
      
      This addresses a issue where AllRegistrants type RESERVE was
      receiving RESERVATION_CONFLICT status if dev_pr_res_holder did
      not match the same I_T nexus, instead of just returning GOOD
      status following spc4r34 Section 5.9.9:
      
      "If the device server receives a PERSISTENT RESERVE OUT command
       with RESERVE service action where the TYPE field and the SCOPE
       field contain the same values as the existing type and scope
       from a persistent reservation holder, it shall not make any
       change to the existing persistent reservation and shall complete
       the command with GOOD status."
      Reported-by: NIlias Tsitsimpis <i.tsitsimpis@gmail.com>
      Cc: Ilias Tsitsimpis <i.tsitsimpis@gmail.com>
      Cc: Lee Duncan <lduncan@suse.com>
      Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
      Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
      ae450e24
    • J
      drm/msm/hdmi: rework HDMI IRQ handler · ff2f974e
      Jilai Wang 提交于
      Disable the HPD interrupt when acking it, to avoid spurious
      interrupt.
      Signed-off-by: NJilai Wang <jilaiw@codeaurora.org>
      ff2f974e
    • J
      drm/msm/hdmi: enable regulators before clocks to avoid warnings · e6d7a16f
      Jilai Wang 提交于
      HPD regulators need to be enabled before clocks, otherwise clock
      driver will report warning.
      Signed-off-by: NJilai Wang <jilaiw@codeaurora.org>
      e6d7a16f
    • R
      drm/msm/mdp5: update irqs on crtc<->encoder link change · 8bc1fe92
      Rob Clark 提交于
      If crtc <-> encoder linkage changes, we could end up with the CRTC
      listening for the wrong error or vsync irqs.  Generally this problem
      would correct itself relatively quickly, since we update the global
      irqmask after dispatching irqs, but to be sure let the CRTC trigger
      update_irq().
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      8bc1fe92
    • R
      drm/msm: block incoming update on pending updates · f86afecf
      Rob Clark 提交于
      We can't have multiple updates pending on a given CRTC, and we don't
      want a sync update to race w/ an async update that preceeded it.  So
      keep track of which CRTCs have updates in flight, and block later
      updates that would conflict.
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      f86afecf