1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/mediatek,mt8186-fhctl.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: MediaTek frequency hopping and spread spectrum clocking control
8
9maintainers:
10  - Edward-JW Yang <edward-jw.yang@mediatek.com>
11
12description: |
13  Frequency hopping control (FHCTL) is a piece of hardware that control
14  some PLLs to adopt "hopping" mechanism to adjust their frequency.
15  Spread spectrum clocking (SSC) is another function provided by this hardware.
16
17properties:
18  compatible:
19    const: mediatek,mt8186-fhctl
20
21  reg:
22    maxItems: 1
23
24  clocks:
25    description: Phandles of the PLL with FHCTL hardware capability.
26    minItems: 1
27    maxItems: 30
28
29  mediatek,hopping-ssc-percent:
30    description: The percentage of spread spectrum clocking for one PLL.
31    minItems: 1
32    maxItems: 30
33    items:
34      default: 0
35      minimum: 0
36      maximum: 8
37
38required:
39  - compatible
40  - reg
41  - clocks
42
43additionalProperties: false
44
45examples:
46  - |
47    #include <dt-bindings/clock/mt8186-clk.h>
48    fhctl: fhctl@1000ce00 {
49        compatible = "mediatek,mt8186-fhctl";
50        reg = <0x1000ce00 0x200>;
51        clocks = <&apmixedsys CLK_APMIXED_MSDCPLL>;
52        mediatek,hopping-ssc-percent = <3>;
53    };
54