Documentation / devicetree / bindings / clock / samsung,s3c6400-clock.yaml


Based on kernel version 6.10. Page generated on 2024-07-16 08:59 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/samsung,s3c6400-clock.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Samsung S3C6400 SoC clock controller

maintainers:
  - Krzysztof Kozlowski <krzk@kernel.org>

description: |
  There are several clocks that are generated outside the SoC. It is expected
  that they are defined using standard clock bindings with following
  clock-output-names and/or provided as clock inputs to this clock controller:
   - "fin_pll" - PLL input clock (xtal/extclk) - required,
   - "xusbxti" - USB xtal - required,
   - "iiscdclk0" - I2S0 codec clock - optional,
   - "iiscdclk1" - I2S1 codec clock - optional,
   - "iiscdclk2" - I2S2 codec clock - optional,
   - "pcmcdclk0" - PCM0 codec clock - optional,
   - "pcmcdclk1" - PCM1 codec clock - optional, only S3C6410.
 
  All available clocks are defined as preprocessor macros in
  include/dt-bindings/clock/samsung,s3c64xx-clock.h header.

properties:
  compatible:
    enum:
      - samsung,s3c6400-clock
      - samsung,s3c6410-clock

  reg:
    maxItems: 1

  clocks:
    maxItems: 1
 
  "#clock-cells":
    const: 1

required:
  - compatible
  - reg
  - clocks
  - "#clock-cells"

additionalProperties: false

examples:
  - |
    clock-controller@7e00f000 {
        compatible = "samsung,s3c6410-clock";
        reg = <0x7e00f000 0x1000>;
        #clock-cells = <1>;
        clocks = <&fin_pll>;
    };