Skip to content

Commit dff9f3f

Browse files
andredkrzk
authored andcommitted
dt-bindings: pinctrl: samsung: google,gs101-pinctrl needs a clock
The pin controller on Google Tensor gs101 requires a bus clock for register access to work. Add it. Signed-off-by: André Draszik <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 4184e49 commit dff9f3f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ properties:
7373
minItems: 1
7474
maxItems: 2
7575

76+
clocks:
77+
maxItems: 1
78+
79+
clock-names:
80+
items:
81+
- const: pclk
82+
7683
wakeup-interrupt-controller:
7784
$ref: samsung,pinctrl-wakeup-interrupt.yaml
7885

@@ -120,6 +127,20 @@ required:
120127

121128
allOf:
122129
- $ref: pinctrl.yaml#
130+
- if:
131+
properties:
132+
compatible:
133+
contains:
134+
const: google,gs101-pinctrl
135+
then:
136+
required:
137+
- clocks
138+
- clock-names
139+
else:
140+
properties:
141+
clocks: false
142+
clock-names: false
143+
123144
- if:
124145
properties:
125146
compatible:

0 commit comments

Comments
 (0)