Re: [PATCH 2/3] dt-bindings: net: adi: Fix yaml verification issue

From: Rob Herring
Date: Mon Oct 07 2019 - 09:56:22 EST


On Mon, Oct 7, 2019 at 5:26 AM Alexandre Torgue <alexandre.torgue@xxxxxx> wrote:
>
> This commit fixes an issue seen during yaml check ("make dt_binding_check").
> Each enum were not declared as uint32.
>
> "Documentation/devicetree/bindings/net/adi,adin.yaml:
> properties:adi,rx-internal-delay-ps:
> ..., 'enum': [1600, 1800, 2000, 2200, 2400], 'default': 2000}
> is not valid under any of the given schemas"

You need to update dtschema. I fixed this in the meta-schema last
week. Any property with a standard property unit suffix has a defined
type already, so we don't need to define it again here.

I also added '-bits' to standard units.

Rob