public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Weijie Gao (高惟杰)" <Weijie.Gao@mediatek.com>
To: "SkyLake Huang (黃啟澤)" <SkyLake.Huang@mediatek.com>,
	"Sam Shih (史碩三)" <Sam.Shih@mediatek.com>,
	"Chunfeng Yun (云春峰)" <Chunfeng.Yun@mediatek.com>,
	"john@phrozen.org" <john@phrozen.org>,
	"u-boot@lists.denx.de" <u-boot@lists.denx.de>,
	"trini@konsulko.com" <trini@konsulko.com>,
	"Dong Huang (黄栋)" <Dong.Huang@mediatek.com>,
	"ansuelsmth@gmail.com" <ansuelsmth@gmail.com>,
	GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>,
	"Ryder Lee" <Ryder.Lee@mediatek.com>
Subject: Re: [PATCH 5/8] mediatek: mt7988: move gpio-controller up and rename pinctrl to pio
Date: Fri, 31 Jan 2025 06:50:33 +0000	[thread overview]
Message-ID: <65b3b7f3aae203433dc784fbe596f38ea2ddacc2.camel@mediatek.com> (raw)
In-Reply-To: <20250127134046.26345-6-ansuelsmth@gmail.com>

On Mon, 2025-01-27 at 14:40 +0100, Christian Marangi wrote:
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
> 
> 
> Move gpio-controller up to pinctrl node and rename label to "pio" to
> match the label used in upstream kernel linux.
> 
> Update any DTS that reference the pinctrl to follow the new naming
> and
> structure.
> 
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
> ---
>  arch/arm/dts/mt7988-rfb.dts    | 2 +-
>  arch/arm/dts/mt7988-sd-rfb.dts | 2 +-
>  arch/arm/dts/mt7988.dtsi       | 8 +++-----
>  3 files changed, 5 insertions(+), 7 deletions(-)
> 
> diff --git a/arch/arm/dts/mt7988-rfb.dts b/arch/arm/dts/mt7988-
> rfb.dts
> index 2579d7099fb..1694ef8d9c3 100644
> --- a/arch/arm/dts/mt7988-rfb.dts
> +++ b/arch/arm/dts/mt7988-rfb.dts
> @@ -80,7 +80,7 @@
>         status = "disabled";
>  };
> 
> -&pinctrl {
> +&pio {
>         i2c1_pins: i2c1-pins {
>                 mux {
>                         function = "i2c";
> diff --git a/arch/arm/dts/mt7988-sd-rfb.dts b/arch/arm/dts/mt7988-sd-
> rfb.dts
> index 38727a271b2..63e923137c2 100644
> --- a/arch/arm/dts/mt7988-sd-rfb.dts
> +++ b/arch/arm/dts/mt7988-sd-rfb.dts
> @@ -53,7 +53,7 @@
>         };
>  };
> 
> -&pinctrl {
> +&pio {
>         i2c1_pins: i2c1-pins {
>                 mux {
>                         function = "i2c";
> diff --git a/arch/arm/dts/mt7988.dtsi b/arch/arm/dts/mt7988.dtsi
> index ee2ad2dbe6e..2d57c6f5709 100644
> --- a/arch/arm/dts/mt7988.dtsi
> +++ b/arch/arm/dts/mt7988.dtsi
> @@ -110,7 +110,7 @@
>                 #clock-cells = <1>;
>         };
> 
> -       pinctrl: pinctrl@1001f000 {
> +       pio: pinctrl@1001f000 {
>                 compatible = "mediatek,mt7988-pinctrl";
>                 reg = <0 0x1001f000 0 0x1000>,
>                       <0 0x11c10000 0 0x1000>,
> @@ -122,10 +122,8 @@
>                 reg-names = "gpio", "iocfg_tr", "iocfg_br",
>                             "iocfg_rb", "iocfg_lb", "iocfg_tl",
>                             "eint";
> -               gpio: gpio-controller {
> -                       gpio-controller;
> -                       #gpio-cells = <2>;
> -               };
> +               gpio-controller;
> +               #gpio-cells = <2>;
>         };
> 
>         sgmiisys0: syscon@10060000 {
> --
> 2.47.1
> 

Thanks!

Reviewed-by: Weijie Gao <weijie.gao@mediatek.com>
Tested-by: Weijie Gao <weijie.gao@mediatek.com>

  reply	other threads:[~2025-01-31  6:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-27 13:40 [PATCH 0/8] mediatek: final preparation for OF_UPSTREAM support Christian Marangi
2025-01-27 13:40 ` [PATCH 1/8] pinctrl: mediatek: mt7981: rename reg-names to upstream linux format Christian Marangi
2025-01-31  6:47   ` Weijie Gao
2025-01-27 13:40 ` [PATCH 2/8] pinctrl: mediatek: mt7986: " Christian Marangi
2025-01-31  6:47   ` Weijie Gao
2025-01-27 13:40 ` [PATCH 3/8] mediatek: mt7986: move gpio-controller up and rename pinctrl to pio Christian Marangi
2025-01-31  6:49   ` Weijie Gao
2025-01-27 13:40 ` [PATCH 4/8] pinctrl: mediatek: mt7988: rename reg-names to upstream linux format Christian Marangi
2025-01-31  6:50   ` Weijie Gao
2025-01-27 13:40 ` [PATCH 5/8] mediatek: mt7988: move gpio-controller up and rename pinctrl to pio Christian Marangi
2025-01-31  6:50   ` Weijie Gao (高惟杰) [this message]
2025-01-27 13:40 ` [PATCH 6/8] mediatek: mt7981: " Christian Marangi
2025-01-31  6:50   ` Weijie Gao (高惟杰)
2025-01-27 13:40 ` [PATCH 7/8] arm: dts: mediatek: add USB nodes for MT7981 Christian Marangi
2025-01-31  6:51   ` Weijie Gao
2025-01-27 13:40 ` [PATCH 8/8] arm: dts: mediatek: add PCIe node " Christian Marangi
2025-01-31  6:51   ` Weijie Gao
2025-02-04 19:43 ` [PATCH 0/8] mediatek: final preparation for OF_UPSTREAM support Tom Rini

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=65b3b7f3aae203433dc784fbe596f38ea2ddacc2.camel@mediatek.com \
    --to=weijie.gao@mediatek.com \
    --cc=Chunfeng.Yun@mediatek.com \
    --cc=Dong.Huang@mediatek.com \
    --cc=GSS_MTK_Uboot_upstream@mediatek.com \
    --cc=Ryder.Lee@mediatek.com \
    --cc=Sam.Shih@mediatek.com \
    --cc=SkyLake.Huang@mediatek.com \
    --cc=ansuelsmth@gmail.com \
    --cc=john@phrozen.org \
    --cc=trini@konsulko.com \
    --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