~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/clock/sprd,sc9863a-clk.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 # Copyright 2019 Unisoc Inc.
  3 %YAML 1.2
  4 ---
  5 $id: http://devicetree.org/schemas/clock/sprd,sc9863a-clk.yaml#
  6 $schema: http://devicetree.org/meta-schemas/core.yaml#
  7 
  8 title: SC9863A Clock Control Unit
  9 
 10 maintainers:
 11   - Orson Zhai <orsonzhai@gmail.com>
 12   - Baolin Wang <baolin.wang7@gmail.com>
 13   - Chunyan Zhang <zhang.lyra@gmail.com>
 14 
 15 properties:
 16   "#clock-cells":
 17     const: 1
 18 
 19   compatible:
 20     enum:
 21       - sprd,sc9863a-ap-clk
 22       - sprd,sc9863a-aon-clk
 23       - sprd,sc9863a-apahb-gate
 24       - sprd,sc9863a-pmu-gate
 25       - sprd,sc9863a-aonapb-gate
 26       - sprd,sc9863a-pll
 27       - sprd,sc9863a-mpll
 28       - sprd,sc9863a-rpll
 29       - sprd,sc9863a-dpll
 30       - sprd,sc9863a-mm-gate
 31       - sprd,sc9863a-mm-clk
 32       - sprd,sc9863a-apapb-gate
 33 
 34   clocks:
 35     minItems: 1
 36     maxItems: 4
 37     description: |
 38       The input parent clock(s) phandle for this clock, only list fixed
 39       clocks which are declared in devicetree.
 40 
 41   clock-names:
 42     minItems: 1
 43     items:
 44       - const: ext-26m
 45       - const: ext-32k
 46       - const: ext-4m
 47       - const: rco-100m
 48 
 49   reg:
 50     maxItems: 1
 51 
 52 required:
 53   - compatible
 54   - '#clock-cells'
 55 
 56 if:
 57   properties:
 58     compatible:
 59       enum:
 60         - sprd,sc9863a-ap-clk
 61         - sprd,sc9863a-aon-clk
 62 then:
 63   required:
 64     - reg
 65 
 66 else:
 67   description: |
 68     Other SC9863a clock nodes should be the child of a syscon node in
 69     which compatible string should be:
 70             "sprd,sc9863a-glbregs", "syscon", "simple-mfd"
 71 
 72     The 'reg' property for the clock node is also required if there is a sub
 73     range of registers for the clocks.
 74 
 75 additionalProperties: false
 76 
 77 examples:
 78   - |
 79     ap_clk: clock-controller@21500000 {
 80       compatible = "sprd,sc9863a-ap-clk";
 81       reg = <0x21500000 0x1000>;
 82       clocks = <&ext_26m>, <&ext_32k>;
 83       clock-names = "ext-26m", "ext-32k";
 84       #clock-cells = <1>;
 85     };
 86 
 87   - |
 88     syscon@20e00000 {
 89       compatible = "sprd,sc9863a-glbregs", "syscon", "simple-mfd";
 90       reg = <0x20e00000 0x4000>;
 91       #address-cells = <1>;
 92       #size-cells = <1>;
 93       ranges = <0 0x20e00000 0x4000>;
 94 
 95       apahb_gate: apahb-gate@0 {
 96         compatible = "sprd,sc9863a-apahb-gate";
 97         reg = <0x0 0x1020>;
 98         #clock-cells = <1>;
 99       };
100     };
101 
102 ...

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php