linux-stable/Documentation/devicetree/bindings
Marek Behún f84aa271ae pinctrl: armada-37xx: Correct PWM pins definitions
commit baf8d6899b upstream.

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.

Fixes: b835d69530 ("pinctrl: armada-37xx: swap polarity on LED group")
Signed-off-by: Marek Behún <kabel@kernel.org>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210719112938.27594-1-kabel@kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-12-08 08:46:51 +01:00
..
arc ARC: [plat-hsdk] initial port for HSDK board 2017-09-01 11:26:28 -07:00
arm ARM: arm64: Devicetree updates for v4.14 2017-09-10 20:54:48 -07:00
ata DeviceTree updates for 4.14: 2017-09-07 14:43:33 -07:00
auxdisplay
board
bus dt-bindings: Remove "status" from examples 2017-09-05 10:03:06 -05:00
c6x
clock dt-bindings: clock: renesas: rcar-usb2-clock-sel: Fix typo in example 2020-01-09 10:17:58 +01:00
cpufreq
cris
crypto DeviceTree updates for 4.14: 2017-09-07 14:43:33 -07:00
devfreq dt-bindings: Remove "status" from examples 2017-09-05 10:03:06 -05:00
display dt-bindings: display: mediatek: control dpi pins mode to avoid leakage 2020-06-20 10:25:09 +02:00
dma dt-bindings: dmaengine: rcar-dmac: document R8A77965 support 2018-06-21 04:02:42 +09:00
edac
eeprom dt-bindings: eeprom: at24: add "atmel,24c2048" compatible string 2019-02-20 10:20:44 +01:00
extcon
firmware
fpga DeviceTree updates for 4.14: 2017-09-07 14:43:33 -07:00
fsi
fuse
goldfish
gpio DeviceTree updates for 4.14: 2017-09-07 14:43:33 -07:00
gpu ARM: arm64: Devicetree updates for v4.14 2017-09-10 20:54:48 -07:00
h8300
hsi dt-bindings: Remove "status" from examples 2017-09-05 10:03:06 -05:00
hwlock
hwmon hwmon: (jc42) optionally try to disable the SMBUS timeout 2017-12-05 11:26:34 +01:00
i2c dt-bindings: i2c-stm32: Document the STM32F7 I2C bindings 2017-09-14 17:34:14 +02:00
iio dt-bindings: iio: io-channel-mux: Fix compatible string in example code 2020-08-21 09:48:17 +02:00
infiniband
input Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2017-09-16 11:24:26 -07:00
interrupt-controller DT: arm,gic-v3: Update the ITS size in the examples 2017-10-13 13:43:03 +01:00
iommu
ipmi
leds dt: bindings: as3645a: Use LED number to refer to LEDs 2017-09-23 21:16:54 +02:00
lpddr2
mailbox
media media: dt-bindings: adv748x: Fix decimal unit addresses 2019-11-20 17:59:57 +01:00
memory-controllers IOMMU Updates for Linux v4.14 2017-09-09 15:03:24 -07:00
metag
mfd DeviceTree updates for 4.14: 2017-09-07 14:43:33 -07:00
mips MIPS: lantiq: Add a GPHY driver which uses the RCU syscon-mfd 2017-09-04 21:19:02 +02:00
misc dt-bindings: Remove "status" from examples 2017-09-05 10:03:06 -05:00
mmc mmc: sdhci-xenon: Fix clock resource by adding an optional bus clock 2017-10-04 10:50:36 +02:00
mtd dt-bindings: mtd: gpmc: Fix the ECC bytes vs. OOB bytes equation 2021-09-22 11:45:34 +02:00
mux
net dt-bindings: net: btusb: DT fix s/interrupt-name/interrupt-names/ 2021-03-07 11:27:43 +01:00
nios2
nvmem DeviceTree updates for 4.14: 2017-09-07 14:43:33 -07:00
opp dt-bindings: Remove "status" from examples 2017-09-05 10:03:06 -05:00
pci ARM: arm64: Devicetree updates for v4.14 2017-09-10 20:54:48 -07:00
perf
phy Merge branch '4.14-features' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2017-09-15 20:43:33 -07:00
pinctrl pinctrl: armada-37xx: Correct PWM pins definitions 2021-12-08 08:46:51 +01:00
power dt-bindings: Document mti,mips-cpc binding 2018-03-15 10:54:35 +01:00
powerpc
pps drivers/pps: aesthetic tweaks to PPS-related content 2017-09-08 18:26:51 -07:00
ptp DeviceTree updates for 4.14: 2017-09-07 14:43:33 -07:00
pwm pwm: Changes for v4.14-rc1 2017-09-11 13:04:32 -07:00
regmap
regulator regulator: dt-bindings: samsung,s5m8767: correct s5m8767,pmic-buck-default-dvs-idx property 2021-11-26 11:40:23 +01:00
remoteproc rpmsg updates for v4.14 2017-09-09 14:34:38 -07:00
reserved-memory
reset ARC: reset: remove the misleading v1 suffix all over 2017-09-18 13:02:03 +02:00
rng
rtc rtc: dt-binding: abx80x: fix resistance scale 2019-12-17 20:38:04 +01:00
scsi dt-bindings: Remove "status" from examples 2017-09-05 10:03:06 -05:00
security/tpm Merge branch 'next-tpm' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security 2017-09-24 11:34:28 -07:00
serial arm64: dts: marvell: Fix A37xx UART0 register size 2019-08-04 09:32:00 +02:00
serio DeviceTree updates for 4.14: 2017-09-07 14:43:33 -07:00
soc ARM: arm64: Devicetree updates for v4.14 2017-09-10 20:54:48 -07:00
sound dt-bindings: sound: wm8994: Correct required supplies based on actual implementaion 2020-10-01 13:12:42 +02:00
spi DeviceTree updates for 4.14: 2017-09-07 14:43:33 -07:00
spmi
sram ARM: arm64: Devicetree updates for v4.14 2017-09-10 20:54:48 -07:00
staging/iio/adc
thermal Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux 2017-09-11 22:26:20 -07:00
timer dt-bindings: timer: renesas, cmt: Fix SoC-specific compatible values 2017-12-10 13:40:41 +01:00
ufs
usb doc: dt: bindings: usb: dwc3: Update entries for disabling SS instances in park mode 2020-07-22 09:22:23 +02:00
virtio
w1 dt-bindings: Remove "status" from examples 2017-09-05 10:03:06 -05:00
watchdog Merge branch '4.14-features' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2017-09-15 20:43:33 -07:00
x86
xillybus
ABI.txt
chosen.txt
common-properties.txt
graph.txt
marvell.txt
numa.txt
property-units.txt
resource-names.txt
sparc_sun_oracle_rng.txt
submitting-patches.txt
trivial-devices.txt
unittest.txt dt-bindings: Remove "status" from examples 2017-09-05 10:03:06 -05:00
vendor-prefixes.txt doc: Add vendor prefix for Kieback & Peter GmbH 2018-06-21 04:02:41 +09:00
xilinx.txt