devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthias Brugger <matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Ryder Lee <ryder.lee-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
Cc: linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	Erin Lo <erin.lo-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>,
	YT Shen <yt.shen-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH v3 05/10] arm: dts: mt7623: update pio, usb and crypto nodes
Date: Thu, 19 Oct 2017 18:29:52 +0200	[thread overview]
Message-ID: <8c823070-7181-97cc-063e-3ced59c7e17d@gmail.com> (raw)
In-Reply-To: <08d722e47b83bd70ed4d3c9a4546a3f70df96de4.1506908511.git.ryder.lee-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>



On 10/02/2017 03:54 AM, Ryder Lee wrote:
> This patch updates pio, usb and crypto nodes to make them be consistent
> with the binding documents.
> 
> Signed-off-by: Ryder Lee <ryder.lee-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
> ---
>  arch/arm/boot/dts/mt7623.dtsi | 26 ++++++++++++++------------
>  1 file changed, 14 insertions(+), 12 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
> index 381843e..0640fb7 100644
> --- a/arch/arm/boot/dts/mt7623.dtsi
> +++ b/arch/arm/boot/dts/mt7623.dtsi
> @@ -227,8 +227,7 @@
>  	};
>  
>  	pio: pinctrl@10005000 {
> -		compatible = "mediatek,mt7623-pinctrl",
> -			     "mediatek,mt2701-pinctrl";
> +		compatible = "mediatek,mt7623-pinctrl";

Looks good.

>  		reg = <0 0x1000b000 0 0x1000>;
>  		mediatek,pctl-regmap = <&syscfg_pctl_a>;
>  		pins-are-numbered;
> @@ -680,7 +679,7 @@
>  		interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_LOW>;
>  		clocks = <&hifsys CLK_HIFSYS_USB0PHY>,
>  			 <&topckgen CLK_TOP_ETHIF_SEL>;
> -		clock-names = "sys_ck", "free_ck";
> +		clock-names = "sys_ck", "ref_ck";

This is already merged. Please rebase.

>  		power-domains = <&scpsys MT2701_POWER_DOMAIN_HIF>;
>  		phys = <&u2port0 PHY_TYPE_USB2>, <&u3port0 PHY_TYPE_USB3>;
>  		status = "disabled";
> @@ -690,8 +689,6 @@
>  		compatible = "mediatek,mt7623-u3phy",
>  			     "mediatek,mt2701-u3phy";
>  		reg = <0 0x1a1c4000 0 0x0700>;
> -		clocks = <&clk26m>;
> -		clock-names = "u3phya_ref";

Same here.

>  		#address-cells = <2>;
>  		#size-cells = <2>;
>  		ranges;
> @@ -699,12 +696,16 @@
>  
>  		u2port0: usb-phy@1a1c4800 {
>  			reg = <0 0x1a1c4800 0 0x0100>;
> +			clocks = <&topckgen CLK_TOP_USB_PHY48M>;
> +			clock-names = "ref";

Same here.

>  			#phy-cells = <1>;
>  			status = "okay";
>  		};
>  
>  		u3port0: usb-phy@1a1c4900 {
>  			reg = <0 0x1a1c4900 0 0x0700>;
> +			clocks = <&clk26m>;
> +			clock-names = "ref";

Same here.

>  			#phy-cells = <1>;
>  			status = "okay";
>  		};
> @@ -719,7 +720,7 @@
>  		interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_LOW>;
>  		clocks = <&hifsys CLK_HIFSYS_USB1PHY>,
>  			 <&topckgen CLK_TOP_ETHIF_SEL>;
> -		clock-names = "sys_ck", "free_ck";
> +		clock-names = "sys_ck", "ref_ck";

Same here.

>  		power-domains = <&scpsys MT2701_POWER_DOMAIN_HIF>;
>  		phys = <&u2port1 PHY_TYPE_USB2>, <&u3port1 PHY_TYPE_USB3>;
>  		status = "disabled";
> @@ -729,8 +730,6 @@
>  		compatible = "mediatek,mt7623-u3phy",
>  			     "mediatek,mt2701-u3phy";
>  		reg = <0 0x1a244000 0 0x0700>;
> -		clocks = <&clk26m>;
> -		clock-names = "u3phya_ref";

Same here.

>  		#address-cells = <2>;
>  		#size-cells = <2>;
>  		ranges;
> @@ -738,12 +737,16 @@
>  
>  		u2port1: usb-phy@1a244800 {
>  			reg = <0 0x1a244800 0 0x0100>;
> +			clocks = <&topckgen CLK_TOP_USB_PHY48M>;
> +			clock-names = "ref";

Same here.

>  			#phy-cells = <1>;
>  			status = "okay";
>  		};
>  
>  		u3port1: usb-phy@1a244900 {
>  			reg = <0 0x1a244900 0 0x0700>;
> +			clocks = <&clk26m>;
> +			clock-names = "ref";

Same here.

>  			#phy-cells = <1>;
>  			status = "okay";
>  		};
> @@ -784,16 +787,15 @@
>  	};
>  
>  	crypto: crypto@1b240000 {
> -		compatible = "mediatek,mt7623-crypto";
> +		compatible = "mediatek,eip97-crypto";

Crypto node is not present in upstream.

Regards,
Matthias

>  		reg = <0 0x1b240000 0 0x20000>;
>  		interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_LOW>,
>  			     <GIC_SPI 83 IRQ_TYPE_LEVEL_LOW>,
>  			     <GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>,
>  			     <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>,
>  			     <GIC_SPI 97 IRQ_TYPE_LEVEL_LOW>;
> -		clocks = <&topckgen CLK_TOP_ETHIF_SEL>,
> -			 <&ethsys CLK_ETHSYS_CRYPTO>;
> -		clock-names = "ethif","cryp";
> +		clocks = <&ethsys CLK_ETHSYS_CRYPTO>;
> +		clock-names = "cryp";
>  		power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>;
>  		status = "disabled";
>  	};
> 
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2017-10-19 16:29 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-02  1:54 [PATCH v3 00/10] update MT7623 and MT2701 dts Ryder Lee
     [not found] ` <cover.1506908511.git.ryder.lee-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2017-10-02  1:54   ` [PATCH v3 01/10] arm: dts: mt2701: add pwm backlight device node Ryder Lee
     [not found]     ` <144f5d526d15cbf3ada220765c609eb2b59c240a.1506908511.git.ryder.lee-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2017-10-19 16:48       ` Matthias Brugger
