u-boot/drivers/pinctrl
Marek Behún 5534fb4f48 arm64: a37xx: pinctrl: Correct PWM pins definitions
The PWM pins on North Bridge on Armada 37xx can be configured into PWM
or GPIO functions. When in PWM function, each pin can also be configured
to drive low on 0 and tri-state on 1 (LED mode).

The current definitions handle this by declaring two pin groups for each
pin:
- group "pwmN" with functions "pwm" and "gpio"
- group "ledN_od" ("od" for open drain) with functions "led" and "gpio"

This is semantically incorrect. The correct definition for each pin
should be one group with three functions: "pwm", "led" and "gpio".

Change the "pwmN" groups to support "led" function.

Remove "ledN_od" groups. This cannot break backwards compatibility with
older device trees: no device tree uses it since there is no PWM driver
for this SOC yet. Also "ledN_od" groups are not even documented.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
2021-07-31 09:59:58 +02:00
..
aspeed dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
ath79 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
broadcom dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
exynos common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
intel x86: apl: Move priv/plat structs to headers 2021-01-05 12:24:41 -07:00
mediatek Rename GPIO_SUPPORT to GPIO 2021-07-28 14:29:36 -04:00
meson common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mscc pinctrl: mscc: Fix multiple definition error 2021-07-07 10:17:54 -04:00
mtmips common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mvebu arm64: a37xx: pinctrl: Correct PWM pins definitions 2021-07-31 09:59:58 +02:00
nexell common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
nxp treewide: Convert macro and uses of __section(foo) to __section("foo") 2021-05-24 14:21:30 -04:00
renesas pinctrl: renesas: Import R8A779A0 V3U PFC tables 2021-06-24 20:22:17 +02:00
rockchip common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
uniphier dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
Kconfig pinctrl: Add support for Kendryte K210 FPIOA 2020-10-08 11:42:36 -04:00
Makefile pinctrl: Add support for Kendryte K210 FPIOA 2020-10-08 11:42:36 -04:00
pinctrl-at91-pio4.c pinctrl: at91-pio4: add support for slew-rate 2021-03-02 09:28:33 +02:00
pinctrl-at91.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
pinctrl-generic.c pinctrl: Add pinmux property support to pinctrl-generic 2020-10-08 11:42:36 -04:00
pinctrl-kendryte.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
pinctrl-qe-io.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
pinctrl-sandbox.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
pinctrl-single.c pinctrl: Avoid coverity warning when checking width 2021-07-15 18:42:05 -04:00
pinctrl-sti.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
pinctrl-stmfx.c dm: gpio: Add a way to update flags 2021-03-03 15:40:10 -05:00
pinctrl-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
pinctrl_pic32.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
pinctrl_stm32.c pinctrl: stm32: bind only the enabled GPIO subnode 2021-02-09 10:31:04 +01:00