Re: [PATCH 3/9] dt-bindings: soc: rockchip: grf: Allow a clock for the RK3588 PHP GRF
From: Krzysztof Kozlowski
Date: Mon Nov 23 2026 - 03:30:26 EST
On Fri, Nov 13, 2026 at 04:38:49PM +0000, Arun Iyengar wrote:
> The RK3588 PHP GRF is clocked from pclk_php_root, which is gated when
> no PHP peripheral holds it. Allow the clock, so the syscon regmap
> enables it.
>
> Signed-off-by: Arun Iyengar <aiyengar1990@xxxxxxxxx>
> ---
> Documentation/devicetree/bindings/soc/rockchip/grf.yaml | 12 ++++++++++--
> 1 file changed, 10 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.yaml b/Documentation/devicetree/bindings/soc/rockchip/grf.yaml
> index e94c83d7c138..2525eb51f13b 100644
> --- a/Documentation/devicetree/bindings/soc/rockchip/grf.yaml
> +++ b/Documentation/devicetree/bindings/soc/rockchip/grf.yaml
> @@ -321,8 +321,16 @@ allOf:
> - clocks
>
> else:
> - properties:
> - clocks: false
> + if:
> + not:
> + properties:
> + compatible:
> + contains:
> + const: rockchip,rk3588-php-grf
> +
This is not understandable - two nested ifs, one even with negation.
If binding is too complex, it could be split.
Best regards,
Krzysztof