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

dt-bindings: pinctrl: spacemit: add clock and reset property

SpacemiT K1 SoC's pinctrl controller requires two clocks in order
to work properly, also has one reset line from hardware perspective.

Signed-off-by: Yixun Lan <dlan@gentoo.org>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/20250416-02-k1-pinctrl-clk-v2-1-2b5fcbd4183c@gentoo.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Yixun Lan and committed by
Linus Walleij
c6650433 829d06ba

+18
+18
Documentation/devicetree/bindings/pinctrl/spacemit,k1-pinctrl.yaml
··· 17 17 items: 18 18 - description: pinctrl io memory base 19 19 20 + clocks: 21 + items: 22 + - description: Functional Clock 23 + - description: Bus Clock 24 + 25 + clock-names: 26 + items: 27 + - const: func 28 + - const: bus 29 + 30 + resets: 31 + maxItems: 1 32 + 20 33 patternProperties: 21 34 '-cfg$': 22 35 type: object ··· 107 94 required: 108 95 - compatible 109 96 - reg 97 + - clocks 98 + - clock-names 110 99 111 100 additionalProperties: false 112 101 ··· 123 108 pinctrl@d401e000 { 124 109 compatible = "spacemit,k1-pinctrl"; 125 110 reg = <0x0 0xd401e000 0x0 0x400>; 111 + clocks = <&syscon_apbc 42>, 112 + <&syscon_apbc 94>; 113 + clock-names = "func", "bus"; 126 114 127 115 uart0_2_cfg: uart0-2-cfg { 128 116 uart0-2-pins {