Skip to content

fix up pin definitions for BPI-R3 board

Leith Bade linux-arm-kernel linux-devicetree linux-mediatek oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4arm64: dts: mediatek: mt7986: fix the switch reset line on BPI-R3arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts+1 -11 reply
2/4arm64: dts: mediatek: mt7986: add gpio-hog for boot mode switch on BPI-R3arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts+7 -02 replies
3/4arm64: dts: mediatek: mt7986: add missing pin groups to BPI-R3arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts+27 -00 replies
4/4arm64: dts: mediatek: mt7986: add missing UART1 CTS/RTS pins in BPI-R3arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts+1 -11 reply

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchAngeloGioacchino Del Regno
1/4R-b
2/4
3/4
4/4R-b

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 0/4] fix up pin definitions for BPI-R3 board

This is my first patch submission to Linux so I apologise in advance for any mistakes.

These changes were motivated by a pin conflict with the PCIe M.2 connector and the push buttons. As a result I decided go work through all 100 GPIO pins using the public board schematics. As I need to acquire a M.2 SSD to test the PCIe pin change that patch is not included in this series yet.

Working though the pins I noticed a bug with with the MT7531 chip's reset line which was on the wrong GPIO. Since it was conflicting with the boot mode switch input GPIO pins I looked into ways to document the use of those pins with the switch. I ended up choosing a gpio-hog, but please let me know if there is a better alternative.

I also added some missing pin groups for some of the built-in SoC devices to clearly document the use of those GPIO pins.

I have actually written up a gpio-line-names list give all the pins names to match their usage on this board. If there is interest in this I can submit this as an additional patch. I see only some MT8xxx devices in the mediatek directory have a gpio-line-names so I wasn't sure if I should add it.