xref: /freebsd/sys/contrib/device-tree/Bindings/soc/ti/sci-pm-domain.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25956d97fSEmmanuel Vadot%YAML 1.2
35956d97fSEmmanuel Vadot---
45956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/soc/ti/sci-pm-domain.yaml#
55956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65956d97fSEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: TI-SCI generic power domain
85956d97fSEmmanuel Vadot
95956d97fSEmmanuel Vadotmaintainers:
105956d97fSEmmanuel Vadot  - Nishanth Menon <nm@ti.com>
115956d97fSEmmanuel Vadot
125956d97fSEmmanuel VadotallOf:
135956d97fSEmmanuel Vadot  - $ref: /schemas/power/power-domain.yaml#
145956d97fSEmmanuel Vadot
155956d97fSEmmanuel Vadotdescription: |
165956d97fSEmmanuel Vadot  Some TI SoCs contain a system controller (like the Power Management Micro
175956d97fSEmmanuel Vadot  Controller (PMMC) on Keystone 66AK2G SoC) that are responsible for controlling
185956d97fSEmmanuel Vadot  the state of the various hardware modules present on the SoC. Communication
195956d97fSEmmanuel Vadot  between the host processor running an OS and the system controller happens
205956d97fSEmmanuel Vadot  through a protocol called TI System Control Interface (TI-SCI protocol).
215956d97fSEmmanuel Vadot
225956d97fSEmmanuel Vadot  This PM domain node represents the global PM domain managed by the TI-SCI
235956d97fSEmmanuel Vadot  controller. Since this relies on the TI SCI protocol to communicate with
245956d97fSEmmanuel Vadot  the TI-SCI controller, it must be a child of the TI-SCI controller node.
255956d97fSEmmanuel Vadot
265956d97fSEmmanuel Vadotproperties:
275956d97fSEmmanuel Vadot  compatible:
285956d97fSEmmanuel Vadot    const: ti,sci-pm-domain
295956d97fSEmmanuel Vadot
305956d97fSEmmanuel Vadot  "#power-domain-cells":
315956d97fSEmmanuel Vadot    enum: [1, 2]
325956d97fSEmmanuel Vadot    description:
335956d97fSEmmanuel Vadot      The two cells represent values that the TI-SCI controller defines.
345956d97fSEmmanuel Vadot
355956d97fSEmmanuel Vadot      The first cell should contain the device ID.
365956d97fSEmmanuel Vadot
375956d97fSEmmanuel Vadot      The second cell, if cell-value is 2, should be one of the following
385956d97fSEmmanuel Vadot      TI_SCI_PD_EXCLUSIVE - Allows the device to be exclusively controlled
395956d97fSEmmanuel Vadot      or
405956d97fSEmmanuel Vadot      TI_SCI_PD_SHARED - Allows the device to be shared by multiple hosts.
415956d97fSEmmanuel Vadot      Please refer to dt-bindings/soc/ti,sci_pm_domain.h for the definitions.
425956d97fSEmmanuel Vadot
43*0e8011faSEmmanuel Vadot      Please see https://software-dl.ti.com/tisci/esd/latest/index.html for
445956d97fSEmmanuel Vadot      protocol documentation for the values to be used for different devices.
455956d97fSEmmanuel Vadot
465956d97fSEmmanuel VadotadditionalProperties: false
475956d97fSEmmanuel Vadot
485956d97fSEmmanuel Vadotexamples:
495956d97fSEmmanuel Vadot  - |
505956d97fSEmmanuel Vadot    k2g_pds: power-controller {
515956d97fSEmmanuel Vadot        compatible = "ti,sci-pm-domain";
525956d97fSEmmanuel Vadot        #power-domain-cells = <1>;
535956d97fSEmmanuel Vadot    };
545956d97fSEmmanuel Vadot
555956d97fSEmmanuel Vadot  - |
565956d97fSEmmanuel Vadot    k3_pds: power-controller {
575956d97fSEmmanuel Vadot        compatible = "ti,sci-pm-domain";
585956d97fSEmmanuel Vadot        #power-domain-cells = <2>;
595956d97fSEmmanuel Vadot    };
60