Commit 7e807f4b authored by Rob Herring's avatar Rob Herring

dt-bindings: mfd: Fix pinctrl node name warnings

The recent addition pinctrl.yaml in commit c09acbc4 ("dt-bindings:
pinctrl: use pinctrl.yaml") resulted in some node name warnings:

Documentation/devicetree/bindings/mfd/cirrus,lochnagar.example.dt.yaml: \
 lochnagar-pinctrl: $nodename:0: 'lochnagar-pinctrl' does not match '^(pinctrl|pinmux)(@[0-9a-f]+)?$'
Documentation/devicetree/bindings/mfd/cirrus,madera.example.dt.yaml: \
 codec@1a: $nodename:0: 'codec@1a' does not match '^(pinctrl|pinmux)(@[0-9a-f]+)?$'
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]+)?$'

Fix the node names to the preferred 'pinctrl'. For cirrus,madera,
nothing from pinctrl.yaml schema is used, so just drop the reference.

Fixes: c09acbc4 ("dt-bindings: pinctrl: use pinctrl.yaml")
Cc: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Acked-by: default avatarLee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220303232350.2591143-1-robh@kernel.org
parent 0c0822bc
...@@ -39,7 +39,7 @@ patternProperties: ...@@ -39,7 +39,7 @@ patternProperties:
'^phy@[a-f0-9]+$': '^phy@[a-f0-9]+$':
$ref: ../phy/bcm-ns-usb2-phy.yaml $ref: ../phy/bcm-ns-usb2-phy.yaml
'^pin-controller@[a-f0-9]+$': '^pinctrl@[a-f0-9]+$':
$ref: ../pinctrl/brcm,ns-pinmux.yaml $ref: ../pinctrl/brcm,ns-pinmux.yaml
'^syscon@[a-f0-9]+$': '^syscon@[a-f0-9]+$':
...@@ -94,7 +94,7 @@ examples: ...@@ -94,7 +94,7 @@ examples:
reg = <0x180 0x4>; reg = <0x180 0x4>;
}; };
pin-controller@1c0 { pinctrl@1c0 {
compatible = "brcm,bcm4708-pinmux"; compatible = "brcm,bcm4708-pinmux";
reg = <0x1c0 0x24>; reg = <0x1c0 0x24>;
reg-names = "cru_gpio_control"; reg-names = "cru_gpio_control";
......
...@@ -126,7 +126,7 @@ properties: ...@@ -126,7 +126,7 @@ properties:
clock-frequency: clock-frequency:
const: 12288000 const: 12288000
lochnagar-pinctrl: pinctrl:
type: object type: object
$ref: /schemas/pinctrl/cirrus,lochnagar.yaml# $ref: /schemas/pinctrl/cirrus,lochnagar.yaml#
...@@ -255,7 +255,7 @@ required: ...@@ -255,7 +255,7 @@ required:
- reg - reg
- reset-gpios - reset-gpios
- lochnagar-clk - lochnagar-clk
- lochnagar-pinctrl - pinctrl
additionalProperties: false additionalProperties: false
...@@ -293,7 +293,7 @@ examples: ...@@ -293,7 +293,7 @@ examples:
clock-frequency = <32768>; clock-frequency = <32768>;
}; };
lochnagar-pinctrl { pinctrl {
compatible = "cirrus,lochnagar-pinctrl"; compatible = "cirrus,lochnagar-pinctrl";
gpio-controller; gpio-controller;
......
...@@ -107,9 +107,6 @@ properties: ...@@ -107,9 +107,6 @@ properties:
additionalProperties: false additionalProperties: false
allOf:
- $ref: "pinctrl.yaml#"
required: required:
- pinctrl-0 - pinctrl-0
- pinctrl-names - pinctrl-names
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment