Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: pinctrl: rt2880: fix binding name, pin groups and functions

Deprecate the old property "ralink,rt2880-pinmux". Add the new property
"ralink,rt2880-pinctrl". The old property name was inaccurate as the
hardware block is called pinctrl across the Mediatek/Ralink architecture.

Current pin group and function bindings are for MT7621. Put bindings for
RT2880 instead.

Add me as a maintainer.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20220414173916.5552-11-arinc.unal@arinc9.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Arınç ÜNAL and committed by
Linus Walleij
23e37546 b4f209e3

+13 -13
+13 -13
Documentation/devicetree/bindings/pinctrl/ralink,rt2880-pinmux.yaml Documentation/devicetree/bindings/pinctrl/ralink,rt2880-pinctrl.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 2 %YAML 1.2 3 3 --- 4 - $id: http://devicetree.org/schemas/pinctrl/ralink,rt2880-pinmux.yaml# 4 + $id: http://devicetree.org/schemas/pinctrl/ralink,rt2880-pinctrl.yaml# 5 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 - title: Ralink rt2880 pinmux controller 7 + title: Ralink RT2880 Pin Controller 8 8 9 9 maintainers: 10 + - Arınç ÜNAL <arinc.unal@arinc9.com> 10 11 - Sergio Paracuellos <sergio.paracuellos@gmail.com> 11 12 12 13 description: 13 - The rt2880 pinmux can only set the muxing of pin groups. Muxing indiviual pins 14 - is not supported. There is no pinconf support. 14 + Ralink RT2880 pin controller for RT2880 SoC. 15 + The pin controller can only set the muxing of pin groups. Muxing individual 16 + pins is not supported. There is no pinconf support. 15 17 16 18 properties: 17 19 compatible: 18 - const: ralink,rt2880-pinmux 20 + const: ralink,rt2880-pinctrl 19 21 20 22 patternProperties: 21 23 '-pins$': ··· 30 28 31 29 properties: 32 30 groups: 33 - description: Name of the pin group to use for the functions. 34 - enum: [i2c, jtag, mdio, pcie, rgmii1, rgmii2, sdhci, spi, 35 - uart1, uart2, uart3, wdt] 31 + description: The pin group to select. 32 + enum: [i2c, spi, uartlite, jtag, mdio, sdram, pci] 33 + 36 34 function: 37 - description: The mux function to select 38 - enum: [gpio, i2c, i2s, jtag, mdio, nand1, nand2, pcie refclk, 39 - pcie rst, pcm, rgmii1, rgmii2, sdhci, spdif2, spdif3, 40 - spi, uart1, uart2, uart3, wdt refclk, wdt rst] 35 + description: The mux function to select. 36 + enum: [gpio, i2c, spi, uartlite, jtag, mdio, sdram, pci] 41 37 42 38 required: 43 39 - groups ··· 57 57 # Pinmux controller node 58 58 - | 59 59 pinctrl { 60 - compatible = "ralink,rt2880-pinmux"; 60 + compatible = "ralink,rt2880-pinctrl"; 61 61 62 62 i2c_pins: i2c0-pins { 63 63 pinmux {