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

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>

authored by

Alexander Stein and committed by
Rob Herring
2e6fc0b8 07a37547

+27
+27
Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml
··· 46 46 maxItems: 1 47 47 48 48 clocks: 49 + minItems: 2 49 50 items: 50 51 - description: SoC GPT ipg clock 51 52 - description: SoC GPT per clock 53 + - description: SoC GPT osc per clock 52 54 53 55 clock-names: 56 + minItems: 2 54 57 items: 55 58 - const: ipg 56 59 - const: per 60 + - const: osc_per 57 61 58 62 required: 59 63 - compatible ··· 65 61 - interrupts 66 62 - clocks 67 63 - clock-names 64 + 65 + allOf: 66 + - if: 67 + properties: 68 + compatible: 69 + contains: 70 + enum: 71 + - fsl,imx6dl-gpt 72 + - fsl,imx6q-gpt 73 + then: 74 + properties: 75 + clocks: 76 + minItems: 2 77 + maxItems: 3 78 + clock-names: 79 + minItems: 2 80 + maxItems: 3 81 + else: 82 + properties: 83 + clocks: 84 + maxItems: 2 85 + clock-names: 86 + maxItems: 2 68 87 69 88 additionalProperties: false 70 89