diff options
author | Hector Martin <marcan@marcan.st> | 2021-11-24 16:34:16 +0900 |
---|---|---|
committer | Hector Martin <marcan@marcan.st> | 2021-12-07 13:04:08 +0900 |
commit | e8117f85b95b932069b9db73ccb3ee973ade2fc9 (patch) | |
tree | f327dce7b419389854576c1b279f00769c1cdd93 /lib/mpi/mpiutil.c | |
parent | bd4d13ed210a6d3aadaaa9c93ee7e0671579cd10 (diff) |
dt-bindings: power: Add apple,pmgr-pwrstate binding
This syscon child node represents a single SoC device controlled by the
PMGR block. This layout allows us to declare all device power state
controls (power/clock gating and reset) in the device tree, including
dependencies, instead of hardcoding it into the driver. The register
layout is uniform.
Each pmgr-pwrstate node provides genpd and reset features, to be
consumed by downstream device nodes.
Future SoCs are expected to use backwards compatible registers, and the
"apple,pmgr-pwrstate" represents any such interfaces (possibly with
additional features gated by the more specific compatible), allowing
them to be bound without driver updates. If a backwards incompatible
change is introduced in future SoCs, it will require a new compatible,
such as "apple,pmgr-pwrstate-v2".
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Hector Martin <marcan@marcan.st>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions