Re: [PATCH v5 1/7] dt-bindings: regulator: qcom,spmi-regulator: Convert to dtschema

From: Rob Herring
Date: Mon May 23 2022 - 22:22:51 EST


On Thu, May 19, 2022 at 03:30:09PM +0200, Robert Marko wrote:
> Convert the bindings of Qualcomm SPMI regulators to DT schema.
>
> Signed-off-by: Robert Marko <robimarko@xxxxxxxxx>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> ---
> Changes in v4:
> * Remove blank interrupts and interrupt-names as generic properties
> to only allow them per compatible
>
> Changes in v3:
> * Remove quotes around refs
> * Use much stricter regex for regulator node matching
> * Add supply matching per compatible
> * Add blank interrupts and interrupt-names as generic properties
>
> Changes in v2:
> * Remove the forgotten text bindings
> * Move allOf after patternProperties
> * Use my private email as the maintainer email
>
> I am aware that syscon alone is not really acceptable, its converted
> directly from the old text bindings.
>
> Any advice on how to solve this is appreciated.

Add a compatible for the block in question, but that means you have to
have a schema for it. Or you can just drop the node. This binding isn't
really about that node.

Rob