Skip to content

Fix dtc warnings when building the LAN966x device tree overlay

Herve Codina linux-next lkml 2 versions – Applied

Status from this message: Applied to reset/next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesApplied
  2. v12 patches 5 repliesSuperseded

Changes in v2 from the cover letter

v1: https://lore.kernel.org/lkml/[email protected]/

- Patch 1
Rename clock nodes

- Patch 2
Add 'Reviewed-by: Rob Herring (Arm) <[email protected]>'

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2misc: lan966x_pci: Fix dtc warns 'missing or empty reg/ranges property'drivers/misc/lan966x_pci.dtso+18 -181 reply
2/2misc: lan966x_pci: Fix dtc warn 'Missing interrupt-parent'drivers/misc/lan966x_pci.dtso+10 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRob Herring (Arm)
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Fix dtc warnings when building the LAN966x device tree overlay

dtc generates 3 kinds of warnings when it builds the LAN966x dtso.

- missing or empty reg/ranges property .../pci-ep-bus@0/cpu_clk: missing or empty reg/ranges property .../pci-ep-bus@0/ddr_clk: missing or empty reg/ranges property .../pci-ep-bus@0/sys_clk: missing or empty reg/ranges property Patch 1 in this series fixes these warnings

- Missing interrupt-parent
.../pci-ep-bus@0/oic@e00c0120: Missing interrupt-parent
This warning was quickly silenced by Philipp [1].
Patch 2 in this series fixes the warning and should replace the patch applied by Philipp to silence the warning.

- Warning (avoid_unnecessary_addr_size)
/fragment@0/__overlay__: unnecessary #address-cells/#size-cells without "ranges", "dma-ranges" or child "reg" property
This warning should be fixed in dtc.
A patch has already be sent by Philip to fix it [2].

[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/devicetree-compiler/[email protected]/T/#u

Compare to the previous iteration, this v2 series mainly renames clock nodes.

Best regards,
Hervé

Changes v1 -> v2
v1: https://lore.kernel.org/lkml/[email protected]/

- Patch 1
Rename clock nodes

- Patch 2
Add 'Reviewed-by: Rob Herring (Arm) <[email protected]>'

Herve Codina (2):
misc: lan966x_pci: Fix dtc warns 'missing or empty reg/ranges
property'
misc: lan966x_pci: Fix dtc warn 'Missing interrupt-parent'

 drivers/misc/lan966x_pci.dtso | 46 +++++++++++++++++++++--------------
 1 file changed, 28 insertions(+), 18 deletions(-)
Signature · 1 line
2.46.2