From: Amelie DELAUNAY <amelie.delaunay@st.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Lee Jones <lee.jones@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
"Mark Rutland" <mark.rutland@arm.com>,
Russell King <linux@armlinux.org.uk>,
Alexandre TORGUE <alexandre.torgue@st.com>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@vger.kernel.org>,
Linux ARM <linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH 5/6] ARM: dts: stm32: add joystick support on stm32746g-eval
Date: Thu, 22 Feb 2018 15:35:28 +0000 [thread overview]
Message-ID: <f8d91cc7-66aa-72bf-c1ed-8e95d39388ba@st.com> (raw)
In-Reply-To: <CACRpkdbaFpLNdxZThVTO5V4y8wzekVpXoFJ_6EOOsKCD_h59cA@mail.gmail.com>
On 02/22/2018 02:52 PM, Linus Walleij wrote:
> Hi Amelie,
>
> thanks for your patch.
>
> On Thu, Feb 8, 2018 at 3:27 PM, Amelie Delaunay <amelie.delaunay@st.com> wrote:
>
>> The joystick on stm32746g-eval uses gpios on MFX gpio expander.
>>
>> Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
> (...)
>> + joystick {
>> + compatible = "gpio-keys";
>> + #address-cells = <1>;
>> + #size-cells = <0>;
>> + button@1 {
>> + label = "JoySel";
>> + linux,code = <KEY_ENTER>;
>> + gpios = <&mfxgpio 0 (GPIO_ACTIVE_LOW | GPIO_IN_PUSH_PULL | GPIO_PULL_UP)>;
>> + };
>
> As I think this should not all be handled by GPIO, the joystick on
> gpio-keys needs a pin control handle pointing back to pin control
> states on the respective pins in the pin control/GPIO driver,
> where it can set up these properties.
>
> For the individual lines the pushing and pulling flags should be
> removed.
>
Sure! I keep this in mind, thanks!
Regards,
Amelie
> Yours,
> Linus Walleij
>
next prev parent reply other threads:[~2018-02-22 15:37 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-08 14:27 [PATCH 0/6] Introduce STMicroelectronics MultiFunction eXpander Amelie Delaunay
2018-02-08 14:27 ` [PATCH 1/6] dt-bindings: mfd: Add ST Multi-Function eXpander driver Amelie Delaunay
2018-02-18 23:19 ` Rob Herring
2018-02-19 15:59 ` Amelie DELAUNAY
2018-02-22 0:06 ` Rob Herring
2018-02-22 13:22 ` Linus Walleij
2018-02-22 15:15 ` Amelie DELAUNAY
2018-02-22 13:11 ` Linus Walleij
2018-02-22 15:19 ` Amelie DELAUNAY
2018-02-08 14:27 ` [PATCH 2/6] mfd: Add ST Multi-Function eXpander core driver Amelie Delaunay
2018-02-12 12:06 ` Lee Jones
2018-02-12 14:15 ` Philippe Ombredanne
2018-02-19 16:00 ` Amelie DELAUNAY
2018-02-19 16:57 ` Amelie DELAUNAY
2018-02-22 13:44 ` Linus Walleij
2018-02-22 15:32 ` Amelie DELAUNAY
2018-02-08 14:27 ` [PATCH 3/6] gpio: Add GPIO support for the ST Multi-Function eXpander Amelie Delaunay
2018-02-14 15:30 ` Andy Shevchenko
2018-02-19 17:13 ` Amelie DELAUNAY
2018-02-22 13:47 ` Linus Walleij
2018-02-22 15:33 ` Amelie DELAUNAY
2018-02-08 14:27 ` [PATCH 4/6] ARM: dts: stm32: add MFX support on I2C1 on stm32746g-eval Amelie Delaunay
2018-02-22 13:54 ` Linus Walleij
2018-02-22 15:34 ` Amelie DELAUNAY
2018-02-08 14:27 ` [PATCH 5/6] ARM: dts: stm32: add joystick support " Amelie Delaunay
2018-02-22 13:52 ` Linus Walleij
2018-02-22 15:35 ` Amelie DELAUNAY [this message]
2018-02-08 14:27 ` [PATCH 6/6] ARM: configs: stm32: enable ST MFX and its GPIO expander feature Amelie Delaunay
2018-02-22 13:06 ` [PATCH 0/6] Introduce STMicroelectronics MultiFunction eXpander Linus Walleij
2018-02-22 15:13 ` Amelie DELAUNAY
2018-03-01 22:28 ` Linus Walleij
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=f8d91cc7-66aa-72bf-c1ed-8e95d39388ba@st.com \
--to=amelie.delaunay@st.com \
--cc=alexandre.torgue@st.com \
--cc=devicetree@vger.kernel.org \
--cc=lee.jones@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mark.rutland@arm.com \
--cc=mcoquelin.stm32@gmail.com \
--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
all inboxes | Powered by JetHome®