[PATCH 1/2] dt-bindings: rockchip: pmu: Narrow definition of reboot-mode
Heiko Stuebner
heiko at sntech.de
Tue Jul 7 12:44:32 PDT 2026
On Wed, 01 Jul 2026 12:58:50 +0200, Krzysztof Kozlowski wrote:
> The 'reboot-mode' child of PMU node must be a syscon-reboot-mode one, so
> add missing $ref to enforce the validation and disallow other
> reboot-mode handlers.
> Defining 'type: object' is on the other hand not necessary when other
> schema is referenced.
>
> This can be further restricted to match hardware/firmware:
> syscon-reboot-mode schema allows arbitrary "mode-.* properties but only
> a subset actually makes sense and is valid. Provide negative look-ahead
> pattern to disallow any modes not supported by the device, which
> tightens the binding.
>
> [...]
Applied, thanks!
[1/2] dt-bindings: rockchip: pmu: Narrow definition of reboot-mode
commit: c63037c69a5173dd87efde82bfa4c339adefd72e
[2/2] dt-bindings: rockchip: grf: Narrow allowed reboot modes
commit: 39eace59ac826465fae0788d0a6b304ec94f9944
Best regards,
--
Heiko Stuebner <heiko at sntech.de>
More information about the linux-arm-kernel
mailing list