From: Michal Simek <michal.simek@xilinx.com>
To: Michael Walle <michael@walle.cc>, <devicetree@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Cc: Rob Herring <robh+dt@kernel.org>, Michal Simek <michal.simek@xilinx.com>
Subject: Re: [PATCH] ARM: dts: ebaz4205: add pinctrl entries for switches
Date: Wed, 3 Feb 2021 07:58:58 +0100 [thread overview]
Message-ID: <120f29c0-a5d3-5b78-e3d2-df2a15517e05@xilinx.com> (raw)
In-Reply-To: <20210201133000.23402-1-michael@walle.cc>
On 2/1/21 2:30 PM, Michael Walle wrote:
> Add the pinctrl entries for the GPIOs which are connected to the
> push buttons on this board.
>
> Signed-off-by: Michael Walle <michael@walle.cc>
> ---
> arch/arm/boot/dts/zynq-ebaz4205.dts | 23 +++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
>
> diff --git a/arch/arm/boot/dts/zynq-ebaz4205.dts b/arch/arm/boot/dts/zynq-ebaz4205.dts
> index e802d4ae8804..b0b836aedd76 100644
> --- a/arch/arm/boot/dts/zynq-ebaz4205.dts
> +++ b/arch/arm/boot/dts/zynq-ebaz4205.dts
> @@ -43,7 +43,30 @@
> };
> };
>
> +&gpio0 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_gpio0_default>;
> +};
> +
> &pinctrl0 {
> + pinctrl_gpio0_default: gpio0-default {
> + mux {
> + groups = "gpio0_20_grp", "gpio0_32_grp";
> + function = "gpio0";
> + };
> +
> + conf {
> + groups = "gpio0_20_grp", "gpio0_32_grp";
> + io-standard = <3>;
> + slew-rate = <0>;
> + };
> +
> + conf-pull-up {
> + pins = "MIO20", "MIO32";
> + bias-disable;
> + };
> + };
> +
> pinctrl_sdhci0_default: sdhci0-default {
> mux {
> groups = "sdio0_2_grp";
>
Applied.
M
prev parent reply other threads:[~2021-02-03 7:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-01 13:30 [PATCH] ARM: dts: ebaz4205: add pinctrl entries for switches Michael Walle
2021-02-03 6:58 ` Michal Simek [this message]
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=120f29c0-a5d3-5b78-e3d2-df2a15517e05@xilinx.com \
--to=michal.simek@xilinx.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michael@walle.cc \
--cc=robh+dt@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;
as well as URLs for NNTP newsgroup(s).