2017-10-02  1:54   ` [PATCH v3 02/10] arm: dts: mt2701: enable display pwm backlight Ryder Lee
2017-10-19 16:48     ` Matthias Brugger
2017-10-02  1:54   ` [PATCH v3 06/10] arm: dts: mt7623: add subsystem clock controller nodes Ryder Lee
     [not found]     ` <1a6aba8921584fe465bc2138a3aec10c2637f226.1506908511.git.ryder.lee-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2017-10-19 16:31       ` Matthias Brugger
2017-10-02  1:54 ` [PATCH v3 03/10] arm: dts: mt2701: add display subsystem related nodes Ryder Lee
2017-10-02  1:54 ` [PATCH v3 04/10] arm: dts: mediatek: update audio node for mt2701 and mt7623 Ryder Lee
2017-10-19 16:49   ` Matthias Brugger
2017-10-02  1:54 ` [PATCH v3 05/10] arm: dts: mt7623: update pio, usb and crypto nodes Ryder Lee
     [not found]   ` <08d722e47b83bd70ed4d3c9a4546a3f70df96de4.1506908511.git.ryder.lee-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2017-10-19 16:29     ` Matthias Brugger [this message]
     [not found]       ` <8c823070-7181-97cc-063e-3ced59c7e17d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-10-20  1:55         ` Ryder Lee
2017-10-20  9:12           ` Matthias Brugger
2017-10-02  1:54 ` [PATCH v3 07/10] arm: dts: mt7623: add iommu and jpecdec nodes Ryder Lee
2017-10-02  1:54 ` [PATCH v3 08/10] arm: dts: mt7623: add display subsystem related nodes Ryder Lee
2017-10-02  1:54 ` [PATCH v3 09/10] arm: dts: mt7623: enable bananapi-r2 display function Ryder Lee
2017-10-02  1:55 ` [PATCH v3 10/10] arm: dts: mt7623: add PCIe related nodes Ryder Lee
2017-10-19 16:49   ` Matthias Brugger
2017-10-11  9:02 ` [PATCH v3 00/10] update MT7623 and MT2701 dts Ryder Lee

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=8c823070-7181-97cc-063e-3ced59c7e17d@gmail.com \
    --to=matthias.bgg-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=erin.lo-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=ryder.lee-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org \
    --cc=yt.shen-NuS5LvNUpcJWk0Htik3J/w@public.gmane.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;
as well as URLs for NNTP newsgroup(s).