]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: dts: st: omit unused pinctrl groups from stm32mp25 dtb files
authorAmelie Delaunay <amelie.delaunay@foss.st.com>
Wed, 11 Mar 2026 11:30:00 +0000 (12:30 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Wed, 25 Mar 2026 16:37:47 +0000 (17:37 +0100)
commit84c9ed3a7726efc7095a21e4cfbda6dc1982406e
treedb232b9277054cf645b836be3ded4b664293a3a4
parent908d0138b4ed408dbc23c1cea28aa7937fd5388d
arm64: dts: st: omit unused pinctrl groups from stm32mp25 dtb files

stm32mp25-pinctrl.dtsi gathers all pinctrl groups from current and future
STM32MP25-based boards. Some groups may remain unused by any board,
resulting in wasted binary space.
Adding /omit-if-no-ref/ to the groups will remove unused groups from the
device tree blobs.

Use the following regex to update the file:
's/^\t[^:]\+: [^ ]\+ {$/\t\/omit-if-no-ref\/\n&/'
Also, merge the duplicated pinctrl_z node.

Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Link: https://lore.kernel.org/r/20260311-mp25_pinctrl_omit-v1-1-5a3d40046b10@foss.st.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi