1. 03 1月, 2017 1 次提交
  2. 19 11月, 2016 2 次提交
  3. 03 9月, 2016 1 次提交
  4. 24 8月, 2016 2 次提交
    • L
      ARM: dts: MSM8064 remove flags from SPMI/MPP IRQs · ca88696e
      Linus Walleij 提交于
      The Qualcomm PMIC GPIO and MPP lines are problematic: the
      are fetched from the main MFD driver with platform_get_irq()
      which means that at this point they will all be assigned the
      flags set up for the interrupts in the device tree.
      
      That is problematic since these are flagged as rising edge
      and an this point the interrupt descriptor is assigned a
      rising edge, while the only thing the GPIO/MPP drivers really
      do is issue irq_get_irqchip_state() on the line to read it
      out and to provide a .to_irq() helper for *other* IRQ
      consumers.
      
      If another device tree node tries to flag the same IRQ
      for use as something else than rising edge, the kernel
      irqdomain core will protest like this:
      
        type mismatch, failed to map hwirq-NN for <FOO>!
      
      Which is what happens when the device tree defines two
      contradictory flags for the same interrupt line.
      
      To work around this and alleviate the problem, assign 0
      as flag for the interrupts taken by the PM GPIO and MPP
      drivers. This will lead to the flag being unset, and a
      second consumer requesting rising, falling, both or level
      interrupts will be respected. This is what the qcom-pm*.dtsi
      files already do.
      
      Switched to using the symbolic name IRQ_TYPE_NONE so that
      we get this more readable.
      
      Cc: stable@vger.kernel.org
      Fixes: bce36046 ("ARM: dts: apq8064: add pm8921 mpp support")
      Fixes: 874443fe ("ARM: dts: apq8064: Add pm8921 mfd and its gpio node")
      Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Cc: Stephen Boyd <sboyd@codeaurora.org>
      Cc: Björn Andersson <bjorn.andersson@linaro.org>
      Cc: Ivan T. Ivanov <ivan.ivanov@linaro.org>
      Cc: John Stultz <john.stultz@linaro.org>
      Cc: Andy Gross <andy.gross@linaro.org>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NAndy Gross <andy.gross@linaro.org>
      ca88696e
    • J
      device-tree: aqp8064.dtsi: Remove usb phy dr_mode = "host" · 3f874a44
      John Stultz 提交于
      Most 8064 devices have micro-usb ports for phy1, so setting
      the dr_mode to host here seems incorrect.
      
      Leaving it unspecified should default to otg, and then
      any boards that wish to specify something else, can
      override it in their dts file.
      
      Cc: Rob Herring <robh+dt@kernel.org>
      Cc: Andy Gross <agross@codeaurora.org>
      Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
      Cc: Stephen Boyd <stephen.boyd@linaro.org>
      Cc: linux-arm-msm@vger.kernel.org
      Cc: devicetree@vger.kernel.org
      Signed-off-by: NJohn Stultz <john.stultz@linaro.org>
      Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org>
      Signed-off-by: NAndy Gross <andy.gross@linaro.org>
      3f874a44
  5. 18 7月, 2016 1 次提交
  6. 28 6月, 2016 2 次提交
  7. 12 6月, 2016 1 次提交
  8. 21 4月, 2016 6 次提交
  9. 01 4月, 2016 1 次提交
  10. 13 3月, 2016 1 次提交
  11. 27 2月, 2016 7 次提交
  12. 24 2月, 2016 2 次提交
  13. 11 1月, 2016 1 次提交
  14. 16 12月, 2015 1 次提交
  15. 09 12月, 2015 5 次提交
  16. 14 10月, 2015 5 次提交
  17. 29 7月, 2015 1 次提交