Some domains do not come up in a usable state on their own and need their resets cycled once power is on. The RK3576 NPU domains are one case: without it the first access after power-on takes an async SError.
pd-node has no resets property and every nesting level is unevaluatedProperties: false, so describing that in DT is rejected today. Add it alongside clocks. Signed-off-by: Jiaxing Hu <[email protected]> --- .../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 b41db576f..f23c1a118 100644 --- a/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml +++ b/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml @@ -136,6 +136,14 @@ $defs: A number of phandles to clocks that need to be enabled while power domain switches state. + resets: + minItems: 1 + maxItems: 30 + description: | + A number of phandles to resets that need 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. -- 2.43.0
