An error occurred fetching the project authors.
- 29 Apr, 2016 1 commit
-
-
Christian Lamparter authored
This patch renames the gpio-generic.c into gpio-mmio.c. This is because currently the file only contains code for a memory-mapped GPIO driver. There isn't any support for ioports or other resource type. Signed-off-by:
Christian Lamparter <chunkeey@googlemail.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 14 Apr, 2016 1 commit
-
-
Alexander Stein authored
Allow compile testing this driver by adding a new config option which is enabled by default and depends on the old symbol or COMPILE_TEST. Signed-off-by:
Alexander Stein <alexanders83@web.de>
-
- 09 Apr, 2016 1 commit
-
-
Kelvin Cheung authored
This patch adds GPIO driver for Loongson1B. Signed-off-by:
Kelvin Cheung <keguang.zhang@gmail.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 16 Mar, 2016 1 commit
-
-
Andrew F. Davis authored
Add support for the TPS65086 PMIC GPOs. TPS65086 has four configurable GPOs that can be used for several purposes. These are output only. Signed-off-by:
Andrew F. Davis <afd@ti.com> Reviewed-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
-
- 09 Mar, 2016 1 commit
-
-
Andreas Werner authored
The 16Z127 is a 32bit GPIO controller on a MCB FPGA. Every single line can be configured as input and output. Push pull and open drain are supported as well as setting a debounce value for the input lines. Signed-off-by:
Andreas Werner <andy@wernerandy.de> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 11 Feb, 2016 3 commits
-
-
Andrew F. Davis authored
This patch adds support for the TPS65912 PMIC GPIOs. TPS65912 has five configurable GPIOs that can be used for several purposes. Signed-off-by:
Andrew F. Davis <afd@ti.com> Reviewed-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
-
Andrew F. Davis authored
The old tps65912 driver is being replaced, delete old driver. Signed-off-by:
Andrew F. Davis <afd@ti.com> Acked-by:
Mark Brown <broonie@kernel.org> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
-
Nicolas Saenz Julienne authored
Driver for the GPIO block found in ti's tps65218 pmics. The device has two GPIOs and one GPO pin which can be configured as follows: GPIO1: -general-purpose, open-drain output controlled by GPO1 user bit and/or sequencer -DDR3 reset input signal from SOC. Signal is either latched or passed-trough to GPO2 pin. See below for details. GPO2: -general-purpose output controlled by GPO2 user bit -DDR3 reset output signal. Signal is controlled by GPIO1 and PGOOD. See below for details. -Output buffer can be configured as open-drain or push-pull. GPIO3: -general-purpose, open-drain output controlled by GPO3 user bit and/or sequencer -reset input-signal for DCDC1 and DCDC2. The input configurations are not meant to be used by the user so the driver only offers GPOs. v2: Added request routine that evaluates the fw config flags and removed module owner v3: Added .direction_input() routine, and took care of all Linus Walleij suggestions (clamp to bool, use proper include) Signed-off-by:
Nicolas Saenz Julienne <nicolassaenzj@gmail.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 10 Feb, 2016 3 commits
-
-
Andrew F. Davis authored
Add driver for TI TPIC2810 8-Bit LED Driver with I2C Interface. The TPIC2810 has 8 open-drain outputs that can but used to drive LEDs and other low-side switched resistive loads. Signed-off-by:
Andrew F. Davis <afd@ti.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
Andrew F. Davis authored
Add generic parallel-in/serial-out shift register GPIO driver. This includes SPI compatible devices like SN74165 serial-out shift registers and the SN65HVS88x series of industrial serializers that can be read over the SPI bus and used for GPI (General Purpose Input). Signed-off-by:
Andrew F. Davis <afd@ti.com> Tested-by:
Sean Nyekjaer <sean.nyekjaer@prevas.dk> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
Alban Bedel authored
Drop most of the code in favor of the generic MMIO GPIO driver. As the driver now depend on CONFIG_GPIO_GENERIC also add a Kconfig entry to make the driver optional. We leave the base pointer and lock in the data struct because they are needed for the IRQ support. Signed-off-by:
Alban Bedel <albeu@free.fr> Acked-by:
Alexandre Courbot <acourbot@nvidia.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 05 Feb, 2016 1 commit
-
-
Julien Grossholtz authored
The TS-4800 GPIO driver provide support for the GPIOs available on the Technologic Sytems board FPGA. It allows to set direction and read/write states. It uses the generic gpio driver. Signed-off-by:
Julien Grossholtz <julien.grossholtz@savoirfairelinux.com> Reviewed-by:
Alexandre Courbot <acourbot@nvidia.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 28 Jan, 2016 2 commits
-
-
William Breathitt Gray authored
The ACCES 104-DIO-48E device provides 48 lines digital I/O via two Programmable Peripheral Interface (PPI) chips of type 82C55. Bit C3 at each 24-bit Group can be used as an external interrupt, triggered by a rising edge. This driver provides GPIO and IRQ support for these 48 channels of digital I/O. The base port address for the device may be configured via the dio_48e_base module parameter. The interrupt line number for the device may be configured via the dio_48e_irq module parameter. Signed-off-by:
William Breathitt Gray <vilhelm.gray@gmail.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
William Breathitt Gray authored
The WinSystems WS16C48 device provides 48 lines of digital I/O. In addition, the first 24 lines may be used for interrupt-handled edge detection; rising edge detection and falling edge detection are supported. This driver provides GPIO and IRQ support for these 48 channels of digital I/O. The base port address for the device may be configured via the ws16c48_base module parameter. The interrupt line number for the device may be configured via the ws16c48_irq module parameter. Signed-off-by:
William Breathitt Gray <vilhelm.gray@gmail.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 01 Dec, 2015 2 commits
-
-
Arnd Bergmann authored
The gpio-samsung driver is special in the sense that it interacts directly in multiple ways with the legacy platform code for the s3c24xx and s3c64xx platforms. In contrast, all devicetree based machines for Samsung, including the ones on those two SoC families use a different driver. The header files that define the interface between the platform code and the gpio driver are not visible when building a kernel for ARCH_MULTIPLATFORM, which prevents us from turning on this option for s3c64xx. To work around this, we now move the driver back into platform code, from where it was originally moved to as part of commit 1b39d5f2 ("gpio/samsung: gpio-samsung.c to support Samsung GPIOs"). The long-term plan for this driver would be to remove it entirely, after all Samsung machines have been converted over to boot from DT, but there is currently no timeline for when that might happen. Signed-off-by:
Arnd Bergmann <arnd@arndb.de> Reviewed-by:
Krzysztof Kozlowski <k.kozlowski@samsung.com>
-
William Breathitt Gray authored
The ACCES 104-IDI-48 family of PC/104 utility boards feature 48 individually optically isolated digital inputs. Enabled inputs feature change-of-state detection capability; if change-of-state detection is enabled, an interrupt is fired off if a change of input level (low-to-high or high-to-low) is detected. Change-of-state IRQs are enabled/disabled on 8-bit boundaries, for a total of six boundaries. This driver provides GPIO and IRQ support for these 48 channels of digital input. The base port address for the device may be configured via the idi_48_base module parameter. The interrupt line number for the device may be configured via the idi_48_irq module parameter. Signed-off-by:
William Breathitt Gray <vilhelm.gray@gmail.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 27 Oct, 2015 1 commit
-
-
William Breathitt Gray authored
The ACCES 104-IDIO-16 family of PC/104 utility boards feature 16 optically isolated inputs and 16 optically isolated FET solid state outputs. This driver provides GPIO support for these 32 channels of digital I/O. Change-of-State detection interrupts are not supported. GPIO 0-15 correspond to digital outputs 0-15, while GPIO 16-31 correspond to digital inputs 0-15. The base port address for the device may be set via the idio_16_base module parameter. Signed-off-by:
William Breathitt Gray <vilhelm.gray@gmail.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 26 Oct, 2015 1 commit
-
-
YD Tseng authored
This patch adds a new GPIO driver for AMD Promontory chip. This GPIO controller is enumerated by ACPI and the ACPI compliant hardware ID is AMDF030. Change history: v2: 1. fix coding style 2. registers renaming v3: 1. change include file 2. fix coding style 3. remove module_init/exit, add module_platform_driver 4. remove MODULE_ALIAS v4: 1. change TOTAL_GPIO_PINS to PT_TOTAL_GPIO 2. remove PCI dependency in Kconfig 3. fix subject line Signed-off-by:
YD Tseng <Yd_Tseng@asmedia.com.tw> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 02 Oct, 2015 2 commits
-
-
Diego Elio Pettenò authored
This patch adds support for the GPIOs found on the ITE super-I/O chips IT87xx. Signed-off-by:
Diego Elio Pettenò <flameeyes@flameeyes.eu> Signed-off-by:
Christophe Vu-Brugier <cvubrugier@fastmail.fm> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
Stephen Boyd authored
Remove this driver now that Bjorn has introduced a pinctrl driver for msm8660 and the dts files have been updated with the pinctrl compatibles. Cc: Andy Gross <agross@codeaurora.org> Reviewed-by:
Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by:
Stephen Boyd <sboyd@codeaurora.org> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 03 Sep, 2015 1 commit
-
-
Alban Bedel authored
GPIO drivers should be in drivers/gpio Signed-off-by:
Alban Bedel <albeu@free.fr> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Cc: linux-gpio@vger.kernel.org Cc: Alexandre Courbot <gnurou@gmail.com> Cc: Gabor Juhos <juhosg@openwrt.org> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/10597/Signed-off-by:
Ralf Baechle <ralf@linux-mips.org>
-
- 16 Jul, 2015 1 commit
-
-
Jun Nie authored
Add ZTE zx296702 GPIO controller support Signed-off-by:
Jun Nie <jun.nie@linaro.org> Acked-by:
Shawn Guo <shawn.guo@linaro.org> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 10 Jun, 2015 1 commit
-
-
Rabin Vincent authored
Add a GPIO driver for the General I/O block on Axis ETRAX FS SoCs. Signed-off-by:
Rabin Vincent <rabin@rab.in> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 02 Jun, 2015 1 commit
-
-
Gregory Fong authored
This adds support for the GPIO IP "UPG GIO" used on Broadcom STB SoCs (BCM7XXX and some others). Uses basic_mmio_gpio to instantiate a gpio_chip for each bank. The driver assumes that it handles the base set of GPIOs on the system and that it can start its numbering sequence from 0, so any GPIO expanders used with it must dynamically assign GPIO numbers after this driver has finished registering its GPIOs. Does not implement the interrupt-controller portion yet, will be done in a future commit. v2: - change include to use <linux/gpio/driver.h> instead of <linux/gpio.h> - get rid of unnecessary imask member in struct bank - rename GPIO_PER_BANK -> MAX_GPIO_PER_BANK - always have 32 GPIOs per bank and add 'width' member in struct bank to hold actual number of GPIOs in use - mark of_match table as const List-usage-fixed-by:
Brian Norris <computersforpeace@gmail.com> Signed-off-by:
Gregory Fong <gregory.0xf0@gmail.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 06 May, 2015 1 commit
-
-
Kamlakant Patel authored
Add GPIO controller driver for Netlogic XLP MIPS64 SOCs. This driver is instantiated by device tree and supports interrupts for GPIOs. Signed-off-by:
Kamlakant Patel <kamlakant.patel@broadcom.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 05 May, 2015 1 commit
-
-
Joachim Eastwood authored
Driver for the GPIO block found on NXP LPC18xx/43xx devices. Signed-off-by:
Joachim Eastwood <manabian@gmail.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 07 Apr, 2015 1 commit
-
-
Huacai Chen authored
Move Loongson-2's GPIO driver to drivers/gpio and add Kconfig options. Acked-by:
Ralf Baechle <ralf@linux-mips.org> Signed-off-by:
Huacai Chen <chenhc@lemote.com> Reviewed-by:
Alexandre Courbot <acourbot@nvidia.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 27 Mar, 2015 1 commit
-
-
Stephen Boyd authored
This driver is orphaned now that mach-msm has been removed. Delete it. Cc: David Brown <davidb@codeaurora.org> Cc: Bryan Huntsman <bryanh@codeaurora.org> Cc: Daniel Walker <dwalker@fifo99.com> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Alexandre Courbot <gnurou@gmail.com> Signed-off-by:
Stephen Boyd <sboyd@codeaurora.org> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Kumar Gala <galak@codeaurora.org>
-
- 07 Mar, 2015 1 commit
-
-
Tien Hock Loh authored
Adds a new driver for Altera soft GPIO IP. The driver is able to do read/write and allows GPIO to be a interrupt controller. Tested on Altera GHRD on interrupt handling and IO. v10: - Updated conflicting device tree parameters - Removed unused headers - Used macro instead of magic numbers for ngpio - Code readability cleanup using ?: and temporal variables - Removed leftover garbage and unnecessary function calls - Checked bgpio_init but unusable because Altera GPIO may not be a multiple of 8 bits v9: - Removed duplicated initialization on set_type using temporals to improve code readability in calling generic_handle_irq - Using ?: ternary to reduce code size v8: - Using for_each_set_bit - Added const for struct definition - Removed naggy pr_err - Sort alpha header - Remove unused macros - Use fixed width data types instead of unsigned long - Whitespace issue fixes - Removed _relaxed function for better compatibility across different CPU - Changed irq_create_mapping to platform_get_irq updated implementation to use gpiochip_irqchip_add - Reserve interrupt-cells number 2 in device tree binding for future use - Remove confusing sections on devicetree bindings - Added tristate Kconfig help text v7: - Used dev_warn instead of pr_warn - Clean up unnecesarry if else indentation v6: - Added irq_startup and irq_shutdown - Changed bitwise clamping style - Cleanup bitwise operation to improve readability change naming of mapped irqs from virq to mapped_irq v5: - Dispose irq_domain mapping correctly - Update optional binding description in binding docs v4: - Added vendor prefix to devicetree binding for IP specific properties using MMIO GPIO helper library instead of manually map PIO to memory - altera_gpio_chip inline struct documentation to kerneldoc - Using dev_ print to print a better failure message v2, v3: - Do not reference NO_IRQ - Updated irq_set_type to only allow the hardware configured irq type Signed-off-by:
Tien Hock Loh <thloh@altera.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 20 Jan, 2015 2 commits
-
-
Jassi Brar authored
Driver for Fujitsu MB86S7x SoCs that have a memory mapped GPIO controller. Signed-off-by:
Jassi Brar <jaswinder.singh@linaro.org> Signed-off-by:
Andy Green <andy.green@linaro.org> Signed-off-by:
Vincent Yang <Vincent.Yang@tw.fujitsu.com> Signed-off-by:
Tetsuya Nuriya <nuriya.tetsuya@jp.fujitsu.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
Y Vo authored
Driver for standby GPIO controller of APM X-Gene SoCs on arm64. Signed-off-by:
Y Vo <yvo@apm.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 10 Nov, 2014 1 commit
-
-
Daniel Baluta authored
This patch adds GPIO and IRQ support for the Diolan DLN-2 GPIO module. Information about the USB protocol interface can be found in the Programmer's Reference Manual [1], see section 2.9 for the GPIO module commands and responses. [1] https://www.diolan.com/downloads/dln-api-manual.pdfSigned-off-by:
Daniel Baluta <daniel.baluta@intel.com> Signed-off-by:
Octavian Purdila <octavian.purdila@intel.com> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Reviewed-by:
Johan Hovold <johan@kernel.org> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
-
- 24 Oct, 2014 1 commit
-
-
Stefan Agner authored
Add a gpiolib and IRQ chip driver for Vybrid ARM SoC using the Vybrid's GPIO and PORT module. The driver is instanced once per each GPIO/PORT module pair and handles 32 GPIO's. Signed-off-by:
Stefan Agner <stefan@agner.ch> Acked-by:
Shawn Guo <shawn.guo@freescale.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 21 Oct, 2014 1 commit
-
-
Alexander Shiyan authored
This patch adds driver to support GPIO functionality for 74xx-compatible ICs with MMIO access. Compatible models include: 1 bit: 741G125 (Input), 741G74 (Output) 2 bits: 742G125 (Input), 7474 (Output) 4 bits: 74125 (Input), 74175 (Output) 6 bits: 74365 (Input), 74174 (Output) 8 bits: 74244 (Input), 74273 (Output) 16 bits: 741624 (Input), 7416374 (Output) Signed-off-by:
Alexander Shiyan <shc_work@mail.ru> Reviewed-by:
Alexandre Courbot <acourbot@nvidia.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 28 Aug, 2014 1 commit
-
-
Feng Kan authored
Add APM X-Gene SoC gpio controller driver. Signed-off-by:
Feng Kan <fkan@apm.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 10 Jul, 2014 1 commit
-
-
Harini Katakam authored
Add support for GPIO controller used by Xilinx Zynq. v3 changes: - Use linux/gpio/driver.h instead of linux/gpio.h - Make irq a local variable in probe v2 changes: - convert to pm_runtime_force_(suspend|resume) - add pm_runtime_set_active in probe() - also (un)prepare clocks when they are dis-/enabled - add some missing calls to pm_runtime_get() - use pm_runtime_put() instead of sync variant - remove gpio chip in driver remove() - remove redundant type casts - directly use IO helpers - use BIT macro to set/clear bits - migrate to GPIOLIB_IRQCHIP Signed-off-by:
Harini Katakam <harinik@xilinx.com> Signed-off-by:
Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 09 Jul, 2014 2 commits
-
-
Alexandre Courbot authored
The old integer GPIO interface is, in effect, a privileged user of the gpiod interface. Reflect this fact further by moving legacy GPIO support into its own source file. This makes the code clearer and will allow us to disable legacy GPIO support in the (far) future. Signed-off-by:
Alexandre Courbot <acourbot@nvidia.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
Alexandre Courbot authored
sysfs support is currently entangled within the core GPIO support, while it should relly just be a (privileged) user of the integer GPIO API. This patch is a first step towards making the gpiolib code more readable by splitting it into logical parts. Move all sysfs support to their own source file, and share static members of gpiolib that need to be in the private gpiolib.h file. In the future we will want to put some of them back into gpiolib.c, but this first patch let us at least identify them. Signed-off-by:
Alexandre Courbot <acourbot@nvidia.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 17 Jun, 2014 1 commit
-
-
Zhu, Lejun authored
Devices based on Intel SoC products such as Baytrail have a Power Management IC. In the PMIC there are subsystems for voltage regulation, A/D conversion, GPIO and PWMs. The PMIC in Baytrail-T platform is called Crystal Cove. This patch adds support for the GPIO function in Crystal Cove. Signed-off-by:
Yang, Bin <bin.yang@intel.com> Signed-off-by:
Zhu, Lejun <lejun.zhu@linux.intel.com> Reviewed-by:
Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by:
Alexandre Courbot <acourbot@nvidia.com> Reviewed-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
-
- 28 Apr, 2014 1 commit
-
-
Javier Martinez Canillas authored
The ARCH_OMAP config option was used to built the GPIO OMAP driver but this is not consistent with the rest of the GPIO drivers that have their own Kconfig option. Also, this make it harder to add dependencies or reverse dependencies (i.e: select) since that would mean touching the sub-arch config option. So is better to add a boolean Kconfig option for this driver that defaults to true if ARCH_OMAP is enabled. Signed-off-by:
Javier Martinez Canillas <javier.martinez@collabora.co.uk> Acked-by:
Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-