Skip to content

Remove the pins-are-numbered DT property

Bernhard Rosenkränzer linux-arm-kernel linux-devicetree linux-gpio linux-mediatek lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 1 replyIn review
  2. v37 patches 7 repliesSuperseded
  3. v27 patches 5 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v19 patches16 repliesSuperseded

Changes in v4 from the cover letter

- The generic pinctrl related patches are now in the pinctrl tree for v6.2 - remove them and repost the remaining bits of the patch set. No other changes.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3arm64: dts: mediatek: Remove pins-are-numbered propertyarch/arm64/boot/dts/mediatek/mt2712e.dtsi arch/arm64/boot/dts/mediatek/mt8167.dtsi arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi +2 more+0 -50 replies
2/3ARM: dts: mediatek: Remove pins-are-numbered propertyarch/arm/boot/dts/mt2701.dtsi arch/arm/boot/dts/mt7623.dtsi arch/arm/boot/dts/mt8135.dtsi+0 -30 replies
3/3ARM: dts: stm32: Remove the pins-are-numbered propertyarch/arm/boot/dts/stm32f4-pinctrl.dtsi arch/arm/boot/dts/stm32f7-pinctrl.dtsi arch/arm/boot/dts/stm32h743.dtsi +2 more+0 -61 reply

Reviews trailers per patch

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

PatchAngeloGioacchino Del RegnoKevin HilmanMatthias Brugger
1/3R-b A-b
2/3R-b A-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/3] Remove the pins-are-numbered DT property

During the review of my MT8365 support patchset
(https://lore.kernel.org/linux-mediatek/[email protected]/),
the issue of the "pins-are-numbered" DeviceTree property has come up.

This property is unique to Mediatek MT65xx and STM32 pinctrls, and doesn't seem to serve any purpose (both the Mediatek and STM32 drivers simply refuse to deal with a device unless pins-are-numbered is set to true).

There is no other use of this property in the kernel or in other projects using DeviceTrees (checked u-boot and FreeBSD -- in both of those, the flag is present in Mediatek and STM devicetrees, but not used anywhere).

There is also no known use in userspace (in fact, a userland application relying on the property would be broken because it would get true on any Mediatek or STM chipset and false on all others, even though other chipsets use numbered pins).

This patchset removes all uses of pins-are-numbered and marks the property as deprecated.

v4:
- The generic pinctrl related patches are now in the pinctrl tree for v6.2 - remove them and repost the remaining bits of the patch set. No other changes.

v3:
- No functional changes; add recent Reviewed-Bys and Acked-Bys, add linux-gpio to Cc

v2:
- Deprecate the property instead of removing it completely from schemas
- squash some related commits

Bernhard Rosenkränzer (3):
arm64: dts: mediatek: Remove pins-are-numbered property
ARM: dts: mediatek: Remove pins-are-numbered property
ARM: dts: stm32: Remove the pins-are-numbered property

 arch/arm/boot/dts/mt2701.dtsi                | 1 -
 arch/arm/boot/dts/mt7623.dtsi                | 1 -
 arch/arm/boot/dts/mt8135.dtsi                | 1 -
 arch/arm/boot/dts/stm32f4-pinctrl.dtsi       | 1 -
 arch/arm/boot/dts/stm32f7-pinctrl.dtsi       | 1 -
 arch/arm/boot/dts/stm32h743.dtsi             | 1 -
 arch/arm/boot/dts/stm32mp131.dtsi            | 1 -
 arch/arm/boot/dts/stm32mp151.dtsi            | 2 --
 arch/arm64/boot/dts/mediatek/mt2712e.dtsi    | 1 -
 arch/arm64/boot/dts/mediatek/mt8167.dtsi     | 1 -
 arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 1 -
 arch/arm64/boot/dts/mediatek/mt8173.dtsi     | 1 -
 arch/arm64/boot/dts/mediatek/mt8516.dtsi     | 1 -
 13 files changed, 14 deletions(-)
Signature · 1 line
2.38.1