1. 08 4月, 2015 1 次提交
  2. 18 3月, 2015 1 次提交
  3. 21 1月, 2015 1 次提交
  4. 20 1月, 2015 1 次提交
  5. 11 11月, 2014 1 次提交
  6. 29 10月, 2014 2 次提交
  7. 05 9月, 2014 1 次提交
    • M
      pinctrl: at91: add drive strength configuration · 4334ac2d
      Marek Roszko 提交于
      The SAMA5 and SAM9x5 series both have drive strength
      options for the PIOs. This patch adds the ability to set
      one of three hardware options for drive strengths of low,
      medium or high for the each pin. The actual current output
      of the chip based on the setting is defined in the datasheets
      and varies per pins separate from banks and with supply
      voltage.
      
      This patch adds three new dt-bindings that allow setting the
      strength when configuring pins. By default, no change will
      be made to the drive strength of a pin from its reset value.
      Due to the difference between the register addresses of the
      SAMA5 and SAM9x5 series, a new sama5d3-pinctrl id was added.
      Signed-off-by: NMarek Roszko <mark.roszko@gmail.com>
      Acked-by: NNicolas Ferre <nicolas.ferre@atmel.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      4334ac2d
  8. 28 8月, 2014 1 次提交
  9. 23 7月, 2014 1 次提交
    • N
      pinctrl: dra: dt-bindings: Fix pull enable/disable · 23d9cec0
      Nishanth Menon 提交于
      The DRA74/72 control module pins have a weak pull up and pull down.
      This is configured by bit offset 17. if BIT(17) is 1, a pull up is
      selected, else a pull down is selected.
      
      However, this pull resisstor is applied based on BIT(16) -
      PULLUDENABLE - if BIT(18) is *0*, then pull as defined in BIT(17) is
      applied, else no weak pulls are applied. We defined this in reverse.
      
      Reference: Table 18-5 (Description of the pad configuration register
      bits) in Technical Reference Manual Revision (DRA74x revision Q:
      SPRUHI2Q Revised June 2014 and DRA72x revision F: SPRUHP2F - Revised
      June 2014)
      
      Fixes: 6e58b8f1 ("ARM: dts: DRA7: Add the dts files for dra7 SoC and dra7-evm board")
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Tested-by: NFelipe Balbi <balbi@ti.com>
      Acked-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      23d9cec0
  10. 11 7月, 2014 1 次提交
  11. 20 5月, 2014 1 次提交
    • J
      ARM: dts: Change IOPAD macro's for OMAP4/5 · 4b466297
      Joachim Eastwood 提交于
      The OMAP4/5 TRMs primarily list address offsets from the padconf
      physical address (which is not driver base address) and not
      always the absolute physical address for padconf registers like
      some other OMAP TRMs. So create a new macro to use this offset
      and to avoid confusion between different OMAP parts.
      
      For more information, see the tables in TRM for named something like
      "Device Core Control Module Pad Configuration Register Fields"
      and "Device Wake-Up Control Module Pad Configuration Register Fields"
      
      Note that we now also have to update cm-t54 for the fixed up
      offsets.
      Signed-off-by: NJoachim Eastwood <manabian@gmail.com>
      [tony@atomide.com: updated comments, updated cm-t54]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      4b466297
  12. 07 5月, 2014 1 次提交
    • T
      ARM: dts: Fix omap serial wake-up when booted with device tree · 31f0820a
      Tony Lindgren 提交于
      We've had deeper idle states working on omaps for few years now,
      but only in the legacy mode. When booted with device tree, the
      wake-up events did not have a chance to work until commit
      3e6cee17 (pinctrl: single: Add support for wake-up interrupts)
      that recently got merged. In addition to that we also needed commit
      79d97015 (of/irq: create interrupts-extended property) and
      9ec36caf (of/irq: do irq resolution in platform_get_irq) that
      are now also merged.
      
      So let's fix the wake-up events for some selected omaps so devices
      booted in device tree mode won't just hang if deeper power states
      are enabled, and so systems can wake up from suspend to the serial
      port event.
      
      Note that there's no longer need to specify the wake-up bit in
      the pinctrl settings, the request_irq on the wake-up pin takes
      care of that.
      
      Cc: devicetree@vger.kernel.org
      Cc: "Benoît Cousson" <bcousson@baylibre.com>
      Cc: Kevin Hilman <khilman@linaro.org>
      Cc: Nishanth Menon <nm@ti.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Cc: Tero Kristo <t-kristo@ti.com>
      [tony@atomide.com: updated comments, added board LDP]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      31f0820a
  13. 03 3月, 2014 1 次提交
  14. 08 1月, 2014 1 次提交
    • T
      ARM: dts: Add omap specific pinctrl defines to use padconf addresses · 43a348ea
      Tony Lindgren 提交于
      As we have one to three pinctrl-single instances for each SoC it is
      a bit confusing to configure the padconf register offset from the
      base of the padconf register base.
      
      Let's add macros that allow using the physical address of the
      padconf register directly, or in most cases, just the last 16-bits
      of the address as they are shown in the documentation.
      
      Note that most documentation shows two padconf registers for each
      32-bit address, so adding 2 to the documentation address is needed for
      the second padconf register as we treat them as 16-bit registers
      for omap3+.
      
      For example, omap36xx documentation shows sdmmc2_clk at 0x48002158,
      so we can just use the last 16-bits of that value:
      
      	pinctrl-single,pins = <
      		OMAP3_CORE1_IOPAD(0x2158, PIN_INPUT_PULLUP | MUX_MODE0)
      		...
      	>;
      
      And we don't need to separately calculate the offset from the 0x2030
      base:
      
      	pinctrl-single,pins = <
      		0x128 (PIN_INPUT_PULLUP | MUX_MODE0)
      		...
      	>;
      
      Naturally both ways of defining the registers can be used, and I'm
      not saying we should replace all the existing defines. But it may
      be handy to use these macros for new entries and when doing other
      related .dts file clean-up.
      Signed-off-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      [tony@atomide.com: updated for 3430 vs 3630 core2 range]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      43a348ea
  15. 17 12月, 2013 1 次提交
  16. 21 10月, 2013 1 次提交
  17. 09 10月, 2013 1 次提交
    • T
      ARM: dts: Fix pinctrl mask for omap3 · d623a0e1
      Tony Lindgren 提交于
      The wake-up interrupt bit is available on omap3/4/5 processors
      unlike what we claim. Without fixing it we cannot use it on
      omap3 and the system configured for wake-up events will just
      hang on wake-up.
      
      Cc: Grygorii Strashko <grygorii.strashko@ti.com>
      Cc: Benoît Cousson <bcousson@baylibre.com>
      Cc: devicetree@vger.kernel.org
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      d623a0e1
  18. 08 10月, 2013 1 次提交
  19. 27 9月, 2013 1 次提交
  20. 07 8月, 2013 1 次提交
  21. 22 7月, 2013 1 次提交
  22. 19 6月, 2013 3 次提交
  23. 16 6月, 2013 1 次提交
    • H
      pinctrl: add pinctrl driver for Rockchip SoCs · d3e51161
      Heiko Stübner 提交于
      This driver adds support the Cortex-A9 based SoCs from Rockchip,
      so at least the RK2928, RK3066 (a and b) and RK3188.
      Earlier Rockchip SoCs seem to use similar mechanics for gpio
      handling so should be supportable with relative small changes.
      Pull handling on the rk3188 is currently a stub, due to it being
      a bit different to the earlier SoCs.
      
      Pinmuxing as well as gpio (and interrupt-) handling tested on
      a rk3066a based machine.
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      d3e51161
  24. 17 5月, 2013 1 次提交