Skip to content

Commit

Permalink
dt-bindings: net: fsl,fec: Add nvmem-cells / nvmem-cell-names properties
Browse files Browse the repository at this point in the history
These properties are inherited from ethernet-controller.yaml.
This fixes the dt_binding_check warning:
imx8mm-tqma8mqml-mba8mx.dt.yaml: ethernet@30be0000: 'nvmem-cell-names',
'nvmem-cells' do not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220720063924.1412799-1-alexander.stein@ew.tq-group.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Alexander Stein authored and Jakub Kicinski committed Jul 26, 2022
1 parent 086f824 commit 5030a9a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Documentation/devicetree/bindings/net/fsl,fec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ properties:

mac-address: true

nvmem-cells: true

nvmem-cell-names: true

tx-internal-delay-ps:
enum: [0, 2000]

Expand Down Expand Up @@ -213,7 +217,7 @@ required:
# least undocumented properties. However, PHY may have a deprecated option to
# place PHY OF properties in the MAC node, such as Micrel PHY, and we can find
# these boards which is based on i.MX6QDL.
additionalProperties: false
unevaluatedProperties: false

examples:
- |
Expand Down

0 comments on commit 5030a9a

Please sign in to comment.