linux/Documentation/devicetree/bindings
Marek Behún 3a4baf070c pinctrl: armada-37xx: Correct PWM pins definitions
commit baf8d6899b1e8906dc076ef26cc633e96a8bb0c3 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-01 09:23:31 +01:00
..
arc
arm dt-bindings: arm: Fix Toradex compatible typo 2021-09-22 12:26:42 +02:00
ata dt-bindings: ata: fix typo in Allwinner R40 reset specific paragraph 2019-08-21 13:29:24 -05:00
auxdisplay
board
bus Devicetree updates for v5.4: 2019-09-19 13:48:37 -07:00
c6x
clock dt-bindings: clock: renesas: rcar-usb2-clock-sel: Fix typo in example 2020-01-09 10:20:05 +01:00
connector dt-bindings: connector: add optional properties for Type-B 2019-09-03 16:00:39 +02:00
counter
cpu dt-binding: cpu-topology: Move cpu-map to a common binding. 2019-07-22 09:35:57 -07:00
cpufreq
crypto dt-bindings: crypto: Convert Allwinner A10 Security Engine to a schema 2019-08-13 16:11:00 -06:00
csky dt-bindings: csky: Add csky PMU bindings 2019-07-19 14:21:36 +08:00
devfreq
display dt-bindings: display: mediatek: control dpi pins mode to avoid leakage 2020-06-22 09:30:58 +02:00
dma dt-bindings: dmaengine: dma-common: Fix the dma-channel-mask property 2019-09-04 10:22:56 +05:30
dsp dt-bindings: dsp: Fix fsl,dsp example 2019-10-02 14:13:36 -05:00
edac
eeprom dt-bindings: eeprom: at25: Add Anvo ANV32E61W 2019-08-24 22:44:26 +02:00
extcon extcon: arizona: Update binding example to use available defines 2019-07-24 19:13:21 +09:00
firmware ARM: SoC driver updates for v5.4 2019-09-16 15:52:38 -07:00
fpga dt-bindings: fpga: Consolidate bridge properties 2019-07-24 14:19:15 -07:00
fsi
fuse
gnss
goldfish
gpio gpio/aspeed-sgpio: enable access to all 80 input & output sgpios 2020-10-07 08:01:28 +02:00
gpu dt-bindings: gpu: mali-midgard: Add samsung exynos5250 compatible 2019-09-03 10:02:17 +01:00
h8300
hsi
hwlock dt-bindings: hwlock: Update OMAP binding for TI K3 SoCs 2019-06-29 11:40:02 -07:00
hwmon hwmon: (as370-hwmon) Add DT bindings for Synaptics AS370 PVT 2019-09-03 12:47:17 -07:00
i2c Merge branch 'i2c/for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2019-09-24 16:48:02 -07:00
i3c dt-bindings: i3c: cdns: Use correct cells for I2C device 2019-07-04 11:58:31 +02:00
iio dt-bindings: iio: io-channel-mux: Fix compatible string in example code 2020-08-21 13:05:23 +02:00
infiniband
input Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2019-09-19 14:10:54 -07:00
interconnect dt-bindings: interconnect: Add Qualcomm QCS404 DT bindings 2019-08-13 23:03:24 +03:00
interrupt-controller irqchip fixes for 5.4, take #1 2019-10-14 20:35:58 +02:00
iommu dt-bindings: mediatek: Add binding for mt8183 IOMMU and SMI 2019-08-30 15:57:26 +02:00
ipmi dt-bindings: Add missing newline at end of file 2019-06-18 08:11:57 -06:00
leds dt: lm3532: Add property for full scale current. 2019-08-26 20:03:57 +02:00
lpddr2
mailbox dt-bindings: mailbox: zynqmp_ipi: fix unit address 2020-07-22 09:32:52 +02:00
media ARM: SoC fixes 2019-10-25 16:00:47 -04:00
memory-controllers ARM: DT updates for v5.4 2019-09-16 15:56:22 -07:00
mfd - New Drivers 2019-09-23 19:37:49 -07:00
mips
misc Linux 5.3-rc5 2019-08-21 13:35:16 +02:00
mmc mmc: dt-bindings: Add resets/reset-names for Mediatek MMC bindings 2020-09-09 19:12:33 +02:00
mtd dt-bindings: mtd: gpmc: Fix the ECC bytes vs. OOB bytes equation 2021-09-22 12:26:43 +02:00
mux dt-bindings: add register based devices' mux controller DT bindings 2019-06-21 15:58:35 +02:00
nds32
net dt-bindings: net: ethernet-controller: fix typo in NVMEM 2021-04-14 08:24:18 +02:00
nios2
nvmem dt-bindings: imx-ocotp: Add i.MX8MN compatible 2019-08-18 12:56:52 +02:00
openrisc/opencores
opp Merge branches 'pm-opp', 'pm-qos', 'acpi-pm', 'pm-domains' and 'pm-tools' 2019-09-17 09:49:19 +02:00
pci arm64: tegra: Fix Tegra194 PCIe compatible string 2020-04-23 10:36:30 +02:00
perf dt-bindings: perf: imx8-ddr: add imx8qxp ddr performance monitor 2019-06-13 10:38:02 +01:00
phy dt-bindings: phy: lantiq: Fix Property Name 2019-10-02 14:14:58 -05:00
pinctrl pinctrl: armada-37xx: Correct PWM pins definitions 2021-12-01 09:23:31 +01:00
pmem
power - New Drivers 2019-09-23 19:37:49 -07:00
powerpc
pps
ptp dt-binding: ptp_qoriq: support DPAA2 PTP compatible 2019-06-15 13:43:06 -07:00
pwm pwm: Changes for v5.4-rc1 2019-09-27 12:19:47 -07:00
regmap
regulator regulator: dt-bindings: samsung,s5m8767: correct s5m8767,pmic-buck-default-dvs-idx property 2021-11-17 09:48:22 +01:00
remoteproc dt-bindings: remoteproc: add bindings for stm32 remote processor driver 2019-06-29 20:48:48 -07:00
reserved-memory
reset dt-bindings: reset: Fix brcmstb-reset example 2020-01-17 19:48:29 +01:00
riscv dt-bindings: riscv: Fix CPU schema errors 2019-10-23 14:42:44 -05:00
rng hwrng: omap3-rom - Fix missing clock by probing with device tree 2020-01-26 10:01:03 +01:00
rtc dt-bindings: rtc: ds1307: add rx8130 compatible 2019-09-01 11:05:43 +02:00
scsi
security/tpm
serial dt-bindings: serial: sh-sci: Document r8a774b1 bindings 2019-10-04 15:02:28 +02:00
serio
sifive
siox
slimbus
soc Qualcomm ARM Based Driver Updates for v5.4 2019-09-12 13:46:20 +02:00
sound dt-bindings: sound: wm8994: Correct required supplies based on actual implementaion 2020-10-01 13:17:58 +02:00
soundwire dt-bindings: soundwire: add slave bindings 2019-09-04 13:12:31 +05:30
spi Devicetree updates for v5.4: 2019-09-19 13:48:37 -07:00
spmi
sram
staging/iio/adc
thermal dt-bindings: thermal: qoriq: Add optional clocks property 2019-08-28 16:33:29 +08:00
timer Main MIPS changes for v5.4: 2019-09-22 09:30:30 -07:00
ufs scsi: ufs-qcom: Implement device_reset vops 2019-09-07 16:36:03 -04:00
usb doc: dt: bindings: usb: dwc3: Update entries for disabling SS instances in park mode 2020-07-22 09:32:59 +02:00
virtio
w1
watchdog linux-watchdog 5.4-rc1 tag 2019-09-27 11:17:38 -07:00
x86
xillybus
.gitignore
ABI.txt
Makefile dt-bindings: Improve validation build error handling 2020-01-04 19:18:11 +01:00
chosen.txt
common-properties.txt
example-schema.yaml dt-bindings: Correct spelling in example schema 2019-09-06 15:29:12 +01:00
graph.txt
jailhouse.txt
numa.txt
property-units.txt dt-bindings: property-units: Sanitize unit naming 2019-06-13 14:29:43 -06:00
resource-names.txt
submitting-patches.txt
trivial-devices.yaml dt-bindings: Add ipsps1 as a trivial device 2019-09-03 12:47:17 -07:00
unittest.txt
vendor-prefixes.yaml drm main pull for 5.4-rc1 2019-09-19 16:24:24 -07:00
writing-bindings.txt
xilinx.txt