[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFnkrsmXu9ceSQ7rzOAFy_kP6JMa7GvY7HCbT=_wfskH6wXuSw@mail.gmail.com>
Date: Sun, 12 Dec 2021 03:34:49 +0800
From: 呂芳騰 <wellslutw@...il.com>
To: Rob Herring <robh@...nel.org>
Cc: davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
p.zabel@...gutronix.de, Wells Lu <wells.lu@...plus.com>,
vincent.shih@...plus.com
Subject: Re: [PATCH net-next v4 1/2] devicetree: bindings: net: Add bindings
doc for Sunplus SP7021.
Hi Rob,
Thank you very much for your review.
Please see my replies below:
> Add bindings documentation for Sunplus SP7021.
>
[...]
> > +
> > + interrupts:
> > + description: |
> > + Contains number and type of interrupt. Number should be 66.
>
> Drop. That's every 'interrupts' and the exact number is outside the
> scope of the binding.
Yes, I'll drop the descriptions next patch.
interrupts property will be:
interrupts:
maxItems: 1
[...]
> > +
> > + mdio:
>
> Just need:
>
> $ref: mdio.yaml#
> unevaluatedProperties: false
>
> and drop the rest.
Yes, I'll modify mdio node next patch.
mdio node will be:
mdio:
$ref: mdio.yaml#
unevaluatedProperties: false
> > + type: object
> > + description: external MDIO Bus
> > +
> > + properties:
> > + "#address-cells":
> > + const: 1
> > +
> > + "#size-cells":
> > + const: 0
> > +
> > + patternProperties:
> > + "^ethernet-phy@[0-9a-f]+$":
> > + type: object
> > + description: external PHY node
> > +
> > + properties:
> > + reg:
> > + minimum: 0
> > + maximum: 30
Can I limit value of 'reg' to no more than 30?
> > +
> > + required:
> > + - reg
> > +
> > +additionalProperties: false
> > +
[...]
> > +examples:
> > + - |
> > + #include <dt-bindings/interrupt-controller/irq.h>
> > + emac: emac@...08000 {
>
> ethernet@...08000 {
I'll modify it next patch.
[...]
> > 2.7.4
> >
Best regards,
Wells
Powered by blists - more mailing lists