From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH 3/4] pinctrl: mediatek: do not probe gpio driver if not enabled
Date: Sat, 20 Mar 2021 19:36:55 -0400 [thread overview]
Message-ID: <20210320233655.GI1310@bill-the-cat> (raw)
In-Reply-To: <1ece86a9473a5f45ab36afd843c6e25cbaf08e4b.1614909515.git.weijie.gao@mediatek.com>
On Fri, Mar 05, 2021 at 10:22:26AM +0800, Weijie Gao wrote:
> The mtk pinctrl driver is a combination driver with support for both
> pinctrl and gpio. When this driver is used in SPL, gpio support may not be
> enabled, and this will result in a compilation error.
>
> To fix this, macros are added to make sure gpio related code will only be
> compiled when gpio support is enabled.
>
> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Applied to u-boot/next, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210320/7060dfbf/attachment.sig>
next prev parent reply other threads:[~2021-03-20 23:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-05 2:21 [PATCH 0/4] Minor fixes for MediaTek pinctrl driver Weijie Gao
2021-03-05 2:22 ` [PATCH 1/4] pinctrl: mediatek: fix wrong assignment in mtk_get_pin_name Weijie Gao
2021-03-20 23:36 ` Tom Rini
2021-03-05 2:22 ` [PATCH 2/4] pinctrl: mediatek: add get_pin_muxing ops for mediatek pinctrl Weijie Gao
2021-03-20 23:36 ` Tom Rini
2021-03-05 2:22 ` [PATCH 3/4] pinctrl: mediatek: do not probe gpio driver if not enabled Weijie Gao
2021-03-20 23:36 ` Tom Rini [this message]
2021-03-05 2:22 ` [PATCH 4/4] pinctrl: mt7629: add jtag function and pin group Weijie Gao
2021-03-20 23:37 ` Tom Rini
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=20210320233655.GI1310@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/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