diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2015-03-17 05:36:11 -0400 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2015-03-30 05:43:36 -0400 |
commit | 552644687838089766457612f6dcf1c897ea09a8 (patch) | |
tree | c4a50c85668aea140a9f4532343d61c4de8c88b0 | |
parent | 160b2dd712ee4621617fbd3eb7d8e28375ecdba0 (diff) |
of: Add binding for NVIDIA Tegra ACTMON node
This block gathers statistics about various counters and can be configured to
fire interrupts when thresholds are crossed.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
[treding@nvidia.com: rename document, minor cleanups]
Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r-- | Documentation/devicetree/bindings/arm/tegra/nvidia,tegra30-actmon.txt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra30-actmon.txt b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra30-actmon.txt new file mode 100644 index 000000000000..ea670a5d7ee3 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra30-actmon.txt | |||
@@ -0,0 +1,32 @@ | |||
1 | NVIDIA Tegra Activity Monitor | ||
2 | |||
3 | The activity monitor block collects statistics about the behaviour of other | ||
4 | components in the system. This information can be used to derive the rate at | ||
5 | which the external memory needs to be clocked in order to serve all requests | ||
6 | from the monitored clients. | ||
7 | |||
8 | Required properties: | ||
9 | - compatible: should be "nvidia,tegra<chip>-actmon" | ||
10 | - reg: offset and length of the register set for the device | ||
11 | - interrupts: standard interrupt property | ||
12 | - clocks: Must contain a phandle and clock specifier pair for each entry in | ||
13 | clock-names. See ../../clock/clock-bindings.txt for details. | ||
14 | - clock-names: Must include the following entries: | ||
15 | - actmon | ||
16 | - emc | ||
17 | - resets: Must contain an entry for each entry in reset-names. See | ||
18 | ../../reset/reset.txt for details. | ||
19 | - reset-names: Must include the following entries: | ||
20 | - actmon | ||
21 | |||
22 | Example: | ||
23 | actmon@6000c800 { | ||
24 | compatible = "nvidia,tegra124-actmon"; | ||
25 | reg = <0x0 0x6000c800 0x0 0x400>; | ||
26 | interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; | ||
27 | clocks = <&tegra_car TEGRA124_CLK_ACTMON>, | ||
28 | <&tegra_car TEGRA124_CLK_EMC>; | ||
29 | clock-names = "actmon", "emc"; | ||
30 | resets = <&tegra_car 119>; | ||
31 | reset-names = "actmon"; | ||
32 | }; | ||