u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: Vasily Khoruzhick <anarsoul@gmail.com>
To: Chris Morgan <macroalpha82@gmail.com>
Cc: u-boot@lists.denx.de, heiko@sntech.de, sjg@chromium.org,
	 philipp.tomsich@vrull.eu, kever.yang@rock-chips.com,
	chenjh@rock-chips.com,  pgwipeout@gmail.com,
	heiko.stuebner@theobroma-systems.com,
	 Chris Morgan <macromorgan@hotmail.com>
Subject: Re: [PATCH V2 8/9] arm64: dts: rockchip: add gpio-ranges property to gpio nodes
Date: Thu, 23 Feb 2023 13:12:30 -0800	[thread overview]
Message-ID: <CA+E=qVfHV6crUwkGmHeA0HeSYj2qjjYCf0EMeck7aPCLGy43-w@mail.gmail.com> (raw)
In-Reply-To: <20230213222742.135093-9-macroalpha82@gmail.com>

On Mon, Feb 13, 2023 at 2:30 PM Chris Morgan <macroalpha82@gmail.com> wrote:
>
> From: Chris Morgan <macromorgan@hotmail.com>
>
> Add gpio-ranges property to GPIO nodes so that the bank ID can
> be correctly derived for each GPIO bank.

Should not it be merged into linux first? Otherwise it will be
overwritten during the next dts sync with linux.

> Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
> ---
>  arch/arm/dts/rk356x.dtsi | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/dts/rk356x.dtsi b/arch/arm/dts/rk356x.dtsi
> index 5706c3e24f..6492ace0de 100644
> --- a/arch/arm/dts/rk356x.dtsi
> +++ b/arch/arm/dts/rk356x.dtsi
> @@ -1806,6 +1806,7 @@
>                         interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
>                         clocks = <&pmucru PCLK_GPIO0>, <&pmucru DBCLK_GPIO0>;
>                         gpio-controller;
> +                       gpio-ranges = <&pinctrl 0 0 32>;
>                         #gpio-cells = <2>;
>                         interrupt-controller;
>                         #interrupt-cells = <2>;
> @@ -1817,6 +1818,7 @@
>                         interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
>                         clocks = <&cru PCLK_GPIO1>, <&cru DBCLK_GPIO1>;
>                         gpio-controller;
> +                       gpio-ranges = <&pinctrl 0 32 32>;
>                         #gpio-cells = <2>;
>                         interrupt-controller;
>                         #interrupt-cells = <2>;
> @@ -1828,6 +1830,7 @@
>                         interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
>                         clocks = <&cru PCLK_GPIO2>, <&cru DBCLK_GPIO2>;
>                         gpio-controller;
> +                       gpio-ranges = <&pinctrl 0 64 32>;
>                         #gpio-cells = <2>;
>                         interrupt-controller;
>                         #interrupt-cells = <2>;
> @@ -1839,6 +1842,7 @@
>                         interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
>                         clocks = <&cru PCLK_GPIO3>, <&cru DBCLK_GPIO3>;
>                         gpio-controller;
> +                       gpio-ranges = <&pinctrl 0 96 32>;
>                         #gpio-cells = <2>;
>                         interrupt-controller;
>                         #interrupt-cells = <2>;
> @@ -1850,6 +1854,7 @@
>                         interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
>                         clocks = <&cru PCLK_GPIO4>, <&cru DBCLK_GPIO4>;
>                         gpio-controller;
> +                       gpio-ranges = <&pinctrl 0 128 32>;
>                         #gpio-cells = <2>;
>                         interrupt-controller;
>                         #interrupt-cells = <2>;
> --
> 2.34.1
>

  parent reply	other threads:[~2023-02-23 21:13 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-13 22:27 [PATCH V2 0/9] Rockchip: Improve Support for RK3566 Devices Chris Morgan
2023-02-13 22:27 ` [PATCH V2 1/9] gpio: gpio-rockchip: parse gpio-ranges for bank id Chris Morgan
2023-02-22  7:44   ` Kever Yang
2023-02-22 10:59   ` Johan Jonker
2023-02-23  8:59   ` Linus Walleij
2023-03-02  2:54     ` Kever Yang
2023-03-02 13:59       ` Chris Morgan
2023-02-13 22:27 ` [PATCH V2 2/9] dts: rockchip: px30: add gpio-ranges property to gpio nodes Chris Morgan
2023-02-22  7:44   ` Kever Yang
2023-02-13 22:27 ` [PATCH V2 3/9] rockchip: vop2: Add vop2 dt-binding from Linux Chris Morgan
2023-02-13 22:27 ` [PATCH V2 4/9] arm64: dts: rockchip: Sync rk356x from Linux main Chris Morgan
2023-02-15 18:44   ` Jonas Karlman
2023-02-22  7:32     ` Kever Yang
2023-02-13 22:27 ` [PATCH V2 5/9] rockchip: rk3568: add boot device detection Chris Morgan
2023-02-15 18:28   ` Jonas Karlman
2023-02-22  7:45     ` Kever Yang
2023-02-13 22:27 ` [PATCH V2 6/9] rockchip: rk3568: enable automatic power savings Chris Morgan
2023-02-22  7:34   ` Kever Yang
2023-02-13 22:27 ` [PATCH V2 7/9] gpio/rockchip: rk_gpio support v2 gpio controller Chris Morgan
2023-02-16 11:19   ` FUKAUMI Naoki
2023-02-22  7:49   ` Kever Yang
2023-02-22  8:28   ` Kever Yang
2023-02-23 22:14   ` Vasily Khoruzhick
2023-03-01  8:25   ` Eugen Hristev
2023-03-01 15:02     ` Simon Glass
2023-02-13 22:27 ` [PATCH V2 8/9] arm64: dts: rockchip: add gpio-ranges property to gpio nodes Chris Morgan
2023-02-22  7:47   ` Kever Yang
2023-02-23 21:12   ` Vasily Khoruzhick [this message]
2023-02-28 11:26     ` Quentin Schulz
2023-03-02  2:49       ` Kever Yang
2023-03-07 19:14         ` Vasily Khoruzhick
2023-02-13 22:27 ` [PATCH V2 9/9] evb1-v10-rk3568: Update MAINTAINERS and documentation Chris Morgan
2023-02-22  7:48   ` Kever Yang

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='CA+E=qVfHV6crUwkGmHeA0HeSYj2qjjYCf0EMeck7aPCLGy43-w@mail.gmail.com' \
    --to=anarsoul@gmail.com \
    --cc=chenjh@rock-chips.com \
    --cc=heiko.stuebner@theobroma-systems.com \
    --cc=heiko@sntech.de \
    --cc=kever.yang@rock-chips.com \
    --cc=macroalpha82@gmail.com \
    --cc=macromorgan@hotmail.com \
    --cc=pgwipeout@gmail.com \
    --cc=philipp.tomsich@vrull.eu \
    --cc=sjg@chromium.org \
    --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;
as well as URLs for NNTP newsgroup(s).