diff options
author | Alexander Stein <alexander.stein@ew.tq-group.com> | 2023-08-10 16:44:51 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-10-24 16:05:21 +0200 |
commit | 2e6fc0b81555c1d51b0a33c54aa31d2c22a4644f (patch) | |
tree | f93243575cbdf87c221e3e24edadf711e47ffb1f /Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml | |
parent | dt-bindings: arm: cpus: Add Qualcomm Kryo 465 (diff) | |
download | linux-2e6fc0b81555c1d51b0a33c54aa31d2c22a4644f.tar.xz linux-2e6fc0b81555c1d51b0a33c54aa31d2c22a4644f.zip |
dt-bindings: timer: fsl,imxgpt: Add optional osc_per clock
Since commit bad3db104f89 ("ARM: imx: source gpt per clk from OSC for
system timer") osc_per can be used for clocking the GPT which is not
scaled when entering low bus mode.
This clock source is available only on i.MX6Q (incl. i.MX6QP) and i.MX6DL.
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230810144451.1459985-7-alexander.stein@ew.tq-group.com
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml index dbe1267af06a..e2ec7ba99353 100644 --- a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml +++ b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml @@ -46,14 +46,18 @@ properties: maxItems: 1 clocks: + minItems: 2 items: - description: SoC GPT ipg clock - description: SoC GPT per clock + - description: SoC GPT osc per clock clock-names: + minItems: 2 items: - const: ipg - const: per + - const: osc_per required: - compatible @@ -62,6 +66,29 @@ required: - clocks - clock-names +allOf: + - if: + properties: + compatible: + contains: + enum: + - fsl,imx6dl-gpt + - fsl,imx6q-gpt + then: + properties: + clocks: + minItems: 2 + maxItems: 3 + clock-names: + minItems: 2 + maxItems: 3 + else: + properties: + clocks: + maxItems: 2 + clock-names: + maxItems: 2 + additionalProperties: false examples: |