From: Neil Armstrong <neil.armstrong@linaro.org>
To: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: devicetree@vger.kernel.org, Kevin Hilman <khilman@baylibre.com>,
linux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
linux-amlogic@lists.infradead.org, Yuntian Zhang <yt@radxa.com>,
linux-arm-kernel@lists.infradead.org,
Jerome Brunet <jbrunet@baylibre.com>
Subject: Re: [PATCH 5/8] arm64: dts: amlogic: meson-g12b-odroid-go-ultra: rename keypad-gpio pinctrl node
Date: Mon, 13 Feb 2023 10:03:49 +0100 [thread overview]
Message-ID: <e0d71204-87f3-1d07-3927-909d09d39000@linaro.org> (raw)
In-Reply-To: <CAFBinCC1O52eraLJ=GoZVM0fM0zVyqdDrkP3RCjNQ=KaqhByLQ@mail.gmail.com>
On 11/02/2023 21:04, Martin Blumenstingl wrote:
> On Tue, Feb 7, 2023 at 4:08 PM Neil Armstrong <neil.armstrong@linaro.org> wrote:
>>
>> Fixes the following bindings check error:
>> pinctrl@40: keypad-gpio: {...} is not of type 'array'
>>
>> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
>
> [...]
>> &periphs_pinctrl {
>> - keypad_gpio_pins: keypad-gpio {
>> + keypad_gpio_pins: keypad-gpio-state {
>> mux {
>> groups = "GPIOX_0", "GPIOX_1", "GPIOX_2", "GPIOX_3",
>> "GPIOX_4", "GPIOX_5", "GPIOX_6", "GPIOX_7",
> I'm wondering whether we make the keys work without having to specify
> a pinmux configuration for them separately.
> Our pinctrl driver already sets:
> pc->chip.set_config = gpiochip_generic_config;
> So you should be able to use the GPIO_PULL_UP flag for these GPIOs in
> device-tree instead of specifying bias-pull-up here, for example:
> gpios = <&gpio GPIOX_0 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
>
> output-disable is managed by the direction of the GPIO anyways.
> pinmux_ops.gpio_request_enable is also implemented by our pinctrl driver.
>
> This is not urgent - I am just curious as always :-)
I didn't know we supported this, this is only a bindings check fix, but yeah at
some point this should be moved to (GPIO_ACTIVE_LOW | GPIO_PULL_UP).
Neil
>
>
> Best regards,
> Martin
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next prev parent reply other threads:[~2023-02-13 9:04 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-07 15:07 [PATCH 0/8] arm64: meson: bunch of DT fixes, take 2 Neil Armstrong
2023-02-07 15:07 ` [PATCH 1/8] arm64: dts: amlogic: meson-sm1-bananapi: correct usb-hub hog node name Neil Armstrong
2023-02-11 19:46 ` Martin Blumenstingl
2023-02-07 15:07 ` [PATCH 2/8] arm64: dts: amlogic: meson-gxm-s912-libretech-pc: add simple connector node in fusb302 node Neil Armstrong
2023-02-11 19:47 ` Martin Blumenstingl
2023-02-07 15:07 ` [PATCH 3/8] arm64: dts: amlogic: meson-axg-jethome-jethub-j1xx: remove invalid #gpio-cells in onewire node Neil Armstrong
2023-02-08 6:22 ` Vyacheslav
2023-02-11 20:06 ` Martin Blumenstingl
2023-02-07 15:07 ` [PATCH 4/8] arm64: dts: amlogic: meson-g12b-radxa-zero2: fix pwm clock names Neil Armstrong
2023-02-11 19:50 ` Martin Blumenstingl
2023-02-07 15:07 ` [PATCH 5/8] arm64: dts: amlogic: meson-g12b-odroid-go-ultra: rename keypad-gpio pinctrl node Neil Armstrong
2023-02-11 20:04 ` Martin Blumenstingl
2023-02-13 9:03 ` Neil Armstrong [this message]
2023-02-07 15:07 ` [PATCH 6/8] arm64: dts: amlogic: meson-s4: fix apb4 bus node name Neil Armstrong
2023-02-11 20:04 ` Martin Blumenstingl
2023-02-07 15:08 ` [PATCH 7/8] arm64: dts: amlogic: meson-sm1: use correct enable-gpios Neil Armstrong
2023-02-11 20:05 ` Martin Blumenstingl
2023-02-07 15:08 ` [PATCH 8/8] arm64: dts: amlogic: meson-gxm-s912-libretech-pc: remove unused pinctrl-names from phy node Neil Armstrong
2023-02-11 20:05 ` Martin Blumenstingl
2023-03-06 8:38 ` [PATCH 0/8] arm64: meson: bunch of DT fixes, take 2 Neil Armstrong
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=e0d71204-87f3-1d07-3927-909d09d39000@linaro.org \
--to=neil.armstrong@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=jbrunet@baylibre.com \
--cc=khilman@baylibre.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=robh+dt@kernel.org \
--cc=yt@radxa.com \
/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®