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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/clock/amlogic,axg-audio-clkc.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 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/clock/amlogic,axg-audio-clkc.yaml (Architecture i386) and /Documentation/devicetree/bindings/clock/amlogic,axg-audio-clkc.yaml (Architecture ppc)


  1 # SPDX-License-Identifier: GPL-2.0-only OR BSD      1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/clock/amlog      4 $id: http://devicetree.org/schemas/clock/amlogic,axg-audio-clkc.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Amlogic AXG Audio Clock Controller           7 title: Amlogic AXG Audio Clock Controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Neil Armstrong <neil.armstrong@linaro.org>      10   - Neil Armstrong <neil.armstrong@linaro.org>
 11   - Jerome Brunet <jbrunet@baylibre.com>            11   - Jerome Brunet <jbrunet@baylibre.com>
 12                                                    12 
 13 description:                                       13 description:
 14   The Amlogic AXG audio clock controller gener     14   The Amlogic AXG audio clock controller generates and supplies clock to the
 15   other elements of the audio subsystem, such      15   other elements of the audio subsystem, such as fifos, i2s, spdif and pdm
 16   devices.                                         16   devices.
 17                                                    17 
 18 properties:                                        18 properties:
 19   compatible:                                      19   compatible:
 20     enum:                                          20     enum:
 21       - amlogic,axg-audio-clkc                     21       - amlogic,axg-audio-clkc
 22       - amlogic,g12a-audio-clkc                    22       - amlogic,g12a-audio-clkc
 23       - amlogic,sm1-audio-clkc                     23       - amlogic,sm1-audio-clkc
 24                                                    24 
 25   '#clock-cells':                                  25   '#clock-cells':
 26     const: 1                                       26     const: 1
 27                                                    27 
 28   '#reset-cells':                                  28   '#reset-cells':
 29     const: 1                                       29     const: 1
 30                                                    30 
 31   reg:                                             31   reg:
 32     maxItems: 1                                    32     maxItems: 1
 33                                                    33 
 34   clocks:                                          34   clocks:
 35     minItems: 1                                    35     minItems: 1
 36     items:                                         36     items:
 37       - description: main peripheral bus clock     37       - description: main peripheral bus clock
 38       - description: input plls to generate cl     38       - description: input plls to generate clock signals N0
 39       - description: input plls to generate cl     39       - description: input plls to generate clock signals N1
 40       - description: input plls to generate cl     40       - description: input plls to generate clock signals N2
 41       - description: input plls to generate cl     41       - description: input plls to generate clock signals N3
 42       - description: input plls to generate cl     42       - description: input plls to generate clock signals N4
 43       - description: input plls to generate cl     43       - description: input plls to generate clock signals N5
 44       - description: input plls to generate cl     44       - description: input plls to generate clock signals N6
 45       - description: input plls to generate cl     45       - description: input plls to generate clock signals N7
 46       - description: slave bit clock N0 provid     46       - description: slave bit clock N0 provided by external components
 47       - description: slave bit clock N1 provid     47       - description: slave bit clock N1 provided by external components
 48       - description: slave bit clock N2 provid     48       - description: slave bit clock N2 provided by external components
 49       - description: slave bit clock N3 provid     49       - description: slave bit clock N3 provided by external components
 50       - description: slave bit clock N4 provid     50       - description: slave bit clock N4 provided by external components
 51       - description: slave bit clock N5 provid     51       - description: slave bit clock N5 provided by external components
 52       - description: slave bit clock N6 provid     52       - description: slave bit clock N6 provided by external components
 53       - description: slave bit clock N7 provid     53       - description: slave bit clock N7 provided by external components
 54       - description: slave bit clock N8 provid     54       - description: slave bit clock N8 provided by external components
 55       - description: slave bit clock N9 provid     55       - description: slave bit clock N9 provided by external components
 56       - description: slave sample clock N0 pro     56       - description: slave sample clock N0 provided by external components
 57       - description: slave sample clock N1 pro     57       - description: slave sample clock N1 provided by external components
 58       - description: slave sample clock N2 pro     58       - description: slave sample clock N2 provided by external components
 59       - description: slave sample clock N3 pro     59       - description: slave sample clock N3 provided by external components
 60       - description: slave sample clock N4 pro     60       - description: slave sample clock N4 provided by external components
 61       - description: slave sample clock N5 pro     61       - description: slave sample clock N5 provided by external components
 62       - description: slave sample clock N6 pro     62       - description: slave sample clock N6 provided by external components
 63       - description: slave sample clock N7 pro     63       - description: slave sample clock N7 provided by external components
 64       - description: slave sample clock N8 pro     64       - description: slave sample clock N8 provided by external components
 65       - description: slave sample clock N9 pro     65       - description: slave sample clock N9 provided by external components
 66                                                    66 
 67   clock-names:                                     67   clock-names:
 68     minItems: 1                                    68     minItems: 1
 69     items:                                         69     items:
 70       - const: pclk                                70       - const: pclk
 71       - const: mst_in0                             71       - const: mst_in0
 72       - const: mst_in1                             72       - const: mst_in1
 73       - const: mst_in2                             73       - const: mst_in2
 74       - const: mst_in3                             74       - const: mst_in3
 75       - const: mst_in4                             75       - const: mst_in4
 76       - const: mst_in5                             76       - const: mst_in5
 77       - const: mst_in6                             77       - const: mst_in6
 78       - const: mst_in7                             78       - const: mst_in7
 79       - const: slv_sclk0                           79       - const: slv_sclk0
 80       - const: slv_sclk1                           80       - const: slv_sclk1
 81       - const: slv_sclk2                           81       - const: slv_sclk2
 82       - const: slv_sclk3                           82       - const: slv_sclk3
 83       - const: slv_sclk4                           83       - const: slv_sclk4
 84       - const: slv_sclk5                           84       - const: slv_sclk5
 85       - const: slv_sclk6                           85       - const: slv_sclk6
 86       - const: slv_sclk7                           86       - const: slv_sclk7
 87       - const: slv_sclk8                           87       - const: slv_sclk8
 88       - const: slv_sclk9                           88       - const: slv_sclk9
 89       - const: slv_lrclk0                          89       - const: slv_lrclk0
 90       - const: slv_lrclk1                          90       - const: slv_lrclk1
 91       - const: slv_lrclk2                          91       - const: slv_lrclk2
 92       - const: slv_lrclk3                          92       - const: slv_lrclk3
 93       - const: slv_lrclk4                          93       - const: slv_lrclk4
 94       - const: slv_lrclk5                          94       - const: slv_lrclk5
 95       - const: slv_lrclk6                          95       - const: slv_lrclk6
 96       - const: slv_lrclk7                          96       - const: slv_lrclk7
 97       - const: slv_lrclk8                          97       - const: slv_lrclk8
 98       - const: slv_lrclk9                          98       - const: slv_lrclk9
 99                                                    99 
100   resets:                                         100   resets:
101     description: internal reset line              101     description: internal reset line
102                                                   102 
103 required:                                         103 required:
104   - compatible                                    104   - compatible
105   - '#clock-cells'                                105   - '#clock-cells'
106   - reg                                           106   - reg
107   - clocks                                        107   - clocks
108   - clock-names                                   108   - clock-names
109   - resets                                        109   - resets
110                                                   110 
111 allOf:                                            111 allOf:
112   - if:                                           112   - if:
113       properties:                                 113       properties:
114         compatible:                               114         compatible:
115           contains:                               115           contains:
116             enum:                                 116             enum:
117               - amlogic,g12a-audio-clkc           117               - amlogic,g12a-audio-clkc
118               - amlogic,sm1-audio-clkc            118               - amlogic,sm1-audio-clkc
119     then:                                         119     then:
120       required:                                   120       required:
121         - '#reset-cells'                          121         - '#reset-cells'
122     else:                                         122     else:
123       properties:                                 123       properties:
124         '#reset-cells': false                     124         '#reset-cells': false
125                                                   125 
126 additionalProperties: false                       126 additionalProperties: false
127                                                   127 
128 examples:                                         128 examples:
129   - |                                             129   - |
130     #include <dt-bindings/clock/axg-clkc.h>       130     #include <dt-bindings/clock/axg-clkc.h>
131     #include <dt-bindings/reset/amlogic,meson-    131     #include <dt-bindings/reset/amlogic,meson-axg-reset.h>
132     apb {                                         132     apb {
133         #address-cells = <2>;                     133         #address-cells = <2>;
134         #size-cells = <2>;                        134         #size-cells = <2>;
135                                                   135 
136         clkc_audio: clock-controller@0 {          136         clkc_audio: clock-controller@0 {
137             compatible = "amlogic,axg-audio-cl    137             compatible = "amlogic,axg-audio-clkc";
138             reg = <0x0 0x0 0x0 0xb4>;             138             reg = <0x0 0x0 0x0 0xb4>;
139             #clock-cells = <1>;                   139             #clock-cells = <1>;
140                                                   140 
141             clocks = <&clkc CLKID_AUDIO>,         141             clocks = <&clkc CLKID_AUDIO>,
142                      <&clkc CLKID_MPLL0>,         142                      <&clkc CLKID_MPLL0>,
143                      <&clkc CLKID_MPLL1>,         143                      <&clkc CLKID_MPLL1>,
144                      <&clkc CLKID_MPLL2>,         144                      <&clkc CLKID_MPLL2>,
145                      <&clkc CLKID_MPLL3>,         145                      <&clkc CLKID_MPLL3>,
146                      <&clkc CLKID_HIFI_PLL>,      146                      <&clkc CLKID_HIFI_PLL>,
147                      <&clkc CLKID_FCLK_DIV3>,     147                      <&clkc CLKID_FCLK_DIV3>,
148                      <&clkc CLKID_FCLK_DIV4>,     148                      <&clkc CLKID_FCLK_DIV4>,
149                      <&clkc CLKID_GP0_PLL>,       149                      <&clkc CLKID_GP0_PLL>,
150                      <&slv_sclk0>,                150                      <&slv_sclk0>,
151                      <&slv_sclk1>,                151                      <&slv_sclk1>,
152                      <&slv_sclk2>,                152                      <&slv_sclk2>,
153                      <&slv_sclk3>,                153                      <&slv_sclk3>,
154                      <&slv_sclk4>,                154                      <&slv_sclk4>,
155                      <&slv_sclk5>,                155                      <&slv_sclk5>,
156                      <&slv_sclk6>,                156                      <&slv_sclk6>,
157                      <&slv_sclk7>,                157                      <&slv_sclk7>,
158                      <&slv_sclk8>,                158                      <&slv_sclk8>,
159                      <&slv_sclk9>,                159                      <&slv_sclk9>,
160                      <&slv_lrclk0>,               160                      <&slv_lrclk0>,
161                      <&slv_lrclk1>,               161                      <&slv_lrclk1>,
162                      <&slv_lrclk2>,               162                      <&slv_lrclk2>,
163                      <&slv_lrclk3>,               163                      <&slv_lrclk3>,
164                      <&slv_lrclk4>,               164                      <&slv_lrclk4>,
165                      <&slv_lrclk5>,               165                      <&slv_lrclk5>,
166                      <&slv_lrclk6>,               166                      <&slv_lrclk6>,
167                      <&slv_lrclk7>,               167                      <&slv_lrclk7>,
168                      <&slv_lrclk8>,               168                      <&slv_lrclk8>,
169                      <&slv_lrclk9>;               169                      <&slv_lrclk9>;
170             clock-names = "pclk",                 170             clock-names = "pclk",
171                           "mst_in0",              171                           "mst_in0",
172                           "mst_in1",              172                           "mst_in1",
173                           "mst_in2",              173                           "mst_in2",
174                           "mst_in3",              174                           "mst_in3",
175                           "mst_in4",              175                           "mst_in4",
176                           "mst_in5",              176                           "mst_in5",
177                           "mst_in6",              177                           "mst_in6",
178                           "mst_in7",              178                           "mst_in7",
179                           "slv_sclk0",            179                           "slv_sclk0",
180                           "slv_sclk1",            180                           "slv_sclk1",
181                           "slv_sclk2",            181                           "slv_sclk2",
182                           "slv_sclk3",            182                           "slv_sclk3",
183                           "slv_sclk4",            183                           "slv_sclk4",
184                           "slv_sclk5",            184                           "slv_sclk5",
185                           "slv_sclk6",            185                           "slv_sclk6",
186                           "slv_sclk7",            186                           "slv_sclk7",
187                           "slv_sclk8",            187                           "slv_sclk8",
188                           "slv_sclk9",            188                           "slv_sclk9",
189                           "slv_lrclk0",           189                           "slv_lrclk0",
190                           "slv_lrclk1",           190                           "slv_lrclk1",
191                           "slv_lrclk2",           191                           "slv_lrclk2",
192                           "slv_lrclk3",           192                           "slv_lrclk3",
193                           "slv_lrclk4",           193                           "slv_lrclk4",
194                           "slv_lrclk5",           194                           "slv_lrclk5",
195                           "slv_lrclk6",           195                           "slv_lrclk6",
196                           "slv_lrclk7",           196                           "slv_lrclk7",
197                           "slv_lrclk8",           197                           "slv_lrclk8",
198                           "slv_lrclk9";           198                           "slv_lrclk9";
199             resets = <&reset RESET_AUDIO>;        199             resets = <&reset RESET_AUDIO>;
200         };                                        200         };
201     };                                            201     };
                                                      

~ [ 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