14 Aug, 2017
1 commit
-
A few years ago STM32F1 SoCs support has been added :
0144caf22ce6acd5c gpio: stm32: add stm32f1 support
2d18ef2364fd3561a ARMv7M: add STM32F1 supportBut neither STM32F1 dedicated defconfig nor board was
associated to these commits.Got confirmation from Tom Rini and Matt Porter to remove
all this code [1][1] http://u-boot.10912.n7.nabble.com/Remove-STM32F1-support-td301603.html
Signed-off-by: Patrice Chotard
Reviewed-by: Tom Rini
12 Aug, 2017
4 commits
-
This converts the following to Kconfig:
CONFIG_CMD_TCA642XSigned-off-by: Simon Glass
Reviewed-by: Bin Meng
Reviewed-by: Philipp Tomsich -
This driver is not used in U-Boot. Drop it and its associated CONFIG
options.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
Reviewed-by: Philipp Tomsich -
It does not seem worth having an option to enable another sub-command in
this legacy driver. Drop this option so that the sub-command is always
available.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
Reviewed-by: Philipp Tomsich -
This converts the following to Kconfig:
CONFIG_CMD_PCA953XSigned-off-by: Simon Glass
Reviewed-by: Bin Meng
Reviewed-by: Philipp Tomsich
01 Aug, 2017
1 commit
-
This converts Intel ICH6 GPIO driver to Kconfig, and add it to the
imply list of platform drivers.Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
29 Jul, 2017
1 commit
-
Update the GPIO driver to support a live device tree.
Signed-off-by: Simon Glass
Tested-by: Marcel Ziswiler
Tested-on: Beaver, Jetson-TK1
Tested-by: Stephen Warren
12 Jul, 2017
1 commit
-
Change is consistent with other SOCs and it is in preparation
for adding SOMs. SOC's related files are moved from cpu/ to
mach-imx/.This change is also coherent with the structure in kernel.
Signed-off-by: Stefano Babic
CC: Fabio Estevam
CC: Akshay Bhat
CC: Ken Lin
CC: Marek Vasut
CC: Heiko Schocher
CC: "Sébastien Szymanski"
CC: Christian Gmeiner
CC: Stefan Roese
CC: Patrick Bruenn
CC: Troy Kisky
CC: Nikita Kiryanov
CC: Otavio Salvador
CC: "Eric Bénard"
CC: Jagan Teki
CC: Ye Li
CC: Peng Fan
CC: Adrian Alonso
CC: Alison Wang
CC: Tim Harvey
CC: Martin Donnelly
CC: Marcin Niestroj
CC: Lukasz Majewski
CC: Adam Ford
CC: "Albert ARIBAUD (3ADEV)"
CC: Boris Brezillon
CC: Soeren Moch
CC: Richard Hu
CC: Wig Cheng
CC: Vanessa Maegima
CC: Max Krummenacher
CC: Stefan Agner
CC: Markus Niebel
CC: Breno Lima
CC: Francesco Montefoschi
CC: Jaehoon Chung
CC: Scott Wood
CC: Joe Hershberger
CC: Anatolij Gustschin
CC: Simon Glass
CC: "Andrew F. Davis"
CC: "Łukasz Majewski"
CC: Patrice Chotard
CC: Nobuhiro Iwamatsu
CC: Hans de Goede
CC: Masahiro Yamada
CC: Stephen Warren
CC: Andre Przywara
CC: "Álvaro Fernández Rojas"
CC: York Sun
CC: Xiaoliang Yang
CC: Chen-Yu Tsai
CC: George McCollister
CC: Sven Ebenfeld
CC: Filip Brozovic
CC: Petr Kulhavy
CC: Eric Nelson
CC: Bai Ping
CC: Anson Huang
CC: Sanchayan Maity
CC: Lokesh Vutla
CC: Patrick Delaunay
CC: Gary Bisson
CC: Alexander Graf
CC: u-boot@lists.denx.de
Reviewed-by: Fabio Estevam
Reviewed-by: Christian Gmeiner
07 Jul, 2017
1 commit
-
Signed-off-by: Masahiro Yamada
Reviewed-by: Bin Meng
Reviewed-by: Simon Glass
12 Jun, 2017
1 commit
-
Current code does not set output level in bcm6345_gpio_direction_output,
fix it.Signed-off-by: Axel Lin
05 Jun, 2017
1 commit
-
This is no longer used in U-Boot. Drop it.
Signed-off-by: Simon Glass
01 Jun, 2017
9 commits
-
This PMIC driver (power and GPIO) is used by the sandbox SPMI tests.
Update the drivers to support a live device tree so that the tests pass.Signed-off-by: Simon Glass
-
Add support for requesting GPIOs with a live device tree.
This involves adjusting the function signature for the legacy function
gpio_request_by_name_nodev(), so fix up all callers.Signed-off-by: Simon Glass
Fixes to stm32f746-disco.c:
Signed-off-by: Tom Rini -
Use the new dev_read...() functions to access the device tree, so that a
live tree can be used.Signed-off-by: Simon Glass
-
Move the main part of the GPIO request function into a separate function
so that it can be used by the live tree function when added. Update the
xlate method to use a node reference.Update all GPIO drivers to handle the modified xlate() method.
Signed-off-by: Simon Glass
-
At present devices use a simple integer offset to record the device tree
node associated with the device. In preparation for supporting a live
device tree, which uses a node pointer instead, refactor existing code to
access this field through an inline function.Signed-off-by: Simon Glass
-
It is good practice to include common.h as the first header. This ensures
that required features like the DECLARE_GLOBAL_DATA_PTR macro,
configuration options and common types are available.Fix up some files which currently don't do this. This is necessary because
driver model will soon start using global data and configuration in the
dm/read.h header file, included via dm.h. The gd->fdt_blob value will be
used to access the device tree and CONFIG options will be used to
determine whether to support inline functions in the header file.Signed-off-by: Simon Glass
-
This function should not be used outside the core driver-model code.
Update it to use dm_scan_fdt_dev() instead.Signed-off-by: Simon Glass
-
These support the flat device tree. We want to use the dev_read_..()
prefix for functions that support both flat tree and live tree. So rename
the existing functions to avoid confusion.In the end we will have:
1. dev_read_addr...() - works on devices, supports flat/live tree
2. devfdt_get_addr...() - current functions, flat tree only
3. of_get_address() etc. - new functions, live tree onlyAll drivers will be written to use 1. That function will in turn call
either 2 or 3 depending on whether the flat or live tree is in use.Note this involves changing some dead code - the imx_lpi2c.c file.
Signed-off-by: Simon Glass
-
This header includes things that are needed to make driver build. Adjust
existing users to include that always, even if other dm/ includes are
presentSigned-off-by: Simon Glass
22 May, 2017
1 commit
-
This patch fixes to read the GPIO status after confirming the
INOUT setting.Signed-off-by: Kouei Abe
Signed-off-by: Hiroyuki Yokoyama
Cc: Hiroyuki Yokoyama
Cc: Nobuhiro Iwamatsu
Cc: Tom Rini
18 May, 2017
1 commit
-
Make oe-pins optional because some boards have fixed it to enable.
Signed-off-by: Peng Fan
Cc: Simon Glass
Cc: Stefano Babic
Reviewed-by: Simon Glass
17 May, 2017
1 commit
-
Add a device-tree property use-lvl-write-cache that will cause
writes to lvl to be cached instead of read from lvl before each
write. This is required on some platforms that have the register
implemented as dual read/write (such as Baytrail).Prior to this fix the blue USB port on the Minnowboard Max was
unusable since USB_HOST_EN0 was set high then immediately set
low when USB_HOST_EN1 was written.This also resolves the 'gpio clear | set' command warning like:
"Warning: value of pin is still 0"Signed-off-by: George McCollister
Signed-off-by: Bin Meng
Reviewed-by: Stefan Roese
Reviewed-by: Simon Glass
15 May, 2017
1 commit
-
This driver is used often enough such that we want to have this enabled
by default on any ARCH_OMAP2PLUS board, and this only compiles on
ARCH_OMAP2PLUS due to required defines, so mark that as the depends.Signed-off-by: Tom Rini
12 May, 2017
1 commit
-
We declare that gpio_base (which is the base for counting gpios, not an
address) is unsigned. Therefore the comparison with >= 0 is always
true. As the desire is to allow for this base number to be 0, we can
just drop this check. Reported by clang-3.8.Cc: Simon Glass
Signed-off-by: Tom Rini
Reviewed-by: Simon Glass
10 May, 2017
1 commit
-
This driver is based on linux/arch/mips/bcm63xx/gpio.c, simplified to allow
defining one or two independent banks for each Broadcom SoC.Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Simon Glass
08 May, 2017
1 commit
-
This patch adds gpio driver supporting driver model for stm32f7 gpio.
Signed-off-by: Vikas Manocha
Reviewed-by: Simon Glass
Cc: Christophe KERELLO
[trini: Add depends on STM32]
Signed-off-by: Tom Rini
20 Apr, 2017
1 commit
-
The PIO on the R40 SoC is mostly compatible with the A20.
Only a few pin functions for mmc2 were added to the PC
pingroup, to support 8 bit eMMCs.Signed-off-by: Chen-Yu Tsai
Acked-by: Maxime Ripard
14 Apr, 2017
4 commits
-
Add the clock support.
Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass
Reviewed-by: Andreas Bießmann -
Add the device tree support.
Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass
Reviewed-by: Andreas Bießmann -
The CONFIG_AT91_GPIO option is used to select AT91 PIO GPIO driver.
Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass
Reviewed-by: Andreas Bießmann -
The intention of the removal is the preparation to introduce the
new AT91 PIO pinctrl driver.Use the union to make the PIO3 and PIO2's registers be together
and make their offset aligned.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass
17 Mar, 2017
1 commit
-
Add the imx_rgpio2p driver for Rapid GPIO2P controllers on i.MX7ULP.
Have added all ports on RGPIO2P_0 and RGPIO2P_1.The configurations CONFIG_IMX_RGPIO2P and CONFIG_DM_GPIO must be set
to y to enable the drivers.To use the GPIO function, the IBE and OBE needs to set in IOMUXC.
We did not set the bits in driver, but leave them to IOMUXC settings
of the GPIO pins. User should use IMX_GPIO_NR to generate the GPIO number
for gpio APIs access.Signed-off-by: Peng Fan
Signed-off-by: Ye Li
Reviewed-by : Stefano Babic
09 Feb, 2017
2 commits
-
Signed-off-by: Robert P. J. Day
08 Feb, 2017
1 commit
-
At present devices use a simple integer offset to record the device tree
node associated with the device. In preparation for supporting a live
device tree, which uses a node pointer instead, refactor existing code to
access this field through an inline function.Signed-off-by: Simon Glass
28 Dec, 2016
1 commit
-
I am not longer using my old email address
"ajay.bhargav@einfochips.com". For U-Boot development email address is
now updated to contact@8051projects.netSigned-off-by: Ajay Bhargav
20 Dec, 2016
1 commit
-
Trivial coding style fix.
Signed-off-by: Michal Simek
29 Nov, 2016
1 commit
-
This patch adds device tree support for the bcm2835 GPIO driver.
Signed-off-by: Fabian Vogt
Reviewed-by: Simon Glass
22 Nov, 2016
1 commit
-
The IP supports two ports, A and B, each providing up to 32 gpios.
The driver already creates a 2nd gpio bank by reading the 2nd node
from DT, so this is quite a simple change to support the 2nd bank.Signed-off-by: Phil Edworthy
Acked-by: Marek Vasut
Reviewed-by: Simon Glass