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

From: Alexandre Torgue
Date: Mon Oct 07 2019 - 10:07:41 EST


Hi Rob

On 10/7/19 3:56 PM, Rob Herring wrote:
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.

Nice, I'm going to update my tools.

thanks
Alex


Rob