On Wed, Aug 18, 2021 at 6:03 AM Sa, Nuno [off-list ref] wrote:
Hi Rob,
I'm preparing a patch to do a slight improvement in [1] where if there are no channels
given in the devicetree, it does not really make sense to probe the device. Now,
I want to express this in the bindings doc [2] but I'm failing to find a way to say that
at least one of the patternProperties channel has to be present. For my shame,
this is the only way I could express it:
No shame, there's actually not a better way. What you need is
something like this[1], but you'll see it has been an open issue for
some time.
I don't think it's worth adding given the verbosity.
Rob
[1] https://github.com/json-schema-org/json-schema-vocabularies/issues/16