- Dec 09, 2013
-
-
Andreas Bießmann authored
This patch define new names for GPIO pins on at91 devices. Follow up patches will convert the whole infrastructure to use these new definitions. Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com> Tested-by:
Bo Shen <voice.shen@atmel.com>
-
- Nov 13, 2013
-
-
Michael Heimpold authored
Setting the direction and an output value should be done by 1) set the desired output value, 2) switch to output. If this is done in the inverse order, there can be a glitch on the GPIO line. This patch fixes this by using the order as described above. Signed-off-by:
Michael Heimpold <mhei@heimpold.de> Acked-by:
Stefano Babic <sbabic@denx.de>
-
- Nov 08, 2013
-
-
Viktar Palstsiuk authored
Signed-off-by:
Viktar Palstsiuk <viktar.palstsiuk@promwad.com>
-
- Nov 04, 2013
-
-
Steven Miao authored
The gpio register mappings are different among blackfin processors. Signed-off-by:
Steven Miao <realmz6@gmail.com> Signed-off-by:
Sonic Zhang <sonic.zhang@analog.com>
-
- Oct 31, 2013
-
-
Masahiro Yamada authored
Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
- Aug 22, 2013
-
-
Bo Shen authored
Signed-off-by:
Bo Shen <voice.shen@atmel.com> Acked-by:
Jens Scharsig <js_at_ng@scharsoft.de> Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
Bo Shen authored
add gpio common API support for gpio command Signed-off-by:
Bo Shen <voice.shen@atmel.com> [fix unnecessary cast] Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
Bo Shen authored
fix code to use pointer for pio port as the warning message suggested remove the warning message Signed-off-by:
Bo Shen <voice.shen@atmel.com> Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
- Aug 19, 2013
-
-
Wolfgang Denk authored
Unlike the other patches in this series so far, this commit fixes a ambiguity in the license terms for some OMAP files: the code was originally derived from the Linux kernel sources, where it was clearly marked as GPL-2.0 (i. e. without the "or later" part), but the U-Boot version had a GPL-2.0+ file header added, apparently without permission / relicensing from the original authors of the code. Insert a GPL-2.0 SPDX-License-Identifier to fix this. Signed-off-by:
Wolfgang Denk <wd@denx.de> cc: Tom Rix <Tom.Rix@windriver.com> Cc: Tom Rini <trini@ti.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Acked-by:
Tom Rini <trini@ti.com>
-
- Aug 16, 2013
-
-
Axel Lin authored
Signed-off-by:
Axel Lin <axel.lin@ingics.com> Reviewed-by:
Thierry Reding <thierry.reding@gmail.com> Acked-by:
Marek Vasut <marex@denx.de>
-
- Jul 31, 2013
-
-
Axel Lin authored
In special_gpio_free(), call unreserve() rather than reserve() to release gpio. Signed-off-by:
Axel Lin <axel.lin@ingics.com> Signed-off-by:
Sonic Zhang <sonic.zhang@analog.com>
-
- Jul 30, 2013
-
-
Dan Murphy authored
Add the tca642x gpio expander driver Datasheet: http://www.ti.com/product/tca6424a Signed-off-by:
Dan Murphy <dmurphy@ti.com>
-
- Jul 24, 2013
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by:
Tom Rini <trini@ti.com>
-
Dirk Behme authored
Setting the direction and an output value should be done by First, set the desired output value. Then, switch to output. If this is done in the inverse order, like at the moment, there can be a glitch on the GPIO line while switching first the old output value and aftwards the new one. Fix this by inverting the order of the direction/set_value calls. Signed-off-by:
Dirk Behme <dirk.behme@de.bosch.com> Acked-by:
Stefano Babic <sbabic@denx.de>
-
- Jul 02, 2013
-
-
Axel Lin authored
The omap_gpio driver is used by AM33XX, OMAP3/4, OMAP54XX and DRA7XX SoCs. These SoCs have different gpio count but currently omap_gpio driver uses hard coded 192 which is wrong. This patch fixes this issue by: 1. Move define of OMAP_MAX_GPIO to all arch/arm/include/asm/arch-omap*/gpio.h. 2. Update gpio bank settings and enable GPIO modules 7 & 8 clocks for OMAP5. Thanks for Lubomir Popov to provide valuable comments to fix this issue. Signed-off-by:
Axel Lin <axel.lin@ingics.com> Tested-by:
Lubomir Popov <lpopov@mm-sol.com> Acked-by:
Heiko Schocher <hs@denx.de>
-
- Jun 25, 2013
-
-
Axel Lin authored
Call s5p_gpio_set_value() to avoid code duplication. Signed-off-by:
Axel Lin <axel.lin@ingics.com> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Axel Lin authored
Current code had writel arguments the wrong way around, fix it. Signed-off-by:
Axel Lin <axel.lin@ingics.com> Reviewed-by:
Marek Vasut <marex@denx.de> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
- May 13, 2013
-
-
Sonic Zhang authored
The gpio spec for bf54x and bf60x differ a lot from the old gpio driver for bf5xx. A lot of machine macros are used to accomodate both code in one gpio driver. This patch split the old gpio driver and move new gpio2 support to the generic gpio driver folder. - To enable gpio2 driver, macro CONFIG_ADI_GPIO2 should be defined in the board's config header file. - The gpio2 driver supports bf54x, bf60x and future ADI processors, while the older gpio driver supports bf50x, bf51x, bf52x, bf53x and bf561. - All blackfin specific gpio function names are replaced by the generic gpio APIs. Signed-off-by:
Sonic Zhang <sonic.zhang@analog.com>
-
- May 09, 2013
-
-
Michal Simek authored
Microblaze uses gpio which is connected to the system reset. Currently gpio subsystem wasn't used for it. Add gpio driver and change Microblaze reset logic to be done via gpio subsystem. There are various configurations which Microblaze can have that's why gpio_alloc/gpio_alloc_dual(for dual channel) function has been introduced and gpio can be allocated dynamically. Adding several gpios IP is also possible and supported. For listing gpio configuration please use "gpio status" command This patch also remove one compilation warning: microblaze-generic.c: In function 'do_reset': microblaze-generic.c:38:47: warning: operation on '*1073741824u' may be undefined [-Wsequence-point] Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Feb 20, 2013
-
-
Holger Hans Peter Freyther authored
The differences include the number of GPIOs and that one is not required to set the pinmux on request. Signed-off-by:
Holger Hans Peter Freyther <holger@freyther.de>
-
- Feb 18, 2013
-
-
Tomas Novotny authored
The pinmux was generated from linux/arch/arm/mach-davinci/da830.c as of kernel version 3.7.5. If the driver is used for the da850, then SoC variant must be specified by CONFIG_SOC_DA850. Signed-off-by:
Tomas Novotny <tomas@novotny.cz> Cc: Tom Rini <trini@ti.com>
-
- Dec 10, 2012
-
-
Nikita Kiryanov authored
Add gpio_is_valid() to omap_gpio API Signed-off-by:
Nikita Kiryanov <nikita@compulab.co.il> Signed-off-by:
Igor Grinberg <grinberg@compulab.co.il>
-
- Dec 06, 2012
-
-
Bill Richardson authored
We can generally trust the ICH to have GPIO Bank 0 (the first 32 pins) in the same place across all versions. This change adds two more banks, for up to 96 GPIOS. BUT: - Not all chipsets have the same number of GPIOs - Not all chipsets have the same number of GPIO banks - Not all chipsets put the additional banks at the same offset from GPIOBASE - There so many chipset variants that it's pretty much impossible to support them all, or even keep track of the new ones. So, although this adds suppport for the additional banks that seem to work for the particular variants of CougarPoint Mobile chipsets that we've tried, there's no chance it will support everything Intel produces. Good luck. Signed-off-by:
Bill Richardson <wfrichar@chromium.org> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Bill Richardson authored
Implement <asm-generic/gpio.h> functions for Intel ICH6 and later. Only GPIOs 0-31 are handled by this code. Signed-off-by:
Bill Richardson <wfrichar@chromium.org> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Nov 15, 2012
-
-
Łukasz Majewski authored
Now proper GPIO parts numbering is handled at Samsung devices. This fix is necessary for code using GPIO located at other banks than first. Test HW: - Exynos4210 - Trats - S5PC110 - goni Signed-off-by:
Lukasz Majewski <l.majewski@samsung.com> Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
- Nov 10, 2012
-
-
Troy Kisky authored
Use CONFIG_MX6 when the particular processor variant isn't important. Reserve the use of CONFIG_MX6Q to specifically test for quad cores variant. Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com>
-
- Nov 04, 2012
-
-
Kim Phillips authored
mpc83xx_gpio.c:166:26: warning: non-ANSI function declaration of function 'mpc83xx_gpio_init_f' mpc83xx_gpio.c:190:26: warning: non-ANSI function declaration of function 'mpc83xx_gpio_init_r' Signed-off-by:
Kim Phillips <kim.phillips@freescale.com>
-
- Oct 15, 2012
-
-
Tom Warren authored
The move is pretty straight-forward. ap20.h and tegra20.h were renamed to ap.h and tegra.h. Some files remain in arch-tegra20 but 'include' a file in 'arch-tegra' with #defines & structs that will be common between T20 and T30 HW. HW-specific #defines, etc. stay in the 'arch-tegra20' 'root' file. All boards build OK w/MAKEALL -s tegra20. Checkpatch.pl runs clean. Seaboard works OK. Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
- Oct 08, 2012
-
-
Laurence Withers authored
Use the standard CMD_RET_* constants to clearly report errors from the pca953x command. In addition, print error messages when I2C communication fails. Signed-off-by:
Laurence Withers <lwithers@guralp.com>
-
Laurence Withers authored
Signed-off-by:
Laurence Withers <lwithers@guralp.com>
-
- Oct 03, 2012
-
-
Gabriel Huau authored
It's now possible to use the gpio driver interface for s3c2440. This patch add iomux definitions too. Signed-off-by:
Gabriel Huau <contact@huau-gabriel.fr>
-
- Sep 10, 2012
-
-
Tom Warren authored
Convert TEGRA20_ defines to either TEGRA_ or NV_PA_ where appropriate. Convert tegra20_ source file and function names to tegra_, also. Upcoming Tegra30 port will use common code/defines/names where possible. Signed-off-by:
Tom Warren <twarren@nvidia.com> Acked-by:
Stephen Warren <swarren@nvidia.com>
-
- Sep 01, 2012
-
-
trem authored
The gpio api has been tested on an armadeus apf27. Signed-off-by:
Philippe Reynes <tremyfr@yahoo.fr> Acked-by:
Stefano Babic <sbabic@denx.de>
-
Benoît Thébaudeau authored
gpio_get_value() should use PSR like Linux, not DR, because DR does not always reflect the pin state, while PSR does. This is especially useful to detect a short circuit on a GPIO pin configured as output, or to read the level of a pin controlled by a non-GPIO IOMUX function. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Stefano Babic <sbabic@denx.de> Acked-by:
Stefano Babic <sbabic@denx.de>
-
Allen Martin authored
This is make naming consistent with the kernel and devicetree and in preparation of pulling out the common tegra20 code. Signed-off-by:
Allen Martin <amartin@nvidia.com> Acked-by:
Stephen Warren <swarren@wwwdotorg.org> Tested-by:
Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Stephen Warren authored
This SoC is used in the Raspberry Pi, for example. For more details, see: http://www.broadcom.com/products/BCM2835 http://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf . Initial support is enough to boot to a serial console, execute a minimal set of U-Boot commands, download data over a serial port, and boot a Linux kernel. No storage or network drivers are implemented. GPIO driver originally by Vikram Narayanan <vikram186@gmail.com> with many fixes from myself. Signed-off-by:
Stephen Warren <swarren@wwwdotorg.org>
-
Mathieu J. Poirier authored
Signed-off-by:
Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by:
John Rigby <john.rigby@linaro.org> Acked-by:
Tom Rini <trini@ti.com> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Conflicts: drivers/gpio/Makefile
-
Otavio Salvador authored
As the register accessing mode is the same for all i.MXS SoCs we ought to use 'mxs' prefix intead of 'mx28'. Signed-off-by:
Otavio Salvador <otavio@ossystems.com.br>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: U-Boot DM <u-boot-dm@lists.denx.de> Cc: Tom Rini <trini@ti.com> Acked-by:
Tom Rini <trini@ti.com> Signed-off-by:
Tom Rini <trini@ti.com>
-
- Aug 08, 2012
-
-
Nobuhiro Iwamatsu authored
Renesas SH and R-Mobile set up device using PFC. This provide the framework. Most codes were brought from linux kernel. Signed-off-by:
Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by:
Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-