Skip to content

AM64x Disable Incomplete DT Nodes

Andrew Davis linux-arm-kernel linux-devicetree lkml 1 version Applied

Status from this message: I have applied the following to branch ti-k3-dts-next on [1].

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/10arm64: dts: ti: k3-am64: Enable UART nodes at the board levelarch/arm64/boot/dts/ti/k3-am64-main.dtsi arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi arch/arm64/boot/dts/ti/k3-am642-evm.dts +1 more+11 -560 replies
2/10arm64: dts: ti: k3-am64: Enable I2C nodes at the board levelarch/arm64/boot/dts/ti/k3-am64-main.dtsi arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi arch/arm64/boot/dts/ti/k3-am642-evm.dts +1 more+8 -200 replies
3/10arm64: dts: ti: k3-am64: Enable SPI nodes at the board levelarch/arm64/boot/dts/ti/k3-am64-main.dtsi arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi arch/arm64/boot/dts/ti/k3-am642-evm.dts +1 more+8 -160 replies
4/10arm64: dts: ti: k3-am64: Enable EPWM nodes at the board levelarch/arm64/boot/dts/ti/k3-am64-main.dtsi arch/arm64/boot/dts/ti/k3-am642-evm.dts arch/arm64/boot/dts/ti/k3-am642-sk.dts+9 -800 replies
5/10arm64: dts: ti: k3-am64: Enable ECAP nodes at the board levelarch/arm64/boot/dts/ti/k3-am64-main.dtsi arch/arm64/boot/dts/ti/k3-am642-evm.dts arch/arm64/boot/dts/ti/k3-am642-sk.dts+5 -160 replies
6/10arm64: dts: ti: k3-am64: Enable PCIe nodes at the board levelarch/arm64/boot/dts/ti/k3-am64-main.dtsi arch/arm64/boot/dts/ti/k3-am642-evm.dts arch/arm64/boot/dts/ti/k3-am642-sk.dts+3 -90 replies
7/10arm64: dts: ti: k3-am64: MDIO pinmux should belong to the MDIO nodearch/arm64/boot/dts/ti/k3-am642-evm.dts arch/arm64/boot/dts/ti/k3-am642-sk.dts+8 -40 replies
8/10arm64: dts: ti: k3-am64: Enable MDIO nodes at the board levelarch/arm64/boot/dts/ti/k3-am64-main.dtsi arch/arm64/boot/dts/ti/k3-am642-evm.dts arch/arm64/boot/dts/ti/k3-am642-sk.dts+5 -160 replies
9/10arm64: dts: ti: k3-am64: Enable MCAN nodes at the board levelarch/arm64/boot/dts/ti/k3-am64-main.dtsi arch/arm64/boot/dts/ti/k3-am642-evm.dts arch/arm64/boot/dts/ti/k3-am642-sk.dts+4 -80 replies
10/10arm64: dts: ti: k3-am64: Enable GPMC and ELM nodes at the board levelarch/arm64/boot/dts/ti/k3-am64-main.dtsi arch/arm64/boot/dts/ti/k3-am642-evm.dts arch/arm64/boot/dts/ti/k3-am642-sk.dts+2 -160 replies

Reviews trailers per patch

None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBryan BrattlofVignesh Raghavendra
SeriesR-b A-b
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

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

Read the v1 thread

Cover letter [PATCH 00/10] AM64x Disable Incomplete DT Nodes

Hello all,

This series goes through the AM64x dtsi and disables the set of nodes that are not functional without additional board level information. This is usually pinmux data, but can also be inernal device resources.

Only when the node is completed in the board file should the node be enabled. This helps prevents nodes that represent IP that are not pinned-out on a given board from being left enabled.

This also reduces the effort needed to add a new board, one no longer needs to manually disable all the extra IP. For instance TI J784s4 has 20(!) MCAN instances. It is much easier to enable the one you pin out, vs disabling the 19 that you did not.

Thanks,
Andrew

Andrew Davis (10):
arm64: dts: ti: k3-am64: Enable UART nodes at the board level
arm64: dts: ti: k3-am64: Enable I2C nodes at the board level
arm64: dts: ti: k3-am64: Enable SPI nodes at the board level
arm64: dts: ti: k3-am64: Enable EPWM nodes at the board level
arm64: dts: ti: k3-am64: Enable ECAP nodes at the board level
arm64: dts: ti: k3-am64: Enable PCIe nodes at the board level
arm64: dts: ti: k3-am64: MDIO pinmux should belong to the MDIO node
arm64: dts: ti: k3-am64: Enable MDIO nodes at the board level
arm64: dts: ti: k3-am64: Enable MCAN nodes at the board level
arm64: dts: ti: k3-am64: Enable GPMC and ELM nodes at the board level

 arch/arm64/boot/dts/ti/k3-am64-main.dtsi |  37 ++++++
 arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi  |   6 +
 arch/arm64/boot/dts/ti/k3-am642-evm.dts  | 119 ++-----------------
 arch/arm64/boot/dts/ti/k3-am642-sk.dts   | 142 ++---------------------
 4 files changed, 63 insertions(+), 241 deletions(-)
Signature · 1 line
2.37.3