All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthias Brugger_0 <matthias.bgg@gmail.com>
To: Yingjoe Chen <yingjoe.chen@mediatek.com>
Cc: Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Russell King <linux@arm.linux.org.uk>,
	Catalin Marinas <catalin.marinas@arm.com>,
	Will Deacon <will.deacon@arm.com>,
	Hongzhou Yang <hongzhou.yang@mediatek.com>,
	Eddie Huang <eddie.huang@mediatek.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Sascha Hauer <kernel@pengutronix.de>,
	srv_heupstream@mediatek.com
Subject: Re: [PATCH 1/2] ARM: dts: mt8135: Add pinctrl/GPIO/EINT node for mt8135.
Date: Thu, 30 Apr 2015 18:09:02 +0200	[thread overview]
Message-ID: <7612069.RRCsOqAebC@ubix> (raw)
In-Reply-To: <1430213037-23831-1-git-send-email-yingjoe.chen@mediatek.com>

On Tuesday, April 28, 2015 05:23:56 PM Yingjoe Chen wrote:
> From: Hongzhou Yang <hongzhou.yang@mediatek.com>
> 
> 
> Matthias,
> 
> Since mt8135 pinctrl node patch is not in v4.1-rc1, I'd like to make some
> minor change to follow dts convention.
> 
> Let me know what you think.
> Thanks.
> 
> Joe.C
> 
> ---8<--------------------------------------------------------------------
> Add pinctrl,GPIO and EINT node to mt8135.dtsi.
> 
> Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
> Signed-off-by: Hongzhou Yang <hongzhou.yang@mediatek.com>
> Acked-by: Linus Walleij <linus.walleij@linaro.org>
> ---
>  arch/arm/boot/dts/mt8135-pinfunc.h | 1302
> ++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/mt8135.dtsi      |  
> 31 +
>  2 files changed, 1333 insertions(+)
>  create mode 100644 arch/arm/boot/dts/mt8135-pinfunc.h
> 
> diff --git a/arch/arm/boot/dts/mt8135-pinfunc.h
> b/arch/arm/boot/dts/mt8135-pinfunc.h new file mode 100644
> index 0000000..5a60987
> --- /dev/null
> +++ b/arch/arm/boot/dts/mt8135-pinfunc.h
[...]
> diff --git a/arch/arm/boot/dts/mt8135.dtsi b/arch/arm/boot/dts/mt8135.dtsi
> index 2c5c4da..d6c1f14 100644
> --- a/arch/arm/boot/dts/mt8135.dtsi
> +++ b/arch/arm/boot/dts/mt8135.dtsi
> @@ -17,6 +17,7 @@
>  #include <dt-bindings/interrupt-controller/arm-gic.h>
>  #include <dt-bindings/reset-controller/mt8135-resets.h>
>  #include "skeleton64.dtsi"
> +#include "mt8135-pinfunc.h"
> 
>  / {
>  	compatible = "mediatek,mt8135";
> @@ -141,6 +142,36 @@
>  			clock-names = "spi", "wrap";
>  		};
> 
> +		/* Provide regmap for pinctrl driver */

I think from the DTS it is quite clear for what the node is used for.
Please delete the comment.

> +		syscfg_pctl_a: syscfg_pctl_a@10005000 {
> +			compatible = "mediatek,mt8135-pctl-a-syscfg", "syscon";
> +			reg = <0 0x10005000 0 0x1000>;
> +		};
> +
> +		/* Provide regmap for pinctrl driver */

Same here.

> +		syscfg_pctl_b: syscfg_pctl_b@1020c000 {
> +			compatible = "mediatek,mt8135-pctl-b-syscfg", "syscon";
> +			reg = <0 0x1020c000 0 0x1000>;
> +		};

Please sort the nodes by it's address.

Cheers,
Matthias

WARNING: multiple messages have this Message-ID (diff)
From: matthias.bgg@gmail.com (Matthias Brugger_0)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: dts: mt8135: Add pinctrl/GPIO/EINT node for mt8135.
Date: Thu, 30 Apr 2015 18:09:02 +0200	[thread overview]
Message-ID: <7612069.RRCsOqAebC@ubix> (raw)
In-Reply-To: <1430213037-23831-1-git-send-email-yingjoe.chen@mediatek.com>

