- 21 5月, 2012 2 次提交
-
-
由 John Crispin 提交于
Implements OF support and add code to load custom properties from the DT. The Serial To Parallel (STP) is found on MIPS based Lantiq socs. It is a peripheral controller used to drive external shift register cascades. At most 3 groups of 8 bits can be driven. The hardware is able to allow the DSL modem to drive the 2 LSBs of the cascade automatically. Newer socs are also able to automatically drive some pins via the internal PHYs. The driver currently only supports output functionality. Patches for the input feature found on newer generations of the soc will be provided in a later series. Signed-off-by: NJohn Crispin <blogic@openwrt.org> Cc: linux-kernel@vger.kernel.org Cc: linux-mips@linux-mips.org Acked-by: NGrant Likely <grant.likely@secretlab.ca> Patchwork: https://patchwork.linux-mips.org/patch/3839/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
-
由 John Crispin 提交于
Implements OF support and convert to of_mm_gpio. By attaching hardware latches to the External Bus Unit (EBU) on Lantiq SoC, it is possible to create output only gpios. This driver configures a special memory address, which when written to, outputs 16 bit to the latches. Signed-off-by: NJohn Crispin <blogic@openwrt.org> Cc: linux-kernel@vger.kernel.org Cc: linux-mips@linux-mips.org Acked-by: NGrant Likely <grant.likely@secretlab.ca> Patchwork: https://patchwork.linux-mips.org/patch/3840/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
-
- 19 5月, 2012 1 次提交
-
-
由 Roland Stigge 提交于
This patch adds device tree support for gpio-lpc32xx.c. To register the various GPIO banks as (struct) gpio_chips via the same DT gpio-controller, we utilize the adjusted of_xlate API to manipulate the actually used struct gpio_chip. Signed-off-by: NRoland Stigge <stigge@antcom.de> Reviewed-by: NArnd Bergmann <arnd@arndb.de> Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
-
- 12 5月, 2012 1 次提交
-
-
由 Shawn Guo 提交于
It adds device tree probe for gpio-mxs driver. Signed-off-by: NShawn Guo <shawn.guo@linaro.org> Acked-by: NLinus Walleij <linus.walleij@linaro.org>
-
- 05 5月, 2012 1 次提交
-
-
由 Haojian Zhuang 提交于
Append interrupt controller and timer document for mmp. Updates documents for gpio and i2c. Signed-off-by: NHaojian Zhuang <haojian.zhuang@gmail.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
- 24 4月, 2012 1 次提交
-
-
由 Lee Jones 提交于
Now gpio-nomadik has proper bindings devices initialised by Device Tree entries are able to use the chained GPIO IRQ lines it provides. This patch aims to reflect that in the gpio-nmk documentation. Signed-off-by: NLee Jones <lee.jones@linaro.org> Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
-
- 23 4月, 2012 1 次提交
-
-
由 Lee Jones 提交于
Add required documentation for specific gpio-nomadik DT bindings. Acked-by: NArnd Bergmann <arnd@arndb.de> Signed-off-by: NLee Jones <lee.jones@linaro.org> Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
-
- 22 3月, 2012 1 次提交
-
-
由 Benoit Cousson 提交于
Add the DT support for the I2C GPIO expander inside the twl4030. Note: The pdata parameters still have to be properly adapted using dedicated bindings. Signed-off-by: NBenoit Cousson <b-cousson@ti.com> Acked-by: NFelipe Balbi <balbi@ti.com> Acked-by: NGrant Likely <grant.likely@secretlab.ca> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
- 15 3月, 2012 1 次提交
-
-
To achieve DT support, we need to populate a custom platform_data in a private struct from DT information. To simplify code, the adapter and algorithm are also put into the private struct. Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: NGrant Likely <grant.likely@secretlab.ca> Acked-by: NRob Herring <rob.herring@calxeda.com> Acked-by: NWolfram Sang <w.sang@pengutronix.de> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
-
- 07 3月, 2012 1 次提交
-
-
由 Haojian Zhuang 提交于
Add OF support in Document/devicetree directory. Signed-off-by: NHaojian Zhuang <haojian.zhuang@marvell.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
- 06 3月, 2012 1 次提交
-
-
由 Benoit Cousson 提交于
Adapt the GPIO driver to retrieve information from a DT file. Allocate the irq_base dynamically and rename bank->virtual_irq_start to bank->irq_base. Change irq_base type to int instead of u16 to match irq_alloc_descs output. Add documentation for GPIO properties specific to OMAP. Signed-off-by: NBenoit Cousson <b-cousson@ti.com> Cc: Tarun Kanti DebBarma <tarun.kanti@ti.com> Acked-by: NRob Herring <rob.herring@calxeda.com>
-
- 01 3月, 2012 2 次提交
-
-
由 Nicolas Ferre 提交于
This patch adds the support for new PIO controller found on some at91sam SOCs. - more peripheral multiplexing - more features to configure on a PIO (pull-down, Schmitt trigger, debouncer) - support for several IRQ triggering features (type and polarity) Support for those new features are retrieved from the device tree compatibility string. Debugfs at91_gpio file is updated to monitor configuration. Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
-
由 Nicolas Ferre 提交于
Add "legacy" type of irqdomain to preserve old-style numbering and allow smooth transition for both DT and non-DT cases. Original idea and code by Jean-Christophe Plagniol-Villard. Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com> Acked-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- 28 2月, 2012 1 次提交
-
-
由 Tobias Klauser 提交于
The gpios property is described in Documentation/devicetree/gpio.txt, so reference this document. Signed-off-by: NTobias Klauser <tklauser@distanz.ch> Signed-off-by: NRob Herring <rob.herring@calxeda.com>
-
- 07 2月, 2012 3 次提交
-
-
由 Stephen Warren 提交于
Tegra20's GPIO controller has 7 banks, and Tegra30's controller has 8 banks. Allow the number of banks to be configured at run-time by the device tree. Signed-off-by: NStephen Warren <swarren@nvidia.com> Acked-by: NGrant Likely <grant.likely@secretlab.ca> Signed-off-by: NOlof Johansson <olof@lixom.net>
-
由 Stephen Warren 提交于
Enhance the driver to dynamically allocate the base IRQ number, and create an IRQ domain for itself. The use of an IRQ domain ensures that any device tree node interrupts properties are correctly parsed. Describe interrupt-related properties in the device tree binding docs, and the contents of "child" node interrupts property. Update tegra*.dtsi to specify the required interrupt-related properties. Finally, remove the definition of TEGRA_GPIO_TO_IRQ; this macro no longer gives correct results since the IRQ numbers for GPIOs are dynamically allocated. Signed-off-by: NStephen Warren <swarren@nvidia.com> Acked-by: NGrant Likely <grant.likely@secretlab.ca> Signed-off-by: NOlof Johansson <olof@lixom.net>
-
由 Stephen Warren 提交于
Document the required reg and interrupts properties. Add a complete example. Signed-off-by: NStephen Warren <swarren@nvidia.com> Acked-by: NGrant Likely <grant.likely@secretlab.ca> Signed-off-by: NOlof Johansson <olof@lixom.net>
-
- 04 2月, 2012 1 次提交
-
-
Sodaville has GPIO controller behind the PCI bus. To my suprissed it is not the same as on PXA. The interrupt & gpio chip can be referenced from the device tree like from any other driver. Unfortunately the driver which uses the gpio interrupt has to use irq_of_parse_and_map() instead of platform_get_irq(). The problem is that the platform device (which is created from the device tree) is most likely created before the interrupt chip is registered and therefore irq_of_parse_and_map() fails. In theory the driver works as module. In reality most of the irq functions are not exported to modules and it is possible that _this_ module is unloaded while the provided irqs are still in use. Signed-off-by: NHans J. Koch <hjk@linutronix.de> [torbenh@linutronix.de: make it work after the irq namespace cleanup, add some device tree entries.] Signed-off-by: NTorben Hohn <torbenh@linutronix.de> [bigeasy@linutronix.de: convert to generic irq & gpio chip] Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de> [grant.likely@secretlab.ca: depend on x86 to avoid irq_domain breakage] Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
-
- 23 12月, 2011 1 次提交
-
-
由 Thomas Abraham 提交于
As gpio chips get registered, a device tree node which represents the gpio chip is searched and attached to it. A translate function is also provided to convert the gpio specifier into actual platform settings for pin function selection, pull up/down and driver strength settings. Signed-off-by: NThomas Abraham <thomas.abraham@linaro.org> Acked-by: NGrant Likely <grant.likely@secretlab.ca> [kgene.kim@samsung.com: fixed build error] Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
-
- 05 10月, 2011 1 次提交
-
-
由 Rob Herring 提交于
Add binding documentation for ARM's Primecell PL061 GPIO controller. Signed-off-by: NRob Herring <rob.herring@calxeda.com>
-
- 28 9月, 2011 1 次提交
-
-
由 Paul Bolle 提交于
There are numerous broken references to Documentation files (in other Documentation files, in comments, etc.). These broken references are caused by typo's in the references, and by renames or removals of the Documentation files. Some broken references are simply odd. Fix these broken references, sometimes by dropping the irrelevant text they were part of. Signed-off-by: NPaul Bolle <pebolle@tiscali.nl> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 03 8月, 2011 1 次提交
-
-
由 Tobias Klauser 提交于
Signed-off-by: NTobias Klauser <tklauser@distanz.ch> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 16 7月, 2011 1 次提交
-
-
由 Olof Johansson 提交于
Allocate one bit in the available extra cell to indicate if the gpio should be considered logically inverted. Signed-off-by: NOlof Johansson <olof@lixom.net> Acked-by: NStephen Warren <swarren@nvidia.com> Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
-
- 11 7月, 2011 1 次提交
-
-
由 David Jander 提交于
This patch enables fetching configuration data, which is normally provided via platform_data, from the device-tree instead. If the device is configured from device-tree data, the platform_data struct is not used, and button data needs to be allocated dynamically. Big part of this patch deals with confining pdata usage to the probe function, to make this possible. Signed-off-by: NDavid Jander <david@protonic.nl> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 09 7月, 2011 1 次提交
-
-
由 Shawn Guo 提交于
The patch adds device tree probe support for gpio-mxc driver. Signed-off-by: NShawn Guo <shawn.guo@linaro.org> Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
-
- 06 7月, 2011 1 次提交
-
-
由 Stephen Warren 提交于
Engineering names are more stable than marketing names. Hence, use them for Device Tree compatible properties instead. Signed-off-by: NStephen Warren <swarren@nvidia.com> Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
-
- 29 6月, 2011 1 次提交
-
-
由 Grant Likely 提交于
Allow for multiple named gpio properties Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
-
- 16 6月, 2011 1 次提交
-
-
由 Grant Likely 提交于
Add support for decoding gpios from the device tree Signed-off-by: NGrant Likely <grant.likely@secretlab.ca> Acked-by: NOlof Johansson <olof@lixom.net>
-
- 31 1月, 2011 1 次提交
-
-
由 Grant Likely 提交于
The device tree is used by more than just PowerPC. Make the documentation directory available to all. v2: reorganized files while moving to create arch and driver specific directories. Signed-off-by: NGrant Likely <grant.likely@secretlab.ca> Acked-by: NJosh Boyer <jwboyer@linux.vnet.ibm.com>
-