mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-03 17:51:23 +00:00

The PRM (Power and Reset Module) has a register to enable and disable the related power domain, so let's update the binding for that. Signed-off-by: Tony Lindgren <tony@atomide.com> Acked-by: Santosh Shilimkar <ssantosh@kernel.org> Acked-by: Rob Herring <robh@kernel.org> Cc: devicetree@vger.kernel.org Cc: Rob Herring <robh@kernel.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
32 lines
901 B
Plaintext
32 lines
901 B
Plaintext
OMAP PRM instance bindings
|
|
|
|
Power and Reset Manager is an IP block on OMAP family of devices which
|
|
handle the power domains and their current state, and provide reset
|
|
handling for the domains and/or separate IP blocks under the power domain
|
|
hierarchy.
|
|
|
|
Required properties:
|
|
- compatible: Must contain one of the following:
|
|
"ti,am3-prm-inst"
|
|
"ti,am4-prm-inst"
|
|
"ti,omap4-prm-inst"
|
|
"ti,omap5-prm-inst"
|
|
"ti,dra7-prm-inst"
|
|
and additionally must contain:
|
|
"ti,omap-prm-inst"
|
|
- reg: Contains PRM instance register address range
|
|
(base address and length)
|
|
|
|
Optional properties:
|
|
- #power-domain-cells: Should be 0 if the instance is a power domain provider.
|
|
- #reset-cells: Should be 1 if the PRM instance in question supports resets.
|
|
|
|
Example:
|
|
|
|
prm_dsp2: prm@1b00 {
|
|
compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
|
|
reg = <0x1b00 0x40>;
|
|
#power-domain-cells = <0>;
|
|
#reset-cells = <1>;
|
|
};
|