dt-bindings: soc: loongson,ls2k-pmc: Allow syscon-reboot/syscon-poweroff as child
authorBinbin Zhou <zhoubinbin@loongson.cn>
Thu, 31 Aug 2023 11:43:24 +0000 (19:43 +0800)
committerArnd Bergmann <arnd@arndb.de>
Wed, 27 Sep 2023 09:05:19 +0000 (11:05 +0200)
commit8c4102f20a968ef466ed6b63930a546f57966ca1
treecc993f3709045905cb4c647860b9c63342a606b1
parente26e788a2a0be414397ced9cc8e462e6baa497c6
dt-bindings: soc: loongson,ls2k-pmc: Allow syscon-reboot/syscon-poweroff as child

The reboot and poweroff features are actually part of the Power
Management Unit system controller, thus allow them as its children,
instead of specifying as separate device nodes with syscon phandle.

Without it, the reboot/poweroff feature becomes unavailable.

Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Documentation/devicetree/bindings/soc/loongson/loongson,ls2k-pmc.yaml