12 Feb, 2019
1 commit
-
If a pad is not owned by current partition we should not set its
pinmux.Signed-off-by: Ye Li
(cherry picked from commit 547636514f8ae8b456f2351bc84cb7fb7b5fa3f3)
13 Aug, 2018
1 commit
-
The pinctrl supports to set any bit in input register on iMX6 if
the MSB of input value is 0xff. But the driver uses signed int for
input value, so when executing the codes below, it won't meet.
Because this is arithmetic right shift.if (input_val >> 24 == 0xff)
Fix the issue by changing the input_val, config_val and mux_mode to u32.
Signed-off-by: Ye Li
Acked-by: Fugang Duan
(cherry picked from commit e464bbcd13d472ddf2df5b62b0002a127147e17b)
23 May, 2018
1 commit
-
Add compatible entry in imx8m pinctrl driver for i.MX8MM
Signed-off-by: Peng Fan
(cherry picked from commit 34b5eaaafe81db4d0cbe07c39aad2ec4c8d2c9a2)
27 Apr, 2018
2 commits
-
Add pinctrl driver for i.MX8 platform (QM/QXP). The driver can
parse the iomuxc settings from DTB and set them through IPC to SCU.Enable CONFIG_PINCTRL_IMX8 to use this pinctrl driver.
Signed-off-by: Ye Li
(cherry picked from commit e881106f14f879a0861caa39ce0cdc278e0806a6) -
Add i.mx8m pinctrl driver.
Signed-off-by: Peng Fan
(cherry picked from commit 70e17c13b99ae41f416b5c72c364a0e4483188e8)
06 Mar, 2018
1 commit
05 Mar, 2018
3 commits
-
Thomas reported U-Boot failed to build host tools if libfdt-devel
package is installed because tools include libfdt headers from
/usr/include/ instead of using internal ones.This commit moves the header code:
include/libfdt.h -> include/linux/libfdt.h
include/libfdt_env.h -> include/linux/libfdt_env.hand replaces include directives:
#include -> #include
#include -> #includeReported-by: Thomas Petazzoni
Signed-off-by: Masahiro Yamada -
Signed-off-by: Marek Behun
-
Add entries for the R8A77965 M3N SoC.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
29 Jan, 2018
8 commits
-
The serial drivers now depend on the pinctrl driver to determine whether
they are enabled. That means if a serial device wants to be used pre-reloc,
we also need the pinctrl device pre-reloc.Adapt the pinctrl driver as well as dts overlay accordingly.
Signed-off-by: Alexander Graf
-
The bcm283x family of SoCs have a GPIO controller that also acts as
pinctrl controller.This patch introduces a new pinctrl driver that can actually properly mux
devices into their device tree defined pin states and is now the primary
owner of the gpio device. The previous GPIO driver gets moved into a
subdevice of the pinctrl driver, bound to the same OF node.That way whenever a device asks for pinctrl support, it gets it
automatically from the pinctrl driver and GPIO support is still available
in the normal command line phase.Signed-off-by: Alexander Graf
-
Set gmac pins iomux and rgmii tx pins to 12ma drive-strength,
clean others to 2ma.Signed-off-by: David Wu
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich -
Clean the iomux definitions at grf_rk322x.h, and move them into
pinctrl-driver for resolving the compiling error of redefinition.
After that, define the uart2 iomux at rk322x-board file.Signed-off-by: David Wu
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich -
Need to set gmac m1 pins iomux, gmac m0 tx pins, select bit2
and bit10 at com iomux register. After that, set rgmii m1 tx
pins to 12ma drive-strength, and clean others to 2ma.Signed-off-by: David Wu
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich -
Clean the iomux definitions at grf_rk3328.h, and move them into
pinctrl-driver for resolving the compiling error of redefinition.Signed-off-by: David Wu
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich -
If we include both the rk3288_grf.h and rv1108_grf.h, it will cause the
conflicts of redefinition. Clean the iomux definitions at grf_rv1108.h,
and move them into pinctrl-driver.Signed-off-by: David Wu
Reviewed-by: Philipp Tomsich
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich
25 Jan, 2018
4 commits
-
Import PFC tables for R8A7794 E2 SoC from upstream Linux kernel v4.15-rc8,
commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 .Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Import PFC tables for R8A7792 V2H SoC from upstream Linux kernel v4.15-rc8,
commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 .Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Import PFC tables for R8A7791 M2W and R8A7793 M2N SoC from upstream Linux
kernel v4.15-rc8, commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 .Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Import PFC tables for R8A7790 H2 SoC from upstream Linux kernel v4.15-rc8,
commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 .Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
10 Jan, 2018
2 commits
-
STM32F4 SoCs uses the same pinctrl block as found into
STM32F7 and H7 SoCs.
We can add "st,stm32f429-pinctrl" and "st,stm32f469-pinctrl"
compatible string into pinctrl_stm32.c.Signed-off-by: Patrice Chotard
09 Jan, 2018
1 commit
-
Armada pinctrl drivers shall not be compiled without the entire pinctrl
framework and thus lack a "depends on" condition, otherwise the driver
will simply not be probed.Signed-off-by: Miquel Raynal
Signed-off-by: Stefan Roese
09 Dec, 2017
2 commits
-
Add PFC tables for R8A77995 D3 SoC.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Add PFC tables for R8A77970 V3M SoC.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
01 Dec, 2017
1 commit
-
Add rk3128 pinctrl driver and grf/iomux structure definition.
Signed-off-by: Kever Yang
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich
30 Nov, 2017
2 commits
-
Add hook into the PFC driver to allow the GPIO driver to toggle
GPSR registers into GPIO mode when GPIO is requested.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Add code to handle single pins nodes from DT in addition to already
support groups handling.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
27 Nov, 2017
2 commits
-
Signed-off-by: Tom Rini
-
before relocation pinctrl data BSS is overlapping DT area,
when .data is using uninitialized global variable,
imx6_pinctrl_soc_info. So assign them flags ZERO_OFFSET_VALID
to prevent BSS overlapSuggested-by: Lokesh Vutla
Reported-by: Jagan Teki
Signed-off-by: Jagan Teki
26 Nov, 2017
1 commit
-
The RK3399 has a total of 9 I2C controllers. To support these, the
enum in periph.h is extended and the mapping from the IRQ numbers to
the peripheral-ids is extended to ensure that pinctrl requests are
passed through to the function configuring the I2C pins.For I2C8, the pinctrl is implemented and tested (on a RK3399-Q7) using
communication with the FAN53555 connected on I2C8.Signed-off-by: Philipp Tomsich
Tested-by: Klaus Goger
17 Nov, 2017
1 commit
-
Add the Amlogic Meson GXL pinctrl support based on the GXBB driver and
the synchronized DTS from Linux 4.13.5Signed-off-by: Neil Armstrong
Reviewed-by: Beniamino Galvani
06 Nov, 2017
1 commit
-
Uniformize all STMicroelectronics copyrights headers for STi
related code.Signed-off-by: Patrice Chotard
15 Oct, 2017
2 commits
-
The pin data are implemented for old SoCs to specify the bit shift of
the IECTRL register. They are not wortwhile given the required memory
footprint. Delete all the pin data and enable all bits of the IECTRL
register.Signed-off-by: Masahiro Yamada
-
Like other recenct UniPhier SoCs, the pupdctrl number of PXs3
matches to the pin number.Signed-off-by: Masahiro Yamada
11 Oct, 2017
1 commit
04 Oct, 2017
2 commits
-
U-Boot widely uses error() as a bit noisier variant of printf().
This macro causes name conflict with the following line in
include/linux/compiler-gcc.h:# define __compiletime_error(message) __attribute__((error(message)))
This prevents us from using __compiletime_error(), and makes it
difficult to fully sync BUILD_BUG macros with Linux. (Notice
Linux's BUILD_BUG_ON_MSG is implemented by using compiletime_assert().)Let's convert error() into now treewide-available pr_err().
Done with the help of Coccinelle, excluing tools/ directory.
The semantic patch I used is as follows:
//
@@@@
-error
+pr_err
(...)
//Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass
[trini: Re-run Coccinelle]
Signed-off-by: Tom Rini -
Add pinconf support to the PFC driver, so that it can handle DT
props bias-disable, bias-pull-up, bias-pull-down, drive-strength
and power-source.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu
01 Oct, 2017
1 commit
-
Apparently, our earlier assumption that the BROM will always set up
the iomux for SDcard communication does not always hold true: when
booting U-Boot from the on-module (on the RK3368-uQ7) eMMC, the SDcard
pins are not set up and need to be configured by the pinctrl driver to
allow SD card access.This change implements support for setting up the SDMMC pins in
pinctrl for the RK3368.Reported-by: Klaus Goger
Signed-off-by: Philipp Tomsich
Reviewed-by: Simon Glass