[PATCH v16 07/16] dt-bindings: power: rockchip: allow resets in a power domain node
Jiaxing Hu
gahing at gahingwoo.com
Sat Nov 7 22:59:08 PST 2026
Some power domains need a reset after they are powered on before the
hardware can be accessed.
The RK3576 NPU power domains are like this: without the reset, the first
access to the hardware after power-on can raise an SError.
Allow a resets property in power domain nodes to describe this.
Signed-off-by: Jiaxing Hu <gahing at gahingwoo.com>
Acked-by: Conor Dooley <conor.dooley at microchip.com>
Reviewed-by: Heiko Stuebner <heiko at sntech.de>
---
.../bindings/power/rockchip,power-controller.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml b/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml
index b41db576f95d..83741f048716 100644
--- a/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml
+++ b/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml
@@ -136,6 +136,13 @@ $defs:
A number of phandles to clocks that need to be enabled
while power domain switches state.
+ resets:
+ maxItems: 1
+ description:
+ A phandle to a reset that needs to be cycled once the power domain has
+ been switched on, for domains whose logic does not come up in a usable
+ state by itself.
+
domain-supply:
description: domain regulator supply.
@@ -216,6 +223,7 @@ examples:
reg = <RK3399_PD_IEP>;
clocks = <&cru ACLK_IEP>,
<&cru HCLK_IEP>;
+ resets = <&cru SRST_A_IEP>;
pm_qos = <&qos_iep>;
#power-domain-cells = <0>;
};
--
2.43.0
More information about the Linux-rockchip
mailing list