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

dt-bindings: pinctrl: use pinctrl.yaml

Also fix some examples to avoid warnings like:
brcm,ns-pinmux.example.dt.yaml: pin-controller@1800c1c0: $nodename:0: 'pin-controller@1800c1c0' does not match '^pinctrl|pinmux@[0-9a-f]+$'

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211202063216.24439-1-zajec5@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Rafał Miłecki and committed by
Linus Walleij
c09acbc4 1288cadc

+165 -11
+3
Documentation/devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml
··· 184 184 185 185 additionalProperties: false 186 186 187 + allOf: 188 + - $ref: "pinctrl.yaml#" 189 + 187 190 required: 188 191 - compatible 189 192 - reg
+1
Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml
··· 147 147 # boards are defining it at the moment so it would generate a lot of 148 148 # warnings. 149 149 150 + - $ref: "pinctrl.yaml#" 150 151 - if: 151 152 properties: 152 153 compatible:
+3
Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml
··· 67 67 68 68 additionalProperties: false 69 69 70 + allOf: 71 + - $ref: "pinctrl.yaml#" 72 + 70 73 required: 71 74 - compatible 72 75 - reg
+3
Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml
··· 50 50 TXD3, TXD4, UART6, USB11D1, USB11H2, USB2D1, USB2H1, USBCKI, VGABIOS_ROM, 51 51 VGAHS, VGAVS, VPI18, VPI24, VPI30, VPO12, VPO24, WDTRST1, WDTRST2] 52 52 53 + allOf: 54 + - $ref: "pinctrl.yaml#" 55 + 53 56 required: 54 57 - compatible 55 58
+3
Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml
··· 62 62 USB11BHID, USB2AD, USB2AH, USB2BD, USB2BH, USBCKI, VGABIOSROM, VGAHS, 63 63 VGAVS, VPI24, VPO, WDTRST1, WDTRST2] 64 64 65 + allOf: 66 + - $ref: "pinctrl.yaml#" 67 + 65 68 required: 66 69 - compatible 67 70 - aspeed,external-nodes
+3
Documentation/devicetree/bindings/pinctrl/aspeed,ast2600-pinctrl.yaml
··· 83 83 UART7, UART8, UART9, USBA, USBB, VB, VGAHS, VGAVS, WDTRST1, WDTRST2, 84 84 WDTRST3, WDTRST4] 85 85 86 + allOf: 87 + - $ref: "pinctrl.yaml#" 88 + 86 89 required: 87 90 - compatible 88 91
+3
Documentation/devicetree/bindings/pinctrl/brcm,bcm6318-pinctrl.yaml
··· 37 37 enum: [ gpio0, gpio1, gpio2, gpio3, gpio4, gpio5, gpio6, gpio7, 38 38 gpio8, gpio9, gpio10, gpio11, gpio12, gpio13, gpio40 ] 39 39 40 + allOf: 41 + - $ref: "pinctrl.yaml#" 42 + 40 43 required: 41 44 - compatible 42 45 - reg
+3
Documentation/devicetree/bindings/pinctrl/brcm,bcm63268-pinctrl.yaml
··· 41 41 vdsl_phy_override_1_grp, vdsl_phy_override_2_grp, 42 42 vdsl_phy_override_3_grp, dsl_gpio8, dsl_gpio9 ] 43 43 44 + allOf: 45 + - $ref: "pinctrl.yaml#" 46 + 44 47 required: 45 48 - compatible 46 49 - reg
+3
Documentation/devicetree/bindings/pinctrl/brcm,bcm6328-pinctrl.yaml
··· 36 36 gpio20, gpio25, gpio26, gpio27, gpio28, hsspi_cs1, 37 37 usb_port1 ] 38 38 39 + allOf: 40 + - $ref: "pinctrl.yaml#" 41 + 39 42 required: 40 43 - compatible 41 44 - reg
+3
Documentation/devicetree/bindings/pinctrl/brcm,bcm6358-pinctrl.yaml
··· 34 34 enum: [ ebi_cs_grp, uart1_grp, serial_led_grp, legacy_led_grp, 35 35 led_grp, spi_cs_grp, utopia_grp, pwm_syn_clk, sys_irq_grp ] 36 36 37 + allOf: 38 + - $ref: "pinctrl.yaml#" 39 + 37 40 required: 38 41 - compatible 39 42 - reg
+3
Documentation/devicetree/bindings/pinctrl/brcm,bcm6362-pinctrl.yaml
··· 41 41 gpio15, gpio16, gpio17, gpio18, gpio19, gpio20, gpio21, 42 42 gpio22, gpio23, gpio24, gpio25, gpio26, gpio27, nand_grp ] 43 43 44 + allOf: 45 + - $ref: "pinctrl.yaml#" 46 + 44 47 required: 45 48 - compatible 46 49 - reg
+3
Documentation/devicetree/bindings/pinctrl/brcm,bcm6368-pinctrl.yaml
··· 42 42 gpio24, gpio25, gpio26, gpio27, gpio28, gpio29, gpio30, 43 43 gpio31, uart1_grp ] 44 44 45 + allOf: 46 + - $ref: "pinctrl.yaml#" 47 + 45 48 required: 46 49 - compatible 47 50 - reg
+2 -1
Documentation/devicetree/bindings/pinctrl/brcm,ns-pinmux.yaml
··· 53 53 additionalProperties: false 54 54 55 55 allOf: 56 + - $ref: "pinctrl.yaml#" 56 57 - if: 57 58 properties: 58 59 compatible: ··· 78 77 79 78 examples: 80 79 - | 81 - pin-controller@1800c1c0 { 80 + pinctrl@1800c1c0 { 82 81 compatible = "brcm,bcm4708-pinmux"; 83 82 reg = <0x1800c1c0 0x24>; 84 83 reg-names = "cru_gpio_control";
+5 -2
Documentation/devicetree/bindings/pinctrl/canaan,k210-fpioa.yaml
··· 137 137 138 138 additionalProperties: false 139 139 140 + allOf: 141 + - $ref: "pinctrl.yaml#" 142 + 140 143 required: 141 144 - compatible 142 145 - reg ··· 154 151 #include <dt-bindings/clock/k210-clk.h> 155 152 #include <dt-bindings/reset/k210-rst.h> 156 153 157 - fpioa: pinmux@502B0000 { 154 + fpioa: pinmux@502b0000 { 158 155 compatible = "canaan,k210-fpioa"; 159 - reg = <0x502B0000 0x100>; 156 + reg = <0x502b0000 0x100>; 160 157 clocks = <&sysclk K210_CLK_FPIOA>, 161 158 <&sysclk K210_CLK_APB0>; 162 159 clock-names = "ref", "pclk";
+3
Documentation/devicetree/bindings/pinctrl/cirrus,lochnagar.yaml
··· 181 181 182 182 additionalProperties: false 183 183 184 + allOf: 185 + - $ref: "pinctrl.yaml#" 186 + 184 187 required: 185 188 - compatible 186 189 - gpio-controller
+3
Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml
··· 117 117 118 118 additionalProperties: false 119 119 120 + allOf: 121 + - $ref: "pinctrl.yaml#" 122 + 120 123 required: 121 124 - pinctrl-0 122 125 - pinctrl-names
+3
Documentation/devicetree/bindings/pinctrl/fsl,imx8mm-pinctrl.yaml
··· 58 58 59 59 additionalProperties: false 60 60 61 + allOf: 62 + - $ref: "pinctrl.yaml#" 63 + 61 64 required: 62 65 - compatible 63 66 - reg
+3
Documentation/devicetree/bindings/pinctrl/fsl,imx8mn-pinctrl.yaml
··· 58 58 59 59 additionalProperties: false 60 60 61 + allOf: 62 + - $ref: "pinctrl.yaml#" 63 + 61 64 required: 62 65 - compatible 63 66 - reg
+3
Documentation/devicetree/bindings/pinctrl/fsl,imx8mp-pinctrl.yaml
··· 58 58 59 59 additionalProperties: false 60 60 61 + allOf: 62 + - $ref: "pinctrl.yaml#" 63 + 61 64 required: 62 65 - compatible 63 66 - reg
+3
Documentation/devicetree/bindings/pinctrl/fsl,imx8mq-pinctrl.yaml
··· 58 58 59 59 additionalProperties: false 60 60 61 + allOf: 62 + - $ref: "pinctrl.yaml#" 63 + 61 64 required: 62 65 - compatible 63 66 - reg
+3
Documentation/devicetree/bindings/pinctrl/fsl,imx8ulp-pinctrl.yaml
··· 56 56 57 57 additionalProperties: false 58 58 59 + allOf: 60 + - $ref: "pinctrl.yaml#" 61 + 59 62 required: 60 63 - compatible 61 64 - reg
+4 -4
Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml
··· 28 28 - Paul Cercueil <paul@crapouillou.net> 29 29 30 30 properties: 31 - nodename: 32 - pattern: "^pinctrl@[0-9a-f]+$" 33 - 34 31 compatible: 35 32 oneOf: 36 33 - enum: ··· 118 121 119 122 additionalProperties: false 120 123 124 + allOf: 125 + - $ref: "pinctrl.yaml#" 126 + 121 127 required: 122 128 - compatible 123 129 - reg ··· 169 169 170 170 examples: 171 171 - | 172 - pin-controller@10010000 { 172 + pinctrl@10010000 { 173 173 compatible = "ingenic,jz4770-pinctrl"; 174 174 reg = <0x10010000 0x600>; 175 175
+3
Documentation/devicetree/bindings/pinctrl/intel,lgm-io.yaml
··· 47 47 48 48 additionalProperties: false 49 49 50 + allOf: 51 + - $ref: "pinctrl.yaml#" 52 + 50 53 required: 51 54 - compatible 52 55 - reg
+3
Documentation/devicetree/bindings/pinctrl/mediatek,mt65xx-pinctrl.yaml
··· 64 64 - gpio-controller 65 65 - "#gpio-cells" 66 66 67 + allOf: 68 + - $ref: "pinctrl.yaml#" 69 + 67 70 patternProperties: 68 71 '-[0-9]+$': 69 72 type: object
+3
Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml
··· 59 59 "#interrupt-cells": 60 60 const: 2 61 61 62 + allOf: 63 + - $ref: "pinctrl.yaml#" 64 + 62 65 required: 63 66 - compatible 64 67 - reg
+3
Documentation/devicetree/bindings/pinctrl/mediatek,mt6797-pinctrl.yaml
··· 45 45 "#interrupt-cells": 46 46 const: 2 47 47 48 + allOf: 49 + - $ref: "pinctrl.yaml#" 50 + 48 51 required: 49 52 - compatible 50 53 - reg
+3
Documentation/devicetree/bindings/pinctrl/mediatek,mt7622-pinctrl.yaml
··· 42 42 "#interrupt-cells": 43 43 const: 2 44 44 45 + allOf: 46 + - $ref: "pinctrl.yaml#" 47 + 45 48 required: 46 49 - compatible 47 50 - reg
+3
Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml
··· 56 56 "#interrupt-cells": 57 57 const: 2 58 58 59 + allOf: 60 + - $ref: "pinctrl.yaml#" 61 + 59 62 required: 60 63 - compatible 61 64 - reg
+3
Documentation/devicetree/bindings/pinctrl/mediatek,mt8183-pinctrl.yaml
··· 56 56 "#interrupt-cells": 57 57 const: 2 58 58 59 + allOf: 60 + - $ref: "pinctrl.yaml#" 61 + 59 62 required: 60 63 - compatible 61 64 - reg
+3
Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml
··· 108 108 109 109 additionalProperties: false 110 110 111 + allOf: 112 + - $ref: "pinctrl.yaml#" 113 + 111 114 required: 112 115 - compatible 113 116 - reg
+3
Documentation/devicetree/bindings/pinctrl/pinctrl-mt8195.yaml
··· 187 187 188 188 additionalProperties: false 189 189 190 + allOf: 191 + - $ref: "pinctrl.yaml#" 192 + 190 193 required: 191 194 - compatible 192 195 - reg
+3
Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml
··· 118 118 119 119 additionalProperties: false 120 120 121 + allOf: 122 + - $ref: "pinctrl.yaml#" 123 + 121 124 required: 122 125 - compatible 123 126 - reg
+3
Documentation/devicetree/bindings/pinctrl/qcom,lpass-lpi-pinctrl.yaml
··· 103 103 104 104 additionalProperties: false 105 105 106 + allOf: 107 + - $ref: "pinctrl.yaml#" 108 + 106 109 required: 107 110 - compatible 108 111 - reg
+1
Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl.yaml
··· 14 14 MDM9607 platform. 15 15 16 16 allOf: 17 + - $ref: "pinctrl.yaml#" 17 18 - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# 18 19 19 20 properties:
+3
Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml
··· 97 97 98 98 additionalProperties: false 99 99 100 + allOf: 101 + - $ref: "pinctrl.yaml#" 102 + 100 103 required: 101 104 - compatible 102 105 - reg
+3
Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml
··· 133 133 134 134 additionalProperties: false 135 135 136 + allOf: 137 + - $ref: "pinctrl.yaml#" 138 + 136 139 required: 137 140 - compatible 138 141 - reg
+3
Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml
··· 118 118 119 119 additionalProperties: false 120 120 121 + allOf: 122 + - $ref: "pinctrl.yaml#" 123 + 121 124 required: 122 125 - compatible 123 126 - reg
+3
Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml
··· 123 123 124 124 additionalProperties: false 125 125 126 + allOf: 127 + - $ref: "pinctrl.yaml#" 128 + 126 129 required: 127 130 - compatible 128 131 - reg
+1
Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-pinctrl.yaml
··· 14 14 SC8180X platform. 15 15 16 16 allOf: 17 + - $ref: "pinctrl.yaml#" 17 18 - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# 18 19 19 20 properties:
+3
Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml
··· 118 118 119 119 additionalProperties: false 120 120 121 + allOf: 122 + - $ref: "pinctrl.yaml#" 123 + 121 124 required: 122 125 - compatible 123 126 - reg
+3
Documentation/devicetree/bindings/pinctrl/qcom,sm6115-pinctrl.yaml
··· 121 121 122 122 additionalProperties: false 123 123 124 + allOf: 125 + - $ref: "pinctrl.yaml#" 126 + 124 127 required: 125 128 - compatible 126 129 - reg
+1
Documentation/devicetree/bindings/pinctrl/qcom,sm6125-pinctrl.yaml
··· 13 13 in the SM6125 platform. 14 14 15 15 allOf: 16 + - $ref: "pinctrl.yaml#" 16 17 - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# 17 18 18 19 properties:
+1
Documentation/devicetree/bindings/pinctrl/qcom,sm6350-pinctrl.yaml
··· 14 14 in the SM6350 platform. 15 15 16 16 allOf: 17 + - $ref: "pinctrl.yaml#" 17 18 - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# 18 19 19 20 properties:
+3
Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml
··· 115 115 116 116 additionalProperties: false 117 117 118 + allOf: 119 + - $ref: "pinctrl.yaml#" 120 + 118 121 required: 119 122 - compatible 120 123 - reg
+1
Documentation/devicetree/bindings/pinctrl/qcom,sm8350-pinctrl.yaml
··· 14 14 in the SM8350 platform. 15 15 16 16 allOf: 17 + - $ref: "pinctrl.yaml#" 17 18 - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# 18 19 19 20 properties:
+3
Documentation/devicetree/bindings/pinctrl/qcom,tlmm-common.yaml
··· 51 51 should not be accessed by the OS. Please see the ../gpio/gpio.txt for more 52 52 information. 53 53 54 + allOf: 55 + - $ref: "pinctrl.yaml#" 56 + 54 57 required: 55 58 - interrupts 56 59 - interrupt-controller
+3
Documentation/devicetree/bindings/pinctrl/ralink,rt2880-pinmux.yaml
··· 44 44 45 45 additionalProperties: false 46 46 47 + allOf: 48 + - $ref: "pinctrl.yaml#" 49 + 47 50 required: 48 51 - compatible 49 52
+3
Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml
··· 70 70 power-domains: 71 71 maxItems: 1 72 72 73 + allOf: 74 + - $ref: "pinctrl.yaml#" 75 + 73 76 required: 74 77 - compatible 75 78 - reg
+3
Documentation/devicetree/bindings/pinctrl/renesas,rza1-ports.yaml
··· 31 31 reg: 32 32 maxItems: 1 33 33 34 + allOf: 35 + - $ref: "pinctrl.yaml#" 36 + 34 37 required: 35 38 - compatible 36 39 - reg
+3
Documentation/devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml
··· 72 72 73 73 additionalProperties: false 74 74 75 + allOf: 76 + - $ref: "pinctrl.yaml#" 77 + 75 78 required: 76 79 - compatible 77 80 - reg
+3
Documentation/devicetree/bindings/pinctrl/renesas,rzg2l-pinctrl.yaml
··· 90 90 additionalProperties: 91 91 $ref: "#/additionalProperties/anyOf/0" 92 92 93 + allOf: 94 + - $ref: "pinctrl.yaml#" 95 + 93 96 required: 94 97 - compatible 95 98 - reg
+3
Documentation/devicetree/bindings/pinctrl/renesas,rzn1-pinctrl.yaml
··· 31 31 description: 32 32 The bus clock, sometimes described as pclk, for register accesses. 33 33 34 + allOf: 35 + - $ref: "pinctrl.yaml#" 36 + 34 37 required: 35 38 - compatible 36 39 - reg
+3
Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.yaml
··· 67 67 68 68 ranges: true 69 69 70 + allOf: 71 + - $ref: "pinctrl.yaml#" 72 + 70 73 required: 71 74 - compatible 72 75 - rockchip,grf
+3 -3
Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.yaml
··· 10 10 - Masahiro Yamada <yamada.masahiro@socionext.com> 11 11 12 12 properties: 13 - $nodename: 14 - pattern: "pinctrl" 15 - 16 13 compatible: 17 14 enum: 18 15 - socionext,uniphier-ld4-pinctrl ··· 58 61 drive-strength: true 59 62 60 63 unevaluatedProperties: false 64 + 65 + allOf: 66 + - $ref: "pinctrl.yaml#" 61 67 62 68 required: 63 69 - compatible
+3
Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml
··· 183 183 required: 184 184 - pinmux 185 185 186 + allOf: 187 + - $ref: "pinctrl.yaml#" 188 + 186 189 required: 187 190 - compatible 188 191 - '#address-cells'
+4 -1
Documentation/devicetree/bindings/pinctrl/toshiba,visconti-pinctrl.yaml
··· 20 20 reg: 21 21 maxItems: 1 22 22 23 + allOf: 24 + - $ref: "pinctrl.yaml#" 25 + 23 26 required: 24 27 - compatible 25 28 - reg ··· 83 80 #address-cells = <2>; 84 81 #size-cells = <2>; 85 82 86 - pmux: pmux@24190000 { 83 + pmux: pinmux@24190000 { 87 84 compatible = "toshiba,tmpv7708-pinctrl"; 88 85 reg = <0 0x24190000 0 0x10000>; 89 86
+3
Documentation/devicetree/bindings/pinctrl/xlnx,zynq-pinctrl.yaml
··· 167 167 168 168 additionalProperties: false 169 169 170 + allOf: 171 + - $ref: "pinctrl.yaml#" 172 + 170 173 required: 171 174 - compatible 172 175 - reg
+3
Documentation/devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml
··· 290 290 291 291 additionalProperties: false 292 292 293 + allOf: 294 + - $ref: pinctrl.yaml# 295 + 293 296 required: 294 297 - compatible 295 298