On Tuesday, April 28, 2015 05:23:56 PM Yingjoe Chen wrote:
> From: Hongzhou Yang <hongzhou.yang@mediatek.com>
> 
> 
> Matthias,
> 
> Since mt8135 pinctrl node patch is not in v4.1-rc1, I'd like to make some
> minor change to follow dts convention.
> 
> Let me know what you think.
> Thanks.
> 
> Joe.C
> 
> ---8<--------------------------------------------------------------------
> Add pinctrl,GPIO and EINT node to mt8135.dtsi.
> 
> Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
> Signed-off-by: Hongzhou Yang <hongzhou.yang@mediatek.com>
> Acked-by: Linus Walleij <linus.walleij@linaro.org>
> ---
>  arch/arm/boot/dts/mt8135-pinfunc.h | 1302
> ++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/mt8135.dtsi      |  
> 31 +
>  2 files changed, 1333 insertions(+)
>  create mode 100644 arch/arm/boot/dts/mt8135-pinfunc.h
> 
> diff --git a/arch/arm/boot/dts/mt8135-pinfunc.h
> b/arch/arm/boot/dts/mt8135-pinfunc.h new file mode 100644
> index 0000000..5a60987
> --- /dev/null
> +++ b/arch/arm/boot/dts/mt8135-pinfunc.h
[...]
> diff --git a/arch/arm/boot/dts/mt8135.dtsi b/arch/arm/boot/dts/mt8135.dtsi
> index 2c5c4da..d6c1f14 100644
> --- a/arch/arm/boot/dts/mt8135.dtsi
> +++ b/arch/arm/boot/dts/mt8135.dtsi
> @@ -17,6 +17,7 @@
>  #include <dt-bindings/interrupt-controller/arm-gic.h>
>  #include <dt-bindings/reset-controller/mt8135-resets.h>
>  #include "skeleton64.dtsi"
> +#include "mt8135-pinfunc.h"
> 
>  / {
>  	compatible = "mediatek,mt8135";
> @@ -141,6 +142,36 @@
>  			clock-names = "spi", "wrap";
>  		};
> 
> +		/* Provide regmap for pinctrl driver */

I think from the DTS it is quite clear for what the node is used for.
Please delete the comment.

> +		syscfg_pctl_a: syscfg_pctl_a at 10005000 {
> +			compatible = "mediatek,mt8135-pctl-a-syscfg", "syscon";
> +			reg = <0 0x10005000 0 0x1000>;
> +		};
> +
> +		/* Provide regmap for pinctrl driver */

Same here.

> +		syscfg_pctl_b: syscfg_pctl_b at 1020c000 {
> +			compatible = "mediatek,mt8135-pctl-b-syscfg", "syscon";
> +			reg = <0 0x1020c000 0 0x1000>;
> +		};

Please sort the nodes by it's address.

Cheers,
Matthias

  parent reply	other threads:[~2015-04-30 16:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-28  9:23 [PATCH 1/2] ARM: dts: mt8135: Add pinctrl/GPIO/EINT node for mt8135 Yingjoe Chen
2015-04-28  9:23 ` Yingjoe Chen
2015-04-28  9:23 ` Yingjoe Chen
     [not found] ` <1430213037-23831-1-git-send-email-yingjoe.chen-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2015-04-28  9:23   ` [PATCH 2/2] arm64: dts: mt8173: Fixup pinctrl nodes Yingjoe Chen
2015-04-28  9:23     ` Yingjoe Chen
2015-04-28  9:23     ` Yingjoe Chen
     [not found]     ` <1430213037-23831-2-git-send-email-yingjoe.chen-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2015-04-30  6:38       ` Daniel Kurtz
2015-04-30  6:38         ` Daniel Kurtz
2015-04-30  6:38         ` Daniel Kurtz
2015-04-30 16:09 ` Matthias Brugger_0 [this message]
2015-04-30 16:09   ` [PATCH 1/2] ARM: dts: mt8135: Add pinctrl/GPIO/EINT node for mt8135 Matthias Brugger_0

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=7612069.RRCsOqAebC@ubix \
    --to=matthias.bgg@gmail.com \
    --cc=catalin.marinas@arm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=eddie.huang@mediatek.com \
    --cc=hongzhou.yang@mediatek.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux@arm.linux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=srv_heupstream@mediatek.com \
    --cc=will.deacon@arm.com \
    --cc=yingjoe.chen@mediatek.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 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.