From: jbrunet@baylibre.com (Jerome Brunet)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH v2 2/2] ARM: dts: meson8b: the CBUS GPIO controller only has 83 GPIOs
Date: Sun, 25 Feb 2018 15:10:45 +0100 [thread overview]
Message-ID: <1519567845.4619.2.camel@baylibre.com> (raw)
In-Reply-To: <20180225113854.20731-4-martin.blumenstingl@googlemail.com>
On Sun, 2018-02-25 at 12:38 +0100, Martin Blumenstingl wrote:
> Update the "gpio-ranges" property of the CBUS GPIO controller on Meson8b
> because it only provides 83 GPIOs.
> The GPIO definitions in include/dt-bindings/gpio/meson8b-gpio.h
> inherited all GPIOs from Meson8 until recently. However, Meson8b does
> not support all GPIOs which are supported by Meson8 (Meson8b doesn't
> have a GPIOZ bank, most of the pins from the GPIODV bank are missing on
> Meson8b - just to name a few differences).
>
> The actual number of GPIOs is only 83, instead of 120 from Meson8 plus
> the 10 GPIOs from the DIF bank on Meson8b.
>
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
> ---
> arch/arm/boot/dts/meson8b.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi
> index 5f7841b2d163..9fa77975354b 100644
> --- a/arch/arm/boot/dts/meson8b.dtsi
> +++ b/arch/arm/boot/dts/meson8b.dtsi
> @@ -183,7 +183,7 @@
> reg-names = "mux", "pull", "pull-enable", "gpio";
> gpio-controller;
> #gpio-cells = <2>;
> - gpio-ranges = <&pinctrl_cbus 0 0 130>;
> + gpio-ranges = <&pinctrl_cbus 0 0 83>;
> };
>
> eth_rgmii_pins: eth-rgmii {
next prev parent reply other threads:[~2018-02-25 14:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-25 11:38 [PATCH v2 0/2] Meson8b: fix requesting GPIOs greater than GPIOZ_3 Martin Blumenstingl
2018-02-25 11:38 ` [PATCH] Meson8b GPIO fix - WiP Martin Blumenstingl
2018-02-25 11:43 ` Martin Blumenstingl
2018-02-25 11:38 ` [PATCH v2 1/2] pinctrl: meson: meson8b: fix requesting GPIOs greater than GPIOZ_3 Martin Blumenstingl
2018-02-25 14:10 ` Jerome Brunet
2018-03-02 9:48 ` Linus Walleij
2018-03-02 20:56 ` Martin Blumenstingl
2018-02-25 11:38 ` [PATCH v2 2/2] ARM: dts: meson8b: the CBUS GPIO controller only has 83 GPIOs Martin Blumenstingl
2018-02-25 14:10 ` Jerome Brunet [this message]
2018-03-02 9:49 ` 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=1519567845.4619.2.camel@baylibre.com \
--to=jbrunet@baylibre.com \
--cc=linus-amlogic@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.