aboutsummaryrefslogtreecommitdiff
path: root/docs/components/fconf/mpmm-bindings.rst
blob: d3cc857a821e3666f5d6353e326e3e1794b730e3 (plain)
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
Maximum Power Mitigation Mechanism (MPMM) Bindings
==================================================

|MPMM| support cannot be determined at runtime by the firmware. Instead, these
DTB bindings allow the platform to communicate per-core support for |MPMM| via
the ``HW_CONFIG`` device tree blob.

Bindings
^^^^^^^^

.. contents::
    :local:

``/cpus/cpus/cpu*`` node properties
"""""""""""""""""""""""""""""""""""

The ``cpu`` node has been augmented to allow the platform to indicate support
for |MPMM| on a given core.

+-------------------+-------+-------------+------------------------------------+
| Property name     | Usage | Value type  | Description                        |
+===================+=======+=============+====================================+
| ``supports-mpmm`` | O     | ``<empty>`` | If present, indicates that |MPMM|  |
|                   |       |             | is available on this core.         |
+-------------------+-------+-------------+------------------------------------+

Example
^^^^^^^

An example system offering two cores, one with support for |MPMM| and one
without, can be described as follows:

.. code-block::

    cpus {
        #address-cells = <2>;
        #size-cells = <0>;

        cpu0@00000 {
            ...

            supports-mpmm;
        };

        cpu1@00100 {
            ...
        };
    }