mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
5e7d4c6529
The power management controller on Tegra186 has changed in backwards- incompatible ways with respect to earlier generations. This implements a new driver that supports inversion of the PMU interrupt as well as the "recovery", "bootloader" and "forced-recovery" reboot commands. Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Thierry Reding <treding@nvidia.com>
35 lines
771 B
Plaintext
35 lines
771 B
Plaintext
NVIDIA Tegra Power Management Controller (PMC)
|
|
|
|
Required properties:
|
|
- compatible: Should contain one of the following:
|
|
- "nvidia,tegra186-pmc": for Tegra186
|
|
- reg: Must contain an (offset, length) pair of the register set for each
|
|
entry in reg-names.
|
|
- reg-names: Must include the following entries:
|
|
- "pmc"
|
|
- "wake"
|
|
- "aotag"
|
|
- "scratch"
|
|
|
|
Optional properties:
|
|
- nvidia,invert-interrupt: If present, inverts the PMU interrupt signal.
|
|
|
|
Example:
|
|
|
|
SoC DTSI:
|
|
|
|
pmc@c3600000 {
|
|
compatible = "nvidia,tegra186-pmc";
|
|
reg = <0 0x0c360000 0 0x10000>,
|
|
<0 0x0c370000 0 0x10000>,
|
|
<0 0x0c380000 0 0x10000>,
|
|
<0 0x0c390000 0 0x10000>;
|
|
reg-names = "pmc", "wake", "aotag", "scratch";
|
|
};
|
|
|
|
Board DTS:
|
|
|
|
pmc@c360000 {
|
|
nvidia,invert-interrupt;
|
|
};
|