Documentation / devicetree / bindings / arm / hisilicon / controller / hi6220-domain-ctrl.yaml


Based on kernel version 6.9. Page generated on 2024-05-14 10:02 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 58 59 60 61 62 63 64 65 66 67 68
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/arm/hisilicon/controller/hi6220-domain-ctrl.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Hisilicon Hi6220 domain controller

maintainers:
  - Wei Xu <xuwei5@hisilicon.com>

description: |
  Hisilicon designs some special domain controllers for mobile platform,
  such as: the power Always On domain controller, the Media domain
  controller(e.g. codec, G3D ...) and the Power Management domain
  controller.
 
  The compatible names of each domain controller are as follows:
  Power Always ON domain controller  --> hisilicon,hi6220-aoctrl
  Media domain controller            --> hisilicon,hi6220-mediactrl
  Power Management domain controller --> hisilicon,hi6220-pmctrl

properties:
  compatible:
    items:
      - enum:
          - hisilicon,hi6220-aoctrl
          - hisilicon,hi6220-mediactrl
          - hisilicon,hi6220-pmctrl
      - const: syscon

  reg:
    maxItems: 1
 
  '#clock-cells':
    const: 1
 
  '#reset-cells':
    const: 1

required:
  - compatible
  - reg
  - '#clock-cells'

additionalProperties: false

examples:
  - |
    ao_ctrl@f7800000 {
        compatible = "hisilicon,hi6220-aoctrl", "syscon";
        reg = <0xf7800000 0x2000>;
        #clock-cells = <1>;
        #reset-cells = <1>;
    };
 
    media_ctrl@f4410000 {
        compatible = "hisilicon,hi6220-mediactrl", "syscon";
        reg = <0xf4410000 0x1000>;
        #clock-cells = <1>;
    };
 
    pm_ctrl@f7032000 {
        compatible = "hisilicon,hi6220-pmctrl", "syscon";
        reg = <0xf7032000 0x1000>;
        #clock-cells = <1>;
    };
...