dt-bindings: pinctrl: use pinctrl.yaml
Subsystems (25)
PATCH 1/1 dt-bindings: pinctrl: use pinctrl.yaml
From: Rafał Miłecki <[email protected]>
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]+$'
---
REBASE after 1dd19cae1552 ("dt-bindings: pinctrl: uniphier: Add child node definitions to describe pin mux and configuration").
--- .../devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml | 3 +++ .../bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml | 1 + .../devicetree/bindings/pinctrl/apple,pinctrl.yaml | 3 +++ .../bindings/pinctrl/aspeed,ast2400-pinctrl.yaml | 3 +++ .../bindings/pinctrl/aspeed,ast2500-pinctrl.yaml | 3 +++ .../bindings/pinctrl/aspeed,ast2600-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/brcm,bcm6318-pinctrl.yaml | 3 +++ .../bindings/pinctrl/brcm,bcm63268-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/brcm,bcm6328-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/brcm,bcm6358-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/brcm,bcm6362-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/brcm,bcm6368-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/brcm,ns-pinmux.yaml | 3 ++- .../devicetree/bindings/pinctrl/canaan,k210-fpioa.yaml | 7 +++++-- .../devicetree/bindings/pinctrl/cirrus,lochnagar.yaml | 3 +++ .../devicetree/bindings/pinctrl/cirrus,madera.yaml | 3 +++ .../devicetree/bindings/pinctrl/fsl,imx8mm-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/fsl,imx8mn-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/fsl,imx8mp-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/fsl,imx8mq-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/fsl,imx8ulp-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/ingenic,pinctrl.yaml | 8 ++++---- .../devicetree/bindings/pinctrl/intel,lgm-io.yaml | 3 +++ .../bindings/pinctrl/mediatek,mt65xx-pinctrl.yaml | 3 +++ .../bindings/pinctrl/mediatek,mt6779-pinctrl.yaml | 3 +++ .../bindings/pinctrl/mediatek,mt6797-pinctrl.yaml | 3 +++ .../bindings/pinctrl/mediatek,mt7622-pinctrl.yaml | 3 +++ .../bindings/pinctrl/mediatek,mt7986-pinctrl.yaml | 3 +++ .../bindings/pinctrl/mediatek,mt8183-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/pinctrl-mt8192.yaml | 3 +++ .../devicetree/bindings/pinctrl/pinctrl-mt8195.yaml | 3 +++ .../devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml | 3 +++ .../bindings/pinctrl/qcom,lpass-lpi-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl.yaml | 1 + .../devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/qcom,sc8180x-pinctrl.yaml | 1 + .../devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/qcom,sm6115-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/qcom,sm6125-pinctrl.yaml | 1 + .../devicetree/bindings/pinctrl/qcom,sm6350-pinctrl.yaml | 1 + .../devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/qcom,sm8350-pinctrl.yaml | 1 + .../devicetree/bindings/pinctrl/qcom,tlmm-common.yaml | 3 +++ .../devicetree/bindings/pinctrl/ralink,rt2880-pinmux.yaml | 3 +++ .../devicetree/bindings/pinctrl/renesas,pfc.yaml | 3 +++ .../devicetree/bindings/pinctrl/renesas,rza1-ports.yaml | 3 +++ .../devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml | 3 +++ .../bindings/pinctrl/renesas,rzg2l-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/renesas,rzn1-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/rockchip,pinctrl.yaml | 3 +++ .../bindings/pinctrl/socionext,uniphier-pinctrl.yaml | 6 +++--- .../devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml | 3 +++ .../bindings/pinctrl/toshiba,visconti-pinctrl.yaml | 5 ++++- .../devicetree/bindings/pinctrl/xlnx,zynq-pinctrl.yaml | 3 +++ .../devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml | 3 +++ 58 files changed, 165 insertions(+), 11 deletions(-)
Documentation/devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml +3 -0
@@ -184,6 +184,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml +1 -0
@@ -147,6 +147,7 @@ allOf: # boards are defining it at the moment so it would generate a lot of # warnings. + - $ref: "pinctrl.yaml#" - if: properties: compatible:
Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml +3 -0
@@ -67,6 +67,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml +3 -0
@@ -50,6 +50,9 @@ patternProperties: TXD3, TXD4, UART6, USB11D1, USB11H2, USB2D1, USB2H1, USBCKI, VGABIOS_ROM, VGAHS, VGAVS, VPI18, VPI24, VPI30, VPO12, VPO24, WDTRST1, WDTRST2] +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible
Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml +3 -0
@@ -62,6 +62,9 @@ patternProperties: USB11BHID, USB2AD, USB2AH, USB2BD, USB2BH, USBCKI, VGABIOSROM, VGAHS, VGAVS, VPI24, VPO, WDTRST1, WDTRST2] +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - aspeed,external-nodes
Documentation/devicetree/bindings/pinctrl/aspeed,ast2600-pinctrl.yaml +3 -0
@@ -83,6 +83,9 @@ patternProperties: UART7, UART8, UART9, USBA, USBB, VB, VGAHS, VGAVS, WDTRST1, WDTRST2, WDTRST3, WDTRST4] +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible
Documentation/devicetree/bindings/pinctrl/brcm,bcm6318-pinctrl.yaml +3 -0
@@ -37,6 +37,9 @@ patternProperties: enum: [ gpio0, gpio1, gpio2, gpio3, gpio4, gpio5, gpio6, gpio7, gpio8, gpio9, gpio10, gpio11, gpio12, gpio13, gpio40 ] +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/brcm,bcm63268-pinctrl.yaml +3 -0
@@ -41,6 +41,9 @@ patternProperties: vdsl_phy_override_1_grp, vdsl_phy_override_2_grp, vdsl_phy_override_3_grp, dsl_gpio8, dsl_gpio9 ] +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/brcm,bcm6328-pinctrl.yaml +3 -0
@@ -36,6 +36,9 @@ patternProperties: gpio20, gpio25, gpio26, gpio27, gpio28, hsspi_cs1, usb_port1 ] +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/brcm,bcm6358-pinctrl.yaml +3 -0
@@ -34,6 +34,9 @@ patternProperties: enum: [ ebi_cs_grp, uart1_grp, serial_led_grp, legacy_led_grp, led_grp, spi_cs_grp, utopia_grp, pwm_syn_clk, sys_irq_grp ] +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/brcm,bcm6362-pinctrl.yaml +3 -0
@@ -41,6 +41,9 @@ patternProperties: gpio15, gpio16, gpio17, gpio18, gpio19, gpio20, gpio21, gpio22, gpio23, gpio24, gpio25, gpio26, gpio27, nand_grp ] +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/brcm,bcm6368-pinctrl.yaml +3 -0
@@ -42,6 +42,9 @@ patternProperties: gpio24, gpio25, gpio26, gpio27, gpio28, gpio29, gpio30, gpio31, uart1_grp ] +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/brcm,ns-pinmux.yaml +2 -1
@@ -53,6 +53,7 @@ patternProperties: additionalProperties: false allOf: + - $ref: "pinctrl.yaml#" - if: properties: compatible:
@@ -77,7 +78,7 @@ additionalProperties: false examples: - | - pin-controller@1800c1c0 { + pinctrl@1800c1c0 { compatible = "brcm,bcm4708-pinmux"; reg = <0x1800c1c0 0x24>; reg-names = "cru_gpio_control";
Documentation/devicetree/bindings/pinctrl/canaan,k210-fpioa.yaml +5 -2
@@ -137,6 +137,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
@@ -151,9 +154,9 @@ examples: #include <dt-bindings/clock/k210-clk.h> #include <dt-bindings/reset/k210-rst.h> - fpioa: pinmux@502B0000 { + fpioa: pinmux@502b0000 { compatible = "canaan,k210-fpioa"; - reg = <0x502B0000 0x100>; + reg = <0x502b0000 0x100>; clocks = <&sysclk K210_CLK_FPIOA>, <&sysclk K210_CLK_APB0>; clock-names = "ref", "pclk";
Documentation/devicetree/bindings/pinctrl/cirrus,lochnagar.yaml +3 -0
@@ -181,6 +181,9 @@ properties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - gpio-controller
Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml +3 -0
@@ -117,6 +117,9 @@ properties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - pinctrl-0 - pinctrl-names
Documentation/devicetree/bindings/pinctrl/fsl,imx8mm-pinctrl.yaml +3 -0
@@ -58,6 +58,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/fsl,imx8mn-pinctrl.yaml +3 -0
@@ -58,6 +58,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/fsl,imx8mp-pinctrl.yaml +3 -0
@@ -58,6 +58,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/fsl,imx8mq-pinctrl.yaml +3 -0
@@ -58,6 +58,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/fsl,imx8ulp-pinctrl.yaml +3 -0
@@ -56,6 +56,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml +4 -4
@@ -28,9 +28,6 @@ maintainers: - Paul Cercueil <[email protected]> properties: - nodename: - pattern: "^pinctrl@[0-9a-f]+$" - compatible: oneOf: - enum:
@@ -121,6 +118,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
@@ -169,7 +169,7 @@ additionalProperties: examples: - | - pin-controller@10010000 { + pinctrl@10010000 { compatible = "ingenic,jz4770-pinctrl"; reg = <0x10010000 0x600>;
Documentation/devicetree/bindings/pinctrl/intel,lgm-io.yaml +3 -0
@@ -47,6 +47,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/mediatek,mt65xx-pinctrl.yaml +3 -0
@@ -64,6 +64,9 @@ required: - gpio-controller - "#gpio-cells" +allOf: + - $ref: "pinctrl.yaml#" + patternProperties: '-[0-9]+$': type: object
Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml +3 -0
@@ -59,6 +59,9 @@ properties: "#interrupt-cells": const: 2 +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/mediatek,mt6797-pinctrl.yaml +3 -0
@@ -45,6 +45,9 @@ properties: "#interrupt-cells": const: 2 +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/mediatek,mt7622-pinctrl.yaml +3 -0
@@ -42,6 +42,9 @@ properties: "#interrupt-cells": const: 2 +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml +3 -0
@@ -56,6 +56,9 @@ properties: "#interrupt-cells": const: 2 +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/mediatek,mt8183-pinctrl.yaml +3 -0
@@ -56,6 +56,9 @@ properties: "#interrupt-cells": const: 2 +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml +3 -0
@@ -108,6 +108,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/pinctrl-mt8195.yaml +3 -0
@@ -187,6 +187,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml +3 -0
@@ -118,6 +118,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/qcom,lpass-lpi-pinctrl.yaml +3 -0
@@ -103,6 +103,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl.yaml +1 -0
@@ -14,6 +14,7 @@ description: | MDM9607 platform. allOf: + - $ref: "pinctrl.yaml#" - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# properties:
Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml +3 -0
@@ -97,6 +97,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml +3 -0
@@ -133,6 +133,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml +3 -0
@@ -118,6 +118,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml +3 -0
@@ -123,6 +123,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-pinctrl.yaml +1 -0
@@ -14,6 +14,7 @@ description: | SC8180X platform. allOf: + - $ref: "pinctrl.yaml#" - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# properties:
Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml +3 -0
@@ -118,6 +118,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/qcom,sm6115-pinctrl.yaml +3 -0
@@ -121,6 +121,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/qcom,sm6125-pinctrl.yaml +1 -0
@@ -13,6 +13,7 @@ description: | in the SM6125 platform. allOf: + - $ref: "pinctrl.yaml#" - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# properties:
Documentation/devicetree/bindings/pinctrl/qcom,sm6350-pinctrl.yaml +1 -0
@@ -14,6 +14,7 @@ description: | in the SM6350 platform. allOf: + - $ref: "pinctrl.yaml#" - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# properties:
Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml +3 -0
@@ -115,6 +115,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/qcom,sm8350-pinctrl.yaml +1 -0
@@ -14,6 +14,7 @@ description: | in the SM8350 platform. allOf: + - $ref: "pinctrl.yaml#" - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# properties:
Documentation/devicetree/bindings/pinctrl/qcom,tlmm-common.yaml +3 -0
@@ -51,6 +51,9 @@ properties: should not be accessed by the OS. Please see the ../gpio/gpio.txt for more information. +allOf: + - $ref: "pinctrl.yaml#" + required: - interrupts - interrupt-controller
Documentation/devicetree/bindings/pinctrl/ralink,rt2880-pinmux.yaml +3 -0
@@ -44,6 +44,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible
Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml +3 -0
@@ -70,6 +70,9 @@ properties: power-domains: maxItems: 1 +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/renesas,rza1-ports.yaml +3 -0
@@ -31,6 +31,9 @@ properties: reg: maxItems: 1 +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml +3 -0
@@ -72,6 +72,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/renesas,rzg2l-pinctrl.yaml +3 -0
@@ -90,6 +90,9 @@ additionalProperties: additionalProperties: $ref: "#/additionalProperties/anyOf/0" +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/renesas,rzn1-pinctrl.yaml +3 -0
@@ -31,6 +31,9 @@ properties: description: The bus clock, sometimes described as pclk, for register accesses. +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.yaml +3 -0
@@ -67,6 +67,9 @@ properties: ranges: true +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - rockchip,grf
Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.yaml +3 -3
@@ -10,9 +10,6 @@ maintainers: - Masahiro Yamada <[email protected]> properties: - $nodename: - pattern: "pinctrl" - compatible: enum: - socionext,uniphier-ld4-pinctrl
@@ -62,6 +59,9 @@ additionalProperties: unevaluatedProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible
Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml +3 -0
@@ -183,6 +183,9 @@ patternProperties: required: - pinmux +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - '#address-cells'
Documentation/devicetree/bindings/pinctrl/toshiba,visconti-pinctrl.yaml +4 -1
@@ -20,6 +20,9 @@ properties: reg: maxItems: 1 +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
@@ -80,7 +83,7 @@ examples: #address-cells = <2>; #size-cells = <2>; - pmux: pmux@24190000 { + pmux: pinmux@24190000 { compatible = "toshiba,tmpv7708-pinctrl"; reg = <0 0x24190000 0 0x10000>;
Documentation/devicetree/bindings/pinctrl/xlnx,zynq-pinctrl.yaml +3 -0
@@ -167,6 +167,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: "pinctrl.yaml#" + required: - compatible - reg
Documentation/devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml +3 -0
@@ -290,6 +290,9 @@ patternProperties: additionalProperties: false +allOf: + - $ref: pinctrl.yaml# + required: - compatible
Signature · 1 line
2.31.1
Quoted 10 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
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 <[email protected]>Reviewed-by Rob Herring <[email protected]>---
REBASE after1dd19cae1552("dt-bindings: pinctrl: uniphier: Add child node definitions to describe pin mux and configuration").
Patch applied!
Yours,
Linus Walleij
Quoted 5 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
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]+$'
I think you missed some. linux-next now has these warnings:
builds/robherring/linux-dt/Documentation/devicetree/bindings/mfd/brcm,cru.example.dt.yaml:
pin-controller@1c0: $nodename:0: 'pin-controller@1c0' does not match '^(pinctrl|pinmux)(@[0-9a-f]+)?$'
From schema: /builds/robherring/linux-dt/Documentation/devicetree/bindings/pinctrl/brcm,ns-pinmux.yaml /builds/robherring/linux-dt/Documentation/devicetree/bindings/mfd/cirrus,madera.example.dt.yaml:
codec@1a: $nodename:0: 'codec@1a' does not match
'^(pinctrl|pinmux)(@[0-9a-f]+)?$'
From schema: /builds/robherring/linux-dt/Documentation/devicetree/bindings/mfd/cirrus,madera.yaml /builds/robherring/linux-dt/Documentation/devicetree/bindings/mfd/cirrus,lochnagar.example.dt.yaml:
lochnagar-pinctrl: $nodename:0: 'lochnagar-pinctrl' does not match '^(pinctrl|pinmux)(@[0-9a-f]+)?$'
From schema: /builds/robherring/linux-dt/Documentation/devicetree/bindings/pinctrl/cirrus,lochnagar.yaml
Quoted 8 lines · Rob Herring
Quoted 5 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
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]+$'I think you missed some. linux-next now has these warnings:
Oops, sorry, I think I didn't test MFD bindings *after* modifying pinctrl bindings.
Quoted 4 lines
/builds/robherring/linux-dt/Documentation/devicetree/bindings/mfd/cirrus,madera.example.dt.yaml:
codec@1a: $nodename:0: 'codec@1a' does not match
'^(pinctrl|pinmux)(@[0-9a-f]+)?$'
From schema: /builds/robherring/linux-dt/Documentation/devicetree/bindings/mfd/cirrus,madera.yaml
I'm not sure how to deal with this one. If you take a look at cirrus,madera.yaml it seems to be some complex MFD that is a sound device with pin controller and regulator.
I'm not sure: is using pinctrl@ node for that hardware is a correct choice?
Charles Keepax
maintainerQuoted 19 lines · Rafał Miłecki
Quoted 8 lines · Rob Herring
Quoted 5 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
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]+$'I think you missed some. linux-next now has these warnings:
Oops, sorry, I think I didn't test MFD bindings *after* modifying pinctrl bindings.
Quoted 4 lines
/builds/robherring/linux-dt/Documentation/devicetree/bindings/mfd/cirrus,madera.example.dt.yaml:
codec@1a: $nodename:0: 'codec@1a' does not match '^(pinctrl|pinmux)(@[0-9a-f]+)?$'
From schema: /builds/robherring/linux-dt/Documentation/devicetree/bindings/mfd/cirrus,madera.yaml
Quoted 6 lines
I'm not sure how to deal with this one. If you take a look at cirrus,madera.yaml it seems to be some complex MFD that is a sound device with pin controller and regulator.
I'm not sure: is using pinctrl@ node for that hardware is a correct choice?
Yeah historically there has been some contention around how to implement MFD devices, the Madera devices have a single node for the whole chip, rather than a sub-node for each driver. In many ways this does make sense since DT should describe the hardware and hardware wise this is a single chip, the fact linux breaks it down into separate drivers is really a linux specific implementation. Although the Lochnagar stuff from your other patch was steered in the direction of a sub-node for each driver during review.
But either way the Madera binding is a bit old to be majorly changing at this point, and does have quite a few out of tree users. Not really sure how to fix this one either, the name of codec for the node is really correct as that is what the node is.
Thanks,
Charles
Quoted 20 lines · Rafał Miłecki
Quoted 8 lines · Rob Herring
Quoted 5 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
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]+$'I think you missed some. linux-next now has these warnings:
Oops, sorry, I think I didn't test MFD bindings *after* modifying pinctrl bindings.
Quoted 4 lines
/builds/robherring/linux-dt/Documentation/devicetree/bindings/mfd/cirrus,madera.example.dt.yaml:
codec@1a: $nodename:0: 'codec@1a' does not match
'^(pinctrl|pinmux)(@[0-9a-f]+)?$'
From schema: /builds/robherring/linux-dt/Documentation/devicetree/bindings/mfd/cirrus,madera.yaml
Quoted 6 lines
I'm not sure how to deal with this one. If you take a look at cirrus,madera.yaml it seems to be some complex MFD that is a sound device with pin controller and regulator.
I'm not sure: is using pinctrl@ node for that hardware is a correct choice?
No, I think you have to drop specifying the node name.
Rob