public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Leith Bade <leith@bade.nz>
To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
	matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com,
	frank-w@public-files.de
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org, didi.debian@cknow.org
Subject: [PATCH 0/4] fix up pin definitions for BPI-R3 board
Date: Thu, 27 Jun 2024 17:58:52 +1000	[thread overview]
Message-ID: <20240627075856.2314804-1-leith@bade.nz> (raw)

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.



             reply	other threads:[~2024-06-27  7:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-27  7:58 Leith Bade [this message]
2024-06-27  7:58 ` [PATCH 1/4] arm64: dts: mediatek: mt7986: fix the switch reset line on BPI-R3 Leith Bade
2024-07-30  9:18   ` AngeloGioacchino Del Regno
2024-06-27  7:58 ` [PATCH 2/4] arm64: dts: mediatek: mt7986: add gpio-hog for boot mode switch " Leith Bade
2024-07-03 11:39   ` kernel test robot
2024-07-04  7:41     ` Krzysztof Kozlowski
2024-07-04  8:56       ` Philip Li
2024-06-27  7:58 ` [PATCH 3/4] arm64: dts: mediatek: mt7986: add missing pin groups to BPI-R3 Leith Bade
2024-06-27  7:58 ` [PATCH 4/4] arm64: dts: mediatek: mt7986: add missing UART1 CTS/RTS pins in BPI-R3 Leith Bade
2024-07-30  9:18   ` AngeloGioacchino Del Regno
2024-06-27 14:48 ` [PATCH 0/4] fix up pin definitions for BPI-R3 board Rob Herring (Arm)
2024-06-29 23:06   ` Leith Bade

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240627075856.2314804-1-leith@bade.nz \
    --to=leith@bade.nz \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=didi.debian@cknow.org \
    --cc=frank-w@public-files.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox