From 9d28de63f14a2100265e7dbe34812cc7ca8c22f5 Mon Sep 17 00:00:00 2001 From: Nikita Shubin Date: Fri, 28 Apr 2023 16:39:41 +0300 Subject: [PATCH] fixup! dt-bindings: pinctrl: Add DT bindings ep93xx pinctrl --- .../pinctrl/cirrus,ep93xx-pinctrl.yaml | 33 ++++++++----------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/cirrus,ep93xx-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/cirrus,ep93xx-pinctrl.yaml index cba4be7c5994a..c29fdd52b59cc 100644 --- a/Documentation/devicetree/bindings/pinctrl/cirrus,ep93xx-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/cirrus,ep93xx-pinctrl.yaml @@ -16,19 +16,16 @@ properties: - cirrus,ep9301-pinctrl - cirrus,ep9307-pinctrl - cirrus,ep9312-pinctrl - regmap: - description: phandle to syscon patternProperties: - '^pinctrl-': + '^pins-': type: object description: pin node $ref: pinmux-node.yaml# properties: function: - enum: [ spi, ac97, i2s, pwm, keypad, pata, lcd, gpio1, gpio2, gpio3, - gpio4, gpio6, gpio7 ] + enum: [ spi, ac97, i2s, pwm, keypad, pata, lcd, gpio ] groups: minItems: 1 maxItems: 2 @@ -43,24 +40,22 @@ patternProperties: required: - compatible - - regmap additionalProperties: false examples: - | - syscon: syscon@80930000 { - compatible = "cirrus,ep9301-syscon", - "syscon", "simple-mfd"; - reg = <0x80930000 0x1000>; - #clock-cells = <1>; - #reset-cells = <1>; - pinctrl: pinctrl { - compatible = "cirrus,ep9312-pinctrl"; - regmap = <&syscon>; - spi_default_pins: pinctrl-spi { - function = "spi"; - groups = "ssp"; - }; + syscon@80930000 { + compatible = "cirrus,ep9301-syscon", + "syscon", "simple-mfd"; + reg = <0x80930000 0x1000>; + #clock-cells = <1>; + #reset-cells = <1>; + pinctrl { + compatible = "cirrus,ep9312-pinctrl"; + spi_default_pins: pinctrl-spi { + function = "spi"; + groups = "ssp"; }; + }; }; -- 2.30.2